MappedByteFileBuffer.java, [...]: Removed
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-20  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/nio/MappedByteFileBuffer.java,
4         gnu/java/nio/natMappedByteFileBuffer.cc:
5         Removed
6         * java/nio/MappedByteBufferImpl.java:
7         New file.
8         * gnu/java/nio/FileChannelImpl.java:
9         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
10         * Makefile.am
11         (ordinary_java_source_files): Removed
12         gnu/java/nio/MappedByteFileBuffer.java and added
13         java/nio/MappedByteBufferImpl.java.
14         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
15         * Makefile.in: Regenerated.
16
17 2003-06-19  Michael Koch  <konqueror@gmx.de>
18
19         * gnu/java/nio/DatagramChannelImpl.java
20         (fd): Removed.
21         (blocking): New member variable.
22         (socket): Likewise.
23         (DatagramChannelImpl): Throws IOException, initialize socket.
24         (socket):Implemented.
25         (implCloseSelectableChannel): Throws IOException, implemented.
26         (implConfigureBlocking): Likewise.
27         (connect): Likewise.
28         (disconnect): Likewise.
29         (isConnected): Likewise.
30         (write): Likewise.
31         (read): Likewise.
32         (receive): Throws IOException.
33         (send): Likewise.
34         * gnu/java/nio/SocketChannelImpl.java
35         (read): Implemented.
36         (write): Implemented.
37
38 2003-06-19  Michael Koch  <konqueror@gmx.de>
39
40         * javax/swing/JComponent.java,
41         javax/swing/JInternalFrame.java,
42         javax/swing/MenuSelectionManager.java,
43         javax/swing/SwingUtilities.java,
44         javax/swing/ToggleButtonModel.java:
45         New versions from classpath.
46
47 2003-06-19  Michael Koch  <konqueror@gmx.de>
48
49         * java/text/CollationElementIterator.java
50         (NULLORDER): Initialize with -1 as JDK documentation says.
51
52 2003-06-19  Michael Koch  <konqueror@gmx.de>
53
54         * java/net/HttpURLConnection.java,
55         java/net/Inet4Address.java,
56         java/net/Inet6Address.java,
57         java/net/SocketImpl.java,
58         java/net/URLClassLoader.java:
59         Reworked import statements.
60         * java/net/InetAddress.java
61         (getByAddress): Simplified.
62         * java/net/ServerSocket.java
63         (ServerSocket): Moved special handling during bind operation to
64         bind().
65         (bind): Handle different cases when trying to bind a socket.
66         * java/net/URLConnection.java
67         (getHeaderFieldDate): Merged with classpath.
68         (getHeaderFieldInt): Likewise.
69
70 2003-06-19  Michael Koch  <konqueror@gmx.de>
71
72         * java/util/zip/InflaterInputStream.java
73         (InflaterInputStream): Throw NullPointerException if in is null (as
74         JDK does).
75
76 2003-06-19  Michael Koch  <konqueror@gmx.de>
77
78         * java/awt/Font.java
79         javax/swing/UIManager.java
80         javax/swing/border/AbstractBorder.java
81         javax/swing/border/BevelBorder.java
82         javax/swing/border/Border.java
83         javax/swing/border/CompoundBorder.java
84         javax/swing/border/EmptyBorder.java
85         javax/swing/border/EtchedBorder.java
86         javax/swing/border/LineBorder.java
87         javax/swing/border/MatteBorder.java
88         javax/swing/border/TitledBorder.java
89         javax/swing/plaf/BorderUIResource.java
90         javax/swing/plaf/basic/BasicBorders.java
91         javax/swing/plaf/basic/BasicButtonUI.java
92         javax/swing/plaf/basic/BasicCheckBoxUI.java
93         javax/swing/plaf/basic/BasicGraphicsUtils.java
94         javax/swing/plaf/basic/BasicLabelUI.java
95         javax/swing/plaf/basic/BasicRadioButtonUI.java
96         javax/swing/plaf/basic/BasicToggleButtonUI.java:
97         New versions from classpath.
98         * javax/swing/border/SoftBevelBorder.java:
99         New file from classpath.
100         * javax/swing/border/doc-files/LineBorder-1.png,
101         javax/swing/border/doc-files/BevelBorder-1.png,
102         javax/swing/border/doc-files/BevelBorder-2.png,
103         javax/swing/border/doc-files/BevelBorder-3.png,
104         javax/swing/border/doc-files/EmptyBorder-1.png,
105         javax/swing/border/doc-files/EtchedBorder-1.png,
106         javax/swing/border/doc-files/EtchedBorder-2.png,
107         javax/swing/border/doc-files/MatteBorder-1.png,
108         javax/swing/border/doc-files/MatteBorder-2.png,
109         javax/swing/border/doc-files/MatteBorder-3.png,
110         javax/swing/border/doc-files/MatteBorder-4.png,
111         javax/swing/border/doc-files/MatteBorder-5.png,
112         javax/swing/border/doc-files/MatteBorder-6.png,
113         javax/swing/border/doc-files/SoftBevelBorder-1.png,
114         javax/swing/border/doc-files/SoftBevelBorder-2.png,
115         javax/swing/border/doc-files/SoftBevelBorder-3.png,
116         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
117         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
118         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
119         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
120         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
121         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
122         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
123         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
124         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
125         New binary files from classpath.
126         * Makefile.am
127         (awt_java_source_files): Added
128         javax/swing/border/SoftBevelBorder.java.
129         * Makefile.in: Regenerated.
130
131 2003-06-19  Michael Koch  <konqueror@gmx.de>
132
133         * gnu/java/security/x509/X509Certificate.java
134         (writeReplace): Merged from classpath.
135
136 2003-06-19  Michael Koch  <konqueror@gmx.de>
137
138         * gnu/java/nio/FileChannelImpl.java
139         (map_address): Made public.
140         (FileChannelImpl): Merged with classpath.
141         * gnu/java/nio/natFileChannelImpl.cc
142         (nio_mmap_file): Commented out unused arguments.
143         (nio_unmmap_file): Likewise.
144         (niu_msync): Likewise.
145
146 2003-06-19  Michael Koch  <konqueror@gmx.de>
147
148         * java/awt/image/IndexColorModel.java:
149         New version from classpath.
150
151 2003-06-18  Tom Tromey  <tromey@redhat.com>
152
153         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
154         on arrays.
155         (isLoopbackAddress): Likewise.
156         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
157         on arrays.
158
159 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
160
161         * java/lang/natVMSecurityManager.cc (getClassContext):
162         Use maxlen instead of len for loop bound.
163
164 2003-06-18  Michael Koch  <konqueror@gmx.de>
165
166         * gnu/java/nio/SelectorImpl.java
167         (register): Use fd with value 0 for now, will be fixed later.
168         * gnu/java/nio/ServerSocketChannelImpl.java
169         (fd): Removed.
170         (local_port): Removed.
171         (InetSocketAddress): Removed.
172         (ServerSocketChannelImpl): Just initialize internal socket object.
173         (implCloseSelectableChannel): Close internal socket object.
174         (implConfigureBlocking): Added comment.
175         (accept): Use jaba.net stuff to accept socket.
176         * gnu/java/nio/SocketChannelImpl.java
177         (fd): Removed.
178         (local_port): Removed.
179         (InetSocketAddress): Removed.
180         (SocketCreate): Removed.
181         (SocketConnect): Removed.
182         (SocketBind): Removed.
183         (SocketListen): Removed.
184         (SocketAvailable): Removed.
185         (SocketClose): Removed.
186         (SocketRead): Removed.
187         (SocketWrite): Removed.
188         (SocketChannelImpl): Just initialize internal socket object.
189         (implCloseSelectableChannel): Close internal socket object.
190         (implConfigureBlocking): Fixed implementation, added comment.
191         (connect): Use internal socket object to connect.
192         (socket): No need for sanity checks.
193         (read): Comment out some stuff, this will be reimplemented in the next
194         commit.
195         (write): Likewise.
196         * gnu/java/nio/natFileChannelImpl.cc
197         (nio_mmap_file): Line wrapped.
198         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
199         * Makefile.am
200         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
201         * Makefile.in: Regenerated.
202
203 2003-06-18  Michael Koch  <konqueror@gmx.de>
204
205         * java/util/Locale.java
206         (equals): Merged from classpath.
207
208 2003-06-18  Michael Koch  <konqueror@gmx.de>
209
210         * java/net/InetAddress.java:
211         Reformatted to better match classpath's version.
212         * java/net/URL.java
213         (equals): Simplified.
214         * java/net/URLConnection.java
215         (setDoInput): Revised documentation.
216         (getDefaultUseCaches): Likewise.
217         (setRequestProperty): Added @since tag.
218
219 2003-06-17  Michael Koch  <konqueror@gmx.de>
220
221         * java/net/InetSocketAddress.java
222         (InetSocketAddress): Use wildcard address if addr is null.
223         (InetSocketAddress): Dont duplicate implementation.
224         (InetSocketAddress): Throw exception when hostname is null.
225         * java/net/Socket.java:
226         Reworked imports.
227         (Socket): Throw exception when raddr is null, handle case when laddr
228         is null.
229
230 2003-06-17  Michael Koch  <konqueror@gmx.de>
231
232         * java/nio/DirectByteBufferImpl.java
233         (address): Made package private.
234         (DirectByteBufferImpl): New constructor.
235         * java/nio/natDirectByteBufferImpl.cc
236         (allocateImpl): Moved to java.nio namespace, implemented.
237         (freeImpl): Likewise.
238         (getImpl): Likewise.
239         (putImpl): Likewise.
240         * jni.cc
241         (_Jv_JNI_NewDirectByteBuffer): Implemented.
242         (_Jv_JNI_GetDirectBufferAddress): Implemented.
243         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
244
245 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
246
247         * include/powerpc-signal.h: New File.
248         * configure.in: Use it.
249         * configure: Regenerated.
250
251 2003-06-17  Michael Koch  <konqueror@gmx.de>
252
253         * java/util/Locale.java
254         (getDisplayLanguage): Made it final.
255         (getDisplayCountry): Likewise.
256         (getDisplayVariant): Likewise.
257         (getDisplayName): Likewise.
258
259 2003-06-17  Michael Koch  <konqueror@gmx.de>
260
261         * java/util/PropertyResourceBundle.java:
262         Removed unneeded import.
263
264 2003-06-17  Michael Koch  <konqueror@gmx.de>
265
266         * java/util/prefs/AbstractPreferences.java,
267         java/util/prefs/PreferencesFactory.java:
268         Reworked imports, removed unused imports.
269         * java/util/prefs/Preferences.java
270         (systemNodeForPackage): Method takes a Class not an Object.
271         (userNodeForPackage): Likewise.
272         (nodeForPackage): Likewise.
273
274 2003-06-17  Michael Koch  <konqueror@gmx.de>
275
276         * gnu/java/security/x509/X509Certificate.java:
277         Explicitely import used classes.
278
279 2003-06-17  Michael Koch  <konqueror@gmx.de>
280
281         * java/util/zip/ZipEntry.java,
282         java/util/zip/ZipFile.java,
283         java/util/zip/ZipInputStream.java,
284         java/util/zip/ZipOutputStream.java:
285         Reworked imports, only import used classes.
286
287 2003-06-17  Michael Koch  <konqueror@gmx.de>
288
289         * gnu/java/lang/ArrayHelper.java,
290         gnu/java/lang/ClassHelper.java:
291         Reformatted to match classpath's versions.
292
293 2003-06-14  Michael Koch  <konqueror@gmx.de>
294
295         * gnu/java/nio/FileChannelImpl.java
296         (map_address): Removed incorrect comment.        
297         * gnu/java/nio/SelectorImpl.java
298         (register): Remove code duplication and code for file channel handling.        
299         * gnu/java/nio/ServerSocketChannelImpl.java
300         (serverSocket): Renamed from sock_object.
301         (ServerSocketChannel): Initialize serverSocket.
302         (socket): Return serverSocket.
303         * gnu/java/nio/SocketChannelImpl.java
304         (socket): Renamed from sock_object.
305         (isConnectionPenging): Simplified.
306         (socket): Return socket.
307 2003-06-14  Michael Koch  <konqueror@gmx.de>
308
309         * java/security/BasicPermission.java:
310         New version from classpath.
311
312 2003-06-14  Michael Koch  <konqueror@gmx.de>
313
314         * javax/naming/directory/Attribute.java:
315         New version from classpath.
316
317 2003-06-14  Michael Koch  <konqueror@gmx.de>
318
319         * java/io/BufferedReader.java,
320         java/io/FileOutputStream.java:
321         New versions from classpath.
322
323 2003-06-12  Andrew Haley  <aph@redhat.com>
324
325         * prims.cc (catch_segv): Create exception in handler.
326         (catch_fpe): Likewise.  
327         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
328         (_Jv_ThrowSignal): Remove.
329
330         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
331         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
332         to nullp and arithexception.
333         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
334         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
335         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
336         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
337         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
338
339 2003-06-11  Andrew Haley  <aph@redhat.com>
340
341         * jni.cc (_Jv_JNI_check_types): New.
342         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
343         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
344         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
345         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
346         
347         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
348         infinite loop.
349
350 2003-06-11  Tom Tromey  <tromey@redhat.com>
351
352         * java/lang/ClassLoader.java (loadClass): Not deprecated.
353         * java/io/PrintStream.java: Not deprecated.
354
355 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
356
357         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
358         (fillOval): implemented
359         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
360         (fillArc): implemented.
361         * gnu/gcj/xlib/GC.java (drawArc): added native method.
362         (fillArc): added native method.
363         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
364         (fillArc): added native method.
365
366 2003-06-11  Michael Koch  <konqueror@gmx.de>
367
368         * java/awt/im/InputSubset.java:
369         New version from classpath.
370
371 2003-06-11  Michael Koch  <konqueror@gmx.de>
372
373         * javax/swing/AbstractAction.java,
374         javax/swing/AbstractButton.java,
375         javax/swing/AbstractCellEditor.java,
376         javax/swing/AbstractListModel.java,
377         javax/swing/BorderFactory.java,
378         javax/swing/Box.java,
379         javax/swing/BoxLayout.java,
380         javax/swing/ButtonGroup.java,
381         javax/swing/DefaultButtonModel.java,
382         javax/swing/DefaultListModel.java,
383         javax/swing/DefaultListSelectionModel.java,
384         javax/swing/FocusManager.java,
385         javax/swing/ImageIcon.java,
386         javax/swing/InputMap.java,
387         javax/swing/JApplet.java,
388         javax/swing/JButton.java,
389         javax/swing/JCheckBox.java,
390         javax/swing/JCheckBoxMenuItem.java,
391         javax/swing/JColorChooser.java,
392         javax/swing/JComboBox.java,
393         javax/swing/JComponent.java,
394         javax/swing/JDesktopPane.java,
395         javax/swing/JDialog.java,
396         javax/swing/JEditorPane.java,
397         javax/swing/JFileChooser.java,
398         javax/swing/JFormattedTextField.java,
399         javax/swing/JFrame.java,
400         javax/swing/JLabel.java,
401         javax/swing/JLayeredPane.java,
402         javax/swing/JList.java,
403         javax/swing/JMenuBar.java,
404         javax/swing/JMenuItem.java,
405         javax/swing/JOptionPane.java,
406         javax/swing/JPanel.java,
407         javax/swing/JPasswordField.java,
408         javax/swing/JPopupMenu.java,
409         javax/swing/JProgressBar.java,
410         javax/swing/JRadioButton.java,
411         javax/swing/JRadioButtonMenuItem.java,
412         javax/swing/JRootPane.java,
413         javax/swing/JScrollBar.java,
414         javax/swing/JScrollPane.java,
415         javax/swing/JSeparator.java,
416         javax/swing/JSlider.java,
417         javax/swing/JTabbedPane.java,
418         javax/swing/JTable.java,
419         javax/swing/JTextField.java,
420         javax/swing/JToggleButton.java,
421         javax/swing/JToolBar.java,
422         javax/swing/JToolTip.java,
423         javax/swing/JTree.java,
424         javax/swing/JViewport.java,
425         javax/swing/JWindow.java,
426         javax/swing/KeyStroke.java,
427         javax/swing/ListSelectionModel.java,
428         javax/swing/LookAndFeel.java,
429         javax/swing/RepaintManager.java,
430         javax/swing/ScrollPaneLayout.java,
431         javax/swing/SizeRequirements.java,
432         javax/swing/SwingConstants.java,
433         javax/swing/Timer.java,
434         javax/swing/UIDefaults.java,
435         javax/swing/UIManager.java,
436         javax/swing/border/AbstractBorder.java,
437         javax/swing/border/CompoundBorder.java,
438         javax/swing/colorchooser/AbstractColorChooserPanel.java,
439         javax/swing/colorchooser/ColorChooserComponentFactory.java,
440         javax/swing/colorchooser/ColorSelectionModel.java,
441         javax/swing/colorchooser/DefaultColorSelectionModel.java,
442         javax/swing/event/AncestorEvent.java,
443         javax/swing/event/HyperlinkEvent.java,
444         javax/swing/event/InternalFrameAdapter.java,
445         javax/swing/event/InternalFrameEvent.java,
446         javax/swing/event/ListDataEvent.java,
447         javax/swing/event/MouseInputAdapter.java,
448         javax/swing/event/SwingPropertyChangeSupport.java,
449         javax/swing/event/TableModelEvent.java,
450         javax/swing/event/TreeWillExpandListener.java,
451         javax/swing/event/UndoableEditEvent.java,
452         javax/swing/filechooser/FileFilter.java,
453         javax/swing/filechooser/FileSystemView.java,
454         javax/swing/filechooser/FileView.java,
455         javax/swing/plaf/BorderUIResource.java,
456         javax/swing/plaf/basic/BasicDefaults.java,
457         javax/swing/table/AbstractTableModel.java,
458         javax/swing/table/DefaultTableCellRenderer.java,
459         javax/swing/table/DefaultTableColumnModel.java,
460         javax/swing/table/DefaultTableModel.java,
461         javax/swing/table/TableColumn.java,
462         javax/swing/text/JTextComponent.java,
463         javax/swing/tree/AbstractLayoutCache.java,
464         javax/swing/tree/DefaultMutableTreeNode.java,
465         javax/swing/tree/DefaultTreeCellEditor.java,
466         javax/swing/tree/DefaultTreeCellRenderer.java,
467         javax/swing/tree/DefaultTreeModel.java,
468         javax/swing/tree/DefaultTreeSelectionModel.java,
469         javax/swing/tree/FixedHeightLayoutCache.java,
470         javax/swing/tree/TreeCellEditor.java,
471         javax/swing/tree/TreeModel.java,
472         javax/swing/tree/TreeNode.java,
473         javax/swing/tree/TreePath.java,
474         javax/swing/tree/TreeSelectionModel.java,
475         javax/swing/tree/VariableHeightLayoutCache.java,
476         javax/swing/undo/AbstractUndoableEdit.java,
477         javax/swing/undo/CompoundEdit.java,
478         javax/swing/undo/StateEdit.java,
479         javax/swing/undo/UndoManager.java,
480         javax/swing/undo/UndoableEditSupport.java:
481         New versions from classpath.
482         * javax/swing/table/JTableHeader.java:
483         New file from classpath.
484         * Makefile.am
485         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
486         * Makefile.in: Regenerated.
487
488 2003-06-11  Michael Koch  <konqueror@gmx.de>
489
490         * java/nio/MappedByteBuffer.java,
491         java/nio/channels/Channels.java,
492         java/nio/channels/ServerSocketChannel.java,
493         java/nio/channels/spi/AbstractSelector.java:
494         Removed unneeded imports.
495
496 2003-06-11  Michael Koch  <konqueror@gmx.de>
497
498         * java/net/DatagramSocket.java:
499         Partly merged with classpath.
500
501 2003-06-11  Michael Koch  <konqueror@gmx.de>
502
503         * java/awt/Frame.java,
504         java/awt/Graphics.java,
505         java/awt/Menu.java,
506         java/awt/Robot.java,
507         java/awt/image/ColorModel.java:
508         New versions from classpath.
509
510 2003-06-10  Michael Koch  <konqueror@gmx.de>
511
512         * java/io/PrintStream.java:
513         Merged version from classpath.
514         (close): Removed sychronized keyword. This class is not garantied to
515         be thread-safe.
516         (write): Likewise.
517
518 2003-06-09  Tom Tromey  <tromey@redhat.com>
519
520         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
521         field.
522         (getDescent): Likewise, for "descent".
523
524 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
525
526         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
527         (getMaxDescent): adjusted return value.
528         (getAscent): modified to use metrics for 'O'.
529         (getDescent): modified to use metrics for 'y'.
530
531 2003-06-08  Anthony Green  <green@redhat.com>
532
533         * java/net/URLStreamHandler.java (sameFile): Fix port value
534         comparison.
535         * java/net/URL.java (handler): Make package private.
536         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
537
538 2003-06-07  Tom Tromey  <tromey@redhat.com>
539
540         For PR libgcj/11085:
541         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
542         Limit number of characters in numeric field when required.
543         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
544         Respect maximumIntegerDigits.
545
546 2003-06-08  Michael Koch  <konqueror@gmx.de>
547
548         * java/net/Socket.java
549         (Socket): Dont initialize inputShutdown and outputShutdown twice,
550         call bind() and connect() to actually do the bind and connect tasks.
551         (bind): Connect to canonical address if bindpoint is null, create
552         socket and bind it to bindpoint.
553         (connect): Check for exceptions.
554
555 2003-06-08  Michael Koch  <konqueror@gmx.de>
556
557         * java/net/DatagramSocket.java
558         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
559         into the Multicast constructors.
560         * java/net/DatagramSocketImpl.java
561         (getOption): Removed.
562         (setOption): Removed.
563         * java/net/MulticastSocket.java
564         (MulticastSocket): Call setReuseAddress (true).
565         * java/net/SocketImpl.java
566         (getOption): Removed.
567         (setOption): Removed.
568
569 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
570
571         PR libgcj/10886:
572         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
573         Test for empty vector.
574
575 2003-06-06  Mark Wielaard  <mark@klomp.org>
576
577         * java/security/Security.java (secprops): Initialize.
578         (loadProviders): Return boolean.
579         (static): Check result of loadProvider calls. If necessary
580         display WARNING and fallback to Gnu provider.
581
582 2002-06-06  James Clark  <jjc@jclark.com>
583
584         Fix for PR libgcj/8738:
585         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
586         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
587         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
588         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
589         (write): Always decrease avail when count is increased.
590         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
591         and whether output buffer is full before increasing size.
592
593 2002-06-06  Mark Wielaard  <mark@klomp dot org>
594
595         * java/io/PrintStream.java (writeChars(char[],int, int)):
596         Check converter.havePendingBytes().
597         (writeChars(String,int,int)): Likewise.
598         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
599         Check converter.havePendingBytes() and flush buffer when stalled.
600
601 2003-06-07  Michael Koch  <konqueror@gmx.de>
602
603         * include/posix.h
604         (O_DSYNC): Define O_DSYNC on platforms not
605         supporting O_FSYNC (newlib).
606
607 2003-06-06  Mark Wielaard  <mark@klomp.org>
608
609         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
610         AWTError.
611
612 2003-06-06  Michael Koch  <konqueror@gmx.de>
613
614         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
615         More compile fixes from my stupid work yesterday.
616
617 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
618
619         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
620         if _IEEE_LIBM is undefined.
621
622 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
623
624         * libjava/include/posix.h (O_SYNC): Define if not available
625         and a reasonable, perhaps more conservative, replacement exists.
626         (O_DSYNC): Likewise.
627         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
628
629 2003-06-05  Michael Koch  <konqueror@gmx.de>
630
631         * javax/swing/plaf/BorderUIResource.java,
632         javax/swing/plaf/basic/BasicDefaults.java,
633         javax/swing/plaf/basic/BasicOptionPaneUI.java:
634         More compile fixes for latest Border commit. I should not commit
635         something in this heat here ...
636
637 2003-06-05  Michael Koch  <konqueror@gmx.de>
638
639         * javax/swing/border/BevelBorder.java
640         (BevelBorder): Removed.
641         * javax/swing/border/EmptyBorder.java:
642         Reformatted.
643         (EmptyBorder): Removed.
644         (getBorderInsets): Dont use l, r, t and b.
645         * javax/swing/border/EtchedBorder.java
646         (EtchedBorder): Removed.
647         * javax/swing/border/LineBorder.java
648         (LineBorder): Removed.
649         * javax/swing/border/MatteBorder.java
650         (MatteBorder): Removed.
651         * javax/swing/border/TitledBorder.java
652         (defaultBorder): Use other default for now.
653         (defaultFont): Likewise.
654         (defaultColor): Likewise.
655
656 2003-06-05  Michael Koch  <konqueror@gmx.de>
657
658         * javax/swing/border/Border.java:
659         New version from classpath.
660
661 2003-06-05  Michael Koch  <konqueror@gmx.de>
662
663         * javax/swing/border/AbstractBorder.java,
664         javax/swing/border/BevelBorder.java,
665         javax/swing/border/CompoundBorder.java,
666         javax/swing/border/EmptyBorder.java,
667         javax/swing/border/EtchedBorder.java,
668         javax/swing/border/LineBorder.java,
669         javax/swing/border/MatteBorder.java,
670         javax/swing/border/TitledBorder.java:
671         New versions from Classpath.
672
673 2003-06-05  Michael Koch  <konqueror@gmx.de>
674
675         * java/awt/Button.java,
676         java/awt/Checkbox.java,
677         java/awt/CheckboxMenuItem.java,
678         java/awt/Choice.java,
679         java/awt/Container.java,
680         java/awt/Dialog.java,
681         java/awt/EventQueue.java,
682         java/awt/FileDialog.java,
683         java/awt/Frame.java,
684         java/awt/Label.java,
685         java/awt/List.java,
686         java/awt/Menu.java,
687         java/awt/MenuItem.java,
688         java/awt/Panel.java,
689         java/awt/PopupMenu.java,
690         java/awt/Rectangle.java,
691         java/awt/ScrollPane.java,
692         java/awt/Scrollbar.java,
693         java/awt/TextArea.java,
694         java/awt/TextField.java,
695         java/awt/Window.java,
696         java/awt/datatransfer/DataFlavor.java,
697         java/awt/dnd/DragSource.java,
698         java/awt/dnd/DragSourceContext.java,
699         java/awt/event/HierarchyEvent.java,
700         java/awt/event/MouseWheelEvent.java,
701         java/awt/im/InputContext.java,
702         java/awt/image/BufferedImage.java,
703         java/awt/image/ComponentColorModel.java,
704         java/awt/image/Raster.java,
705         java/awt/image/WritableRaster.java,
706         java/awt/peer/ComponentPeer.java,
707         java/awt/print/PageFormat.java,
708         java/awt/print/PrinterJob.java:
709         New versions from Classpath.
710
711 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
712
713         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
714         numberFormat.setParseIntegerOnly(true).
715
716 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
717
718         * include/posix-threads.h: Include <machine/pal.h> on OSF.
719
720 2003-06-03  Andrew Haley  <aph@redhat.com>
721
722         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
723         stack volatile to prevent optimization from removing it.
724
725 2003-05-27  Michael Koch  <konqueror@gmx.de>
726
727         * java/util/zip/Deflater.java
728         (FILTERED): Merged documentation from classpath.
729         * java/util/zip/DeflaterOutputStream.java
730         (DeflaterOutputStream): Merged documentation and argument validity
731         check from classpath.
732         (deflate): Merged documentation from classpath.
733         (finish): Likewise.
734         * java/util/zip/Inflater.java
735         (Inflater): Merged class documentation from classpath.
736         (zstream): Reordered.
737         (is_finished): Reordered.
738         (dict_needed): Reordered.
739         (Inflater): Reordered, merged documentation from classpath.
740         (end): Likewise.
741         (finalize): Merged documentation from classpath.
742         (finished): Likewise.
743         (getAdler): Likewise.
744         (getRemaining): Likewise.
745         (getTotalIn): Likewise.
746         (getTotalOut): Likewise.
747         (inflate): Likewise.
748         (needsDictionary): Likewise.
749         (needsInput): Likewise.
750         (reset): Likewise.
751         (setDictionary): Likewise.
752         (setInput): Likewise.
753
754 2003-05-27  Michael Koch  <konqueror@gmx.de>
755
756         * java/net/URLConnection.java
757         (getHeaderFieldInt): Merged with classpath.
758
759 2003-05-27  Michael Koch  <konqueror@gmx.de>
760
761         * java/io/PrintStream.java
762         (PrintStream): Reformatted.
763         (PrintStream): New method, merged from classpath.
764         (write): Reformatted.
765
766 2003-05-27  Michael Koch  <konqueror@gmx.de>
767
768         * java/lang/System.java:
769         Explicitely import needed classes.
770
771 2003-05-26  Michael Koch  <konqueror@gmx.de>
772
773         * java/net/NetPermission.java,
774         java/net/NetworkInterface.java,
775         java/net/PasswordAuthentication.java,
776         java/net/SocketPermission.java:
777         New versions from classpath.
778
779 2003-05-25  Michael Koch  <konqueror@gmx.de>
780
781         * java/io/PushbackInputStream.java,
782         java/net/Authenticator.java,
783         java/net/ContentHandler.java,
784         java/net/ContentHandlerFactory.java,
785         java/net/DatagramSocket.java,
786         java/net/DatagramSocketImpl.java,
787         java/net/DatagramSocketImplFactory.java,
788         java/net/FileNameMap.java,
789         java/net/SocketImplFactory.java,
790         java/net/SocketOptions.java,
791         java/net/URLStreamHandlerFactory.java:
792         Merged new versions from classpath.
793
794 2003-05-25  Michael Koch  <konqueror@gmx.de>
795
796         * java/awt/Checkbox.java,
797         java/awt/Dialog.java,
798         java/awt/Font.java,
799         java/awt/Frame.java,
800         java/awt/ScrollPaneAdjustable.java,
801         java/awt/Scrollbar.java,
802         java/awt/Window.java:
803         New versions from classpath.
804
805 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
806
807         PR libgcj/10838:
808         * java/io/ObjectInputStream (enableResolveObject):
809         Fixed spelling of permission name.
810
811 2003-05-20  Michael Koch  <konqueror@gmx.de>
812
813         * java/io/DataInputStream.java
814         (convertFromUTF): Merged comment from classpath.
815         * java/io/PrintStream.java
816         (error_occured): Renamed from error, merged comment from classpath.
817         (PrintStream): No need to initialized error.
818         (checkError): Replace error with error_occurred.
819         (setError): Likewise.
820
821 2003-05-20  Michael Koch  <konqueror@gmx.de>
822
823         * java/io/DataInputStream.java:
824         Reformatted, Replaced < and & with html entitites in documentation.
825         * java/io/File.java:
826         Reformatted.
827         * java/io/PrintWriter.java:
828         Moved class documentation.
829
830 2003-05-20  Michael Koch  <konqueror@gmx.de>
831
832         * gnu/java/nio/ByteBufferImpl.java,
833         gnu/java/nio/CharBufferImpl.java,
834         gnu/java/nio/CharViewBufferImpl.java,
835         gnu/java/nio/DirectByteBufferImpl.java,
836         gnu/java/nio/DoubleBufferImpl.java,
837         gnu/java/nio/DoubleViewBufferImpl.java,
838         gnu/java/nio/FloatBufferImpl.java,
839         gnu/java/nio/FloatViewBufferImpl.java,
840         gnu/java/nio/IntBufferImpl.java,
841         gnu/java/nio/IntViewBufferImpl.java,
842         gnu/java/nio/LongBufferImpl.java,
843         gnu/java/nio/LongViewBufferImpl.java,
844         gnu/java/nio/natDirectByteBufferImpl.cc,
845         gnu/java/nio/ShortBufferImpl.java,
846         gnu/java/nio/ShortViewBufferImpl.java:
847         Moved files to java/nio.
848         * gnu/java/nio/SocketChannelImpl.java
849         
850         * java/nio/ByteBuffer.java,
851         java/nio/CharBuffer.java,
852         java/nio/DoubleBuffer.java,
853         java/nio/FloatBuffer.java,
854         java/nio/IntBuffer.java,
855         java/nio/LongBuffer.java,
856         java/nio/ShortBuffer.java:
857         Dont import anything.
858         * java/nio/ByteBufferImpl.java,
859         java/nio/CharBufferImpl.java,
860         java/nio/CharViewBufferImpl.java,
861         java/nio/DirectByteBufferImpl.java,
862         java/nio/DoubleBufferImpl.java,
863         java/nio/DoubleViewBufferImpl.java,
864         java/nio/FloatBufferImpl.java,
865         java/nio/FloatViewBufferImpl.java,
866         java/nio/IntBufferImpl.java,
867         java/nio/IntViewBufferImpl.java,
868         java/nio/LongBufferImpl.java,
869         java/nio/LongViewBufferImpl.java,
870         java/nio/natDirectByteBufferImpl.cc,
871         java/nio/ShortBufferImpl.java,
872         java/nio/ShortViewBufferImpl.java:
873         Moved from gnu/java/nio.
874         * Makefile.am
875         (ordinary_java_source_files): Moved files from gnu/java/nio to
876         java/nio.
877         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
878         to java/nio.
879         * Makefile.in: Regenerated.
880
881 2003-05-19  Michael Koch  <konqueror@gmx.de>
882
883         * java/util/Calendar.java
884         (get): Not final anymore since JDK 1.4
885         (set): Likewise.
886
887 2003-05-19  Michael Koch  <konqueror@gmx.de>
888
889         * java/text/CollationKey.java:
890         Merged copyright and dat from classpath.
891         * java/text/RuleBasedCollator.java:
892         Merged class documentation from classpath.
893
894 2003-05-19  Michael Koch  <konqueror@gmx.de>
895
896         * java/nio/CharBuffer.java
897         (toString): Compile fix.
898
899 2003-05-19  Michael Koch  <konqueror@gmx.de>
900
901         * gnu/java/nio/ByteBufferImpl.java
902         (putLong): Fixed conversion to bytes.
903         (putDouble): Fixed conversion to bytes.
904         * gnu/java/nio/DirectByteBufferImpl.java
905         (putLong): Fixed conversion to bytes.
906         (putDouble): Fixed conversion to bytes.
907         * gnu/java/nio/FileLockImpl.java
908         (isValid): Reformatted.
909         * java/nio/Buffer.java
910         (Buffer): Fixed off-by-one bug in handling mark.
911         * java/nio/ByteBuffer.java:
912         Added newline.
913         * java/nio/CharBuffer.java
914         (toString): Don't use relative get to get string data.
915
916 2003-05-16  Michael Koch  <konqueror@gmx.de>
917
918         * java/io/natFileDescriptorPosix.cc
919         (open): Commented out the O_SYNC and O_DSYNC usage until its better
920         tested.
921
922 2003-05-14  Michael Koch  <konqueror@gmx.de>
923
924         * gnu/java/nio/FileLockImpl.java
925         (released): New member variable.
926         (FileLockImpl): Initialize released.
927         (releaseImpl): New native method.
928         (release): Implemented.
929         * gnu/java/nio/SelectorImpl.java: Reformatted.
930         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
931         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
932         (accept): Throws IOException.
933         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
934         (implConfigureBlocking): Throws IOException.
935         (connect): Likewise.
936         (read): Likewise.
937         (write): Likewise.
938         * gnu/java/nio/natFileLockImpl.cc: New file.
939         * java/nio/channels/FileLock.java: Reformatted.
940         * Makefile.am:
941         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
942         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
943         * Makefile.in: Regenerated.
944
945 2003-05-13  Michael Koch  <konqueror@gmx.de>
946
947         * gnu/java/nio/CharViewBufferImpl.java
948         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
949         (get): Shift bits to the right direction.
950         (put): Likewise.
951         * gnu/java/nio/DoubleViewBufferImpl.java
952         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
953         (get): Shift bits to the right direction.
954         (put): Likewise.
955         * gnu/java/nio/FloatViewBufferImpl.java
956         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
957         (get): Shift bits to the right direction.
958         (put): Likewise.
959         * gnu/java/nio/IntViewBufferImpl.java
960         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
961         (get): Shift bits to the right direction.
962         (put): Likewise.
963         * gnu/java/nio/LongViewBufferImpl.java
964         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
965         (get): Shift bits to the right direction.
966         (put): Likewise.
967         * gnu/java/nio/ShortViewBufferImpl.java
968         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
969         (get): Shift bits to the right direction.
970         (put): Likewise.
971
972 2003-05-13  Michael Koch  <konqueror@gmx.de>
973
974         * gnu/java/nio/natDirectByteBufferImpl.cc
975         (allocateImpl): jlong -> RawData*.
976         (freeImpl): Likewise.
977
978 2003-05-13  Michael Koch  <konqueror@gmx.de>
979
980         * java/nio/channels/FileChannel.java
981         (MapMode.m): Made it package-private to match JDK 1.4.
982         * java/nio/charset/Charset.java
983         (decode): Made it final to match JDK 1.4.
984
985 2003-05-13  Michael Koch  <konqueror@gmx.de>
986
987        * java/io/FileDescriptor.java
988        (SYNC): New constant.
989        (DSYNC): Likewise.
990        (getLength): Renamed from lenght() to match classpath's
991        FileDescriptor.java.
992        * java/io/RandomAccessFile.java
993        (RandomAccessFile): Removed unneeded mode check, implemented mode
994        "rws" and "rwd", merged documentation from classpath.
995        (setLength): Reformatted.
996        (length): Use new getLength() of FileDescriptor.
997        * java/io/natFileDescriptorEcos.cc
998        (getLength): Renamed from length().
999        * java/io/natFileDescriptorPosix.cc
1000        (open): Implemented support for SYNC and DSYNC.
1001        (seek): Use getLength() instead of length().
1002        (getLength): Renamed from length().
1003        * java/io/natFileDescriptorWin32.cc
1004        (getLength): Renamed from length().
1005        (seek): Use getLength() instead of length().
1006        (available): Likewise.
1007        * gnu/java/nio/natFileChannelImpl.cc
1008        (size): Use getLength() instead of length().
1009
1010 2003-05-13  Michael Koch  <konqueror@gmx.de>
1011
1012         * gnu/java/nio/ByteBufferImpl.java
1013         (ByteBufferImpl): All constructors revised.
1014         (slice): Reimplemented.
1015         (duplicate): Reimplemented.
1016         (asReadOnlyBuffer): Reimplemented.
1017         * java/nio/ByteBuffer.java:
1018         Reformatted.
1019         (array_offset): Renamed from "offset" to match all other buffer
1020         classes.
1021         (ByteBuffer): All constructors revised.
1022         (allocateDirect): Implemented.
1023         (allocate): New implementation, documentation reworked.
1024         (wrap): Likewise.
1025         (get): Documentation reworked.
1026         (put): New implementation, documentation reworked.
1027         (hasArray): Documentation reworked.
1028         (arrayOffset): Likewise.
1029         (hashCode): Likewise.
1030         (equals): Likewise.
1031         (compareTo): Likewise.
1032         (order): Likewise.
1033         (compact): Likewise.
1034         (isDirect): Likewise.
1035         (slice): Likewise.
1036         (duplicate): Likewise.
1037         (asReadOnlyBuffer): Likewise.
1038         * Makefile.am
1039         (ordinary_java_source_files):
1040         Added gnu/java/nio/DirectByteBufferImpl.java.
1041         (nat_source_files):
1042         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1043         * Makefile.in: Regenerated.
1044
1045 2003-05-12  Michael Koch  <konqueror@gmx.de>
1046
1047         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1048         (nio_get_*): Removed.
1049         (nio_put_*): Removed.
1050         (as*Buffer): Implemented.
1051         (compact): Implemented.
1052         (get): Documentation added.
1053         (put): Documentation added.
1054         (get*): Newly implemented.
1055         (put*): Newly implemented.
1056         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1057         (CharBufferImpl): Revised.
1058         (slice): New implementation.
1059         (duplicate): New implementation.
1060         (compact): New implementation.
1061         (asReadOnlyBuffer): New implementation.
1062         (get): Documentation revised.
1063         (order): Return native byte order.
1064         * gnu/java/nio/DirectByteBufferImpl.java
1065         (allocateDirect): objects can be null not 0.
1066         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1067         (DoubleBufferImpl): Revised.
1068         (slice): New implementation.
1069         (duplicate): New implementation.
1070         (compact): New implementation.
1071         (asReadOnlyBuffer): New implementation.
1072         (get): Documentation revised.
1073         (order): Return native byte order.
1074         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1075         (FloatBufferImpl): Revised.
1076         (slice): New implementation.
1077         (duplicate): New implementation.
1078         (compact): New implementation.
1079         (asReadOnlyBuffer): New implementation.
1080         (get): Documentation revised.
1081         (order): Return native byte order.
1082         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1083         (IntBufferImpl): Revised.
1084         (slice): New implementation.
1085         (duplicate): New implementation.
1086         (compact): New implementation.
1087         (asReadOnlyBuffer): New implementation.
1088         (get): Documentation revised.
1089         (order): Return native byte order.
1090         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1091         (LongBufferImpl): Revised.
1092         (slice): New implementation.
1093         (duplicate): New implementation.
1094         (compact): New implementation.
1095         (asReadOnlyBuffer): New implementation.
1096         (get): Documentation revised.
1097         (order): Return native byte order.
1098         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1099         (ShortBufferImpl): Revised.
1100         (slice): New implementation.
1101         (duplicate): New implementation.
1102         (compact): New implementation.
1103         (asReadOnlyBuffer): New implementation.
1104         (get): Documentation revised.
1105         (order): Return native byte order.
1106         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1107         (CharBuffer): Revised.
1108         (order): Removed.
1109         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1110         (DoubleBuffer): Revised.
1111         (allocateDirect): Removed.
1112         (order): Removed.
1113         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1114         (FloatBuffer): Revised.
1115         (allocateDirect): Removed.
1116         (order): Removed.
1117         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1118         (IntBuffer): Revised.
1119         (allocateDirect): Removed.
1120         (order): Removed.
1121         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1122         (LongBuffer): Revised.
1123         (allocateDirect): Removed.
1124         (order): Removed.
1125         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1126         (ShortBuffer): Revised.
1127         (allocateDirect): Removed.
1128         (order): Removed.
1129         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1130         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1131         * Makefile.am
1132         (ordinary_java_source_files): Added the following files:
1133         gnu/java/nio/CharViewBufferImpl.java,
1134         gnu/java/nio/DoubleViewBufferImpl.java,
1135         gnu/java/nio/FloatViewBufferImpl.java,
1136         gnu/java/nio/IntViewBufferImpl.java,
1137         gnu/java/nio/LongViewBufferImpl.java,
1138         gnu/java/nio/ShortViewBufferImpl.java
1139         (nat_source_files): Removed the following files:
1140         gnu/java/nio/natByteBufferImpl.cc,
1141         gnu/java/nio/natCharBufferImpl.cc
1142         * Makefile.in: Regenerated.
1143
1144 2003-05-12  Michael Koch  <konqueror@gmx.de>
1145
1146         * gnu/java/nio/CharViewBufferImpl.java,
1147         gnu/java/nio/DirectByteBufferImpl.java,
1148         gnu/java/nio/DoubleViewBufferImpl.java,
1149         gnu/java/nio/FloatViewBufferImpl.java,
1150         gnu/java/nio/IntViewBufferImpl.java,
1151         gnu/java/nio/LongViewBufferImpl.java,
1152         gnu/java/nio/ShortViewBufferImpl.java,
1153         gnu/java/nio/natDirectByteBufferImpl.cc:
1154         New files, not yet to be compiled.
1155
1156 2003-05-10  Michael Koch  <konqueror@gmx.de>
1157
1158         * javax/swing/plaf/ButtonUI.java,
1159         javax/swing/plaf/ColorUIResource.java,
1160         javax/swing/plaf/ComponentUI.java,
1161         javax/swing/plaf/DimensionUIResource.java,
1162         javax/swing/plaf/FontUIResource.java,
1163         javax/swing/plaf/IconUIResource.java,
1164         javax/swing/plaf/InsetsUIResource.java,
1165         javax/swing/plaf/LabelUI.java,
1166         javax/swing/plaf/ListUI.java,
1167         javax/swing/plaf/OptionPaneUI.java,
1168         javax/swing/plaf/PanelUI.java,
1169         javax/swing/plaf/TabbedPaneUI.java,
1170         javax/swing/plaf/TextUI.java,
1171         javax/swing/plaf/TreeUI.java,
1172         javax/swing/plaf/ViewportUI.java,
1173         javax/swing/plaf/basic/BasicBorders.java,
1174         javax/swing/plaf/basic/BasicButtonUI.java,
1175         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1176         javax/swing/plaf/basic/BasicDefaults.java,
1177         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1178         javax/swing/plaf/basic/BasicIconFactory.java,
1179         javax/swing/plaf/basic/BasicLabelUI.java,
1180         javax/swing/plaf/basic/BasicListUI.java,
1181         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1182         javax/swing/plaf/basic/BasicPanelUI.java,
1183         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1184         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1185         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1186         javax/swing/plaf/basic/BasicTextUI.java,
1187         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1188         javax/swing/plaf/basic/BasicTreeUI.java,
1189         javax/swing/plaf/basic/BasicViewportUI.java,
1190         javax/swing/plaf/metal/MetalLookAndFeel.java:
1191         New versions from classpath. This adds copyrights to all files and
1192         some serialVersionUIDs.
1193
1194 2003-05-10  Michael Koch  <konqueror@gmx.de>
1195
1196         * java/nio/CharBuffer.java
1197         (offset): Make it package-private.
1198         (backing_buffer): Likewise.
1199         * java/nio/DoubleBuffer.java
1200         (offset): Make it package-private.
1201         (backing_buffer): Likewise.
1202         (put): Reformatted.
1203         * java/nio/FloatBuffer.java
1204         (offset): Make it package-private.
1205         (backing_buffer): Likewise.
1206         * java/nio/IntBuffer.java
1207         (offset): Make it package-private.
1208         (backing_buffer): Likewise.
1209         * java/nio/LongBuffer.java
1210         (offset): Make it package-private.
1211         (backing_buffer): Likewise.
1212         * java/nio/ShortBuffer.java
1213         (offset): Make it package-private.
1214         (backing_buffer): Likewise.
1215
1216 2003-05-10  Michael Koch  <konqueror@gmx.de>
1217
1218         * java/nio/CharBuffer.java
1219         (put): Fixed precondtion check.
1220         (toString): Make it work without backing array.
1221         (put): Skip one level of method calling.
1222
1223 2003-05-10  Michael Koch  <konqueror@gmx.de>
1224
1225         * java/security/Identity.java,
1226         java/security/IdentityScope.java,
1227         java/security/Key.java,
1228         java/security/KeyPair.java,
1229         java/security/PrivateKey.java,
1230         java/security/Provider.java,
1231         java/security/PublicKey.java,
1232         java/security/SecureRandom.java,
1233         java/security/SecureRandomSpi.java,
1234         java/security/SignedObject.java,
1235         java/security/Signer.java,
1236         java/security/cert/Certificate.java,
1237         java/security/cert/PKIXCertPathBuilderResult.java,
1238         java/security/cert/X509Certificate.java:
1239         New versions from classpath.
1240
1241 2003-05-09  Tom Tromey  <tromey@redhat.com>
1242
1243         * Makefile.in: Rebuilt.
1244         * Makefile.am (nat_source_files): Removed old files.
1245         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1246         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1247         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1248         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1249         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1250
1251 2003-05-09  Michael Koch  <konqueror@gmx.de>
1252
1253         * gnu/java/nio/ByteBufferImpl.java
1254         (nio_cast): Removed.
1255         (ByteBufferImpl): Removed.
1256         (nio_get_Byte): Removed.
1257         (nio_put_Byte): Removed.
1258         (asByteBuffer): Removed.
1259         (asCharBuffer): Removed implementation and throw exception.
1260         (asShortBuffer): Likewise.
1261         (asIntBuffer): Likewise.
1262         (asLongBuffer): Likewise.
1263         (asFloatBuffer): Likewise.
1264         (asDoubleBuffer): Likewise.
1265         * gnu/java/nio/CharBufferImpl.java
1266         (CharBufferImpl): Removed.
1267         (nio_get_Byte): Removed.
1268         (nio_put_Byte): Removed.
1269         (asByteBuffer): Removed.
1270         * gnu/java/nio/DoubleBufferImpl.java
1271         (DoubleBufferImpl): Removed.
1272         (nio_get_Byte): Removed.
1273         (nio_put_Byte): Removed.
1274         (asByteBuffer): Removed.
1275         * gnu/java/nio/FloatBufferImpl.java
1276         (FloatBufferImpl): Removed.
1277         (nio_get_Byte): Removed.
1278         (nio_put_Byte): Removed.
1279         (asByteBuffer): Removed.
1280         * gnu/java/nio/IntBufferImpl.java
1281         (IntBufferImpl): Removed.
1282         (nio_get_Byte): Removed.
1283         (nio_put_Byte): Removed.
1284         (asByteBuffer): Removed.
1285         * gnu/java/nio/LongBufferImpl.java
1286         (LongBufferImpl): Removed.
1287         (nio_get_Byte): Removed.
1288         (nio_put_Byte): Removed.
1289         (asByteBuffer): Removed.
1290         * gnu/java/nio/ShortBufferImpl.java
1291         (ShortBufferImpl): Removed.
1292         (nio_get_Byte): Removed.
1293         (nio_put_Byte): Removed.
1294         (asByteBuffer): Removed.
1295         * gnu/java/nio/natByteBufferImpl.cc
1296         (nio_cast): Removed.
1297         (nio_get_Byte): Removed.
1298         (nio_put_Byte): Removed.
1299         * gnu/java/nio/natCharBufferImpl.cc
1300         (nio_get_Byte): Removed.
1301         (nio_put_Byte): Removed.
1302
1303 2003-05-09  Michael Koch  <konqueror@gmx.de>
1304
1305         * java/net/JarURLConnection.java
1306         (getJarEntry): Merged documentation from classpath.
1307         (getJarFile): Likewise.
1308         (getMainAttributes): Likewise.
1309         (getAttributes): Likewise.
1310         (getManifest): Likewise.
1311         (getCertificates): Reformatted.
1312         * java/net/URLConnection.java:
1313         Little classpath merge.
1314
1315 2003-05-09  Michael Koch  <konqueror@gmx.de>
1316
1317         * java/io/DataOutputStream.java
1318         (writeShort): Made it synchronized.
1319         (writeChar): Likewise.
1320         (writeInt): Likewise.
1321         (writeLong): Liekwise.
1322         (writeUTF): Made it synchronized, renamed argument to match classpath.
1323         * java/io/InputStreamReader.java
1324         (converter): Added documentation.
1325         (read): Merged documentation from classpath.
1326         * java/io/OutputStreamWriter.java
1327         (OutputStreamWriter): Merged documentation from classpath.
1328         (close): Reformatted.
1329         (getEncoding): Likewise.
1330         (flush): Likewise.
1331         (write): Merged documentation from classpath, reformatted.
1332
1333 2003-05-08  Tom Tromey  <tromey@redhat.com>
1334
1335         * configure.host <powerpc64*-*>: Set with_libffi_default and
1336         libgcj_interpreter to "yes".
1337
1338 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1339
1340         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1341         
1342 2003-05-06  Tom Tromey  <tromey@redhat.com>
1343
1344         * verify.cc: Reverted previous patch.
1345
1346 2003-05-06  Michael Koch  <konqueror@gmx.de>
1347
1348         * java/io/DataOutputStream.java
1349         (write): Renamed argument to "value", merged documentation from
1350         classpath.
1351         (writeBoolean): Likewise.
1352         (writeByte): Likewise.
1353         (writeShort): Likewise.
1354         (writeChar): Likewise.
1355         (writeInt): Likewise.
1356         (writeLong): Likewise.
1357         (writeFloat): Likewise.
1358         (writeDouble): Likewise.
1359         (writeBytes): Likewise.
1360         (writeChars): Likewise.
1361         (writeUTF): Likewise.
1362         * java/io/File.java
1363         (performDelete): Added documentation.
1364         (performList): Likewise.
1365         (performMkdir): Likewise.
1366         (performSetReadOnly): Likewise.
1367         (performRenameTo): Likewise.
1368         (performSetLastModified): Likewise.
1369         (delete): Made it sychronized.
1370         (renameTo): Made it sychronized.
1371         (equals): Reformatted.
1372         (isHidden): Likewise.
1373         (listFiles): Likewise.
1374         (setReadOnly): Likewise.
1375         (listRoots): Likewise.
1376         (setLastModified): Likewise.
1377         (checkRead): Likewise.
1378         (checkWrite): Likewise.
1379         * java/io/FileInputStream.java
1380         (skip): Made it sychronized, merged from classpath.
1381         * java/io/FileOutputStream.java
1382         (write): Merged from classpath.
1383         * java/io/InputStreamReader.java:
1384         (InputStreamReader): Merged documentation from classpath.
1385
1386 2003-05-05  Michael Koch  <konqueror@gmx.de>
1387
1388         * java/net/NetworkInterface.java
1389         (networkInterfaces): Removed.
1390         (getByName): Use getRealNetworkInterfaces() instead of
1391         networkInterfaces.
1392         (getByInetAddress): Likewise.
1393         (getNetworkInterfaces): Likewise.
1394         (toString): Fix output of addresses of an interface.
1395
1396 2003-05-05  Michael Koch  <konqueror@gmx.de>
1397
1398         * java/io/DataInputStream.java:
1399         Merged new documentation from classpath.
1400
1401 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1402
1403         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1404         "version".
1405         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1406         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1407         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1408         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1409         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1410         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1411         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1412         * java/security/Key.java: Likewise.
1413         * java/security/PrivateKey.java: Likewise.
1414         * java/security/Provider.java: Likewise.
1415         * java/security/PublicKey.java: Likewise.
1416
1417 2003-05-02  Michael Koch  <konqueror@gmx.de>
1418
1419         * java/net/URI.java
1420         (create): Doesnt throws any exceptions.
1421         * java/net/URLConnection.java
1422         (URLConnection): Commend added.
1423         (getExpiration): The header field is called "expires" not
1424         "expiration".
1425         (getHeaderField): Merged documentation with classpath.
1426         (getHeaderFieldInt): Likewise.
1427         (getHeaderFieldDate): Likewise.
1428         (getHeaderFieldKey): Likewise.
1429         (getPermission): Likewise.
1430         (setDefaultUseCaches): Likewise.
1431         (setRequestProperty): Likewise.
1432         (addRequestProperty): Likewise.
1433         (getRequestProperty): Likewise.
1434         (getRequestProperties): Likewise.
1435         (setDefaultRequestProperty): Likewise.
1436         (getDefaultRequestProperty): Likewise.
1437         (guessContentTypeFromStream): Likewise.
1438         (getFileNameMap): Likewise.
1439         (setFileNameMap): Likewise.
1440         (setDoInput): Merged implementation and documentation with classpath.
1441         (setDoOutput): Likewise.
1442         (setAllowUserInteraction): Likewise.
1443         (setDefaultAllowUserInteraction): Likewise.
1444         (setContentHandlerFactory): Made it synchronized, merged documentation
1445         with classpath.
1446         (guessContentTypeFromName): Renamed argument fname to filename to
1447         match classpath, merged documentation with classpath.
1448
1449 2003-05-02  Michael Koch  <konqueror@gmx.de>
1450
1451         * java/net/JarURLConnection.java
1452         (JarURLConnection): Class documentation merged with classpath.
1453         (getJarFileURL): Moved and documentation merged with classpath.
1454         (getEntryName): Likewise.
1455         (JarURLConnection): Documentation merged with classpath.
1456         (getJarEntry): Likewise.
1457         (getJarFile): Likewise.
1458         * java/net/PlainDatagramSocketImpl.java:
1459         Class documentation moved.
1460         * java/net/URLConnection.java
1461         (fileNameMap): Moved and documentation merged with classpath.
1462         (factory): Likewise.
1463         (defaultAllowUserInteraction): Likewis.
1464         (defaultUseCaches): Likewise.
1465         (allowUserInteraction): Likewise.
1466         (connected): Likewise.
1467         (url): Likewise.
1468         (connect): Documentation merged with classpath.
1469         (getURL): Likewise.
1470         (getContentLength): Likewise.
1471         (getContentType): Likewise.
1472         (getContentEncoding): Likewise.
1473         (getExpiration): Likewise.
1474         (getDate): Likewise.
1475         (getLastModified): Likewise.
1476         (getHeaderField): Likewise.
1477         (getContent): Likewise.
1478         (getPermission): Likewise.
1479         (getInputStream): Likewise.
1480         (getOutputStream): Likewise.
1481         (toString): Likewise.
1482         (getDoInput): Likewise.
1483         (getDoOutput): Likewise.
1484         (setAllowUserInteraction): Likewise.
1485         (getAllowUserInteraction): Likewise.
1486         (setDefaultAllowUserInteraction): Likewise.
1487         (getDefaultAllowUserInteraction): Likewise.
1488         (setUseCaches): Likewise.
1489         (getUseCaches): Likewise.
1490         (setIfModifiedSince): Likewise.
1491         (getIfModifiedSince): Likewise.
1492         (setDefaultRequestProperty): Likewise.
1493         (getDefaultRequestProperty): Likewise.
1494         (setContentHandlerFactory): Likewise.
1495         (setFileNameMap): Likewise.
1496
1497 2003-05-02  Michael Koch  <konqueror@gmx.de>
1498
1499         * java/net/InetAddress.java:
1500         Merged class documentation with classpath.
1501         * java/net/JarURLConnection.java:
1502         Explicitely import all used classes.
1503         * java/net/URL.java:
1504         Reformatting.
1505         * java/net/ServerSocket.java,
1506         java/net/Socket.java:
1507         New versions from classpath.
1508
1509 2003-05-02  Michael Koch  <konqueror@gmx.de>
1510
1511         * gnu/java/nio/FileChannelImpl.java
1512         (read): New implementation.
1513         (implRead): New methods.
1514         (write): New implementation, call other write insteal of read method.
1515         (implWrite): New methods.
1516         (map): Added comment.
1517         (transferFrom): Implemented.
1518         (transferTo): Implemented.
1519         (lock): Added checks to throw exceptions.
1520         (truncate): Added check to throw exception.
1521         * gnu/java/nio/natFileChannelImpl.cc
1522         (implRead): New method.
1523         (implWrite): New method.
1524         * java/nio/ByteBuffer.java
1525         (hashCode): Fixed comment.
1526         (get): Fixed exception documentation.
1527         (put): Fixed exception documentation.
1528         * java/nio/CharBuffer.java:
1529         Added comment for later optimizations.
1530
1531 2003-04-30  Tom Tromey  <tromey@redhat.com>
1532
1533         PR libgcj/10582:
1534         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1535         Removed.
1536         (type::compatible): Use _Jv_IsAssignableFrom.
1537         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1538         (_Jv_IsAssignableFrom): Work even when source or target class is
1539         not prepared.
1540
1541 2003-04-30  Michael Koch  <konqueror@gmx.de>
1542
1543         * java/text/BreakIterator.java
1544         (clone): New method.
1545
1546 2003-04-30  Michael Koch  <konqueror@gmx.de>
1547
1548         * java/text/CollationElementIterator.java,
1549         java/text/CollationKey.java,
1550         java/text/RuleBasedCollator.java:
1551         Merged copyright and documentation from classpath and
1552         rearranged some code. No code changes done.
1553
1554 2003-04-30  Michael Koch  <konqueror@gmx.de>
1555
1556         * java/util/regex/Matcher.java
1557         (pattern): New member variable.
1558         (appendReplacement): New method.
1559         (appendTail): New method.
1560         (end): New method.
1561         (find): New method.
1562         (group): New method.
1563         (replaceFirst): Added documentation.
1564         (replaceAll): Added documentation.
1565         (groupCount): New method.
1566         (lookingAt): New method.
1567         (matches): New method.
1568         (reset): New method.
1569         (start): New method.
1570         * java/util/regex/Pattern.java
1571         (serialVersionUID): New constant.
1572         (CANON_EQ): New constant.
1573         (CASE_INSENSITIVE): New constant.
1574         (COMMENTS): New constant.
1575         (DOTALL): New constant.
1576         (MULTILINE): New constant.
1577         (UNICODE_CASE): New constant.
1578         (UNIX_LINES): New constant.
1579         (regex): New member variable.
1580         (flags): New member variable.
1581         (Pattern): New method.
1582         (compile): Documentation added.
1583         (flags): New method.
1584         (matches): Documentation added.
1585         (matcher): Documentation added.
1586         (split): Documentation added.
1587         (pattern): New method.
1588
1589 2003-04-30  Michael Koch  <konqueror@gmx.de>
1590
1591         * gnu/java/security/Engine.java,
1592         gnu/java/security/OID.java,
1593         gnu/java/security/der/BitString.java,
1594         gnu/java/security/der/DER.java,
1595         gnu/java/security/der/DERReader.java,
1596         gnu/java/security/der/DERValue.java,
1597         gnu/java/security/der/DERWriter.java,
1598         gnu/java/security/provider/DSAKeyFactory.java,
1599         gnu/java/security/provider/X509CertificateFactory.java,
1600         gnu/java/security/x509/X500DistinguishedName.java,
1601         gnu/java/security/x509/X509CRL.java,
1602         gnu/java/security/x509/X509CRLEntry.java,
1603         gnu/java/security/x509/X509Certificate.java,
1604         java/security/cert/CRLSelector.java,
1605         java/security/cert/CertPathBuilder.java,
1606         java/security/cert/CertPathBuilderResult.java,
1607         java/security/cert/CertPathBuilderSpi.java,
1608         java/security/cert/CertPathParameters.java,
1609         java/security/cert/CertPathValidator.java,
1610         java/security/cert/CertPathValidatorResult.java,
1611         java/security/cert/CertPathValidatorSpi.java,
1612         java/security/cert/CertSelector.java,
1613         java/security/cert/CertStore.java,
1614         java/security/cert/CertStoreParameters.java,
1615         java/security/cert/CertStoreSpi.java,
1616         java/security/cert/CollectionCertStoreParameters.java,
1617         java/security/cert/LDAPCertStoreParameters.java,
1618         java/security/cert/PKIXBuilderParameters.java,
1619         java/security/cert/PKIXCertPathBuilderResult.java,
1620         java/security/cert/PKIXCertPathChecker.java,
1621         java/security/cert/PKIXCertPathValidatorResult.java,
1622         java/security/cert/PKIXParameters.java,
1623         java/security/cert/PolicyNode.java,
1624         java/security/cert/PolicyQualifierInfo.java,
1625         java/security/cert/TrustAnchor.java,
1626         javax/security/auth/x500/X500Principal.java:
1627         New files from classpath.
1628         * gnu/java/io/ASN1ParsingException.java,
1629         gnu/java/io/Base64InputStream.java,
1630         gnu/java/security/der/DEREncodingException.java,
1631         gnu/java/security/provider/DSAParameters.java,
1632         gnu/java/security/provider/DSASignature.java,
1633         gnu/java/security/provider/Gnu.java,
1634         gnu/java/security/provider/GnuDSAPrivateKey.java,
1635         gnu/java/security/provider/GnuDSAPublicKey.java,
1636         java/security/AlgorithmParameterGenerator.java,
1637         java/security/AlgorithmParameters.java,
1638         java/security/KeyFactory.java,
1639         java/security/KeyPairGenerator.java,
1640         java/security/KeyStore.java,
1641         java/security/MessageDigest.java,
1642         java/security/SecureClassLoader.java,
1643         java/security/SecureRandom.java,
1644         java/security/Security.java,
1645         java/security/Signature.java,
1646         java/security/cert/Certificate.java,
1647         java/security/cert/CertificateFactory.java,
1648         java/security/cert/CertificateFactorySpi.java,
1649         java/security/cert/X509CRL.java,
1650         java/security/cert/X509Certificate.java,
1651         java/security/spec/DSAPublicKeySpec.java:
1652         New versions from classpath.
1653         * gnu/java/security/provider/DERReader.java,
1654         gnu/java/security/provider/DERWriter.java,
1655         java/security/Engine.java: Removed.
1656         * Makefile.am
1657         (java_source_files, javax_source_files): Added new files.
1658         * Makefile.in: Regenerated.
1659
1660 2003-04-29  Michael Koch  <konqueror@gmx.de>
1661
1662         * javax/swing/JTable.java
1663         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1664         (AUTO_RESIZE_LAST_COLUMN): New constant.
1665         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1666         (AUTO_RESIZE_OFF): New constant.
1667         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1668         (JTable): New method.
1669         (columnAdded): New method.
1670         (columnMarginChanged): New method.
1671         (columnMoved): New method.
1672         (columnRemoved): New method.
1673         (columnSelectionChanged): New method.
1674         (editingCanceled): New method.
1675         (editingStopped): New method.
1676         (getColumnModel): New method.
1677         (getPreferredScrollableViewportSize): New method.
1678         (getScrollableBlockIncrement): New method.
1679         (getScrollableTracksViewportHeight): New method.
1680         (getScrollableTracksViewportWidth): New method.
1681         (getScrollableUnitIncrement): New method.
1682         (getSelectedRow): New method.
1683         (getSelectionModel): New method.
1684         (tableChanged): New method.
1685         (setModel): New method.
1686         (setSelectionMode): New method.
1687         (setSelectionModel): New method.
1688         (setShowGrid): New method.
1689         (valueChanged): New method.
1690         * javax/swing/text/DefaultEditorKit.java
1691         (backwardAction): New constant.
1692         (beepAction): New constant.
1693         (beginAction): New constant.
1694         (beginLineAction): New constant.
1695         (beginParagraphAction): New constant.
1696         (beginWordAction): New constant.
1697         (copyAction): New constant.
1698         (cutAction): New constant.
1699         (defaultKeyTypedAction): New constant.
1700         (deleteNextCharAction): New constant.
1701         (deletePrevCharAction): New constant.
1702         (downAction): New constant.
1703         (endAction): New constant.
1704         (endLineAction): New constant.
1705         (endOfLineStringProperty): New constant.
1706         (endParagraphAction): New constant.
1707         (endWordAction): New constant.
1708         (forwardAction): New constant.
1709         (insertBreakAction): New constant.
1710         (insertContentAction): New constant.
1711         (insertTabAction): New constant.
1712         (nextWordAction): New constant.
1713         (pageDownAction): New constant.
1714         (pageUpAction): New constant.
1715         (pasteAction): New constant.
1716         (previousWordAction): New constant.
1717         (readOnlyAction): New constant.
1718         (selectAllAction): New constant.
1719         (selectionBackwardAction): New constant.
1720         (selectionBeginAction): New constant.
1721         (selectionBeginLineAction): New constant.
1722         (selectionBeginParagraphAction): New constant.
1723         (selectionBeginWordAction): New constant.
1724         (selectionDownAction): New constant.
1725         (selectionEndAction): New constant.
1726         (selectionEndLineAction): New constant.
1727         (selectionEndParagraphAction): New constant.
1728         (selectionEndWordAction): New constant.
1729         (selectionForwardAction): New constant.
1730         (selectionNextWordAction): New constant.
1731         (selectionPreviousWordAction): New constant.
1732         (selectionUpAction): New constant.
1733         (selectLineAction): New constant.
1734         (selectParagraphAction): New constant.
1735         (selectWordAction): New constant.
1736         (upAction): New constant.
1737         (writableAction): New constant.
1738
1739 2003-04-29  Michael Koch  <konqueror@gmx.de>
1740
1741         * java/util/PropertyPermission.java:
1742         New version from classpath
1743         * java/util/ResourceBundle.java:
1744         Partly merged from classpath
1745         (getObject): Reformated.
1746         (tryBundle): Set foundBundle = null if no bundle found.
1747
1748 2003-04-29  Michael Koch  <konqueror@gmx.de>
1749
1750         * javax/swing/AbstractListModel.java,
1751         javax/swing/DefaultBoundedRangeModel.java,
1752         javax/swing/DefaultSingleSelectionModel.java:
1753         New Versions from classpath.
1754
1755 2003-04-29  Michael Koch  <konqueror@gmx.de>
1756
1757         * java/awt/Window.java
1758         (show): Call super.show() instead of setVisible() to avoid endless
1759         loop.
1760         (hide): Call super.hide() instead of setVisible() to avoid endless
1761         loop.
1762
1763 2003-04-29  Michael Koch  <konqueror@gmx.de>
1764
1765         * java/util/zip/Deflater.java,
1766         java/util/zip/DeflaterOutputStream.java:
1767         Partly merged with classpath.
1768
1769 2003-04-27  Tom Tromey  <tromey@redhat.com>
1770
1771         * java/lang/natString.cc (_Jv_AllocString): Initialize
1772         cachedHashCode.
1773         (init): Likewise.
1774         (_Jv_NewStringUtf8Const): Likewise.
1775
1776 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1777
1778         * include/jvm.h: (_Jv_GetNbArgs) added
1779         (_Jv_GetSafeArg) added
1780         (_Jv_SetArgs) added
1781         * prims.cc: (_Jv_GetNbArgs) implemented
1782         (_Jv_GetSafeArg) implemented
1783         (_Jv_SetArgs) implemented
1784         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1785         setting _Jv_argc and _Jv_argv
1786         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1787         instead of _Jv_argv
1788         * java/lang/natRuntime.cc: (insertSystemProperties) use
1789         _Jv_GetSafeArg() instead of _Jv_argv
1790
1791 2003-04-23  Tom Tromey  <tromey@redhat.com>
1792
1793         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1794         required by this object.  Search superclasses to find required
1795         alignment.
1796         (get_alignment_from_class): Use alignment of type as it appears
1797         in a struct.
1798         (ALIGNOF): New macro.
1799         (struct aligner): New helper structure.
1800
1801 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1802
1803         * java/awt/Container.java (addImpl): Enable paint events if adding
1804         a lightweight to a heavyweight.
1805         (addNotify): Ensure that peer is created before
1806         addNotifyContainerChildren.
1807         (addNotifyContainerChildren): Enable paint events if a heavyweight
1808         container contains a lightweight.
1809
1810 2003-04-20  Tom Tromey  <tromey@redhat.com>
1811
1812         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1813         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1814         Classpath.
1815
1816 2003-04-19  Tom Tromey  <tromey@redhat.com>
1817
1818         * java/sql/Date.java, java/sql/DriverManager.java,
1819         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1820         Classpath.
1821
1822         * Makefile.in: Rebuilt.
1823         * Makefile.am (ordinary_java_source_files): Added new files.
1824         * java/security/AlgorithmParameterGenerator.java,
1825         java/security/AlgorithmParameters.java, java/security/Engine.java,
1826         java/security/Identity.java, java/security/IdentityScope.java,
1827         java/security/KeyFactory.java,
1828         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1829         java/security/MessageDigest.java, java/security/Policy.java,
1830         java/security/ProtectionDomain.java,
1831         java/security/SecureRandom.java, java/security/Security.java,
1832         java/security/Signature.java, java/security/SignatureSpi.java,
1833         java/security/SignedObject.java, java/security/Signer.java,
1834         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1835         java/security/spec/PSSParameterSpec.java,
1836         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1837         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1838         Classpath.
1839
1840 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1841
1842         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1843         (dispose): Null metrics.
1844         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1845         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1846         finalize.
1847         (finalize): Call dispose.
1848         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1849         (gcCachedCount): New field.
1850         (finalize): New method.
1851         (putGCInCache): New method.
1852         (getGCFromCache): New method.
1853         * gnu/gcj/xlib/GC.java (GC): Make protected.
1854         (clone): Get new GC from cache if possible.
1855         (create): New static method.
1856         (dispose): Save old GC in cache.
1857         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1858         deleting.
1859         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1860         is null.
1861         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1862         * java/awt/Container.java (visitChild): Dispose gfx2 when
1863         finished.
1864
1865 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1866
1867         * java/math/BigInteger.java (probablePrime): New.
1868         * java/math/BigDecimal.java (unscaledValue): New.
1869
1870 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1871
1872         * java/io/File.java (getAbsolutePath): On Windows, take care
1873         of paths like "C:", "G:foo\bar", etc.
1874         (getName): Make it work correctly on Windows.
1875         (getParent): Make it work correctly on Windows. For UNIX,
1876         fix bug that causes "/" to be returned as the parent of "/",
1877         instead of null as returned by Sun's JRE.
1878
1879         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1880
1881 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1882
1883         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1884         inner class.
1885         (CACHE_SIZE_PER_DISPLAY): New field
1886         (fontMetricsCache): New field
1887         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1888         loading ISO10646-1 fonts.
1889
1890 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1891
1892         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1893         characters.
1894         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1895         characters.
1896
1897 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1898
1899         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1900         floating point.
1901
1902 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1903
1904         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1905         installed libpthread is either linuxthreads with floating stacks or
1906         NPTL.
1907
1908 2003-04-14  Tom Tromey  <tromey@redhat.com>
1909
1910         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1911         of alignment.
1912
1913 2003-04-10  Tom Tromey  <tromey@redhat.com>
1914
1915         * verify.cc (pop64): Removed.
1916         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1917         exception if top-of-stack is narrow.
1918         (initialize_stack): Check to ensure that <init> is not static and
1919         <clinit> is.
1920
1921 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1922
1923         * java/io/ObjectStreamException
1924         * java/io/FileFilter
1925         * java/io/FilenameFilter
1926         * java/io/ObjectInput
1927         * java/io/ObjectOutput
1928         * java/io/ObjectStreamConstants
1929         Minor doc fixes, format fixes, spelling corrections, etc.
1930         * java/io/DataInput
1931         Corrected code samples in Javadocs to match reality
1932         * java/io/DataOutput
1933         * java/io/ObjectInputValidation
1934         Major documentation fixes - all Javadocs re-written or updated
1935
1936 2003-04-06  Michael Koch  <konqueror@gmx.de>
1937
1938         * java/net/URLConnection.java:
1939         Import classes directly.
1940         (URLConnection): Merged class documentation with classpath.
1941         (url): Moved, documentation from classpath added.
1942         (doInput): Moved, documentation from classpath added.
1943         (doOutput): Moved, documentation from classpath added.
1944         (allowUserInteraction): Moved.
1945         (useCaches): Moved, documentation from classpath added.
1946         (ifModifiedSince): Moved, documentation from classpath added.
1947         (connected): Moved, documentation from classpath added.
1948
1949 2003-04-06  Michael Koch  <konqueror@gmx.de>
1950
1951         * java/io/FileInputStream.java
1952         (skip): Renamed some variables to match classpath, added
1953         checks from classpath.
1954
1955 2003-03-31  Michael Koch  <konqueror@gmx.de>
1956
1957         * javax/swing/AbstractAction.java
1958         (AbstractAction): Reformatted.
1959         (serialVersionUID): New private member variable.
1960         * javax/swing/plaf/BorderUIResource.java
1961         (serialVersionUID): New private member variable.
1962         * javax/swing/plaf/basic/BasicLookAndFeel.java
1963         (serialVersionUID): New private member variable.
1964
1965 2003-03-31  Michael Koch  <konqueror@gmx.de>
1966
1967         * java/sql/Date.java
1968         (valueOf): Deprecated, reformatted.
1969         (toString): Deprecated, reformatted.
1970         * java/sql/Time.java
1971         (valueOf): Deprecated, reformatted.
1972         (toString): Deprecated, reformatted.
1973
1974 2003-03-31  Michael Koch  <konqueror@gmx.de>
1975
1976         * java/rmi/dgc/VMID.java
1977         (isUnique): Deprecated.
1978
1979 2003-03-31  Michael Koch  <konqueror@gmx.de>
1980
1981         * java/io/File.java
1982         (separator): Merged documentation from classpath.
1983         (separatorChar): Merged documentation from classpath.
1984         (pathSeparator): Merged documentation from classpath.
1985         (pathSeparatorChar): Merged documentation from classpath.
1986         (path): Merged documentation from classpath.
1987         (canRead): Merged documentation from classpath.
1988         (canWrite): Merged documentation from classpath.
1989         (createNewFile): Merged documentation from classpath.
1990         (delete): Merged documentation from classpath.
1991         (equals): Merged documentation from classpath.
1992         (exists): Merged documentation from classpath.
1993         (File): Renamed p to name to match classpath, merged documentation
1994         from classpath.
1995         (getAbsolutePath): Merged documentation from classpath.
1996         (getCanonicalPath): Merged documentation from classpath.
1997         (getCanonicalFile): Merged documentation from classpath.
1998         (getName): Merged documentation from classpath.
1999         (getParent): Merged documentation from classpath.
2000         (getParentFile): Merged documentation from classpath.
2001         (getPath): Merged documentation from classpath.
2002         (hashCode): Merged documentation from classpath.
2003         (isAbsolute): Merged documentation from classpath.
2004         (isDirectory): Merged documentation from classpath.
2005         (isFile): Merged documentation from classpath.
2006         (isHidden): Merged documentation from classpath.
2007         (lastModified): Merged documentation from classpath.
2008         (length): Merged documentation from classpath.
2009         (list): Merged documentation from classpath.
2010         (listFiles): Merged documentation from classpath.
2011         (toString): Merged documentation from classpath.
2012         (toURL): Merged documentation from classpath.
2013         (mkdir): Merged documentation from classpath.
2014         (mkdirs): Merged documentation from classpath.
2015         (createTempFile): Merged documentation from classpath.
2016         (setReadOnly): Merged documentation from classpath.
2017         (listRoots): Merged documentation from classpath.
2018         (compareTo): Merged documentation from classpath.
2019         (renameTo): Merged documentation from classpath.
2020         (setLastModified): Merged documentation from classpath.
2021         * java/io/PrintStream.java
2022         (auto_flush): Merged documentation from classpath.
2023         (PrintStream): Merged documentation from classpath.
2024         (checkError): Merged documentation from classpath.
2025         (setError): Merged documentation from classpath.
2026         (close): Merged documentation from classpath.
2027         (flush): Merged documentation from classpath.
2028         (print): Merged documentation from classpath.
2029         (println):  Merged documentation from classpath.
2030         (write): Renamed count to len to match classpath,
2031         merged documentation from classpath.
2032         * java/io/RandomAccessFile.java
2033         (readShort): Merged documentation from classpath.
2034         (readUnsignedByte): Merged documentation from classpath.
2035         (readUnsignedShort): Merged documentation from classpath.
2036         (readUTF): Merged documentation from classpath.
2037         (seek): Reformatted, merged documentation from classpath.
2038         (skipBytes): Renamed some variables to match classpath, reformatted,
2039         merged documentation from classpath.
2040         (write): Merged documentation from classpath.
2041         (writeBoolean): Merged documentation from classpath.
2042         (writeByte): Merged documentation from classpath.
2043         (writeShort): Merged documentation from classpath.
2044         (writeChar): Merged documentation from classpath.
2045         (writeInt): Merged documentation from classpath.
2046         (writeLong): Merged documentation from classpath.
2047         (writeFloat): Merged documentation from classpath.
2048         (writeDouble): Merged documentation from classpath.
2049         (writeBytes): Merged documentation from classpath.
2050         (writeChars): Merged documentation from classpath.
2051         (writeUTF): Reformatted.
2052         (getChannel): Reformatted.
2053
2054 2003-03-31  Michael Koch  <konqueror@gmx.de>
2055
2056         * java/awt/font/TextAttribute.java
2057         (readResolve): Throws java.io.InvalidObjectException.
2058
2059 2003-03-31  Michael Koch  <konqueror@gmx.de>
2060
2061         * java/rmi/server/LoaderHandler.java
2062         (loadClass): Deprecated.
2063         (getSecurityContext): Deprecated.
2064         * java/rmi/server/LogStream.java
2065         (getDefaultStream): Deprecated.
2066         (setDefaultStream): Deprecated.
2067         (getOutputStream): Deprecated.
2068         (setOutputStream): Deprecated.
2069         (write): Deprecated.
2070         (toString): Deprecated.
2071         (parseLevel): Deprecated.
2072         * java/rmi/server/Operation.java
2073         (Operation): Deprecated.
2074         (getOperation): Deprecated.
2075         (toString): Deprecated.
2076         * java/rmi/server/RemoteCall.java
2077         (getOutputStream): Deprecated.
2078         (releaseOutputStream): Deprecated.
2079         (getInputStream): Deprecated.
2080         (releaseInputStream): Deprecated.
2081         (getResultStream): Deprecated.
2082         (executeCall): Deprecated.
2083         (done): Deprecated.
2084         * java/rmi/server/RemoteRef.java
2085         (invoke): Deprecated.
2086         (newCall): Deprecated.
2087         (done): Deprecated.
2088         * java/rmi/server/RemoteStub.java
2089         (setRef): Deprecated.
2090         * java/rmi/server/Skeleton.java:
2091         No need to import java.lang.Exception explicitly.
2092         (dispatch): Deprecated.
2093         (getOperations): Deprecated.
2094
2095 2003-03-31  Michael Koch  <konqueror@gmx.de>
2096
2097         * java/rmi/dgc/VMID.java,
2098         java/rmi/registry/RegistryHandler.java,
2099         java/rmi/server/LogStream.java,
2100         java/rmi/server/Operation.java,
2101         java/rmi/server/RemoteCall.java,
2102         java/rmi/server/RemoteRef.java,
2103         java/rmi/server/RemoteStub.java:
2104         Reformatted.
2105
2106 2003-03-31  Michael Koch  <konqueror@gmx.de>
2107
2108         * javax/swing/AbstractCellEditor.java,
2109         javax/swing/AbstractListModel.java,
2110         javax/swing/ActionMap.java,
2111         javax/swing/BorderFactory.java,
2112         javax/swing/ButtonGroup.java,
2113         javax/swing/DefaultBoundedRangeModel.java,
2114         javax/swing/DefaultButtonModel.java,
2115         javax/swing/DefaultCellEditor.java,
2116         javax/swing/DefaultComboBoxModel.java,
2117         javax/swing/DefaultDesktopManager.java,
2118         javax/swing/DefaultListCellRenderer.java,
2119         javax/swing/DefaultSingleSelectionModel.java,
2120         javax/swing/InputMap.java,
2121         javax/swing/JComponent.java,
2122         javax/swing/JMenu.java,
2123         javax/swing/JSlider.java,
2124         javax/swing/KeyStroke.java,
2125         javax/swing/OverlayLayout.java,
2126         javax/swing/ScrollPaneLayout.java,
2127         javax/swing/SizeRequirements.java,
2128         javax/swing/UIManager.java,
2129         javax/swing/ViewportLayout.java,
2130         javax/swing/border/AbstractBorder.java,
2131         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2132         javax/swing/event/EventListenerList.java,
2133         javax/swing/table/AbstractTableModel.java,
2134         javax/swing/table/DefaultTableCellRenderer.java,
2135         javax/swing/table/DefaultTableColumnModel.java,
2136         javax/swing/table/DefaultTableModel.java,
2137         javax/swing/table/TableColumn.java,
2138         javax/swing/text/StyledEditorKit.java,
2139         javax/swing/tree/DefaultMutableTreeNode.java,
2140         javax/swing/tree/DefaultTreeModel.java,
2141         javax/swing/tree/DefaultTreeSelectionModel.java,
2142         javax/swing/tree/TreePath.java,
2143         javax/swing/undo/AbstractUndoableEdit.java,
2144         javax/swing/undo/StateEdit.java,
2145         javax/swing/undo/StateEditable.java,
2146         javax/swing/undo/UndoableEditSupport.java:
2147         Merges from classpath.
2148
2149 2003-03-30  Tom Tromey  <tromey@redhat.com>
2150
2151         * java/lang/String.java (data, boffset, count): Documented.
2152         (String(byte[],String)): Reformatted.
2153         (String(byte[])): Likewise.
2154         (lastIndexOf(int)): Likewise.
2155         (lastIndexOf(String)): Likewise.
2156         (substring(int)): Renamed argument to match Classpath.
2157         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2158
2159         * java/lang/String.java: Miscellaneous minor formatting changes
2160         to match Classpath more closely.
2161
2162 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2163             Tom Tromey  <tromey@redhat.com>
2164
2165         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2166         (init()): Removed.
2167         (charAt): Put index in exception.
2168         (contentEquals): New method.
2169         Include StringBuffer.h.
2170         * java/lang/String.java (cachedHashCode): New field.
2171         (String()): Follow classpath implementation.
2172         (init()): Removed.
2173         (contentEquals): Declare.
2174         (subSequence): Don't declare IndexOutIfBoundsException in throws
2175         clause.
2176         (matches, replaceFirst, replaceAll, split): New methods from
2177         Classpath.
2178
2179 2003-03-29  Tom Tromey  <tromey@redhat.com>
2180
2181         * java/lang/String.java: Reordered to follow Classpath; merged in
2182         javadoc.
2183
2184         * java/text/MessageFormat.java: Removed some whitespace.
2185
2186         * Makefile.in: Rebuilt.
2187         * Makefile.am (awt_java_source_files): Added new files.
2188         * gnu/javax/rmi/PortableServer.java,
2189         gnu/javax/rmi/CORBA/DelegateFactory.java,
2190         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2191         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2192         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2193         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2194         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2195         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2196         javax/rmi/PortableRemoteObject.java,
2197         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2198         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2199         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2200         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2201         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2202         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2203
2204         * java/lang/natClass.cc (newInstance): Put method name in
2205         exception.
2206         (getConstructor): Likewise.
2207         (getDeclaredConstructor): Likewise.
2208         (getPrivateMethod): Likewise.
2209
2210 2003-03-28  Tom Tromey  <tromey@redhat.com>
2211
2212         * java/lang/reflect/Proxy.java: New version from Classpath.
2213         * java/lang/Package.java: New version from Classpath.
2214
2215 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2216
2217         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2218         * configure: Regenerate.
2219
2220 2003-03-28  Michael Koch  <konqueror@gmx.de>
2221
2222         * java/io/File.java:
2223         Import needed classes instead of whole packages, merged class
2224         documentation with classpath, moved constants and variables to top of
2225         class.
2226         * java/io/PrintStream.java:
2227         Merged class documentation with classpath, moved constants and
2228         variables to top of class.
2229         * java/io/RandomAccessFile.java
2230         (RandomAccessFile): Merged with classpath.
2231         (read): Merged with classpath).
2232         (read*): Reformatted.
2233
2234 2003-03-28  Michael Koch  <konqueror@gmx.de>
2235
2236         * java/io/FileDescriptor.java
2237         (finalize): Throws Throwable, not IOException.
2238         * java/io/ObjectOutputStream.java
2239         (PutField.put): Doesnt throws anything.
2240
2241 2003­03-28  Michael Koch  <konqueror@gmx.de>
2242
2243         * java/io/FileOutputStream.java:
2244         Merged class documentation and authors with classpath.
2245         (FileOutputStream): Partly merged with classpath.
2246         (write): Merged with classpath.
2247         (getChannel): Make it synchronized instead of explicit block in this
2248         method.
2249         * java/io/RandomAccessFile.java:
2250         Merged class documentation and authors with classpath.
2251
2252 2003-03-26  Tom Tromey  <tromey@redhat.com>
2253
2254         * java/lang/natRuntime.cc (insertSystemProperties): Set
2255         gnu.classpath.home.url.
2256         * Makefile.in: Rebuilt.
2257         * Makefile.am: Define LIBDIR.
2258
2259 2003-03-25  Michael Koch  <konqueror@gmx.de>
2260
2261         * java/io/FileInputStream.java
2262         (read): Renamed b to buf and off to offset.
2263         * java/io/FileOutputStream.java
2264         (ch): Documentation added.
2265         (FileOutputStream): Documentation added.
2266         (getFD): Documentation added.
2267         (write): Documentation added.
2268         (close): Documentation added.
2269         (getChannel): Documentation added.
2270
2271 2003-03-24  Michael Koch  <konqueror@gmx.de>
2272
2273         * java/io/DataOutputStream.java
2274         (write): Merged from classpath.
2275         * java/io/File.java:
2276         Merged copyrigth with classpath.
2277         * java/io/FileInputStream.java
2278         (getChannel): Made it synchronized instead of using a synchronized
2279         block.
2280         * java/io/FileOutputStream.java: Reformatted.
2281         * java/io/InputStreamReader.java
2282         (InputStreamReader): Renamed enc to encoding_name.
2283         (close): Merged documentation from classpath.
2284         (getEncoding): Merged documentation from classpath.
2285         (ready): Merged documentation from classpath.
2286         (read): Merged documentation from classpath.
2287         * java/io/LineNumberReader.java
2288         (lineNumber): Made it private.
2289         (LineNumberReader): Use Constant instead of a direct value.
2290         * java/io/OutputStreamWriter.java
2291         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2292         documentation from classpath.
2293         (close): Merged documentation from classpath.
2294         (flush): Merged documentation from classpath.
2295         (write): Merged documentation from classpath.
2296         * java/io/PrintStream.java: Reformatted.
2297
2298 2003-03-24  Michael Koch  <konqueror@gmx.de>
2299
2300         * javax/swing/text/ComponentView.java
2301         (getComponent): Must be final.
2302         * javax/swing/tree/DefaultTreeCellRenderer.java:
2303         Reformatted.
2304         * javax/swing/undo/StateEditable.java:
2305         Reformatted.
2306
2307 2003-03-24  Michael Koch  <konqueror@gmx.de>
2308
2309         * java/rmi/activation/ActivationInstantiator.java:
2310         Reformatted.
2311         * java/rmi/activation/Activator.java:
2312         Reformatted.
2313         * java/rmi/registry/RegistryHandler.java:
2314         Remerged from classpath.
2315
2316 2003-03-24  Michael Koch  <konqueror@gmx.de>
2317
2318         * java/util/Date.java:
2319         Fixed documentation starting tag to make javadoc happy.
2320         * java/util/regex/Pattern.java
2321         (Pattern): Implements Serializable.
2322         * java/util/PatternSyntaxException.java
2323         (serialVersionUID): New member variable.
2324
2325 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2326
2327         * java/awt/ContainerOrderFocusTraversalPolicy.java
2328         (getFirstComponent): Implemented.
2329         (getLastComponent): Implemented.
2330         (getDefaultComponent): Implemented.
2331         (setImplicitDownCycleTraversal): Fixed implementation.
2332         * java/awt/Robot.java
2333         (Robot): Added documentation.
2334         * java/awt/Toolkit.java
2335         (getFontList): Deprecated.
2336         (getFontMetrics): Deprecated.
2337         (getPrintJob): Added documentation.
2338         (getSystemSelection): Added documentation.
2339         (getLockingKeyState): Added documentation.
2340         (setLockingKeyState): Added documentation.
2341         (createCustomCursor): Added documentation.
2342         (getBestCursorSize): Added documentation.
2343         (getMaximumCursorColors): Added documentation.
2344         (isFrameStateSupported): Added documentation.
2345
2346 2003-03-24  Michael Koch  <konqueror@gmx.de>
2347
2348         * java/io/RandomAccessFile.java:
2349         More little merges with classpath. No code changes.
2350
2351 2003-03-24  Michael Koch  <konqueror@gmx.de>
2352
2353         * java/net/natInetAddressNoNet.cc:
2354         Include stddef.h.
2355         * java/net/natPlainDatagramSocketImplNoNet.cc:
2356         Fixed inlcude of java/net/DatagramPacket.h.
2357         * java/net/natPlainSocketImplNoNet.cc:
2358         Include some missing classes.
2359
2360 2003-03-24  Michael Koch  <konqueror@gmx.de>
2361
2362         * java/awt/dnd/DropTarget.java
2363         (DropTargetAutoScroller): According to the online documentation, this
2364         is protected, but in reality it is public.
2365         * java/awt/dnd/DropTargetContext.java
2366         (TransferableProxy): According to the online documentation, this
2367         is protected, but in reality it is public.
2368
2369 2003-03-24  Michael Koch  <konqueror@gmx.de>
2370
2371         * java/io/DataInputStream.java
2372         (): Wrapped documentation line.
2373         (): Fixed @return tag.
2374         * java/io/DataOutputStream.java
2375         (written): Moved to top of class.
2376         (all methods): Merged documentation from classpath.
2377         * java/io/File.java:
2378         Merged copyright year with classpath.
2379         * java/io/FileInputStream.java
2380         (all methods): Merged documentation from classpath.
2381         * java/io/LineNumberReader.java
2382         (getLineNumber): Fixed @return tag.
2383         * java/io/ObjectInputStream.java.
2384         Reformatted.
2385         * java/io/ObjectOutputStream.java:
2386         Reformatted, fixed some @see tags.
2387         * java/io/OutputStreamWriter.java:
2388         Deleted empty line.
2389         * java/io/Writer.java:
2390         Reformatted.
2391
2392 2003-03-24  Michael Koch  <konqueror@gmx.de>
2393
2394         * java/awt/Frame.java
2395         (DEFAULT_CURSOR): Fixed @deprecated tag.
2396         (setCursor): Fixed @deprecated tag.
2397
2398 2003-03-24  Michael Koch  <konqueror@gmx.de>
2399
2400         * java/beans/beancontext/BeanContextEvent.java:
2401         Reformated.
2402
2403 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2404
2405         * java/lang/natStringBuffer.cc (regionMatches): New function.
2406         * java/lang/String.java (count): Now package-private.
2407         * java/lang/StringBuffer.java: Merged with Classpath.
2408
2409 2003-03-23  Michael Koch  <konqueror@gmx.de>
2410
2411         * java/io/BufferedOutputStream.java:
2412         Reformated.
2413         * java/io/BufferedReader.java:
2414         Reformated.
2415         * java/io/ByteArrayOutputStream.java
2416         (size): Fixed @see tag.
2417         * java/io/CharArrayWriter.java
2418         (size): Fixed @see tag.
2419         * java/io/DataInput.java:
2420         Reformated.
2421         * java/io/DataOutput.java:
2422         Reformated.
2423         * java/io/DataOutputStream.java:
2424         Merged copyright years with classpath.
2425         * java/io/Externalizable.java:
2426         Reformated.
2427         * java/io/FileFilter.java:
2428         Reformated.
2429         * java/io/FileInputStream.java:
2430         Merged copyright years with classpath.
2431         * java/io/FileOutputStream.java:
2432         Merged copyright years with classpath.
2433         * java/io/FilePermission.java
2434         (FilePermission): Replaced @XXX with FIXME:.
2435         * java/io/FileWriter.java:
2436         Reformated.
2437         * java/io/FilenameFilter.java:
2438         Reformated.
2439         * java/io/FilterInputStream.java:
2440         Reformated.
2441         * java/io/FilterOutputStream.java:
2442         Reformated.
2443         * java/io/FilterReader.java:
2444         Reformated.
2445         * java/io/FilterWriter.java:
2446         Reformated.
2447         * java/io/LineNumberInputStream.java
2448         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2449         happy.
2450         (getLineNumber): Fixed @return tag.
2451         * java/io/ObjectInput.java:
2452         Reformated.
2453         * java/io/ObjectOutput.java:
2454         Reformated.
2455         * java/io/ObjectStreamClass.java:
2456         Reformated.
2457         * java/io/PrintStream.java:
2458         Merged copyright years with classpath.
2459         * java/io/PushbackReader.java
2460         (PushbackReader): Replaced @code with @param.
2461         * java/io/SerializablePermission.java:
2462         Reformated.
2463         * java/io/StreamTokenizer.java
2464         (resetSyntax): Fixed @see tag.
2465
2466 2003-03-22  Richard Henderson  <rth@redhat.com>
2467
2468         * sysdep/ia64/locks.h: Include ia64intrin.h.
2469         (compare_and_swap): Use __sync_bool_compare_and_swap.
2470         (compare_and_swap_release): Expose ar.ccv assignment.
2471
2472 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2473
2474         * include/posix.h: Add suffix for darwin dynamic libraries.
2475
2476 2003-03-21  Michael Koch  <konqueror@gmx.de>
2477
2478         * javax/swing/Action.java
2479         (ACCELERATOR_KEY): New constant.
2480         (ACTION_COMMAND_KEY): Likewise.
2481         (MNEMONIC_KEY): Likewise.
2482         * javax/swing/UnsupportedLookAndFeelException.java
2483         (UnsupportedLookAndFeelException): Must be public.
2484         * javax/swing/WindowConstants.java
2485         (EXIT_ON_CLOSE): New constant.
2486         * javax/swing/text/BadLocationException.java
2487         (offset): New member variable.
2488         (BadLocationException): New implementation, documentation added.
2489         (offsetRequested): New method.
2490         * javax/swing/text/Caret.java:
2491         Reformated.
2492         * javax/swing/text/Document.java:
2493         Reformated.
2494
2495 2003-03-21  Michael Koch  <konqueror@gmx.de>
2496
2497         * java/rmi/activation/Activatable.java
2498         (serialVersionUID): New member variable.
2499         * java/rmi/activation/ActivationGroup.java
2500         (serialVersionUID): New member variable.
2501         * java/rmi/activation/ActivationGroupDesc.java
2502         (serialVersionUID): New member variable.
2503         * java/rmi/registry/Registry.java:
2504         Reformated.
2505         (Registry): Deprecated.
2506         * java/rmi/server/LoaderHandler.java
2507         Reformated.
2508         (LoaderHandler): Deprecated.
2509         * java/rmi/server/LogStream.java
2510         Reformated.
2511         (LogStream): Deprecated.
2512         * java/rmi/server/Operation.java
2513         (Operation): Deprecated.
2514         * java/rmi/server/RMIFailureHandler.java:
2515         Reformated.
2516         * java/rmi/server/RMISocketFactory.java:
2517         Reformated.
2518         * java/rmi/server/RemoteCall.java
2519         (RemoteCall): Deprecated.
2520         * java/rmi/server/RemoteStub.java:
2521         Reformated.
2522         * java/rmi/server/Skeleton.java
2523         Reformated.
2524         (Skeleton): Deprecated.
2525
2526 2003-03-21  Michael Koch  <konqueror@gmx.de>
2527
2528         * java/io/LineNumberReader.java
2529         (LineNumberReader): Merged documentation with classpath.
2530         (getLineNumber): Likewise.
2531         (setLineNumber): Likewise.
2532         (mark): Likewise.
2533         (reset): Likewise.
2534         (read): Likewise.
2535         (readLine): Likewise.
2536         (skip): Likewise.
2537
2538 2003-03-21  Michael Koch  <konqueror@gmx.de>
2539
2540         * java/rmi/RMISecurityManager.java
2541         (checkAccept): Removed.
2542         (checkAccess): Likewise.
2543         (checkAccess): Likewise.
2544         (checkAwtEventQueueAccess): Likewise.
2545         (checkConnect): Likewise.
2546         (checkCreateClassLoader): Likewise.
2547         (checkDelete): Likewise.
2548         (checkExec): Likewise.
2549         (checkExit): Likewise.
2550         (checkLink): Likewise.
2551         (checkListen): Likewise.
2552         (checkMemberAccess): Likewise.
2553         (checkMulticast): Likewise.
2554         (checkPackageAccess): Likewise.
2555         (checkPackageDefinition): Likewise.
2556         (checkPermission): Likewise.
2557         (checkPrintJobAccess): Likewise.
2558         (checkPropertiesAccess): Likewise.
2559         (checkPropertyAccess): Likewise.
2560         (checkRead): Likewise.
2561         (checkSecurityAccess): Likewise.
2562         (checkSetFactory): Likewise.
2563         (checkSystemClipboardAccess): Likewise.
2564         (checkTopLevelWindow): Likewise.
2565         (checkWrite): Likewise.
2566
2567 2003-03-20  Michael Koch  <konqueror@gmx.de>
2568
2569         * gnu/java/nio/FileChannelImpl.java
2570         (address): Removed.
2571         (map_address): New member variable.
2572         (length): Make it package private.
2573         (fd): Make it package private.
2574         (buf): Make it package private.
2575         (file_obj): Make it package private.
2576         (FileChannelImpl): New constructor.
2577         (nio_mmap_file): Use RawData instead of long.
2578         (nio_munmap_file): Use RawData instead of long.
2579         (nio_msync): Use RawData instead of long.
2580         (implCloseChannel): New implementation using map_address.
2581         (read): Reformated.
2582         (map): Implemented.
2583         (create_direct_mapped_buffer): Implemented, use RawData, throws
2584         IOException.
2585         (force): Use map_address instead of address.
2586         * gnu/java/nio/MappedByteFileBuffer.java
2587         (address): Removed.
2588         (map_address): New member variable.
2589         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2590         (several methods): Use map_address instead of address, replaced long
2591         with RawData where appropriate.
2592         * gnu/java/nio/natFileChannelImpl.cc
2593         (nio_mmap_file): Replaced long with RawData.
2594         (nio_munmap_file): Replaced long with RawData.
2595         (nio_msync): Replaced long with RawData.
2596         * gnu/java/nio/natMappedByteFileBuffer.cc
2597         (several methods): Replaced long with RawData where appropriate.
2598
2599 2003-03-20  Michael Koch  <konqueror@gmx.de>
2600
2601         * java/net/InetAddress.java,
2602         java/net/JarURLConnection.java,
2603         java/net/PlainDatagramSocketImpl.java,
2604         java/net/PlainSocketImpl.java,
2605         java/net/URLConnection.java:
2606         Merged copyright statements with classpath for easier merging.
2607
2608 2003-03-20  Michael Koch  <konqueror@gmx.de>
2609
2610         * java/io/FileInputStream.java
2611         (getChannel): New implementation.
2612         * java/io/FileOutputStream.java
2613         (ch): New member variable.
2614         (getChannel): Implemented.
2615         * java/io/RandomAccessFile.java
2616         (RandomAccessFile): Throws FileNotFoundException instead of
2617         IOException.
2618         (getChannel): New method.
2619         (ch): New member variable.
2620
2621 2003-03-20  Michael Koch  <konqueror@gmx.de>
2622
2623         * java/io/DataOutputStream.java,
2624         java/io/File.java,
2625         java/io/FileInputStream.java,
2626         java/io/FileOutputStream.java,
2627         java/io/InputStreamReader.java,
2628         java/io/LineNumberReader.java,
2629         java/io/OutputStreamWriter.java,
2630         java/io/PrintStream.java,
2631         java/io/RandomAccessFile.java:
2632         Merged copyright statements with classpath for easier merging.
2633
2634 2003-03-19  Michael Koch  <konqueror@gmx.de>
2635
2636         * java/lang/Process.java:
2637         Merged from classpath.
2638
2639 2003-03-19  Michael Koch  <konqueror@gmx.de>
2640
2641         * java/io/FileOutputStream.java
2642         (FileOutputStream): New constructor, merged from classpath.
2643         * java/io/FileWriter.java
2644         (FileWriter): New constructor, merged from classpath.
2645
2646 2003-03-18  Michael Koch  <konqueror@gmx.de>
2647
2648         * java/awt/ScrollPane.java
2649         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2650         (getViewportSize): Likewise.
2651         (addNotify): Likewise.
2652         (removeNotify): Likewise.
2653         * java/awt/ScrollPaneAdjustable.java
2654         (ScrollPaneAdjustable): No longer extends Scrollbar.
2655         * java/beans/beancontext/BeanContextServices.java:
2656         Reformated.
2657         (getService): Added throws TooManyListenersException;
2658         * java/beans/beancontext/BeanContextServicesSupport.java:
2659         Reformated.
2660
2661 2003-03-18  Michael Koch  <konqueror@gmx.de>
2662
2663         * java/io/BufferedOutputStream.java,
2664         java/io/DataInput.java,
2665         java/io/DataInputStream.java,
2666         java/io/DataOutput.java,
2667         java/io/Externalizable.java:
2668         More merges from classpath.
2669
2670 2003-03-18  Michael Koch  <konqueror@gmx.de>
2671
2672         * configure.in: Fixed links to platform dependant java.net files.
2673         * configure: Regenerated.
2674         * java/net/natInetAddress.cc,
2675         java/net/natNetworkInterface.cc,
2676         java/net/natPlainDatagramSocketImpl.cc,
2677         java/net/natPlainSocketImpl.cc:
2678         Removed.
2679
2680 2003-03-18  Michael Koch  <konqueror@gmx.de>
2681
2682         * configure.in: Create links to architecture dependent files,
2683         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2684         * configure: Regenerated.
2685         * java/net/natInetAddressNoNet.cc,
2686         java/net/natInetAddressPosix.cc,
2687         java/net/natInetAddressWin32.cc,
2688         java/net/natNetworkInterfaceNoNet.cc,
2689         java/net/natNetworkInterfacePosix.cc,
2690         java/net/natNetworkInterfaceWin32.cc,
2691         java/net/natPlainDatagramSocketImplNoNet.cc,
2692         java/net/natPlainDatagramSocketImplPosix.cc,
2693         java/net/natPlainDatagramSocketImplWin32.cc,
2694         java/net/natPlainSocketImplNoNet.cc,
2695         java/net/natPlainSocketImplPosix.cc,
2696         java/net/natPlainSocketImplWin32.cc: New files.
2697
2698 2003-03-18  Michael Koch  <konqueror@gmx.de>
2699
2700         * java/io/BufferedReader.java,
2701         java/io/BufferedWriter.java,
2702         java/io/ByteArrayOutputStream.java,
2703         java/io/FileFilter.java,
2704         java/io/FilePermission.java,
2705         java/io/FileReader.java,
2706         java/io/FileWriter.java,
2707         java/io/FilenameFilter.java,
2708         java/io/FilterInputStream.java,
2709         java/io/FilterOutputStream.java,
2710         java/io/FilterReader.java,
2711         java/io/FilterWriter.java,
2712         java/io/ObjectInput.java,
2713         java/io/ObjectInputValidation.java,
2714         java/io/ObjectOutput.java,
2715         java/io/ObjectStreamField.java,
2716         java/io/PipedInputStream.java,
2717         java/io/PipedReader.java,
2718         java/io/PrintWriter.java,
2719         java/io/PushbackReader.java,
2720         java/io/Reader.java,
2721         java/io/SerializablePermission.java,
2722         java/io/StringReader.java,
2723         java/io/Writer.java:
2724         Merged from classpath.
2725
2726 2003-03-17  Michael Koch  <konqueror@gmx.de>
2727
2728         * java/awt/ScrollPaneAdjustable.java:
2729         Compile fixes.
2730         
2731 2003-03-17  Michael Koch  <konqueror@gmx.de>
2732
2733         * java/net/DatagramSocket.java
2734         (connect): Fixed comment.
2735         * java/nio/ByteBuffer.java
2736         (hasArray): Fixed comment.
2737
2738 2003-03-17  Michael Koch  <konqueror@gmx.de>
2739
2740         * java/beans/Beans.java:
2741         Explicitely import classes not packages.
2742         * java/beans/FeatureDescriptor.java
2743         (preferred): New member variable.
2744         (isPreferred): New method.
2745         (setPreferred): New method.
2746         * java/beans/PropertyEditorManager.java:
2747         Explicitely import used classes.
2748         * java/beans/beancontext/BeanContextChild.java:
2749         Added line wrapping.
2750         * java/beans/beancontext/BeanContextChildSupport.java:
2751         Reindented.
2752         * java/beans/beancontext/BeanContextEvent.java:
2753         Reindented.
2754
2755 2003-03-17  Michael Koch  <konqueror@gmx.de>
2756
2757         * java/awt/Dialog.java
2758         (Dialog): New constructor, changed implementations, added
2759         documentation.
2760         * java/awt/ScrollPaneAdjustable.java
2761         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2762         Serializable.
2763         (serialVersionUID): New member variable.
2764         (sp): New member variable.
2765         (orientation): New member variable.
2766         (value): New member variable.
2767         (minimum): New member variable.
2768         (maximum): New member variable.
2769         (visibleAmount): New member variable.
2770         (unitIncrement): New member variable.
2771         (blockIncrement): New member variable.
2772         (AdjustmentListener): New member variable.
2773         (ScrollPaneAdjustable): New implementation.
2774         (addAdjustmentListener): New method.
2775         (removeAdjustmentListener): New method.
2776         (getAdjustmentListeners): New method.
2777         (getBlockIncrement): New method.
2778         (getMaximum): New method.
2779         (getMinimum): New method.
2780         (getOrientation): New method.
2781         (getUnitIncrement): New method.
2782         (getValue): New method.
2783         (getVisibleAmount): New method.
2784         (setBlockIncrement): New method.
2785         (setMaximum): Implemented.
2786         (setMinimum): Implemented.
2787         (setUnitIncrement): New method.
2788         (setValue): New method.
2789         (setVisibleAmount): Implemented. 
2790         (paramString): New stubbed method.
2791         * java/awt/Window.java
2792         (show): Call setVisible().
2793         (hide): Call setVisible().
2794         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2795         and WINDOW_STATE_CHANGED.
2796         (processWindowFocusEvent): New method.
2797         (processWindowStateEvent): New method.
2798         (postEvent): Deprecated.
2799         (applyResourceBundle): Deprecated.
2800         * java/awt/datatransfer/DataFlavor.java
2801         (DataFlavor): Doesn't thow ClassNotFoundException.
2802
2803 2003-03-17  Michael Koch
2804
2805         * javax/print/attribute/Attribute.java,
2806         javax/print/attribute/AttributeSet.java,
2807         javax/print/attribute/PrintRequestAttributeSet.java:
2808         New files.
2809         * Makefile.am
2810         (javax_source_files): Added new files:
2811         javax/print/attribute/Attribute.java
2812         javax/print/attribute/AttributeSet.java
2813         javax/print/attribute/PrintRequestAttributeSet.java
2814         * Makefile.in: Regenerated.
2815
2816 2003-03-17  Michael Koch
2817
2818         * javax/print/attribute/Attribute.java,
2819         javax/print/attribute/AttributeSet.java,
2820         javax/print/attribute/PrintRequestAttributeSet.java:
2821         New files.
2822         * Makefile.am
2823         (awt_java_source_files): Added new files:
2824         javax/print/attribute/Attribute.java
2825         javax/print/attribute/AttributeSet.java
2826         javax/print/attribute/PrintRequestAttributeSet.java
2827         * Makefile.in: Regenerated.
2828
2829 2003-03-16  Tom Tromey  <tromey@redhat.com>
2830
2831         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2832         Include platform.h.
2833         * java/lang/natRuntime.cc (insertSystemProperties): Use
2834         _Jv_platform_path_separator.
2835         (nativeGetLibname): Use _Jv_platform_file_separator.
2836         (_load): Use _Jv_platform_onload_names.
2837         (onload_names): New global.
2838         * include/win32.h (_Jv_platform_file_separator): New define.
2839         (_Jv_platform_path_separator): Likewise.
2840         (_Jv_platform_onload_names): Likewise.
2841         (_Jv_platform_ffi_abi): Likewise.
2842         * include/posix.h (_Jv_platform_file_separator): New define.
2843         (_Jv_platform_path_separator): Likewise.
2844         (_Jv_platform_onload_names): Likewise.
2845         (_Jv_platform_ffi_abi): Likewise.
2846
2847 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2848
2849         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2850
2851 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2852
2853         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2854         hierarchy loop.
2855         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2856         list to Object,ObjectStreamClass, moved callReadMethod code up into
2857         readObject and added Class argument to all setXxxField calls.
2858         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2859         consistent with ObjectOutputStream and to facilitate caching the
2860         Method in the future.
2861         (setBooleanField): Added Class argument.
2862         (setByteField): Likewise.
2863         (setCharField): Likewise.
2864         (setDoubleField): Likewise.
2865         (setFloatField): Likewise.
2866         (setIntField): Likewise.
2867         (setLongField): Likewise.
2868         (setShortField): Likewise.
2869         (setObjectField): Likewise.
2870         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2871         class hierarchy loop.
2872         (defaultWriteObject): Call writeFields with new argument list.
2873         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2874         list to Object,ObjectStreamClass, moved callWriteMethod up into
2875         writeObject and added Class argument to all getXxxField calls.
2876         (callWriteMethod): Added ObjectStreamClass argument to be able to
2877         get the proper class to call getMethod on (each class can have (or
2878         not have) its own writeObject method).
2879         (getBooleanField): Added Class argument.
2880         (getByteField): Likewise.
2881         (getCharField): Likewise.
2882         (getDoubleField): Likewise.
2883         (getFloatField): Likewise.
2884         (getIntField): Likewise.
2885         (getLongField): Likewise.
2886         (getShortField): Likewise.
2887         (getObjectField): Likewise.
2888         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2889         facilitate caching the Method object in the future.
2890
2891 2003-03-12  Andreas Schwab  <schwab@suse.de>
2892
2893         * configure.in: Avoid trailing /. in toolexeclibdir.
2894         * configure: Rebuilt.
2895
2896 2003-03-11  Michael Koch  <konqueror@gmx.de>
2897
2898         * gnu/java/nio/ByteBufferImpl.java
2899         (putInt): Use limit() instead of limit.
2900         * gnu/java/nio/CharBufferImpl.java
2901         (slice): Fixed implementation.
2902         (subSequence): Better bounds checking.
2903         * gnu/java/nio/MappedByteFileBuffer.java:
2904         Import all needed classes directly.
2905         * java/nio/ByteBuffer.java
2906         (hashCode): New dummy method.
2907         * java/nio/CharBuffer.java
2908         (array_offset): New member variable.
2909         (hasArray): Fixed documentation.
2910         (arrayOffset): Return array_offset.
2911
2912 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2913
2914         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2915         setter; made return value of getter const char* instead of char*
2916         * prims.cc: removed all references to _Jv_ThisExecutable().
2917         These are in the platform-specific sections now.
2918         * posix.cc: define platform-specific _Jv_ThisExecutable().
2919         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2920         * win32.cc: define platform-specific _Jv_ThisExecutable()
2921         using GetModuleFilename()
2922         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2923         to argv[0] instead of _Jv_ThisExecutable()
2924
2925 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2926
2927         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2928         that is set if we are using addr2name.awk instead of addr2line.
2929         (NameFinder): Set usingAddr2name if using addr2name.awk.
2930         (getExternalLabel): New native method to convert a method 
2931         name to an external label.
2932         (lookup): Convert name given by addr2line to an external label
2933         before demangling.
2934
2935         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2936         constant representing the prefix attached to method names to
2937         convert them to an external label.
2938         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2939         using LABEL_PREFIX.
2940
2941 2003-03-10  Tom Tromey  <tromey@redhat.com>
2942
2943         * Makefile.in: Rebuilt.
2944         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2945         (JC1FLAGS): Removed -Wno-deprecated.
2946
2947 2003-03-10  Michael Koch  <konqueror@gmx.de>
2948
2949         * java/nio/ByteOrder.java
2950         (nativeOrder): Working implementation, added documentation.
2951         (toString): Added documentation.
2952
2953 2003-03-10  Michael Koch  <konqueror@gmx.de>
2954
2955         * java/net/DatagramSocket.java,
2956         java/net/MulticastSocket.java,
2957         java/net/Socket.java,
2958         java/net/URL.java,
2959         java/net/URLConnection.java:
2960         Fixed some documentation tags to make javadoc and friends happy.
2961
2962 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2963
2964         * java/beans/beancontext/BeanContextServicesSupport.java,
2965         java/beans/beancontext/BeanContextSupport.java: New files.
2966         * Makefile.am
2967         (awt_source_files): Added new files.
2968         * Makefile.in: Regenerated.
2969
2970 2003-03-10  Michael Koch  <konqueror@gmx.de>
2971
2972         * java/awt/FocusTraversalPolicy.java
2973         (FocusTraversalPolicy): Documentation added.
2974         (getComponentAfter): Documentation added.
2975         (getComponentBefore): Documentation added.
2976         (getFirstComponent): Documentation added.
2977         (getLastComponent): Documentation added.
2978         (getDefaultComponent): Documentation added.
2979         (getInitialComponent): Documentation added.
2980         * java/awt/ScrollPaneAdjustable.java
2981         (sp): New member variable.
2982         (orientation): New member variable.
2983         (value): New member variable.
2984         (minimum): New member variable.
2985         (maximum): New member variable.
2986         (visibleAmount): New member variable.
2987         (unitIncrement): New member variable.
2988         (blockIncrement): New member variable.
2989         (adjustmentListener): New member variable.
2990         (ScrollPaneAdjustable): Rewrote.
2991         (addAdjustmentListener): New method.
2992         (removeAdjustmentListener): New method.
2993         (getAdjustmentListeners): New method.
2994         (getBlockIncrement): New method.
2995         (getMaximum): New method.
2996         (getMinimum): New method.
2997         (getOrientation): New method.
2998         (getUnitIncrement): New method.
2999         (getValue): New method.
3000         (getVisibleAmount): New method.
3001         (setBlockIncrement): New method.
3002         (setUnitIncrement): New method.
3003         (setMaximum): Implemented.
3004         (setMinimum): Implemented.
3005         (setValue): New method.
3006         (setVisibleAmount): Implemented.
3007         (paramString): New method.
3008         * java/awt/Window.java
3009         (show): Use setVisible(true) instead of super.show().
3010         (hide): Use sevVisible(false) instead of super.hide().
3011         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3012         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3013         (postEvent): Deprecated.
3014         (applyResourceBundle): Deprecated.
3015         (processWindowFocusEvent): New method.
3016         (processWindowStateEvent): New method.
3017         * java/awt/datatransfer/DataFlavor.java: Reindented.
3018         * java/awt/font/TextHitInfo.java
3019         (charIndex): New member variable.
3020         (leadingEdge): New member variable.
3021         (TextHitInfo): New constructor.
3022         (getCharIndex): Implemented.
3023         (isLeadingEdge): Implemented.
3024         (getInsertionIndex): Implemented.
3025         (hashCode): Access charIndex directly.
3026         (equals): Reformated.
3027         (leading): Implemented.
3028         (trailing): Implemented.
3029         (beforeOffset): Implemented.
3030         (afterOffset): Implemented.
3031         (getOtherHit): Implemented.
3032         (getOffsetHit): Implemented.
3033         (toString): Implemented.
3034         * java/awt/image/BufferedImage.java
3035         (BufferedImage): Implements WritableRenderedImage.
3036         (observers): New member variable.
3037         (addTileObserver): New method.
3038         (removeTileObserver): New method.
3039
3040 2003-03-09  Tom Tromey  <tromey@redhat.com>
3041
3042         PR libgcj/9934:
3043         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3044         to lseek.  Return 0 if we can't compute the value.
3045
3046 2003-03-03  Michael Koch  <konqueror@gmx.de>
3047
3048         * java/net/NetworkInterface.java: Merged with classpath.
3049
3050 2003-03-03  Tom Tromey  <tromey@redhat.com>
3051
3052         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3053         of bytecode.
3054         (handle_ret_insn): Fail if returning to jsr that appears at end of
3055         bytecode.
3056
3057 2003-03-03  Michael Koch  <konqueror@gmx.de>
3058
3059         * Makefile.am
3060         (ordinary_java_source_files):
3061         Added gnu/java/nio/MappedByteFileBuffer.java.
3062         (nat_source_files):
3063         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3064         * Makefile.in: Regenerated.
3065
3066 2003-03-03  Michael Koch  <konqueror@gmx.de>
3067
3068         * java/net/DatagramSocket.java
3069         (connect): Merged comment from classpath.
3070         (receive): Merged documentation from classpath.
3071         * java/net/Socket.java
3072         (setSoTimeout): Clarified documentation.
3073         * java/net/URL.java
3074         (getPath): Merged from classpath.
3075         (getUserInfo): Merged from classpath.
3076         (getQuery): Merged from classpath.
3077         * java/net/URLStreamHandler.java
3078         (toExternalForm): Merged from classpath.
3079
3080 2003-03-02  Mark Wielaard  <mark@klomp.org>
3081
3082         * java/util/Properties.java (load): Only skip line if the first
3083         character is a comment, whitespaces don't count.
3084
3085 2003-03-02  Michael Koch  <konqueror@gmx.de>
3086
3087         * java/net/NetPermission.java:
3088         Merged copyright with classpath.
3089
3090 2003-03-02  Michael Koch  <konqueror@gmx.de>
3091
3092         * java/lang/Package.java:
3093         Remerged from classpath.
3094
3095 2003-03-02  Michael Koch  <konqueror@gmx.de>
3096
3097         * java/net/HttpURLConnection.java
3098         (HTTP_SERVER_ERROR): Deprecated.
3099         * java/net/MulticastSocket.java
3100         (send): Replaced checkMulticast with appropriate checkPermission call,
3101         deprecated.
3102         * java/net/URLDecoder.java
3103         (decode): Deprecated.
3104         * java/net/URLEncoder.java
3105         (encode): Deprecated.
3106
3107 2003-03-02  Michael Koch  <konqueror@gmx.de>
3108
3109         * javax/swing/text/Caret.java
3110         (getMagicCaretPosition): Fixed typo in method name.
3111         * javax/swing/text/DefaultCaret.java
3112         (getMagicCaretPosition): Fixed typo in method name.
3113
3114 2003-03-02  Michael Koch  <konqueror@gmx.de>
3115
3116         * java/awt/List.java
3117         (setMultipleSelections): Deprecated.
3118         (delItem): Deprecated.
3119         * java/awt/MenuComponent.java
3120         (getPeer): Deprecated.
3121         * java/awt/ScrollPane.java
3122         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3123         * java/awt/dnd/MouseDragGestureRecognizer.java
3124         (mouseClicked): Added comment.
3125         (mousePressed): Added comment.
3126         (mouseReleased): Added comment.
3127         (mouseEntered): Added comment.
3128         (mouseExited): Added comment.
3129         (mouseDragged): Added comment.
3130         (mouseMoved): Added comment.
3131         * java/awt/event/KeyEvent.java
3132         (KeyEvent): Deprecated.
3133         (setModifiers): Deprecated.
3134         
3135 2003-03-02  Michael Koch  <konqueror@gmx.de>
3136
3137         * gnu/java/nio/FileChannelImpl.java
3138         (fd): Type FileDescriptor instead of int.
3139         (lengthInternal): Removed.
3140         (FileChannelImpl): Fixed arguments, check type of file object.
3141         (size): Made it native.
3142         (implPosition): New native method.
3143         (implTruncate): New native method.
3144         (position): Implemented.
3145         (truncate): Implemented.
3146         (nio_mmap_file): Changed arguments.
3147         (nio_munmap_file): Changed arguments.
3148         (nio_msync): Changed arguments.
3149         * gnu/java/nio/natFileChannelImpl.cc
3150         (lengthInternal): Removed.
3151         (size): New method.
3152         (implPosition): New method.
3153         (implTruncate): New method.
3154         (nio_mmap_file): Changed arguments.
3155         (nio_munmap_file): Changed arguments.
3156         (nio_msync): Changed arguments.
3157
3158 2003-03-02  Michael Koch  <konqueror@gmx.de>
3159
3160         * java/awt/dnd/DropTargetContext.java:
3161         Compile fix: Forgot to commit import.
3162         
3163 2003-03-02  Michael Koch  <konqueror@gmx.de>
3164
3165         * java/awt/Component.java,
3166         java/awt/ScrollPane.java:
3167         Fixed typos.
3168
3169 2003-03-02  Michael Koch  <konqueror@gmx.de>
3170
3171         * java/awt/dnd/DnDEventMulticaster.java: New file.
3172         * java/awt/dnd/DragSource.java
3173         (flavorMap): New member variable.
3174         (dragSourceListener): New member variable.
3175         (dragSourceMotionListener): New member variable.
3176         (getFlavorMap): Implemented.
3177         (createDragGestureRecognizer): Implemented.
3178         (addDragSourceListener): Implemented.
3179         (removeDragSourceListener): Implemented.
3180         (getDragSourceListeners): Implemented.
3181         (addDragSourceMotionListener): Implemented.
3182         (removeDragSourceMotionListener): Implemented.
3183         (getDragSourceMotionListeners): Implemented.
3184         (getListeners): Implemented.
3185         * java/awt/dnd/DragSourceContext.java
3186         (peer): New member variable.
3187         (cursor): New member variable.
3188         (transferable): New member variable.
3189         (trigger): New member variable.
3190         (dragSourceListener): New member variable.
3191         (image): New member variable.
3192         (offset): New member variable.
3193         (DragSourceContext): Implemented.
3194         (getDragSource): Implemented.
3195         (getComponent): Implemented.
3196         (getTrigger): Implemented.
3197         (getSourceActions): Implemented.
3198         (setCursor): Implemented.
3199         (getCursor): Implemented.
3200         (addDragSourceListener): Implemented.
3201         (removeDragSourceListener): Implemented.
3202         (getTransferable): Implemented.
3203         * java/awt/dnd/DropTarget.java
3204         (DropTargetAutoScroller.component): New member variable.
3205         (DropTargetAutoScroller.point): New member variable.
3206         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3207         (DropTargetAutoScroller.updateLocation): Implemented.
3208         (active): Renamed from isActive, defaults to true now.
3209         (component): New member variable.
3210         (flavorMap): New member variable.
3211         (actions): New member variable.
3212         (dropTargetContext): New member variable.
3213         (dropTargetListener): New member variable.
3214         (DropTarget): Implemented.
3215         (getComponent): Implemented.
3216         (setComponent): Implemented.
3217         (setDefaultActions): Implemented.
3218         (getDefaultActions): Implemented.
3219         (setActive): Use active instead of isActive.
3220         (isActive): Use active instead of isActive.
3221         (addDropTargetListener): Implemented.
3222         (removeDropTargetListener): Implemented.
3223         (getFlavorMap): Implemented.
3224         (setFlavorMap): Implemented.
3225         (getDropTargetContext): Implemented.
3226         (createDropTargetContext): Implemented.
3227         (createDropTargetAutoScroller): Implemented.
3228         * java/awt/dnd/DropTargetContext.java
3229         (TransferableProxy.getTransferDataFlavors): Implemented.
3230         (TransferableProxy.isDataFlavorSupported): Implemented.
3231         (TransferableProxy.getTransferData): Implemented.
3232         (dropTarget):  New member variable.
3233         (dtcp): New member variable.
3234         (DropTargetContext): New package private constructor.
3235         (getDropTarget): Implemented.
3236         (getComponent): Implemented.
3237         (addNotify): Implemented.
3238         (removeNotify): Implemented.
3239         (getCurrentDataFlavorsAsList): Implemented.
3240         (isDataFlavorSupported): Implemented.
3241         * java/awt/dnd/MouseDragGestureRecognizer.java
3242         (registerListeners): Implemented.
3243         (unregisterListeners): Implemented.
3244         * Makefile.am
3245         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3246         * Makefile.in: Regenerated.
3247
3248 2003-03-02  Michael Koch  <konqueror@gmx.de>
3249
3250         * java/awt/Component.java
3251         (eventTypeEnabled): New method.
3252         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3253         * java/awt/Container.java
3254         (changeSupport): New member variable.
3255         (addPropertyChangeListener): New methods.
3256         * java/awt/ContainerOrderFocusTraversalPolicy.java
3257         (ContainerOrderFocusTraversalPolicy): Added comment.
3258         (getComponentAfter): Throw exception, documentation added.
3259         (getComponentBefore): Throw exception, documentation added.
3260         (getFirstComponent): Throw exception, documentation added.
3261         (getLastComponent): Throw exception, documentation added.
3262         (getDefaultComponent): Throw exception, documentation added.
3263         * java/awt/EventQueue.java: Reindented.
3264         * java/awt/FocusTraversalPolicy.java:
3265         (FocusTraversalPolicy): Added comment.
3266         (getComponentAfter): Documentation added.
3267         (getComponentBefore): Documentation added.
3268         (getFirstComponent): Documentation added.
3269         (getLastComponent): Documentation added.
3270         (getDefaultComponent): Documentation added.
3271         (getInitialComponent): Documentation added.
3272         * java/awt/ScrollPane.java
3273         (wheelScrollingEnabled): New member variable.
3274         (ScrollPane): Initialize wheelScollingEnabled.
3275         (eventTypeEnabled): New method.
3276         (isWheelScrollingEnabled): New method.
3277         (setWheelScrollingEnabled): New method.
3278
3279 2003-03-02  Michael Koch  <konqueror@gmx.de>
3280
3281         * java/net/DatagramSocket.java
3282         (closed): New member variable.
3283         (close): Use closed variable.
3284         (getInetAddress): No need to call isConnected().
3285         (getPort): No need to call isConnected().
3286         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3287         (isClosed): Reimplemented.
3288         
3289 2003-03-02  Michael Koch  <konqueror@gmx.de>
3290
3291         * configure.in: Added check for memory mapping of files.
3292         * configure: Regenerated.
3293         * config.h.in: Regenerated.
3294
3295 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3296
3297         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3298         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3299
3300 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3301
3302         * java/io/File.java (normalizePath): Remove trailing separator
3303         on Windows only if path is not of the form "x:\".
3304
3305         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3306         (java::io::File::attr): Change formatting a bit and use
3307         WIN32_EPOCH_MILLIS instead of magic numbers.
3308         (java::io::File::isAbsolute): Path must have at least 3 
3309         characters for a UNC network path.
3310         (java::io::File::init_native): Define.
3311         (java::io::File::performCreate): Likewise.
3312         (java::io::File::performSetReadOnly): Likewise.
3313         (java::io::File::performSetLastModified): Likewise.
3314         (java::io::File::performListRoots): Likewise.
3315
3316 2003-03-01  Tom Tromey  <tromey@redhat.com>
3317
3318         * java/lang/natObject.cc: Don't include assert.h.
3319         (heavy_lock_obj_finalization_proc): Use JvAssert.
3320         (remove_all_heavy): Likewise.
3321         (_Jv_MonitorEnter): Likewise.
3322         (_Jv_MonitorExit): Likewise.
3323         (wait): Likewise.
3324
3325 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3326
3327         * java/io/File (getAbsolutePath): Prefix drive specifier on
3328         Windows for paths starting with a '\'.
3329         (toURL): Make URL more consistent with what Sun's JDK returns.
3330
3331         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3332         true only if the path is a UNC network path or it starts with a
3333         drive specifier.
3334
3335         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3336         Be prepared to handle either '/' or '\\' in the file path for
3337         Windows if using the "file" protocol.
3338         Canonicalise the file path if using a relative path in the given
3339         context and the "file" protocol.
3340
3341 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3342
3343         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3344         program array element passed to CreateProcess.
3345
3346 2003-03-01  Tom Tromey  <tromey@redhat.com>
3347
3348         * java/rmi/registry/RegistryHandler.java: Deprecate.
3349
3350 2003-03-01  Tom Tromey  <tromey@redhat.com>
3351
3352         * javax/accessibility/AccessibleEditableText.java,
3353         javax/accessibility/AccessibleHyperlink.java: New versions from
3354         Classpath.
3355
3356         * gnu/java/locale/LocaleInformation_af_ZA.java,
3357         gnu/java/locale/LocaleInformation_ar_AE.java,
3358         gnu/java/locale/LocaleInformation_ar_BH.java,
3359         gnu/java/locale/LocaleInformation_ar_DZ.java,
3360         gnu/java/locale/LocaleInformation_ar_EG.java,
3361         gnu/java/locale/LocaleInformation_ar_IN.java,
3362         gnu/java/locale/LocaleInformation_ar_IQ.java,
3363         gnu/java/locale/LocaleInformation_ar_JO.java,
3364         gnu/java/locale/LocaleInformation_ar_KW.java,
3365         gnu/java/locale/LocaleInformation_ar_LB.java,
3366         gnu/java/locale/LocaleInformation_ar_LY.java,
3367         gnu/java/locale/LocaleInformation_ar_MA.java,
3368         gnu/java/locale/LocaleInformation_ar_OM.java,
3369         gnu/java/locale/LocaleInformation_ar_QA.java,
3370         gnu/java/locale/LocaleInformation_ar_SD.java,
3371         gnu/java/locale/LocaleInformation_ar_SY.java,
3372         gnu/java/locale/LocaleInformation_ar_TN.java,
3373         gnu/java/locale/LocaleInformation_ar_YE.java,
3374         gnu/java/locale/LocaleInformation_be_BY.java,
3375         gnu/java/locale/LocaleInformation_bn_IN.java,
3376         gnu/java/locale/LocaleInformation_br_FR.java,
3377         gnu/java/locale/LocaleInformation_bs_BA.java,
3378         gnu/java/locale/LocaleInformation_ca_ES.java,
3379         gnu/java/locale/LocaleInformation_cs_CZ.java,
3380         gnu/java/locale/LocaleInformation_cy_GB.java,
3381         gnu/java/locale/LocaleInformation_da_DK.java,
3382         gnu/java/locale/LocaleInformation_de_AT.java,
3383         gnu/java/locale/LocaleInformation_de_BE.java,
3384         gnu/java/locale/LocaleInformation_de_CH.java,
3385         gnu/java/locale/LocaleInformation_de_DE.java,
3386         gnu/java/locale/LocaleInformation_de_LU.java,
3387         gnu/java/locale/LocaleInformation_el_GR.java,
3388         gnu/java/locale/LocaleInformation_en_AU.java,
3389         gnu/java/locale/LocaleInformation_en_BW.java,
3390         gnu/java/locale/LocaleInformation_en_CA.java,
3391         gnu/java/locale/LocaleInformation_en_DK.java,
3392         gnu/java/locale/LocaleInformation_en_GB.java,
3393         gnu/java/locale/LocaleInformation_en_HK.java,
3394         gnu/java/locale/LocaleInformation_en_IE.java,
3395         gnu/java/locale/LocaleInformation_en_IN.java,
3396         gnu/java/locale/LocaleInformation_en_NZ.java,
3397         gnu/java/locale/LocaleInformation_en_PH.java,
3398         gnu/java/locale/LocaleInformation_en_SG.java,
3399         gnu/java/locale/LocaleInformation_en_US.java,
3400         gnu/java/locale/LocaleInformation_en_ZA.java,
3401         gnu/java/locale/LocaleInformation_en_ZW.java,
3402         gnu/java/locale/LocaleInformation_es_AR.java,
3403         gnu/java/locale/LocaleInformation_es_BO.java,
3404         gnu/java/locale/LocaleInformation_es_CL.java,
3405         gnu/java/locale/LocaleInformation_es_CO.java,
3406         gnu/java/locale/LocaleInformation_es_CR.java,
3407         gnu/java/locale/LocaleInformation_es_DO.java,
3408         gnu/java/locale/LocaleInformation_es_EC.java,
3409         gnu/java/locale/LocaleInformation_es_ES.java,
3410         gnu/java/locale/LocaleInformation_es_GT.java,
3411         gnu/java/locale/LocaleInformation_es_HN.java,
3412         gnu/java/locale/LocaleInformation_es_MX.java,
3413         gnu/java/locale/LocaleInformation_es_NI.java,
3414         gnu/java/locale/LocaleInformation_es_PA.java,
3415         gnu/java/locale/LocaleInformation_es_PE.java,
3416         gnu/java/locale/LocaleInformation_es_PR.java,
3417         gnu/java/locale/LocaleInformation_es_PY.java,
3418         gnu/java/locale/LocaleInformation_es_SV.java,
3419         gnu/java/locale/LocaleInformation_es_US.java,
3420         gnu/java/locale/LocaleInformation_es_UY.java,
3421         gnu/java/locale/LocaleInformation_es_VE.java,
3422         gnu/java/locale/LocaleInformation_et_EE.java,
3423         gnu/java/locale/LocaleInformation_eu_ES.java,
3424         gnu/java/locale/LocaleInformation_fa_IR.java,
3425         gnu/java/locale/LocaleInformation_fi_FI.java,
3426         gnu/java/locale/LocaleInformation_fo_FO.java,
3427         gnu/java/locale/LocaleInformation_fr_BE.java,
3428         gnu/java/locale/LocaleInformation_fr_CA.java,
3429         gnu/java/locale/LocaleInformation_fr_CH.java,
3430         gnu/java/locale/LocaleInformation_fr_FR.java,
3431         gnu/java/locale/LocaleInformation_fr_LU.java,
3432         gnu/java/locale/LocaleInformation_ga_IE.java,
3433         gnu/java/locale/LocaleInformation_gd_GB.java,
3434         gnu/java/locale/LocaleInformation_gl_ES.java,
3435         gnu/java/locale/LocaleInformation_gv_GB.java,
3436         gnu/java/locale/LocaleInformation_he_IL.java,
3437         gnu/java/locale/LocaleInformation_hi_IN.java,
3438         gnu/java/locale/LocaleInformation_hr_HR.java,
3439         gnu/java/locale/LocaleInformation_hu_HU.java,
3440         gnu/java/locale/LocaleInformation_id_ID.java,
3441         gnu/java/locale/LocaleInformation_it_CH.java,
3442         gnu/java/locale/LocaleInformation_it_IT.java,
3443         gnu/java/locale/LocaleInformation_iw_IL.java,
3444         gnu/java/locale/LocaleInformation_ja_JP.java,
3445         gnu/java/locale/LocaleInformation_ka_GE.java,
3446         gnu/java/locale/LocaleInformation_kl_GL.java,
3447         gnu/java/locale/LocaleInformation_ko_KR.java,
3448         gnu/java/locale/LocaleInformation_kw_GB.java,
3449         gnu/java/locale/LocaleInformation_lt_LT.java,
3450         gnu/java/locale/LocaleInformation_lv_LV.java,
3451         gnu/java/locale/LocaleInformation_mi_NZ.java,
3452         gnu/java/locale/LocaleInformation_mk_MK.java,
3453         gnu/java/locale/LocaleInformation_mr_IN.java,
3454         gnu/java/locale/LocaleInformation_mt_MT.java,
3455         gnu/java/locale/LocaleInformation_nl_BE.java,
3456         gnu/java/locale/LocaleInformation_nl_NL.java,
3457         gnu/java/locale/LocaleInformation_nn_NO.java,
3458         gnu/java/locale/LocaleInformation_no_NO.java,
3459         gnu/java/locale/LocaleInformation_oc_FR.java,
3460         gnu/java/locale/LocaleInformation_pl_PL.java,
3461         gnu/java/locale/LocaleInformation_pt_BR.java,
3462         gnu/java/locale/LocaleInformation_pt_PT.java,
3463         gnu/java/locale/LocaleInformation_ro_RO.java,
3464         gnu/java/locale/LocaleInformation_ru_RU.java,
3465         gnu/java/locale/LocaleInformation_ru_UA.java,
3466         gnu/java/locale/LocaleInformation_se_NO.java,
3467         gnu/java/locale/LocaleInformation_sk_SK.java,
3468         gnu/java/locale/LocaleInformation_sl_SI.java,
3469         gnu/java/locale/LocaleInformation_sq_AL.java,
3470         gnu/java/locale/LocaleInformation_sr_YU.java,
3471         gnu/java/locale/LocaleInformation_sv_FI.java,
3472         gnu/java/locale/LocaleInformation_sv_SE.java,
3473         gnu/java/locale/LocaleInformation_ta_IN.java,
3474         gnu/java/locale/LocaleInformation_te_IN.java,
3475         gnu/java/locale/LocaleInformation_tg_TJ.java,
3476         gnu/java/locale/LocaleInformation_tl_PH.java,
3477         gnu/java/locale/LocaleInformation_tr_TR.java,
3478         gnu/java/locale/LocaleInformation_uk_UA.java,
3479         gnu/java/locale/LocaleInformation_ur_PK.java,
3480         gnu/java/locale/LocaleInformation_uz_UZ.java,
3481         gnu/java/locale/LocaleInformation_vi_VN.java,
3482         gnu/java/locale/LocaleInformation_yi_US.java,
3483         gnu/java/locale/LocaleInformation_zh_CN.java,
3484         gnu/java/locale/LocaleInformation_zh_HK.java,
3485         gnu/java/locale/LocaleInformation_zh_SG.java,
3486         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3487         info; from Classpath.
3488
3489         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3490         isPaintPending): New methods.
3491         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3492         setMaximizedBounds): New methods.
3493         (beginLayout, endLayout, isPaintPending): Likewise.
3494         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3495         (requestFocus): Likewise.
3496         (isObscured): Likewise.
3497         (canDetermineObscurity): Likewise.
3498         (coalescePaintEvent): Likewise.
3499         (updateCursorImmediately): Likewise.
3500         (createVolatileImage): Likewise.
3501         (handlesWheelScrolling): Likewise.
3502         (createBuffers): Likewise.
3503         (getBackBuffer): Likewise.
3504         (flip): Likewise.
3505         (destroyBuffers): Likewise.
3506
3507         * Makefile.in: Rebuilt.
3508         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3509         RobotPeer.java.
3510         * gnu/java/awt/GLightweightPeer.java,
3511         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3512         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3513         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3514         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3515         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3516         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3517         java/awt/dnd/peer/DragSourceContextPeer.java,
3518         java/awt/dnd/peer/DropTargetContextPeer.java,
3519         java/awt/peer/ButtonPeer.java,
3520         java/awt/peer/CheckboxMenuItemPeer.java,
3521         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3522         java/awt/peer/ComponentPeer.java,
3523         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3524         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3525         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3526         java/awt/peer/MenuBarPeer.java,
3527         java/awt/peer/MenuComponentPeer.java,
3528         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3529         java/awt/peer/PopupMenuPeer.java,
3530         java/awt/peer/ScrollPanePeer.java,
3531         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3532         java/awt/peer/TextComponentPeer.java,
3533         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3534         New versions from Classpath.
3535         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3536         * java/awt/peer/RobotPeer.java: Likewise.
3537
3538 2003-03-01  Mark Wielaard  <mark@klomp.org>
3539
3540         * java/io/ObjectInputStream.java: Reindent.
3541         * java/io/ObjectOutputStream.java: Likewise.
3542
3543 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3544
3545         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3546         jvalue for each argument. Simplify.
3547         * testsuite/libjava.jni/calls.c (docall),
3548         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3549         misalignment.
3550
3551 2003-02-28  Mark Wielaard  <mark@klomp.org>
3552
3553         * Makefile.am (nat_source_files): Remove
3554         java/io/natObjectOutputStream.cc.
3555         * Makefile.in: Regenerated.
3556         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3557         * java/io/ObjectStreamField.java (typename): New field.
3558         (ObjectStreamField(String, Class)): Initialize new field.
3559         (ObjectStreamField(String, String)): New Constructor.
3560         (getTypeCode): Use new field.
3561         (getTypeString): Use new field.
3562         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3563         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3564         Handle reading of Proxy classes. Never drain(), just write
3565         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3566         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3567         (flush): Call flush(), not just drain().
3568         (writeBoolean): Always use blockDataOutput.
3569         (writeByte): Likewise.
3570         (writeShort): Likewise.
3571         (writeChar): Likewise.
3572         (writeInt): Likewise.
3573         (writeLong): Likewise.
3574         (writeFloat): Likewise.
3575         (writeDouble): Likewise.
3576         (writeBytes): Likewise.
3577         (putfield (put(String,Object))): Throw IllegalArgumentException if
3578         field cannot be found.
3579         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3580         (writeArraySizeAndElements): Write byte[] in one go.
3581         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3582         set BlockDataMode to false.
3583         (annotateProxyClass): New method.
3584         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3585         (getField): No longer native.
3586         (getMethod): Likewise.
3587         (setBlockDataMode): Always drain() on switch, return old mode.
3588         (static): New static code block.
3589         * java/io/natObjectOutputStream.cc: Removed.
3590         * java/io/ObjectInputStream.java (getField): No longer native.
3591         (getMethod): Likewise.
3592         (readObject): Remember and reset old BlockDataMode. Track whether
3593         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3594         TC_LONGSTRING.
3595         (defaultReadObject): Set BlockDataMode to false during readFields.
3596         (resolveClass): Create new SecurityManager if necessary.
3597         Use Class.forName() if null ClassLoader found.
3598         (read(byte[],int,int): Copy remaining bytes to data before calling
3599         readNextBlock().
3600         (readFields): Set and reset BlockDataMode on call_read_method.
3601         Catch NoSuchFieldErrors.
3602         (setBlockDataMode): Return old mode.
3603         (static): New static code block.
3604         * java/io/natObjectInputStream.cc (getField): Removed.
3605         (getMethod): Likewise.
3606
3607 2003-02-27  Michael Koch  <konqueror@gmx.de>
3608
3609         * java/beans/Beans.java,
3610         java/beans/FeatureDescriptor.java
3611         java/beans/PropertyEditorManager.java:
3612         Reformated to GNU style.
3613
3614 2003-02-25  Michael Koch  <konqueror@gmx.de>
3615
3616         * gnu/java/nio/MappedByteFileBuffer.java,
3617         gnu/java/nio/natMappedByteFileBuffer.cc:
3618         New files, both are not compiled yet to get not noncompiling CVS.
3619
3620 2003-02-24  Tom Tromey  <tromey@redhat.com>
3621
3622         * java/util/prefs/AbstractPreferences.java (isUserNode):
3623         Implemented.
3624
3625 2003-02-24  Tom Tromey  <tromey@redhat.com>
3626
3627         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3628         Deprecate.
3629         * java/lang/Thread.java (resume): Deprecate.
3630         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3631         in @deprecated.
3632
3633 2003-02-23  Tom Tromey  <tromey@redhat.com>
3634
3635         * Makefile.in: Rebuilt.
3636         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3637
3638 2003-02-23  Tom Tromey  <tromey@redhat.com>
3639
3640         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3641         libraries): Removed.
3642         (add_library): Removed.
3643         (_load): Don't call add_library.
3644         (loadLibraryInternal): Likewise.
3645         (init): Likewise.
3646         (lookup_data): New struct.
3647         (find_symbol): New function.
3648         (_Jv_FindSymbolInExecutable): Use it.
3649
3650 2002-02-21  Anthony Green  <green@redhat.com>
3651
3652         * java/lang/Thread.java (Thread): New constructor taking stack
3653         size parameter (ignored for now).
3654         * Many methods: Merged GNU Classpath documentation.
3655
3656         * java/lang/Class.java (finalize): throws a Throwable.
3657
3658 2003-02-21  Mark Wielaard  <mark@klomp.org>
3659
3660         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3661         argument is null.
3662
3663 2003-02-21  Mark Wielaard  <mark@klomp.org>
3664
3665         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3666         then 65535 chars throw IllegalArgumentException.
3667
3668 2003-02-21  Mark Wielaard  <mark@klomp.org>
3669
3670         * java/util/zip/ZipFile.java (finalize): New method.
3671
3672 2003-02-21  Michael Koch  <konqueror@gmx.de>
3673
3674         * gnu/java/nio/natSocketChannelImpl.cc:
3675         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3676         <cato@df.lth.se> for pointing to it.
3677
3678 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3679
3680         * java/math/BigInteger.java (euclidInv): Take result array as an
3681         argument.  Updated all callers.
3682         (modInverse): Removed unused variables.
3683
3684 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3685
3686         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3687         config.status.
3688         * configure: Rebuilt.
3689
3690 2003-02-19  Michael Koch  <konqueror@gmx.de>
3691
3692         * gnu/java/nio/natSocketChannelImpl.cc:
3693         Added support for platforms without network support.
3694
3695 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3696
3697         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3698         after config.h.  Use <> for consistency.
3699         * java/lang/natObject.cc: Likewise.
3700         * java/lang/natRuntime.cc: Likewise.
3701         * java/lang/natSystem.cc: Likewise.
3702         * java/util/natTimeZone.cc: Likewise.
3703         * win32.cc: Likewise.
3704         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3705         listen, write, read): Undef to avoid interference from OS macros.
3706
3707 2003-02-19  Michael Koch  <konqueror@gmx.de>
3708
3709         * gnu/java/nio/ByteBufferImpl.java
3710         (ByteBufferImpl): Renamed two variables.
3711         * gnu/java/nio/CharBufferImpl.java
3712         (CharBufferImpl): Renamed two variables.
3713         * gnu/java/nio/DoubleBufferImpl.java
3714         (DoubleBufferImpl): Renamed two variables.
3715         * gnu/java/nio/FloatBufferImpl.java
3716         (FloatBufferImpl): Renamed two variables.
3717         * gnu/java/nio/IntBufferImpl.java
3718         (IntBufferImpl): Renamed two variables.
3719         * gnu/java/nio/LongBufferImpl.java
3720         (LongBufferImpl): Renamed two variables.
3721         * gnu/java/nio/ShortBufferImpl.java
3722         (ShortBufferImpl): Renamed two variables.
3723         * java/nio/CharBuffer.java
3724         (wrap): Fixed arguments to CharBufferImpl constructor.
3725         (hasArray): Only not read-only buffers have backing arrays.
3726         (length): Documentation added.
3727         (subSequence): Documentation added.
3728         * java/nio/DoubleBuffer.java
3729         (hasArray): Only not read-only buffers have backing arrays.
3730         * java/nio/FloatBuffer.java
3731         (hasArray): Only not read-only buffers have backing arrays.
3732         * java/nio/IntBuffer.java
3733         (hasArray): Only not read-only buffers have backing arrays.
3734         * java/nio/LongBuffer.java
3735         (hasArray): Only not read-only buffers have backing arrays.
3736         * java/nio/ShortBuffer.java
3737         (hasArray): Only not read-only buffers have backing arrays.
3738         
3739 2003-02-19  Michael Koch  <konqueror@gmx.de>
3740
3741         * javax/accessibility/AccessibleContext.java
3742         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3743
3744 2003-02-19  Michael Koch  <konqueror@gmx.de>
3745
3746         * java/awt/ScrollPaneAdjustable.java: Reformated.
3747
3748 2003-02-19  Michael Koch <konqueror@gmx.de>
3749
3750         * gnu/awt/j2d/Graphics2DImpl.java
3751         (getFontRenderContext): New method.
3752         (drawGlyphVector): New method.
3753         * java/awt/Graphics2D.java
3754         (getFontRenderContext): New abstract method.
3755         (drawGlyphVector): New abstract method.
3756         
3757 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3758
3759         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3760         if necessary.
3761         
3762         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3763         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3764         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3765         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3766         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3767         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3768         (setFont, gtkSetFont): add.
3769         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3770         Propagate font to peer.  (setFont): add FIXME comment.
3771
3772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3773         (gtkTextGetSize): fix height, width computation.
3774
3775         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3776         Make X font name a bit less bogus.
3777
3778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3779         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3780
3781         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3782         (processAdjustmentEvent): Adjust value.
3783
3784         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3785         logic errors.
3786
3787         * java/awt/Component.java (setVisible, show, hide): Call show and
3788         hide methods in subclasses.
3789         (getPreferredSize): don't set prefSize before we have peer.
3790
3791         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3792         Guess (0,0) if we don't have peer.
3793
3794
3795 2003-02-18  Michael Koch  <konqueror@gmx.de>
3796
3797         * java/nio/channels/FileChannel.java
3798         (toString): New implementation, added documentation.
3799         (map): Added exception documentation.
3800         (size): Added exception documentation.
3801         (write): New methods, documentation work.
3802         (read): New methods, documentation work.
3803         (implCloseChannel): Rewrote exception documentation.
3804         (force): Throws IOException, added documentation.
3805         (lock): New methods.
3806         (tryLock): New methods.
3807         (position): New methods.
3808         (transferTo): New method.
3809         (transferFrom): New method.
3810         (truncate): New method.
3811         * java/nio/channels/spi/SelectorProvider.java
3812         (provider): Implemented.
3813         * Makefile.am
3814         (ordinary_java_source_files): Added the following files:
3815         gnu/java/nio/DatagramChannelImpl.java
3816         gnu/java/nio/FileChannelImpl.java
3817         gnu/java/nio/PipeImpl.java
3818         gnu/java/nio/SelectionKeyImpl.java
3819         gnu/java/nio/SelectorImpl.java
3820         gnu/java/nio/SelectorProviderImpl.java
3821         gnu/java/nio/ServerSocketChannelImpl.java
3822         gnu/java/nio/SocketChannelImpl.java
3823         java/nio/channels/FileLock.java
3824         (nat_java_source_files): Added the following files:
3825         gnu/java/nio/natFileChannelImpl.cc
3826         gnu/java/nio/natSelectorImpl.cc
3827         gnu/java/nio/natSocketChannelImpl.cc
3828         * Makefile.in: Regenerated.
3829
3830 2003-02-17  Tom Tromey  <tromey@redhat.com>
3831
3832         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3833         * java/awt/image/ImageFilter.java: Likewise.
3834
3835 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3836
3837         * java/math/BigInteger.java (euclidInv): Return array of
3838         `BigInteger's.  Changed all callers.
3839
3840 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3841
3842         * java/util/Properties.java (store): Move the code formerly in
3843         list(), into this method.
3844         (list (PrintStream)): Just call list (PrintWriter) with a 
3845         PrintWriter object constructed from the given PrintStream object.
3846         (list (PrintWriter)): Emulate the output of Properties.list()
3847         as found in JDK 1.3/1.4.
3848
3849 2003-02-17  Michael Koch  <konqueror@gmx.de>
3850
3851         * java/net/DatagramSocket.java
3852         (connect): Merged with classpath.
3853         (disconnect): Merged documentation with classpath.
3854         (receice): Merged documentation with classpath.
3855         (send): Merged documentation with classpath.
3856         
3857 2003-02-17  Michael Koch  <konqueror@gmx.de>
3858
3859         * java/awt/dnd/DragSourceContext.java
3860         (addDragSourceListener): Added documentation.
3861         * java/awt/dnd/DragSourceDragEvent.java
3862         (serialVersionUID): New member variable.
3863         (getDropAction): Reformated.
3864         * java/awt/dnd/DragSourceDropEvent.java
3865         (serialVersionUID): New member variable.
3866         (dropSuccess): Renamed from success for serialization issues.
3867         * java/awt/dnd/DragSourceEvent.java
3868         (serialVersionUID): New member variable.
3869         * java/awt/dnd/DropTarget.java
3870         (serialVersionUID): New member variable.
3871         (DropTarget): Implemented, documentation reworked.
3872         (setComponent): Documentation added.
3873         (getComponent): Documentation added.
3874         (setDefaultActions): Documentation added.
3875         (getDefaultActions): Documentation added.
3876         (addDropTargetListener): Documentation added.
3877         * java/awt/dnd/DropTargetContext.java
3878         (DropTargetContext): Documentation added.
3879         (TransferableProxy.TransferableProxy): New method.
3880         (dropComplete): Fixed documentation.
3881         (getTransferable): Fixed documentation.
3882         (createTransferableProxy): Implemented.
3883         * java/awt/dnd/DropTargetDragEvent.java
3884         (DropTargetDragEvent): Documentation added.
3885         (serialVersionUID): New member variable.
3886         (DropTargetDragEvent): Throw exceptions, documentation added.
3887         (acceptDrag): Implemented.
3888         (getCurrentDataFlavors): Implemented.3yy
3889         (getCurrentDataFlavorsAsList): Implemented.
3890         (isDataFlavorSupported): Implemented.
3891         (rejectDrag): Implemented.
3892         * java/awt/dnd/DropTargetDropEvent.java
3893         (DropTargetDropEvent): Documentation added.
3894         (serialVersionUID): New member variable.
3895         (actions): Renamed from srcActions for serialization issues.
3896         (isLocalTx): Renamed from isLocalTx for serialization issues.
3897         (DropTargetDropEvent): New implementation, throw exceptions,
3898         documentation added.
3899         (getCurrentDataFlavors): Implemented.
3900         (getCurrentDataFlavorsAsList): Implemented.
3901         (isDataFlavorSupported): Implemented.
3902         (getSourceActions): Implemented.
3903         (getDropAction): Implemented.
3904         (getTransferable): Implemented.
3905         (acceptDrop): Implemented.
3906         (rejectDrop): Implemented.
3907         * java/awt/dnd/DropTargetListener.java
3908         (drop): Fixed documentation.
3909         * java/awt/dnd/MouseDragGestureRecognizer.java
3910         (MouseDragGestureRecognizer): Documentation added.
3911
3912 2003-02-17  Michael Koch  <konqueror@gmx.de>
3913
3914         * java/awt/font/FontRenderContext.java,
3915         java/awt/font/ShapeGraphicAttribute.java,
3916         java/awt/font/MultipleMaster.java,
3917         java/awt/font/TransformAttribute.java,
3918         java/awt/font/GlyphJustificationInfo.java,
3919         java/awt/font/LineBreakMeasurer.java,
3920         java/awt/font/TextMeasurer.java,
3921         java/awt/font/TextLayout.java,
3922         java/awt/font/LineMetrics.java,
3923         java/awt/font/TextAttribute.java,
3924         java/awt/font/GlyphMetrics.java,
3925         java/awt/font/OpenType.java,
3926         java/awt/font/GlyphVector.java,
3927         java/awt/font/GraphicAttribute.java,
3928         java/awt/font/ImageGraphicAttribute.java,
3929         java/awt/font/NumericShaper.java: New files.
3930         * Makefile.am
3931         (awt_java_source_files): Added the following files:
3932         java/awt/font/FontRenderContext.java
3933         java/awt/font/ShapeGraphicAttribute.java
3934         java/awt/font/MultipleMaster.java
3935         java/awt/font/TransformAttribute.java
3936         java/awt/font/GlyphJustificationInfo.java
3937         java/awt/font/LineBreakMeasurer.java
3938         java/awt/font/TextMeasurer.java
3939         java/awt/font/TextLayout.java
3940         java/awt/font/LineMetrics.java
3941         java/awt/font/TextAttribute.java
3942         java/awt/font/GlyphMetrics.java
3943         java/awt/font/OpenType.java
3944         java/awt/font/GlyphVector.java
3945         java/awt/font/GraphicAttribute.java
3946         java/awt/font/ImageGraphicAttribute.java
3947         java/awt/font/NumericShaper.java
3948         * Makefile.in: Regenerated.
3949
3950 2003-02-17  Michael Koch  <konqueror@gmx.de>
3951
3952         * java/awt/print/Paper.java
3953         (Paper): Implements Cloneable.
3954         * java/awt/print/PrinterJob.java
3955         (setJobName): Return value must be void.
3956         (print): Throws PrinterException.
3957         
3958 2003-02-16  Tom Tromey  <tromey@redhat.com>
3959
3960         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3961         variable.
3962
3963 2003-02-15  Michael Koch  <konqueror@gmx.de>
3964
3965         * java/awt/datatransfer/DataFlavor.java
3966         (isRepresentationClassByteBuffer): Removed try-catch block.
3967         (isRepresentationClassCharBuffer): Removed try-catch block.
3968         (isRepresentationClassReader): Removed try-catch block.
3969
3970 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3971
3972         * java/nio/charset/Charset.java
3973         (isRegistered): Fixed method args and implementation.
3974         * java/nio/charset/CharsetEncoder.java
3975         (unmappableCharacterAction): New method.
3976
3977 2003-02-15  Michael Koch  <konqueror@gmx.de>
3978
3979         * java/awt/CheckboxMenuItem.java
3980         (CheckBoxMenuItem): Dont implement Serializable.
3981         (getListeners): New method,
3982         (getItemListeners): New method.
3983         * java/awt/Choice.java
3984         (getListeners): New method,
3985         (getItemListeners): New method.
3986         * java/awt/Container.java
3987         (getListeners): Added exception documentation.
3988         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3989         (getFocusTraversalKeys): Added documentation.
3990         (areFocusTraversalKeysSet): Added documentation.
3991         (applyComponentOrientation): Added documentation.
3992         * java/awt/ContainerOrderFocusTraversalPolicy.java
3993         (implicitDownCycleTraversal): Renamed from downCycle for
3994         serialization.
3995         (ContainerOrderFocusTraversalPolicy): Added documentation.
3996         (accept): Reformated.
3997         * java/awt/Dialog.java
3998         (Dialog): Dont implement Serializable.
3999         (Dialog): Added documentation.
4000         * java/awt/Font.java
4001         (Font): Dont use absolute class name.
4002         * java/awt/Frame.java
4003         (Frame): Font implement Serializable.
4004         * java/awt/List.java
4005         (getListeners): New method,
4006         (getActionListeners): New method.       
4007         (getItemListeners): New method.
4008         * java/awt/Menu.java
4009         (countItems): New deprecated method.
4010         * java/awt/Scrollbar.java
4011         (getListeners): New method,
4012         (getAdjustmentListeners): New method,
4013         * java/awt/TextComponent.java
4014         (getListeners): New method,
4015         (getTextListeners): New method,
4016         * java/awt/TextField.java
4017         (getListeners): New method,
4018         (getActionListeners): New method.       
4019         * java/awt/Window.java
4020         (windowFocusListener): New member variable.
4021         (windowStateListener): New member variable.
4022         (getWindowFocusListeners): New method.
4023         (getWindowStateListeners): New method.
4024         (addWindowFocusListener): New method.
4025         (addWindowStateListener): New method.
4026         (removeWindowFocusListener): New method.
4027         (removeWindowStateListener): New method.
4028         * java/awt/datatransfer/DataFlavor.java
4029         (isRepresentationClassByteBuffer): New method.
4030         (isRepresentationClassCharBuffer): New method.
4031         (isRepresentationClassReader): New method.
4032
4033 2003-02-14  Mark Wielaard  <mark@klomp.org>
4034
4035         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4036         zero when there is an exponent and the significant is zero.
4037         (divide): Always set scale to newScale even in special ZERO case.
4038
4039 2003-02-14  Tom Tromey  <tromey@redhat.com>
4040
4041         * java/lang/System.java (properties): Use Properties.clone.
4042         (setProperties): Likewise.
4043
4044 2003-02-14  Michael Koch  <konqueror@gmx.de>
4045
4046         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4047         * gnu/java/nio/ServerSocketChannelImpl.java
4048         (SocketAccept): Removed.
4049         (accept): Commented out use of SocketAccept.
4050
4051 2003-02-13  Tom Tromey  <tromey@redhat.com>
4052
4053         * verify.cc (state::seen_subrs): New field.
4054         (state::state): Initialize it.
4055         (state::clean_subrs): New method.
4056         (state::~state): Call it.
4057         (state::copy): Copy subroutine list.
4058         (state::add_subr): New method.
4059         (state::merge): Only register a change if the current subroutine
4060         hasn't yet been noted.
4061
4062 2003-02-13  Mark Wielaard  <mark@klomp.org>
4063
4064         * java/io/InputStreamReader.java (getEncoding): Return null when
4065         closed.
4066         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4067
4068 2003-02-13  Mark Wielaard  <mark@klomp.org>
4069  
4070         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4071         is zero.
4072
4073 2003-02-13  Mark Wielaard  <mark@klomp.org>
4074
4075         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4076         next byte cannot be buffered.
4077
4078 2003-02-13  Michael Koch  <konqueror@gmx.de>
4079  
4080         * java/awt/Label.java
4081         (Label): Don't implement Serializable directly.
4082         (addNotify): Fixed typo in documentation.
4083         * java/awt/List.java
4084         (List): Don't implement Serializable directly.
4085         * java/awt/PopupMenu.java
4086         (PopupMenu): Don't implement Serializable directly.
4087         * java/awt/ScrollPane.java
4088         (ScrollPane): Don't implement Serializable directly.
4089         * java/awt/Scrollbar.java
4090         (Scrollbar): Don't implement Serializable directly.
4091         * java/awt/TextArea.java
4092         (preferredSize): Fixed method arguments.
4093         * java/awt/TextField.java
4094         (TextField): Don't implement Serializable directly.
4095         * java/awt/color/ICC_ColorSpace.java
4096         (fromCIOXYZ): Documentation added.
4097         (getMinValue): Documentation added.
4098         (getMaxValue): Documentation added.
4099         * java/awt/datatransfer/DataFlavor.java
4100         (isMimeTypeEqual): May not be final.
4101         (clone): Throws CloneNotSupportedException.
4102         (getReaderForText): Don't throws UnsupportedEncodingException.
4103
4104 2003-02-13  Michael Koch  <konqueror@gmx.de>
4105  
4106         * gnu/java/awt/peer/gtk/GdkGraphics.java
4107         (drawString): New stubbed method.
4108         * java/awt/Graphics.java
4109         (drawString): New method.
4110
4111 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4112
4113         PR libgcj/9271:
4114         * java/security/SecureRandom.java (next): Avoid bias in results.
4115
4116 2003-02-13  Michael  <konqueror@gmx.de>
4117
4118         * gnu/java/nio/FileChannelImpl.java
4119         (lengthInternal): Must be native.
4120         (size): Check if channel is already closed.
4121         (implCloseChannel): Reformated.
4122         (read): w was unused, removed it.
4123         (read): Removed.
4124         (read): New method.
4125         (write): New method.
4126         (map): Check arguments.
4127         (force): Throws IOException, check if channel is closed.
4128         (transferTo): New method.
4129         (transferFrom): New method.
4130         (lock): New method.
4131         (tryLock): New method.
4132         (position): New method.
4133         (truncate): New method.
4134         (nio_mmap_file): Uncommented.
4135         (nio_munmap_file): Uncommented.
4136         (nio_msync): Uncommented.
4137         * gnu/java/nio/natFileChannelImpl.cc: New file.
4138         
4139 2003-02-13  Michael Koch  <konqueror@gmx.de>
4140
4141         * java/nio/ByteBuffer.java
4142         (endian): New member variable.
4143         (get): New methods.
4144         (equals): New method.
4145         (compareTo): New method.
4146         (order): New methods.
4147         (compact): New method.
4148         (isDirect): New method.
4149         (slice): New method.
4150         (duplicate): New method.
4151         (asReadOnlyBuffer): New method.
4152         (asCharBuffer): New method.
4153         (asDoubleBuffer): New method.
4154         (asFloatBuffer): New method.
4155         (asIntBuffer): New method.
4156         (asLongBuffer): New method.
4157         (asShortBuffer): New method.
4158         (get*): New methods.
4159         (put*): New methods.
4160         (toString): New method.
4161         * java/nio/CharBuffer.java
4162         (CharBuffer): Implement Comparable instead of Cloneable.
4163         (get): May not be final.
4164         (put): May not be final.
4165         
4166 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4167
4168         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4169         lastIndexOf( ) instead of indexOf( ) to find the colon before
4170         the line number, because Win32 file names might contain a 
4171         drive letter and a colon at the start of an absolute path.
4172
4173 2003-02-13  Michael Koch  <konqueror@gmx.de>
4174
4175         * gnu/java/nio/natSocketChannelImpl.cc
4176         (SocketConnect): This is not implemented yet.
4177         (SocketBind): This is not implemented yet.
4178
4179 2003-02-13  Michael Koch  <konqueror@gmx.de>
4180
4181         * gnu/java/nio/natByteBufferImpl.cc,
4182         gnu/java/nio/natCharBufferImpl.cc,
4183         gnu/java/nio/natDoubleBufferImpl.cc,
4184         gnu/java/nio/natFloatBufferImpl.cc,
4185         gnu/java/nio/natIntBufferImpl.cc,
4186         gnu/java/nio/natLongBufferImpl.cc,
4187         gnu/java/nio/natShortBufferImpl.cc:
4188         Added copyright and license.
4189         * java/nio/DoubleBuffer.java,
4190         java/nio/FloatBuffer.java,
4191         java/nio/IntBuffer.java,
4192         java/nio/LongBuffer.java,
4193         java/nio/ShortBuffer.java
4194         (array): Throw exceptions.
4195         (arrayOffset): Throw exceptions.
4196
4197 2003-02-13  Michael Koch  <konqueror@gmx.de>
4198  
4199         * gnu/java/util/prefs/FileBasedFactory.java,
4200         gnu/java/util/prefs/MemmoryBasedFactory.java,
4201         gnu/java/util/prefs/MemoryBasedPreferences.java,
4202         gnu/java/util/prefs/NodeReader.java,
4203         gnu/java/util/prefs/NodeWriter.java,
4204         java/util/prefs/AbstractPreferences.java,
4205         java/util/prefs/BackingStoreException.java,
4206         java/util/prefs/InvalidPreferencesFormatException.java,
4207         java/util/prefs/NodeChangeEvent.java,
4208         java/util/prefs/NodeChangeListener.java,
4209         java/util/prefs/PreferenceChangeEvent.java,
4210         java/util/prefs/PreferenceChangeListener.java,
4211         java/util/prefs/Preferences.java,
4212         java/util/prefs/PreferencesFactory.java:
4213         New files, all merged from classpath.
4214         * Makefile.am
4215         (ordinary_java_source_files): Added the following files:
4216         gnu/java/util/prefs/FileBasedFactory.java,
4217         gnu/java/util/prefs/MemmoryBasedFactory.java,
4218         gnu/java/util/prefs/MemoryBasedPreferences.java,
4219         gnu/java/util/prefs/NodeReader.java,
4220         gnu/java/util/prefs/NodeWriter.java,
4221         (core_java_source_files): Added the following files:
4222         java/util/prefs/AbstractPreferences.java,
4223         java/util/prefs/BackingStoreException.java,
4224         java/util/prefs/InvalidPreferencesFormatException.java,
4225         java/util/prefs/NodeChangeEvent.java,
4226         java/util/prefs/NodeChangeListener.java,
4227         java/util/prefs/PreferenceChangeEvent.java,
4228         java/util/prefs/PreferenceChangeListener.java,
4229         java/util/prefs/Preferences.java,
4230         java/util/prefs/PreferencesFactory.java
4231         * Makefile.in: Regenerated.
4232  
4233 2003-02-13  Michael Koch  <konqueror@gmx.de>
4234
4235         * java/net/NetPermission.java
4236         (NetPermission): Make doucmentation match the method declaration.
4237         * java/net/NetworkInterface.java
4238         (equals): Reformated for GNU coding style.
4239         * java/net/ServerSocket.java: Merged with classpath.
4240         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4241         * java/net/SocketImpl.java
4242         (localPort): Merged with classpath (initialize with -1).
4243         * java/net/SocketPermission.java: Merged with classpath (reindented).
4244         * java/net/URLDecoder.java: Merged with classpath (reindented).
4245
4246 2003-02-13  Michael Koch  <konqueror@gmx.de>
4247
4248         * java/awt/GridBagConstraints.java
4249         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4250         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4251         * java/awt/KeyboardFocusManager.java
4252         (setGlobalCurrentFocusCycleRoot): Must be public.
4253         * java/awt/MenuComponent.java
4254         (MenuComponent): Must be public.
4255         * java/awt/Toolkit.java:
4256         Added some empty lines to make documentation more readable.
4257         (getFontPeer): Added @deprecated.
4258         (getColorModel): Added exception documentation.
4259         (getProperty): Fixed documentation.
4260  
4261 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4262
4263         * configure.host (alpha*-*): Default to -mieee.
4264         * configure.in (IEEESPEC): New.
4265         * libgcj.spec.in (jc1): Add IEEESPEC.
4266         * configure: Rebuild.
4267
4268 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4269
4270         * include/win32.h: Include ws2tcpip.h instead of
4271         winsock.h to obtain definition of the socklen_t type.
4272         Remove IP_TOS definition - not needed with ws2tcpip.h
4273         (_Jv_connect): Correct slight formatting error.
4274
4275 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4276
4277         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4278         size of the arguments for a JNI function. For Win32,
4279         modify to search for all forms of possible exported
4280         names of an stdcall JNI function.
4281         (_Jv_JNIMethod::call): Modify to calculate the size
4282         of the arguments passed to a JNI function and pass
4283         it to _Jv_LookupJNIMethod.
4284
4285 2003-02-12  Michael Koch  <konqueror@gmx.de>
4286
4287         * java/nio/channels/Channels.java: New file.
4288         * Makefile.am
4289         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4290         * Makefile.in: Regenerated.
4291
4292 2003-02-12  Michael Koch  <konqueror@gmx.de>
4293
4294         * java/nio/ByteBuffer.java
4295         (allocate): Implemented.
4296         (wrap): Implemented.
4297         * java/nio/CharBuffer.java:
4298         Some documentation added and reworked.
4299         (endian): Removed.
4300         (allocate): Implemented.
4301         (wrap): Implemented.
4302         (array): Throw exceptions.
4303         (arrayOffset): Throw exceptions.
4304         (toString): Implemented.
4305         (length): Implemented.
4306         (put): Implemented.
4307         (charAt): Implemented.
4308
4309 2003-02-11  John Leuner  <jewel@debian.org>
4310
4311         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4312         reads from end of file.
4313
4314 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4315
4316         * java/io/natFileDescriptorWin32.cc 
4317         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4318         returns with Win32 error code ERROR_BROKEN_PIPE.
4319
4320 2003-02-11  Michael Koch  <konqueror@gmx.de>
4321
4322         * Makefile.in
4323         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4324
4325 2003-02-11  Michael Koch  <konqueror@gmx.de>
4326
4327         * gnu/java/nio/ByteBufferImpl.java:
4328         Reformated and removed some code.
4329         (backing_buffer): Removed.      
4330         (array_offset): Removed.
4331         (ro): Renamed to readOnly.
4332         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4333         * gnu/java/nio/CharBufferImpl.java:
4334         Reformated and removed some code.
4335         (array_offset): Removed.
4336         (ro): Renamed to readOnly.
4337         (CharBufferImpl): Use parent constructor, initialize readOnly.
4338         (inc_pos): Removed.
4339         (order): New method.
4340         * gnu/java/nio/DoubleBufferImpl.java:
4341         Reformated and removed some code.
4342         (array_offset): Removed.
4343         (ro): Renamed to readOnly.
4344         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4345         (inc_pos): Removed.
4346         (order): New method.
4347         * gnu/java/nio/FloatBufferImpl.java:
4348         Reformated and removed some code.
4349         (array_offset): Removed.
4350         (ro): Renamed to readOnly.
4351         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4352         (inc_pos): Removed.
4353         (order): New method.
4354         * gnu/java/nio/IntBufferImpl.java:
4355         Reformated and removed some code.
4356         (array_offset): Removed.
4357         (ro): Renamed to readOnly.
4358         (IntBufferImpl): Use parent constructor, initialize readOnly.
4359         (inc_pos): Removed.
4360         (order): New method.
4361         * gnu/java/nio/LongBufferImpl.java:
4362         Reformated and removed some code.
4363         (array_offset): Removed.
4364         (ro): Renamed to readOnly.
4365         (LongBufferImpl): Use parent constructor, initialize readOnly.
4366         (inc_pos): Removed.
4367         (order): New method.
4368         * gnu/java/nio/ShortBufferImpl.java:
4369         Reformated and removed some code.
4370         (array_offset): Removed.
4371         (ro): Renamed to readOnly.
4372         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4373         (inc_pos): Removed.
4374         (order): New method.
4375         * Makefile.am
4376         (ordinary_java_source_files): Added the following files:
4377         gnu/java/nio/ByteBufferImpl.java
4378         gnu/java/nio/CharBufferImpl.java
4379         gnu/java/nio/DoubleBufferImpl.java
4380         gnu/java/nio/FloatBufferImpl.java
4381         gnu/java/nio/IntBufferImpl.java
4382         gnu/java/nio/LongBufferImpl.java
4383         gnu/java/nio/ShortBufferImpl.java
4384         java/nio/DoubleBuffer.java
4385         java/nio/FloatBuffer.java
4386         java/nio/IntBuffer.java
4387         java/nio/LongBuffer.java
4388         java/nio/ShortBuffer.java
4389         (nat_source_files): Added the following files:
4390         gnu/java/nio/natByteBufferImpl.cc
4391         gnu/java/nio/natCharBufferImpl.cc
4392         gnu/java/nio/natDoubleBufferImpl.cc
4393         gnu/java/nio/natFloatBufferImpl.cc
4394         gnu/java/nio/natIntBufferImpl.cc
4395         gnu/java/nio/natLongBufferImpl.cc
4396         gnu/java/nio/natShortBufferImpl.cc
4397         * Makefile.in: Regenerated.
4398
4399 2003-02-11  Michael Koch  <konqueror@gmx.de>
4400
4401         * gnu/java/nio/natCharBufferImpl.cc
4402         (nio_cast): Removed.
4403         (nio_put_*): Removed.
4404         (nio_get_*): Removed.
4405         * gnu/java/nio/natDoubleBufferImpl.cc
4406         (nio_cast): Removed.
4407         (nio_put_*): Removed.
4408         (nio_get_*): Removed.
4409         * gnu/java/nio/natFloatBufferImpl.cc
4410         (nio_cast): Removed.
4411         (nio_put_*): Removed.
4412         (nio_get_*): Removed.
4413         * gnu/java/nio/natIntBufferImpl.cc
4414         (nio_cast): Removed.
4415         (nio_put_*): Removed.
4416         (nio_get_*): Removed.
4417         * gnu/java/nio/natLongBufferImpl.cc
4418         (nio_cast): Removed.
4419         (nio_put_*): Removed.
4420         (nio_get_*): Removed.
4421         * gnu/java/nio/natShortBufferImpl.cc
4422         (nio_cast): Removed.
4423         (nio_put_*): Removed.
4424         (nio_get_*): Removed.
4425         * gnu/java/nio/SelectorProviderImpl.java
4426         (openDatagramChannel): Throws IOException.
4427         (openPipe): Throws IOException.
4428         (openSelector): Throws IOException.
4429         (openServerSocketChannel): Throws IOException.
4430         (openSocketChannel): Throws IOException.
4431         * gnu/java/nio/ServerSocketChannelImpl.java
4432         (ServerSocketChannelImpl): Throws IOException.
4433         (implCloseSelectableChannel): Throws IOException.
4434         (implConfigureBlocking): Throws IOException.
4435         * java/nio/ByteBuffer.java
4436         (readOnly): Removed.
4437         (hasArray): Use isReadOnly() instead of readOnly.
4438         (array): Use isReadOnly() instead of readOnly.
4439         (arrayOffset): Use isReadOnly() instead of readOnly.
4440         * java/nio/CharBuffer.java
4441         (CharBuffer): Implements Cloneable and CharSequence.
4442
4443 2003-02-11  Michael Koch  <konqueror@gmx.de>
4444
4445         * java/nio/DoubleBuffer.java
4446         (DoubleBuffer): Implements Comparable.
4447         (endian): Removed.
4448         (array_offset): New member variable.
4449         (DoubleBuffer): New constuctor.
4450         (get): May not be final.
4451         (put): May not be final.
4452         (arrayOffset): Implemented.
4453         (order): Made abstract.
4454         (order): Removed.
4455         (as*Buffer): Removed.
4456         (get*): Removed.
4457         (put*): Removed.
4458         * java/nio/FloatBuffer.java
4459         (FloatBuffer): Implements Comparable.
4460         (endian): Removed.
4461         (array_offset): New member variable.
4462         (FloatBuffer): New constuctor.
4463         (get): May not be final.
4464         (put): May not be final.
4465         (arrayOffset): Implemented.
4466         (order): Made abstract.
4467         (order): Removed.
4468         (as*Buffer): Removed.
4469         (get*): Removed.
4470         (put*): Removed.
4471         * java/nio/IntBuffer.java
4472         (IntBuffer): Implements Comparable.
4473         (endian): Removed.
4474         (array_offset): New member variable.
4475         (IntBuffer): New constuctor.
4476         (get): May not be final.
4477         (put): May not be final.
4478         (arrayOffset): Implemented.
4479         (order): Made abstract.
4480         (order): Removed.
4481         (as*Buffer): Removed.
4482         (get*): Removed.
4483         (put*): Removed.
4484         * java/nio/LongBuffer.java
4485         (LongBuffer): Implements Comparable.
4486         (endian): Removed.
4487         (array_offset): New member variable.
4488         (LongBuffer): New constuctor.
4489         (get): May not be final.
4490         (put): May not be final.
4491         (arrayOffset): Implemented.
4492         (order): Made abstract.
4493         (order): Removed.
4494         (as*Buffer): Removed.
4495         (get*): Removed.
4496         (put*): Removed.
4497         * java/nio/ShortBuffer.java
4498         (ShortBuffer): Implements Comparable.
4499         (endian): Removed.
4500         (array_offset): New member variable.
4501         (ShortBuffer): New constuctor.
4502         (get): May not be final.
4503         (put): May not be final.
4504         (arrayOffset): Implemented.
4505         (order): Made abstract.
4506         (order): Removed.
4507         (as*Buffer): Removed.
4508         (get*): Removed.
4509         (put*): Removed.
4510
4511 2003-02-11   Michael Koch  <konqueror@gmx.de>
4512
4513         * java/nio/channels/SelectionKey.java
4514         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4515         values.
4516
4517 2003-02-11  Michael Koch  <konqueror@gmx.de>
4518
4519         * java/nio/channels/DatagramChannel.java
4520         (write): Throws IOException.
4521         (connect): Throws IOException.
4522         (disconnect): Throws IOException.
4523         (read): Throws IOException.
4524         (receive): Throws IOException.
4525         (send): Throws IOException.
4526         * java/nio/channels/Pipe.java
4527         (open): Throws IOException.
4528         * java/nio/channels/SelectableChannel.java
4529         (configureBlocking): Throws IOException.
4530         * java/nio/channels/ServerSocketChannel.java
4531         (accept): Throws IOException.
4532         * java/nio/channels/SocketChannel.java
4533         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4534         GatheringByteChannel.
4535         (read): Throws IOException.
4536         (write): Throws IOException.
4537         (finishConnect): Throws IOException.
4538         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4539         (end): Throws AsynchronousCloseException.
4540         * java/nio/channels/spi/AbstractSelectableChannel.java
4541         (configureBlocking): Throws IOException.
4542         (implCloseChannel): Throws IOException.
4543         (implCloseSelectableChannel): Throws IOException.
4544         (implConfigureBlocking): Throws IOException.
4545         * java/nio/channels/spi/SelectorProvider.java
4546         (openDatagramChannel): Throws IOException.
4547         (openPipe): Throws IOException.
4548         (openSelector): Throws IOException.
4549         (openServerSocketChannel): Throws IOException.
4550         (openSocketChannel): Throws IOException.
4551
4552 2003-02-11  Michael Koch  <konqueror@gmx.de>
4553
4554         * gnu/java/nio/FileLockImpl.java,
4555         java/nio/channels/FileLock.java: New files.
4556
4557 2003-02-11  Michael Koch  <konqueror@gmx.de>
4558
4559         * java/nio/charset/IllegalCharsetNameException.java
4560         (serialVersionUID): New member variable.
4561         (charsetName): New member variable.
4562         (IllegalCharsetException): New implementation.
4563         (getCharsetName): New implementation.
4564         * java/nio/charset/UnsupportedCharsetException.java
4565         (serialVersionUID): New member variable.
4566         (charsetName): New member variable.
4567         (UnsupportedCharsetException): New implementation.
4568         (getCharsetName): New implementation.
4569
4570 2003-02-10  Tom Tromey  <tromey@redhat.com>
4571
4572         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4573         (ex): Renamed from sqlException.
4574
4575 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4576
4577         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4578         method used to ensure seeding has occurred and that a specific 
4579         seed can be set and used.
4580
4581 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4582
4583         * java/lang/Win32Process.java (destroy): Declare as native.
4584         (hasExited): New native method.
4585         (exitValue): Define.
4586         (getErrorStream): Likewise.
4587         (getInputStream): Likewise.
4588         (getOutputStream): Likewise.
4589         (waitFor): Declare as native.
4590         (startProcess): New native method.
4591         (cleanup): Likewise.
4592         (ConcreteProcess): Define.
4593         (outputStream, inputStream, errorStream): New members.
4594         (procHandle, exitCode): Likewise.
4595
4596         * java/lang/natWin32Process.cc
4597         (java::lang::ConcreteProcess::cleanup): Define.
4598         (java::lang::ConcreteProcess::destroy): Likewise.
4599         (java::lang::ConcreteProcess::hasExited): Likewise.
4600         (java::lang::ConcreteProcess::waitFor): Likewise.
4601         (new_string): Likewise.
4602         (java::lang::ConcreteProcess::startProcess): Likewise.
4603
4604 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4605
4606         * java/math/BigInteger.java:
4607         Updated notice to include years 2002 and 3.
4608         Added 2 private (int) arrays with values from the HAC (Handbook of
4609         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4610         and t[] that contains nbr. of tests --used in isProbablePrime().
4611
4612         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4613
4614         * java/math/BigInteger.java (make(int[],int), add(int,int),
4615         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4616         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4617         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4618         make(long).
4619
4620         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4621         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4622         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4623         BIs and returns void.
4624         (modInverse(BI)): Use new signatures of euclidInv().
4625
4626         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4627         static small primes instead of remainder().
4628         Use pre-computed max nbr of trials based on bitlength of BI to test.
4629         Use pre-computed small primes for the trial tests instead of random
4630         numbers.
4631
4632         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4633         not used.
4634
4635         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4636         invoacation of MPN.chars_per_word().  not used.
4637
4638         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4639         local var and used where needed.
4640
4641         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4642         Combined declaration with initialisation of locals.
4643         Removed unused var.
4644
4645         * java/math/BigInteger.java: Style changes
4646         (pow(int)): Removed 'else' keyword.
4647         (toString(int)): idem.
4648         (doubleValue()): idem.
4649         (bitLength()): idem.
4650         (equals(Object)): Use static methods name in same class w/o prepending
4651         class name.
4652         (doubleValue()): idem.
4653         (setNegative(BI)): idem.
4654         (negate()): idem.
4655         (and(BI,int)): idem.
4656         (and(BI)): idem.
4657         (gcd(BI)): idem.
4658         (byteArrayToIntArray()): Removed casting to (int). this is
4659         std. behaviour.
4660         (canonicalize()): idem.
4661         (alloc(int)): Always instantiate a new BI.
4662
4663 2003-02-10  Tom Tromey  <tromey@redhat.com>
4664
4665         * java/sql/Timestamp.java (compareTo(Object)): New method.
4666         (compareTo(Timestamp)): Likewise.
4667         (serialVersionUID): Updated.
4668
4669 2003-02-07  Mark Wielaard  <mark@klomp.org>
4670
4671         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4672         when verify is true.
4673         (JarFile(File, boolean)): Likewise.
4674         (manifestRead): Set manifestRead field correctly.
4675
4676 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4677
4678         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4679         tests; see patch #1016 on Savannah.
4680
4681 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4682
4683         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4684         (toString): do not return Strings starting with . and - erroneously.
4685         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4686         DiagBigDecimal.
4687
4688 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4689
4690         * java/beans/PropertyDescriptor.java
4691         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4692         methods.
4693         (PropertyDescriptor(String, Class, String, String)): Likewise.
4694         (PropertyDescriptor(String, Method, Method): Factor out getter and
4695         setter method sanity checks into new method.
4696         (findMethods): Don't do parameter sanity checking of get method here.
4697         (checkMethods): New method.
4698
4699 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4700
4701         * java/beans/PropertyDescriptor.java: Reformat.
4702
4703 2003-02-04  Tom Tromey  <tromey@redhat.com>
4704
4705         * java/io/PipedOutputStream.java (flush): Declare as throwing
4706         IOException.
4707         (close): Likewise.
4708         * java/io/PipedWriter.java (close): Declare as throwing
4709         IOException.
4710         * java/io/StringWriter.java (close): Declare as throwing
4711         IOException.
4712
4713 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4714
4715         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4716         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4717         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4718         "_JNI_OnLoad@8" (MSVC).
4719
4720 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4721
4722         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4723         convention on Win32 to invoke native JNI methods.
4724
4725 2003-02-03  Andrew Haley  <aph@redhat.com>
4726
4727         * configure.host (x86_64): Enable interpreter.
4728
4729 2003-02-03  Andrew Haley  <aph@redhat.com>
4730
4731         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4732         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4733         * configure.in (BACKTRACESPEC): New.
4734         * configure: Regenerate.
4735
4736 2003-02-02  Tom Tromey  <tromey@redhat.com>
4737
4738         * configure: Rebuilt.
4739         * configure.in (TOOLKIT) [xlib]: Set correctly.
4740
4741         * Makefile.in: Rebuilt.
4742         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4743         libstdc++.
4744
4745 2003-01-31  Mark WIelaard  <mark@klomp.org>
4746
4747         * Makefile.in: Rebuilt.
4748         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4749
4750 2003-01-31  Tom Tromey  <tromey@redhat.com>
4751
4752         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4753         cast to element type.
4754         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4755         (_Jv_JNI_GetObjectArrayElement): Likewise.
4756
4757         * Makefile.in: Rebuilt.
4758         * Makefile.am (cond_x_ltlibrary): Renamed library to
4759         lib-gnu-awt-xlib.la.
4760         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4761         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4762         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4763         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4764         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4765         (lib_gnu_awt_xlib_la_LINK): Likewise.
4766         (install-exec-hook): Removed.
4767         (lib-gnu-awt-xlib.la): Renamed.
4768
4769 2003-01-31  Tom Tromey  <tromey@redhat.com>
4770
4771         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4772         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4773         aclocal.m4 and lost in some merge.
4774
4775         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4776         Don't try to find graphics configuration.
4777         * java/awt/Toolkit.java (default_toolkit_name): Use new
4778         Configuration entry.
4779         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4780         New global.
4781         * configure: Rebuilt.
4782         * configure.in (TOOLKIT): New subst.
4783         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4784         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4785         directory.  Make output directories for .c files.
4786         * Makefile.in: Rebuilt.
4787         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4788         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4789         (all_java_source_files): Added new sources.
4790         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4791         (gtk_c_files): New macro.
4792         (gtk_c_source_files): New macro.
4793         (cond_gtk_ltlibrary): New macro.
4794         ($(gtk_c_files)): New target.
4795         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4796         (gtk_awt_peer_sources): New macro.
4797         (gtk_c_headers): New macro.
4798         ($(gtk_c_headers)): New target.
4799         (ACLOCAL_AMFLAGS): New macro.
4800         * gtk.m4, glib.m4, libart.m4: New files.
4801         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4802         gnu/java/awt/peer/gtk/GdkGraphics.java,
4803         gnu/java/awt/peer/gtk/GtkArg.java,
4804         gnu/java/awt/peer/gtk/GtkArgList.java,
4805         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4806         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4807         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4808         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4809         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4810         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4811         gnu/java/awt/peer/gtk/GtkClipboard.java,
4812         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4813         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4814         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4815         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4816         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4817         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4818         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4819         gnu/java/awt/peer/gtk/GtkImage.java,
4820         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4821         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4822         gnu/java/awt/peer/gtk/GtkListPeer.java,
4823         gnu/java/awt/peer/gtk/GtkMainThread.java,
4824         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4825         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4826         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4827         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4828         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4829         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4830         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4831         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4832         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4833         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4834         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4835         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4836         gnu/java/awt/peer/gtk/GtkToolkit.java,
4837         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4838         gnu/java/awt/peer/gtk/TestAWT.java,
4839         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4841         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4842         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4843         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4844         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4845         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4846         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4847         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4848         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4849         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4850         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4851         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4852         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4853         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4854         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4855         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4856         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4857         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4858         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4859         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4860         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4861         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4862         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4863         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4864         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4865         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4866         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4867         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4868         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4869         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4870         jni/classpath/native_state.c, jni/classpath/native_state.h,
4871         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4872
4873 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4874
4875         * java/util/Properties.java (load): Ignore backslash before EOF.
4876
4877 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4878
4879         * java/lang/natClass.cc (initializeClass): Check tables when
4880         (state == JV_STATE_IN_PROGRESS).
4881         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4882         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4883         interpreted classes.
4884         (linkClass0): Use _Jv_WaitForState.
4885
4886 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4887
4888         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4889         object when finished.
4890
4891 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4892
4893         * libjava/configure.host: Disable can_unwind_signal on darwin.
4894
4895 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4896
4897         Fixes PR java/9254:
4898         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4899         additionally containing id of the owner thread as well as
4900         the number of nested times the thread has acquired the mutex.
4901         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4902         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4903         (_Jv_MutexUnlock): Check if really the owner thread, reset
4904         owner thread id to 0 before leaving, if leaving for the last
4905         time.
4906         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4907         refcount.
4908         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4909         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4910         the passed mutex.
4911         Pass handle of the broadcast event, instead of a pointer to it
4912         in Win32 ResetEvent( ) call.
4913         Remove incorrect return values.
4914         (_Jv_CondDestroy): Close both event handles and delete
4915         critical section.
4916         (_Jv_CondNotify): Check if really the owner thread.
4917         (_Jv_CondNotifyAll): Check if really the owner thread.
4918         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4919         (really_start): Use SetEvent( ) to signal daemon_cond.
4920         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4921         WaitForSingleObject( ) instead to wait for daemon_cond to be
4922         signalled.
4923
4924 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4925
4926         * configure.in: Specifically define HAVE_BACKTRACE if building
4927         for MinGW.
4928         * include/win32.h: Remove HAVE_BACKTRACE definition.
4929         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4930         * configure: Rebuilt.
4931
4932 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4933
4934         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4935         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4936         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4937         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4938         * Makefile.in, configure: Rebuilt.
4939
4940 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4941
4942         Fixes PR java/9253:
4943         * java/io/natFileWin32.cc (performList): Append only "*.*"
4944         if the canonical file path already has a "\" at the end.
4945
4946 2003-01-24  Tom Tromey  <tromey@redhat.com>
4947
4948         * defineclass.cc (handleMethodsEnd): Precompute code for static
4949         method.
4950         (handleCodeAttribute): Likewise.
4951         * resolve.cc (ncode): Use run_class for unsynchronized static
4952         methods.
4953         * include/java-interp.h (class _Jv_InterpMethod): Declare
4954         run_class.
4955         * interpret.cc (run_synch_class): Initialize class.
4956         (run) [insn_invokestatic]: Don't initialize class.
4957         [insn_anewarray]: Likewise.
4958         [insn_multianewarray]: Likewise.
4959         (run_class): New function.
4960
4961 2003-01-24  Tom Tromey  <tromey@redhat.com>
4962
4963         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4964         comment.
4965
4966 2003-01-22  Andrew Haley  <aph@redhat.com>
4967
4968         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4969         * configure.host (CHECKREFSPEC): Define for x86_64.
4970
4971 2003-01-21  Tom Tromey  <tromey@redhat.com>
4972
4973         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4974         search at 2, not 3.
4975
4976 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4977
4978         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4979         looking at any characters.
4980         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4981         be used.
4982         (isAbsolute): Check path's length as well.
4983
4984 2003-01-17  Mark Wielaard  <mark@klomp.org>
4985
4986         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4987         (nat_source_files): Add natVMObjectStreamClass.cc.
4988         * Makefile.in: Regenerated.
4989         * gcj/javaprims.h (namespace java): Regenerated.
4990         * java/io/ObjectStreamClass.java (getClassUID): Call
4991         VMObjectStreamClass.hasClassInitializer().
4992         (hasClassInitializer): Removed.
4993         * java/io/VMObjectStreamClass.java: New class.
4994         * java/io/natVMObjectStreamClass.cc: New file.
4995         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4996
4997 2003-01-16  Mark Wielaard  <mark@klomp.org>
4998
4999         * java/net/SocketImpl.java (toString): Don't explicitly call
5000         toString() on possible null address.
5001
5002 2003-01-16  Michael Koch  <konqueror@gmx.de>
5003
5004         * java/net/MulticastSocket.java
5005         (setInterface): Reindented.
5006
5007 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5008
5009         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5010         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5011         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5012         translateY arguments.  Implement.
5013         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5014         down translation arguments.
5015         (drawPolyline, drawPolygon): Fix incorrect tests.
5016         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5017         translateX and translateY arguments.
5018
5019 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5020
5021         * Makefile.in: Rebuilt.
5022         * Makefile.am (xlib_includes): New macro.
5023         (INCLUDES): Use it.
5024
5025 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5026
5027         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5028         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5029         16-bit display mode.
5030
5031 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5032
5033         * java/awt/CardLayout.java (show): Rewrote.
5034         (gotoComponent): Removed `target' argument.  Simplified code.
5035         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5036         Changed all callers.
5037         (NONE): Removed.
5038         
5039 2003-01-14  Michael Koch  <konqueror@gmx.de>
5040
5041         * java/net/InetSocketAddress.java
5042         (serialVersionUID): New member variable.
5043         * java/net/NetPermission.java
5044         (NetPermission): Dont implement java.io.Serialization directly.
5045         * java/net/SocketAddress.java:
5046         (serialVersionUID): Documentation added.
5047         
5048 2003-01-14  Michael Koch  <konqueror@gmx.de>
5049
5050         * java/awt/Label.java
5051         (Label): Implements javax.accessibility.Accessible;
5052         * java/awt/List.java
5053         (List): Implements javax.accessibility.Accessible;
5054         * java/awt/ScrollPane.java
5055         (ScrollPane): Implements javax.accessibility.Accessible;
5056         * java/awt/Scrollbar.java
5057         (Scrollbar): Implements javax.accessibility.Accessible;
5058         * java/awt/TextComponent.java
5059         (setCaretPosition): Throw exception, documentation added.
5060         * java/awt/Toolkit.java:
5061         Added some newlines in method documentations.
5062         (createButton): Exception documentation added.
5063         (createTextField): Exception documentation added.
5064         (createLabel): Exception documentation added.
5065         (createList): Exception documentation added.
5066         (createCheckbox): Exception documentation added.
5067         (createScrollbar): Exception documentation added.
5068         (createScrollPane): Exception documentation added.
5069         (createTextArea): Exception documentation added.
5070         (createChoice): Exception documentation added.
5071         (createFrame): Exception documentation added.
5072         (createWindow): Exception documentation added.
5073         (createDialog): Exception documentation added.
5074         (createMenuBar): Exception documentation added.
5075         (createMenu): Exception documentation added.
5076         (createMenuItem): Exception documentation added.
5077         (createFileDialog): Exception documentation added.
5078         (createCheckboxMenuItem): Exception documentation added.
5079         (loadSystemColors): Exception documentation added.
5080         (setDynamicLayout): Exception documentation added.
5081         (isDynamicLayoutSet): Exception documentation added.
5082         (isDynamicLayoutActive): Exception documentation added.
5083         (getScreenSize): Exception documentation added.
5084         (getScreenResolution): Exception documentation added.
5085         (getScreenInsets): Exception documentation added.
5086         (getColorModel): Exception documentation added.
5087         (getSystemClipboard): Exception documentation added.
5088         (getSystemSelection): Exception documentation added.
5089         (getMenuShortcutKeyMask): Exception documentation added.
5090         (getSystemEventQueue): Exception documentation added.
5091         * java/awt/Window.java:
5092         Reindented some code.
5093         (Window): Centralized implementation, documentation added.
5094         (finalize): Documentation added.
5095         (hide): Fixed typo in comment.
5096         (getWindowListeners): Documentation added.
5097         * java/awt/color/ColorSpace.java
5098         (toRGB): Documentation added.
5099         * java/awt/color/ICC_ColorSpace.java
5100         (ICC_ColorSpace): Documentation added.
5101         (toRGB): Throw exception, documentation added.
5102         (fromRGB): Throw exception, documentation added.
5103         (toCIEXYZ): Documentation added.
5104         (fromCIEXYZ): Documentation added.
5105         (getMinValue): Documentation added.
5106         (getMaxValue): Documentation added.
5107         * java/awt/geom/Dimension2D.java
5108         (clone): Documentation added.
5109         * java/awt/geom/GeneralPath.java
5110         (clone): Documentation added.
5111         * java/awt/geom/Line2D.java
5112         (clone): Documentation added.
5113         * java/awt/geom/QuadCurve2D.java
5114         (clone): Documentation added.
5115         * java/awt/image/ColorModel.java
5116         (ColorModel): Throw exception, documentation added.
5117         * java/awt/image/ImageFilter.java
5118         (clone): Doesnt throw CloneNotSupportedException.
5119
5120 2003-01-14  Andrew Haley  <aph@redhat.com>
5121
5122         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5123         in a try block.
5124
5125 2003-01-10  Andrew Haley  <aph@redhat.com>
5126
5127         * include/dwarf2-signal.h: Remove x86_64.
5128         * configure.host (x86_64 DIVIDESPEC): Remove.
5129         * include/x86_64-signal.h: New file.
5130         * configure.in: Regenerate.
5131
5132 2003-01-10  Michael Koch  <konqueror@gmx.de>
5133
5134         * java/net/DatagramSocket.java
5135         (ch): Description added.
5136         (remotePort): Initialize with -1.
5137         (connect): Doesnt throws SocketException.
5138         * java/net/MulticastSocket.java
5139         (setInterface): Merge with Classpath.
5140         * java/net/ServerSocket.java
5141         (closed): New member variable.
5142         (bind): Check if socket is closed.
5143         (close): Close an associated channel too, set new value to closed.
5144         (isBound): Reindented.
5145         (isClosed): Implemented.
5146         * java/net/Socket.java
5147         (closed): New member variable.
5148         (bind): Check if socket is closed.
5149         (connect): Check if socket is closed.
5150         (close): Close an associated channel too, set new value to closed.
5151         (isClosed): Implemented.
5152
5153 2003-01-10  Michael Koch  <konqueror@gmx.de>
5154
5155         * java/awt/DisplayMode.java
5156         (equals): Fixed argument type and implementation.
5157
5158 2003-01-07  Tom Tromey  <tromey@redhat.com>
5159
5160         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5161         JV_HASH_SYNCHRONIZATION.
5162         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5163         JV_HASH_SYNCHRONIZATION.
5164
5165 2003-01-07  Michael Koch  <konqueror@gmx.de>
5166  
5167         * java/net/DatagramSocket.java:
5168         Added classpath license info.
5169         (DatagramSocket): Merged description with classpath.
5170         (close): Merged description with classpath.
5171         (getChannel): Merged description with classpath.
5172         (getInetAddress): Merged description with classpath.
5173         (getPort): Merged description with classpath.
5174         (getLocalAddress): Merged description with classpath.
5175         (getLocalPort): Merged description with classpath.
5176         (getSoTimeout): Merged description with classpath.
5177         (setSoTimeout): Merged description with classpath.
5178         (getSendBufferSize): Merged description with classpath.
5179         (setSendBufferSize): Merged description with classpath.
5180         (getReceiveBufferSize): Merged description with classpath.
5181         (setReceiveBufferSize): Merged description with classpath.
5182         
5183 2003-01-04  Tom Tromey  <tromey@redhat.com>
5184
5185         * java/awt/List.java: Merged with Classpath.
5186
5187 2003-01-03  Mark Wielaard  <mark@klomp.org>
5188
5189         * java/io/FileDescriptor.java (position): New private field.
5190         * java/io/natFileDescriptorPosix.cc (write): Up position.
5191         (setLength): Use and set position.
5192         (seek): Set position.
5193         (getFilePointer): Return position.
5194         (read): Up position.
5195
5196 2003-01-03  Mark Wielaard  <mark@klomp.org>
5197
5198         Merge with Classpath:
5199         * java/io/ObjectStreamClass.java (lookup): Split method and call
5200         lookupForClassObject().
5201         (lookupForClassObject): New method.
5202         (isProxyClass): New field.
5203         (setClass): Set isProxyClass, add object to classLookupTable, set
5204         superClass and calculateOffsets.
5205         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5206         and not a proxy class.
5207         (setFields): Set accessible true for serialPersistentFields.
5208         (getClassUID): Same for suid. And check if suid is of type long.
5209         (hasClassInitializer): Don't throw NoSuchMethodError.
5210
5211 2003-01-03  Mark Wielaard  <mark@klomp.org>
5212
5213         * java/io/FileInputStream.java (finalize): Don't explicitly
5214         finalize FileDescriptor.
5215
5216 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5217
5218         * configure.host (sparc*-*): Enable bytecode interpreter.
5219
5220 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5221
5222         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5223         Don't throw RemoteException.
5224         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5225         throw RemoteException.
5226
5227 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5228
5229         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5230         proxyHost): New static fields.
5231         (<clinit>): Initialize new fields.
5232         (connect): Use proxy if necessary.
5233         (usingProxy): Implement.
5234
5235 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5236
5237         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5238         (TreeIterator.remove): Prefer IllegalStateException over
5239         ConcurrentModificationException, to match Sun.
5240
5241 2002-12-22  Anthony Green  <green@redhat.com>
5242
5243         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5244
5245 2003-01-02  Mark Wielaard  <mark@klomp.org>
5246
5247         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5248         public.
5249         (HTTP_USE_PROXY): Add field.
5250         (getResponseVals): Only set responseCode when not yet explicitly
5251         set by subclass.
5252
5253 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5254             Mark Wielaard  <mark@klomp.org>
5255
5256         * java/util/zip/ZipFile.java (entries): Now HashMap.
5257         (readLeShort(DataInput, byte[])): Read from given byte array.
5258         (readLeInt(DataInput, byte[]): Likewise.
5259         (readLeShort(byte[] b, int off)): New method.
5260         (readLeInt(byte[] b, int off)): Likewise.
5261         (readEntries): Use byte arrays to read info in bigger chunks.
5262         (getEntries): Return HashMap.
5263         (getEntry): Use HashMap.
5264         (locBuf): New private field.
5265         (checkLocalHeader): Use locBuf to read info in one chunk.
5266         (getInputStream): Use entries HashMap, wrap PartialInputStream
5267         in BufferedInputStream.
5268         (ZipEntryEnumeration): Use HashMap and Interator.
5269
5270 2003-01-02  Mark Wielaard  <mark@klomp.org>
5271             Jeroen Frijters  <jeroen@sumatra.nl>
5272
5273         * java/net/URLClassLoader.java (Resource.getCodeSource):
5274         Fix check certs == null.
5275         (getCanonicalFileURL): Removed method.
5276         (JarURLLoader): Don't call removed method.
5277         (FileURLLoader): Likewise.
5278         (FileURLLoader.getResource): Don't canonicalize file name.
5279
5280 2003-01-01  Tom Tromey  <tromey@redhat.com>
5281
5282         * Makefile.in: Rebuilt.
5283         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5284         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5285         java/awt/BufferCapabilities.java, java/awt/Button.java,
5286         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5287         java/awt/Container.java, java/awt/Cursor.java,
5288         java/awt/EventQueue.java, java/awt/FileDialog.java,
5289         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5290         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5291         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5292         java/awt/Scrollbar.java, java/awt/TextArea.java,
5293         java/awt/TextField.java, java/awt/color/CMMException.java,
5294         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5295         java/awt/color/ProfileDataException.java,
5296         java/awt/datatransfer/Clipboard.java,
5297         java/awt/datatransfer/DataFlavor.java,
5298         java/awt/datatransfer/FlavorMap.java,
5299         java/awt/datatransfer/SystemFlavorMap.java,
5300         java/awt/dnd/DragGestureEvent.java,
5301         java/awt/dnd/DragGestureRecognizer.java,
5302         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5303         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5304         java/awt/im/InputMethodHighlight.java,
5305         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5306         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5307
5308         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5309         `op' to BufferedImageOp.
5310
5311 2002-12-31  Tom Tromey  <tromey@redhat.com>
5312
5313         Fix for PR libgcj/7416:
5314         * javax/naming/InitialContext.java (init): Use
5315         gnu.classpath.home.url.
5316         * java/security/Security.java: Use new properties.
5317         (loadProviders): Accept base url; use it.
5318         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5319         gnu.classpath.home.url.
5320         (gnu.classpath.home.url): Define.
5321         (gnu.classpath.vm.shortname): Likewise.
5322
5323 2002-12-31  Tom Tromey  <tromey@redhat.com>
5324             Ranjit Mathew  <rmathew@hotmail.com>
5325
5326         Fix for PR libgcj/8997:
5327         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5328         Include platform.h.
5329         * include/posix.h (_Jv_platform_usleep): New function.
5330         * include/win32.h (_Jv_platform_usleep): New function.
5331
5332 2002-12-29  Tom Tromey  <tromey@redhat.com>
5333
5334         * gcj/javaprims.h: Updated.
5335         * scripts/classes.pl (scan): Removed stray semicolon.
5336
5337 2002-12-30  Mark Wielaard  <mark@klomp.org>
5338
5339         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5340         if zero or smaller.
5341
5342 2002-12-30  Mark Wielaard  <mark@klomp.org>
5343
5344         * java/util/Properties (formatForOutput): Don't fall through to
5345         default case after escaping character.
5346
5347 2002-12-30  Mark Wielaard  <mark@klomp.org>
5348
5349         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5350         against count.
5351
5352 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5353
5354         * boehm.cc: Remove stray semicolon.
5355         * interpret.cc: Likewise.
5356         * prims.cc: Likewise.
5357         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5358         earlier to ensure default arguments are processed.
5359         * gcj/array.h (JArray): Add forward declaration.
5360         (elements): Likewise.
5361         * gcj/javaprim.h: Remove stray semicolons.
5362         * include/bohm-gc.h: Likewise.
5363         * include/jni.h: Likewise.
5364         * include/jvm.h: Likewise.
5365         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5366         
5367 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5368
5369         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5370         of catch_type.
5371         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5372         idt tables after initializing superclass.
5373         * java/lang/natClassLoader.cc (uaddr): New typedef.
5374         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5375         if they are constant pool indicies.  Don't link vtable, otable yet.
5376
5377 2002-12-21  Anthony Green  <green@redhat.com>
5378
5379         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5380         libraries.
5381         * Makefile.in: Rebuilt.
5382
5383 2002-12-19  Anthony Green  <green@redhat.com>
5384
5385         * Makefile.am (ordinary_java_source_files): Add
5386         org/xml/sax/helpers/NewInstance.java.
5387         * Makefile.in: Rebuilt.
5388         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5389         org/xml/sax/helpers/package.html: New files.
5390         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5391         http://www.saxproject.org.
5392
5393 2002-12-19  Andrew Haley  <aph@redhat.com>
5394
5395         * java/util/natResourceBundle.cc: Include
5396         ArrayIndexOutOfBoundsException.h.
5397         (getCallingClassLoader): Don't put upper bound on stack search.
5398         Catch ArrayIndexOutOfBoundsException.
5399
5400 2002-12-19  Tom Tromey  <tromey@redhat.com>
5401
5402         * libtool-version: Increased `current'.
5403
5404 2002-12-19  Tom Tromey  <tromey@redhat.com>
5405
5406         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5407         comment.
5408         * java/lang/ClassLoader.java (defineClass): Use chained
5409         exception when rethrowing.
5410         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5411         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5412         constants.
5413         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5414         (_Jv_PrepareClass): Use it.
5415         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5416         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5417         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5418         (Class): _Jv_PrepareMissingMethods now friend.
5419         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5420         Record `NULL' for system class loader.
5421         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5422         system class loader.
5423         (_Jv_FindClassInCache): Likewise.
5424         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5425         (_Jv_FindClass): Special case system class loader.
5426         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5427         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5428         vtable slots.
5429         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5430         in a final class.
5431         (_getDeclaredMethod): Don't return synthetic methods.
5432         (getDeclaredMethods): Likewise.
5433         (_getMethod): Likewise.
5434         (_getMethods): Likewise.
5435
5436 2002-12-18  Raif Naffah  <raif@fl.net.au>
5437
5438         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5439         canonical form after divide().
5440         (modInverse): Likewise.
5441
5442 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5443             Mark Wielaard  <mark@klomp.org>
5444
5445         * java/security/SecurityRandom (digest): Removed field.
5446         (SecureRandom): Check all providers for case-insensitive SecureRandom
5447         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5448         if necessary.
5449         (getInstance(String,Provider,boolean): New method.
5450         (getInstance(String)): Use new method.
5451         (getInstance(String,String)): Likewise.
5452         (getInstance(String,Provider)): Likewise.
5453
5454 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5455
5456         * java/security/Security.java (loadProviders): Increment i only once.
5457
5458 2002-12-12  Mark Wielaard  <mark@klomp.org>
5459
5460         * java/lang/ClassLoader.java (resolveClass0): Transform
5461         ClassNotFoundException to NoClassDefFoundError. Transform all other
5462         throwables to LinkageError.
5463
5464 2002-12-11  Tom Tromey  <tromey@redhat.com>
5465
5466         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5467
5468         * java/lang/ClassLoader.java (loadedClasses): New field.
5469         (defineClass): Fixed indentation.  Put new class in
5470         loadedClasses.
5471         (findLoadedClass): Implement here.
5472         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5473
5474 2002-12-10  Tom Tromey  <tromey@redhat.com>
5475
5476         * Makefile.in: Rebuilt.
5477         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5478         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5479         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5480         * java/lang/natClassLoader.cc
5481         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5482
5483 2002-12-10  Mark Wielaard  <mark@klomp.org>
5484             Tom Tromey  <tromey@redhat.com>
5485
5486         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5487         (JarURLLoader): Use it.
5488         (FileURLLoader): Likewise.
5489         (JarURLResource.getURL): Use chained exception.
5490         (FileResource.getURL): Likewise.
5491         (FileURLLoader.getResource): Use canonical file name.
5492         (addURL): Indentation fix.
5493
5494 2002-12-10  Tom Tromey  <tromey@redhat.com>
5495
5496         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5497         From Laurent Bardet <l.bardet@magic.fr>.
5498
5499 2002-12-09  Tom Tromey  <tromey@redhat.com>
5500
5501         * include/win32.h (_Jv_platform_solib_prefix): New define.
5502         (_Jv_platform_solib_suffix): Likewise.
5503         * include/posix.h (_Jv_platform_solib_prefix): New define.
5504         (_Jv_platform_solib_suffix): Likewise.
5505         * java/lang/natRuntime.cc: Include StackTrace.h.
5506         (_load): Use findLibrary and new platform defines.
5507         (nativeGetLibname): Use new platform defines.
5508
5509         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5510         `t' won't be null.
5511
5512 2002-12-08  Mark Wielaard  <mark@klomp.org>
5513
5514         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5515         cache remote jar files.
5516         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5517         add File.separator to URL when it is a directory.
5518         * java/lang/ClassLoader.java: Add Classpath javadoc.
5519         (parent): final.
5520         (getParent): Add (disabled) security check.
5521         (findLibrary): New default method.
5522         * java/net/JarURLConnection.java (getManifest): Implement.
5523         (getInputStream): Only create InputStream when entry exists.
5524         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5525         when they exist.
5526         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5527
5528 2002-12-08  Mark Wielaard  <mark@klomp.org>
5529
5530         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5531         (lastDefaultLocale): New field.
5532         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5533         resourceBundleCache.
5534
5535 2002-12-06  Mark Wielaard  <mark@klomp.org>
5536
5537         * java/net/InetAddress.java (toString): Use hostname when not null,
5538         don't do an explicit reverse getHostName() lookup.
5539         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5540         NullPointerException.
5541
5542 2002-12-06  Tom Tromey  <tromey@redhat.com>
5543
5544         * include/java-interp.h (class _Jv_InterpMethod): Added
5545         JV_MARKOBJ_DECL.
5546         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5547         mark `prepared' field of interpreted method.
5548         * interpret.cc (compile): Use _Jv_AllocBytes.
5549
5550 2002-12-05  Andrew Haley  <aph@redhat.com>
5551
5552         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5553         #ifdef (HAVE_BACKTRACE) around the whole function body.
5554
5555 2002-12-05  Tom Tromey  <tromey@redhat.com>
5556
5557         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5558         * resolve.cc: Don't include AbstractMethodError.h.
5559         (_Jv_abstractMethodError): Removed.
5560         * defineclass.cc (handleMethodsBegin): Initialize method index to
5561         -1.
5562         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5563         method index for "new" final method.
5564         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5565         isVirtualMethod.  Added `flags' argument.
5566         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5567         class.
5568
5569 2002-12-04  Tom Tromey  <tromey@redhat.com>
5570
5571         * java/net/SocketPermission.java (hashCode): Rewrote.
5572
5573 2002-12-04  Tom Tromey  <tromey@redhat.com>
5574
5575         * Makefile.in: Rebuilt.
5576         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5577         natResourceBundle.
5578         * java/util/ResourceBundle.java (Security): Removed.
5579         (getCallingClassLoader): Now native.
5580         * java/util/natResourceBundle.cc: New file.
5581         * java/lang/natVMSecurityManager.cc: New file.
5582         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5583
5584 2002-12-03  Mark Wielaard  <mark@klomp.org>
5585
5586         * java/util/jar/JarFile.java (manifest): Not final.
5587         (manifestRead): New field.
5588         (JarFile): Don't read Manifest in constructor.
5589         (getManifest): New method.
5590         (JarEnumeration.nextElement): Use new method.
5591         (getEntry): Likewise.
5592         * java/util/zip/ZipFile.java (name): Final.
5593         (raf): Likewsie.
5594         (entries): Change type to Hashtable.
5595         (closed): New field.
5596         (ZipFile): Don't read enties in constructor.
5597         (readEntries): Use Hashtable.
5598         (close): Set new close flag and set entries to null inside
5599         synchronized block.
5600         (entries): Contruct enumeration using new getEntries() method and
5601         entries Hashtable.
5602         (getEntryIndex): Removed.
5603         (getEntries): New method.
5604         (getEntry): Use new getEntries() method and entries Hastable.
5605         (getInputStream): Likewise.
5606         (size): Return getEntries().size().
5607         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5608         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5609         (time): Removed
5610         (dostime): New field.
5611         (zipFileIndex): Removed.
5612         (ZipEntry(ZipEntry)): Copy dostime.
5613         (setDOSTime): Now final and doesn't convert dos time.
5614         (getDOSTime): Likewise.
5615         (setTime): Convert dos time.
5616         (getTime): Likewise.
5617         (getCalendar): New method.
5618         (setExtra): Use setTime().
5619         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5620
5621 2002-12-03  Tom Tromey  <tromey@redhat.com>
5622
5623         * java/lang/Character.java (forDigit): Formatting fix.
5624
5625 2002-12-03  Raif Naffah  <raif@fl.net.au>
5626
5627         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5628         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5629         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5630
5631 2002-12-03  Andrew Haley  <aph@redhat.com>
5632
5633         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5634         _Jv_PushClass.
5635         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5636         (_Jv_PopClass): New.
5637         (_Jv_PushClass): New.
5638         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5639         discover the ClassLoader of our caller.
5640         (_Jv_CheckArrayStore): Don't check that a class is assignment
5641         compatible with Object.
5642         * java/lang/natVMTHrowable.cc: Delete.
5643         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5644         java.lang.VMThrowable.
5645         (StackTrace(), StackTrace(int)): New constructors.
5646         (classAt, methodAt, update, methodAtAddress): New methods.
5647         (map): New field.
5648         * java/lang/VMThrowable.java: Use StackTrace instead of
5649         natVMTHrowable.
5650         * java/lang/Class.h (getClassLoaderInternal): New.
5651         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5652         Be friendly with gnu::gcj::runtime::StackTrace.
5653         (Object.chain): New field.
5654         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5655         gnu::gcj::runtime::StackTrace.
5656         * gnu/gcj/runtime/natStackTrace.cc: New file.
5657         * gnu/gcj/runtime/MethodRef.java: New file.
5658         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5659         instead of getClassLoader().
5660         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5661         java::lang::VMThrowable.
5662         * Makefile.am (core_java_source_files): Add MethodRef.java,
5663         StackTrace.java.
5664         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5665         * Makefile.in: Rebuild.
5666
5667 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5668
5669         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5670         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5671         yes also for sh-linux* and sh[34]*-linux*.
5672         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5673         set SIGNAL_HANDLER to use DWARF2 exception for them.
5674         * configure: Regenerate.
5675
5676 2002-12-02  Tom Tromey  <tromey@redhat.com>
5677
5678         * jni.cc: Added `name' argument.
5679         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5680         `const char *' argument.
5681         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5682
5683 2002-12-01  Tom Tromey  <tromey@redhat.com>
5684
5685         Bug compatibility, for PR libgcj/8738:
5686         * java/io/CharArrayWriter.java (close): Do nothing.
5687         (flush): Likewise.
5688         (reset): Don't touch `closed'.
5689         (write(int)): Don't throw IOException.
5690         (write(char[],int,int)): Likewise.
5691         (write(String,int,int)): Likewise.
5692         (closed): Removed.
5693
5694 2002-12-01  Mark Wielaard  <mark@klomp.org>
5695
5696         * java/lang/SecurityManager.java: Remerge comments, indenting and
5697         checkXXX methods with Classpath.
5698
5699 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5700
5701         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5702         getNormalizedComponents): Fix calculation which was using one too
5703         many bits in the unnormalized format.
5704
5705 2002-11-29  Gary Benson  <gbenson@redhat.com>
5706
5707         For PR libgcj/8759:
5708         * java/beans/Introspector.java (flushCaches): New method.
5709         (flushFromCaches): Likewise.
5710
5711 2002-11-29  Michael Koch <konqueror@gmx.de>
5712
5713         * java/nio/channels/DatagramChannel.java
5714         (open): Added exception documentation.
5715         (write): Added exception documentation.
5716         (connect): Added exception documentation.
5717         (disconnect): Added exception documentation.
5718         (isConnected): Added exception documentation.
5719         (read): Added exception documentation.
5720         (receive): Added exception documentation.
5721         (send): Added exception documentation.
5722         (validOps): Added exception documentation.
5723         * java/nio/channels/SocketChannel.java
5724         (open): Added exception documentation.
5725         (read): Added exception documentation.
5726         (write): Added exception documentation.
5727         (connect): Added exception documentation.
5728         (finishConnect): Added exception documentation.
5729
5730 2002-11-29  Michael Koch <konqueror@gmx.de>
5731
5732         * gnu/java/nio/DatagramChannelImpl:
5733         (fd): New member variable to store file descriptor of socket.
5734         * gnu/java/nio/SelectionKeyImpl.java:
5735         (ops): Removed.
5736         (readyOps): New member variable.
5737         (interestOps): New member variable.
5738         (readyOps): Implemented.
5739         (readyOps): New method to set member variable readyOps.
5740         (interestOps): Replaced ops by interestOps.
5741         * gnu/java/nio/SelectorImpl.java:
5742         (SelectorImpl): Initialize key sets.
5743         (select): Call select with -1 instead of Long.MAX_VALUE).
5744         (java_do_select): Make it a native method.
5745         (getFDsAsArray): New helper method.
5746         (select): Remove canceled keys, give only interested file discriptors
5747         to java_do_select, set ready ops.
5748         (add): No need to initialize keys set here.
5749         (add_selected): No need to initialize selected set here.
5750         (deregisterCanceledKeys): New helper method.
5751         (register): Set interest ops, set attachments, added handling of datagram
5752         channels.
5753         * gnu/java/nio/ServerSocketChannelImpl:
5754         (SocketAccept): Renamed from NioSocketAccept.
5755         (implConfigureBlocking): Implemented.
5756         (accept): Use SocketAccept instead of NioSocketAccept.
5757         * gnu/java/nio/SocketChannelImpl:
5758         Reactivate native methods.
5759
5760 2002-11-29  Michael Koch <konqueror@gmx.de>
5761
5762         * gnu/java/nio/natByteBufferImpl.cc,
5763         gnu/java/nio/natCharBufferImpl.cc,
5764         gnu/java/nio/natDoubleBufferImpl.cc,
5765         gnu/java/nio/natFloatBufferImpl.cc,
5766         gnu/java/nio/natIntBufferImpl.cc,
5767         gnu/java/nio/natLongBufferImpl.cc,
5768         gnu/java/nio/natSelectorImpl.cc,
5769         gnu/java/nio/natServerSocketChannelImpl.cc,
5770         gnu/java/nio/natShortBufferImpl.cc,
5771         gnu/java/nio/natSocketChannelImpl.cc:
5772         New files that implement native functionalities.
5773
5774 2002-11-29  Michael Koch <konqueror@gmx.de>
5775
5776         * gnu/java/nio/ByteBufferImpl.java
5777         (ByteBufferImpl): Moved position() after limit.
5778         (nio_*): Use native implementation.
5779         * gnu/java/nio/CharBufferImpl.java:
5780         Reformated.
5781         (endian): New member variable string endianess of buffer.
5782         (CharBufferImpl): Moved position() after limit.
5783         (nio_*): Use native implementation.
5784         (subSequence): Implemented.
5785         * gnu/java/nio/DoubleBufferImpl.java
5786         (DoubleBufferImpl): Moved position() after limit.
5787         (nio_*): Use native implementation.
5788         * gnu/java/nio/FloatBufferImpl.java
5789         Reformated.
5790         (FloatBufferImpl): Moved position() after limit.
5791         (nio_*): Use native implementation.
5792         * gnu/java/nio/IntBufferImpl.java
5793         Added needed imports, Reformated.
5794         (IntBufferImpl): Moved position() after limit.
5795         (nio_*): Use native implementation.
5796         * gnu/java/nio/LongBufferImpl.java
5797         Reformated.
5798         (LongBufferImpl): Moved position() after limit.
5799         (nio_*): Use native implementation.
5800         * gnu/java/nio/ShortBufferImpl.java
5801         Reformated.
5802         (ShortBufferImpl): Moved position() after limit.
5803         (nio_*): Use native implementation.
5804
5805 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5806
5807         * java/util/Locale.java (toString): Improve efficiency if country
5808         and variant are both empty.
5809
5810 2002-11-26  Tom Tromey  <tromey@redhat.com>
5811
5812         * verify.cc (pop_init_ref): New method.
5813         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5814         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5815         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5816         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5817         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5818         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5819         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5820         let `this' argument be uninitialized.  Don't let `null' be passed
5821         as `this' to construtor.
5822
5823 2002-11-26  Mark Wielaard  <mark@klomp.org>
5824
5825         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5826         * javax/transaction/HeuristicMixedException.java: Likewise.
5827         * javax/transaction/HeuristicRollbackException.java: Likewise.
5828         * javax/transaction/InvalidTransactionException.java: Likewise.
5829         * javax/transaction/NotSupportedException.java: Likewise.
5830         * javax/transaction/RollbackException.java: Likewise.
5831         * javax/transaction/Status.java: Likewise.
5832         * javax/transaction/Synchronization.java: Likewise.
5833         * javax/transaction/SystemException.java: Likewise.
5834         * javax/transaction/Transaction.java: Likewise.
5835         * javax/transaction/TransactionManager.java: Likewise.
5836         * javax/transaction/TransactionRequiredException.java: Likewise.
5837         * javax/transaction/TransactionRolledbackException.java: Likewise.
5838         * javax/transaction/UserTransaction.java: Likewise.
5839         * javax/transaction/xa/XAException.java: Likewise.
5840         * javax/transaction/xa/XAResource.java: Likewise.
5841         * javax/transaction/xa/Xid.java: Likewise.
5842
5843 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5844
5845         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5846         define.
5847         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5848         * include/posix.h (socklen_t): Define if not already defined.
5849
5850 2002-11-25  Tom Tromey  <tromey@redhat.com>
5851
5852         * verify.cc (type::compatible): Backed out broken change.
5853
5854         * verify.cc (type::compatible): Check initialization status
5855         first.
5856         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5857         Don't use NULLCHECK.
5858
5859 2002-11-23  H.J. Lu <hjl@gnu.org>
5860
5861         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5862         Include ../config/accross.m4.
5863         * aclocal.m4; Rebuild.
5864         * configure: Likewise.
5865
5866 2002-11-23  Mark Wielaard  <mark@klomp.org>
5867
5868         * javax/naming/AuthenticationException.java: Update copyright header.
5869         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5870         * javax/naming/Binding.java: Likewise.
5871         * javax/naming/CannotProceedException.java: Likewise.
5872         * javax/naming/CommunicationException.java: Likewise.
5873         * javax/naming/CompositeName.java: Likewise.
5874         * javax/naming/CompoundName.java: Likewise.
5875         * javax/naming/ConfigurationException.java: Likewise.
5876         * javax/naming/Context.java: Likewise.
5877         * javax/naming/ContextNotEmptyException.java: Likewise.
5878         * javax/naming/InitialContext.java: Likewise.
5879         * javax/naming/InsufficientResourcesException.java: Likewise.
5880         * javax/naming/InterruptedNamingException.java: Likewise.
5881         * javax/naming/LimitExceededException.java: Likewise.
5882         * javax/naming/LinkException.java: Likewise.
5883         * javax/naming/LinkLoopException.java: Likewise.
5884         * javax/naming/LinkRef.java: Likewise.
5885         * javax/naming/MalformedLinkException.java: Likewise.
5886         * javax/naming/NameAlreadyBoundException.java: Likewise.
5887         * javax/naming/NameClassPair.java: Likewise.
5888         * javax/naming/NameNotFoundException.java: Likewise.
5889         * javax/naming/NameParser.java: Likewise.
5890         * javax/naming/NamingEnumeration.java: Likewise.
5891         * javax/naming/NamingSecurityException.java: Likewise.
5892         * javax/naming/NoInitialContextException.java: Likewise.
5893         * javax/naming/NoPermissionException.java: Likewise.
5894         * javax/naming/NotContextException.java: Likewise.
5895         * javax/naming/OperationNotSupportedException.java: Likewise.
5896         * javax/naming/PartialResultException.java: Likewise.
5897         * javax/naming/Reference.java: Likewise.
5898         * javax/naming/Referenceable.java: Likewise.
5899         * javax/naming/ReferralException.java: Likewise.
5900         * javax/naming/ServiceUnavailableException.java: Likewise.
5901         * javax/naming/SizeLimitExceededException.java: Likewise.
5902         * javax/naming/TimeLimitExceededException.java: Likewise.
5903         * javax/naming/directory/Attribute.java: Likewise.
5904         * javax/naming/directory/AttributeInUseException.java: Likewise.
5905         * javax/naming/directory/AttributeModificationException.java: Likewise.
5906         * javax/naming/directory/Attributes.java: Likewise.
5907         * javax/naming/directory/BasicAttribute.java: Likewise.
5908         * javax/naming/directory/BasicAttributes.java: Likewise.
5909         * javax/naming/directory/DirContext.java: Likewise.
5910         * javax/naming/directory/InitialDirContext.java: Likewise.
5911         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5912         Likewise.
5913         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5914         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5915         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5916         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5917         * javax/naming/directory/ModificationItem.java: Likewise.
5918         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5919         * javax/naming/directory/SchemaViolationException.java: Likewise.
5920         * javax/naming/directory/SearchControls.java: Likewise.
5921         * javax/naming/directory/SearchResult.java: Likewise.
5922         * javax/naming/event/EventContext.java: Likewise.
5923         * javax/naming/event/EventDirContext.java: Likewise.
5924         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5925         * javax/naming/event/NamingEvent.java: Likewise.
5926         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5927         * javax/naming/event/NamingListener.java: Likewise.
5928         * javax/naming/event/ObjectChangeListener.java: Likewise.
5929         * javax/naming/ldap/Control.java: Likewise.
5930         * javax/naming/ldap/ControlFactory.java: Likewise.
5931         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5932         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5933         * javax/naming/ldap/HasControls.java: Likewise.
5934         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5935         * javax/naming/ldap/LdapContext.java: Likewise.
5936         * javax/naming/ldap/LdapReferralException.java: Likewise.
5937         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5938         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5939         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5940         * javax/naming/spi/DirObjectFactory.java: Likewise.
5941         * javax/naming/spi/DirStateFactory.java: Likewise.
5942         * javax/naming/spi/DirectoryManager.java: Likewise.
5943         * javax/naming/spi/InitialContextFactory.java: Likewise.
5944         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5945         * javax/naming/spi/NamingManager.java: Likewise.
5946         * javax/naming/spi/ObjectFactory.java: Likewise.
5947         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5948         * javax/naming/spi/ResolveResult.java: Likewise.
5949         * javax/naming/spi/Resolver.java: Likewise.
5950         * javax/naming/spi/StateFactory.java: Likewise.
5951
5952         * javax/naming/spi/NamingManager.java (ofb): Package private.
5953
5954 2002-11-21  Mark Wielaard  <mark@klomp.org>
5955
5956         * java/net/URL.java: Merge with Classpath (partly).
5957         * java/net/URLStreamHandler: Merge with Classpath.
5958
5959 2002-11-22  Michael Koch <konqueror@gmx.de>
5960
5961         * include/posix.h:
5962         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5963         * include/win32.h:
5964         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5965         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5966
5967 2002-11-21  Michael Koch <konqueror@gmx.de>
5968
5969         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5970         Only the new network functions should be in it.
5971
5972 2002-11-21  Michael Koch <konqueror@gmx.de>
5973
5974         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5975         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5976
5977 2002-11-21  Michael Koch <konqueror@gmx.de>
5978
5979         * java/nio/channels/AsynchronousCloseException.java,
5980         java/nio/channels/CancelledKeyException.java,
5981         java/nio/channels/ClosedByInterruptException.java,
5982         java/nio/channels/ConnectionPendingException.java,
5983         java/nio/channels/FileLockInterruptionException.java,
5984         java/nio/channels/IllegalSelectorException.java,
5985         java/nio/channels/NoConnectionPendingException.java,
5986         java/nio/channels/NonReadableChannelException.java,
5987         java/nio/channels/NonWritableChannelException.java,
5988         java/nio/channels/NotYetBoundException.java,
5989         java/nio/channels/NotYetConnectedException.java,
5990         java/nio/channels/OverlappingFileLockException.java,
5991         java/nio/channels/UnresolvedAddressException.java,
5992         java/nio/channels/UnsupportedAddressTypeException.java:
5993         New files.
5994         * Makefile.am (ordinary_java_source_files): Added new files.
5995         * Makefile.in: Regenerated.
5996
5997 2002-11-21  Michael Koch <konqueror@gmx.de>
5998
5999         * include/posix.h
6000         (_Jv_socket): New method.
6001         (_Jv_connect): New method.
6002         (_Jv_close): New method.
6003         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6004         (_Jv_bind): New method.
6005         (_Jv_listen): New method.
6006         (_Jv_write): New method.
6007         (_Jv_read): New method.
6008         * include/win32.h
6009         (_Jv_socket): New method.
6010         (_Jv_connect): New method.
6011         (_Jv_close): New method.
6012         (_Jv_bind): New method.
6013         (_Jv_listen): New method.
6014         (_Jv_write): New method.
6015         (_Jv_read): New method.
6016         * java/net/natNetworkInterface.cc:
6017         Include platform.h, removed inclusion of socket.h
6018         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6019         ::close() by _Jv_close().
6020         * java/net/natPlainDatagramSocketImpl.cc:
6021         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6022         added some new lines to make code more readable.
6023         (create): Replaced ::socket() by _Jv_socket().
6024         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6025         * java/net/natPlainSocketImpl.cc:
6026         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6027         removed include of socket.h, removed some windows defines
6028         (now in include/win32.h).
6029         (create): Replaced ::socket() by _Jv_socket().
6030         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6031         (write): Replaced ::read by _Jv_write().
6032         (read): Replaced ::read by _Jv_read().
6033
6034 2002-11-20  Michael Koch <konqueror@gmx.de>
6035
6036         * Makefile.am (ordinary_java_source_files):
6037         Added java/nio/channels/FileChannel.java.
6038         * Makefile.in: Regenerated.
6039
6040 2002-11-20  Michael Koch <konqueror@gmx.de>
6041
6042         * java/io/FileInputStream.java
6043         (getChannel): New method.
6044         * java/io/FileOutputStream.java
6045         (getChannel): New method.
6046         * java/net/ServerSocket.java
6047         (bind): Removed duplicate code and called another bind method instead.
6048         * java/nio/channels/SelectionKey.java
6049         (isValid): Removed wrong exception documentation.
6050         * java/nio/channels/ServerSocketChannel.java
6051         (accept): Added exception documentation.
6052         (open): Fixed typo, added exception documentation.
6053         * java/nio/channels/spi/AbstractSelectableChannel.java
6054         (implCloseChannel): Added exception documentation.
6055         (add): Reformated.
6056         (register): Added exception documentation.
6057
6058 2002-11-20  Andreas Jaeger  <aj@suse.de>
6059
6060         * configure: Regenerated with new libtool.m4.
6061
6062 2002-11-19  Tom Tromey  <tromey@redhat.com>
6063
6064         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6065         `referent'.
6066         (finalize_referred_to_object): Don't modify `referent' or `copy'
6067         fields.
6068         (add_to_hash): Correctly set `n->next' when updating list.
6069         * java/lang/ref/Reference.java (enqueue): Return false if already
6070         enqueued.
6071
6072 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6073
6074         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6075         to function and function pointer declarations in accordance with
6076         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6077         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6078         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6079         JNI function definitions.
6080
6081 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6082
6083         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6084         that was causing CoderResults to be cached, not WeakReferences
6085         to CoderResults.
6086
6087 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6088
6089         * java/security/KeyStore.java (getInstance): Fix
6090         comment and throw IllegalArgumentException if
6091         given provider is null.
6092         (getInstance): New method for jdk1.4 compatibility.
6093
6094 2002-11-18  Michael Koch <konqueror@gmx.de>
6095
6096         * java/net/PlainSocketImpl.java: Fix imports.
6097
6098 2002-11-18  Michael Koch <konqueror@gmx.de>
6099
6100         * java/nio/channels/SelectionKey.java
6101         (isValid): Added exception documentation.
6102         * java/nio/channels/Selector.java
6103         (open): Declare "throws IOException".
6104
6105 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6106
6107         * java/nio/charset/Charset.java
6108         (<clinit>): New method.
6109         (encode): Synchronize use of cached encoder object.
6110         (decode): Synchronize use of cached encoder object.
6111
6112 2002-11-18  Michael Koch <konqueror@gmx.de>
6113
6114         * gnu/java/nio/ByteBufferImpl.java,
6115         gnu/java/nio/CharBufferImpl.java,
6116         gnu/java/nio/DatagramChannelImpl.java,
6117         gnu/java/nio/DoubleBufferImpl.java,
6118         gnu/java/nio/FileChannelImpl.java,
6119         gnu/java/nio/FloatBufferImpl.java,
6120         gnu/java/nio/IntBufferImpl.java,
6121         gnu/java/nio/LongBufferImpl.java,
6122         gnu/java/nio/PipeImpl.java,
6123         gnu/java/nio/SelectionKeyImpl.java,
6124         gnu/java/nio/SelectorImpl.java,
6125         gnu/java/nio/SelectorProviderImpl.java,
6126         gnu/java/nio/ServerSocketChannelImpl.java,
6127         gnu/java/nio/ShortBufferImpl.java,
6128         gnu/java/nio/SocketChannelImpl.java,
6129         java/nio/DoubleBuffer.java,
6130         java/nio/FloatBuffer.java,
6131         java/nio/IntBuffer.java,
6132         java/nio/LongBuffer.java,
6133         java/nio/ShortBuffer.java,
6134         java/nio/channels/FileChannel.java: New files.
6135
6136 2002-11-18  Michael Koch <konqueror@gmx.de>
6137
6138         * Makefile.am (ordinary_java_source_files):
6139         Added java/nio/ReadOnlyBufferException.java and
6140         java/nio/channels/ClosedSelectorException.java.
6141         * Makefile.in: Regenerated.
6142
6143 2002-11-18  Michael Koch <konqueror@gmx.de>
6144
6145         * java/net/PlainSocketImpl.java: Reworked imports.
6146         * java/net/ServerSocket.java
6147         (ServerSocket): Create socket.
6148         * java/net/SocketAddress.java: Documentation added.
6149         * java/net/natPlainSocketImpl.cc: Reindented.
6150         * java/nio/ReadOnlyBufferException.java: New file
6151         * java/nio/channels/ClosedChannelException.java: Documentation added.
6152         * java/nio/channels/ClosedSelectorException.java: New file.
6153
6154 2002-11-17  Mark Wielaard  <mark@klomp.org>
6155
6156         * java/net/HttpURLConnection.java ((getPermission): Take port
6157         into consideration.
6158         (getErrorStream): Implement.
6159
6160 2002-11-17  Mark Wielaard  <mark@klomp.org>
6161
6162         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6163
6164 2002-11-16  Mark Wielaard  <mark@klomp.org>
6165
6166         Integrate work by Raif S. Naffah (raif@fl.net.au)
6167         * java/security/DummyKeyPairGenerator.java (clone): New method.
6168         * java/security/DummyMessageDigest.java (clone): New method.
6169         (engineUpdate): Now public.
6170         (engineReset): Likewise.
6171         (engineDigest): Likewise.
6172         (engineGetDigestLength): New method.
6173         * java/security/DummySignature.java (clone): New method.
6174         * java/security/KeyPairGenerator.java (provider): Now package private.
6175         (getInstance(String)): Use getInstance(String,Provider).
6176         (getInstance(String,String): Use getInstance(String,Provider)
6177         (getInstance(String,Provider): New method.
6178         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6179         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6180         * java/security/MessageDigest.java (provider): Now package private.
6181         (getInstance(String): Use getInstance(String,Provider).
6182         (getInstance(String,String): Use getInstance(String,Provider)
6183         (getInstance(String,Provider): New method.
6184         * java/security/Provider.java (toCanonicalKey): New method.
6185         (get): New method that uses toCanonicalKey().
6186         (put): Use toCanonicalKey().
6187         (remove): Likewise.
6188         * java/security/Security.java (insertProviderAt): Provider index is one
6189         based, not zero based.
6190         (addProvider): Likewise.
6191         (removeProvider): Likewise.
6192         * java/security/Signature.java (provider): Now package private.
6193         (getInstance(String)): Use getInstance(String,Provider).
6194         (getInstance(String,String): Use getInstance(String,Provider)
6195         (getInstance(String,Provider): New method.
6196         (getInstance(String,String,Provider): Don't cast DummySignature.
6197
6198 2002-11-15  Tom Tromey  <tromey@redhat.com>
6199
6200         For PR libgcj/8593:
6201         * java/util/zip/GZIPInputStream.java (read): Check file size.
6202         Look in inflater for remaining input bytes.
6203         (read4): Added buf and offset arguments.
6204
6205 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6206
6207         * java/applet/AppletContext.java: Fix typo and remove redundant
6208         modifiers.
6209
6210 2002-11-14  Tom Tromey  <tromey@redhat.com>
6211
6212         * java/lang/natRuntime.cc (insertSystemProperties): Set
6213         gnu.classpath.home.
6214
6215 2002-11-13  Michael Koch <konqueror@gmx.de>
6216
6217         * java/nio/ByteBuffer.java
6218         (allocate): New method.
6219         (wrap): New method.
6220         (put): New method.
6221         (get): New method.
6222
6223 2002-11-13  Michael Koch <konqueror@gmx.de>
6224
6225         * java/nio/channels/AlreadyConnectedException.java:
6226         Removed unneeded import.
6227         (AlreadyConnectedException): Documentation added.
6228         * java/nio/channels/Pipe.java
6229         (SinkChannel.SinkChannel): Documentation added.
6230         (SinkChannel.validOps): New method.
6231         (SourceChannel.SourceChannel): Documentation added.
6232         (SourceChannel.validOps): New method.
6233         (Pipe): Documentation added.
6234         (open): Documentation added.
6235         (SinkChannel.channel): Documentation added.
6236         (SourceChannel.channel): Documentation added.
6237         * java/nio/channel/SelectableChannel.java
6238         (SelectableChannel): Documentation added.
6239         (blockingLock): Documentation added.
6240         (configureBlocking):Documentation added.
6241         (isBlocking):Documentation added.
6242         (isRegistered):Documentation added.
6243         (keyFor):Documentation added.
6244         (provider):Documentation added.
6245         (register): Documentation added.
6246         (validOps): Documentation added.
6247         * jaba/nio/channels/SelectionKey.java
6248         (SelectionKey): Documentation added.
6249         (attach): Documentation added.
6250         (attachment): Documentation added.
6251         (isAcceptable): Documentation added.
6252         (isConnetable): Documentation added.
6253         (isReadable): Documentation added.
6254         (isWritable): Documentation added.
6255         (cancel): Documentation added.
6256         (channel): Documentation added.
6257         (interestOps): Documentation added.
6258         (isValid): Documentation added.
6259         (readyOps): Documentation added.
6260         (selector): Documentation added.
6261         * jaba/nio/channels/Selector.java
6262         (Selector): Documentation added.
6263         (open): Documentation added.
6264         (close): Documentation added.
6265         (isOpen): Documentation added.
6266         (keys): Documentation added.
6267         (provider): Documentation added.
6268         (select): Documentation added.
6269         (selectedKeys): Documentation added.
6270         (selectNow): Documentation added.
6271         (wakeup): Documentation added.
6272         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6273         (AbstractInterruptibleChannel): Documentation added.
6274         (opened): Default to true;
6275         (begin): Documentation added.
6276         (close): Set opened to false, documentation added.
6277         (isOpen): Documentation added.
6278         * java/nio/channels/spi/AbstractSelectionKey.java
6279         (AbstractSelectionKey): Documentation added.
6280         (cancel): Documentation added.
6281         (isValid): Documentation added.
6282         * java/nio/channels/spi/AbstractSelector.java
6283         (AbstractSelector): Documentation added.
6284         (begin): Documentation added.
6285         (close): Documentation added.
6286         (isOpen): Documentation added.
6287         (deregister): Documentation added.
6288         (end): Documentation added.
6289         (provider): Documentation added.
6290         (implCloseSelector): Documentation added.
6291         (register): Documentation added.
6292         * java/nio/channels/spi/SelectorProvider.java
6293         (SelectorProvider): Documentation added.
6294         (openDatagramChannel): Documentation added.
6295         (openPipe): Documentation added.
6296         (openSelector): Documentation added.
6297         (openServerSocketChannel): Documentation added.
6298         (openSocketChannel): Documentation added.
6299         (provider): Documentation added.
6300
6301 2002-11-12  Michael Koch <konqueror@gmx.de>
6302
6303         * java/nio/Buffer.java: Implemented.
6304         * java/nio/CharBuffer.java: New file.
6305         * java/nio/InvalidMarkException.java: New file.
6306         * java/nio/channels/DatagramChannel.java: Implemented.
6307         * java/nio/channels/ServerSocketChannel.java: Implemented.
6308         * java/nio/channels/SocketChannel.java: Implemented.
6309         * java/nio/channels/spi/AbstractChannel.java: Removed.
6310         * java/nio/channels/spi/AbstractSelectableChannel.java:
6311         Implemented.
6312         * java/nio/charset/Charset.java:
6313         Merge from Classpath.
6314         * java/nio/charset/CharsetDecoder.java: New file.
6315         * java/nio/charset/CharsetEncoder.java: New file.
6316         * java/nio/charset/CoderResult.java: New file.
6317         * Makefile.am (ordinary_java_source_files): Added new files.
6318         * Makefile.in: Regenerated.
6319
6320 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6321
6322         * gnu/java/nio/charset/ISO_8859_1.java,
6323         gnu/java/nio/charset/Provider.java,
6324         gnu/java/nio/charset/US_ASCII.java,
6325         gnu/java/nio/charset/UTF_16.java,
6326         gnu/java/nio/charset/UTF_16BE.java,
6327         gnu/java/nio/charset/UTF_16Decoder.java,
6328         gnu/java/nio/charset/UTF_16Encoder.java,
6329         gnu/java/nio/charset/UTF_16LE.java,
6330         gnu/java/nio/charset/UTF_8.java: New files.
6331
6332 2002-11-11  Michael Koch <konqueror@gmx.de>
6333
6334         * java/nio/charset/CharacterCodingException.java:
6335         This class must be public.
6336         * java/nio/charset/CoderMalfunctionError.java:
6337         This class must be public.
6338         * java/nio/charset/CodingErrorAction.java:
6339         This class must be public.
6340         * java/nio/charset/IllegalCharsetNameException.java:
6341         This class must be public, better implementation.
6342         * java/nio/charset/MalformedInputException.java:
6343         This class must be public, better implementation.
6344         * java/nio/charset/UnmappableCharacterException.java:
6345         This class must be public, better implementation.
6346         * java/nio/charset/UnsupportedCharsetException.java:
6347         This class must be public, better implementation.
6348
6349 2002-11-11  Michael Koch <konqueror@gmx.de>
6350
6351         * java/nio/BufferOverflowException.java,
6352         java/nio/BufferUnderflowException.java: New file.
6353         * Makefile.am (ordinary_java_source_files):
6354         Added new files.
6355         * Makefile.in: Regenerated.
6356
6357 2002-11-10  Tom Tromey  <tromey@redhat.com>
6358
6359         * java/awt/Container.java (validate): Use tree lock.
6360         (getComponent): Likewise.
6361         (getComponents): Likewise.
6362         (addImpl): Likewise.
6363         (remove): Likewise.
6364         (removeAll): Likewise.
6365         (processEvent): Fixed indentation.
6366         (getComponentAt): Use tree lock.
6367         (findComponentAt): Likewise.
6368         (removeNotify): Likewise.
6369         (isAncestorOf): Likewise.
6370         (list): Likewise.
6371         (visitChildren): Likewise.
6372         (findNextFocusComponent): Likewise.
6373         (addNotifyContainerChildren): Likewise.
6374         (getAccessibleChildrenCount): Likewise.
6375         (getAccessibleChild): Likewise.
6376
6377         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6378         (getSize): Likewise.
6379         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6380         (getSize): Likewise.
6381         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6382         (calcSize): Likewise.
6383         * java/awt/CardLayout.java (getSize): Use tree lock.
6384         (gotoComponent): Likewise.
6385         (layoutContainer): Likewise.
6386
6387         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6388         count is 0.
6389         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6390         count is 0.
6391
6392         * java/io/Externalizable.java, java/io/FilePermission.java,
6393         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6394         java/io/SerializablePermission.java, java/text/Format.java,
6395         java/util/AbstractMap.java, java/util/HashMap.java,
6396         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6397         versions from Classpath.
6398
6399 2002-11-10  Anthony Green  <green@redhat.com>
6400
6401         * java/util/jar/Attributes.java (Name): Fix name check.
6402
6403 2002-11-10  Mark Wielaard  <mark@klomp.org>
6404
6405         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6406         with getName() as message.
6407         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6408         type as message.
6409
6410         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6411         unused.
6412
6413 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6414
6415         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6416         for Win32. JNICALL has been defined to __stdcall to be compatible
6417         with Sun's JDKs.
6418
6419 2002-11-10  Tom Tromey  <tromey@redhat.com>
6420
6421         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6422         (setRows): Check newRows, not rows.
6423
6424         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6425
6426 2002-11-09  Tom Tromey  <tromey@redhat.com>
6427
6428         * java/applet/Applet.java, java/applet/AppletContext.java,
6429         java/applet/AppletStub.java, java/applet/AudioClip.java,
6430         java/awt/CardLayout.java,
6431         java/awt/ContainerOrderFocusTraversalPolicy.java,
6432         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6433         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6434         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6435         java/awt/color/ICC_ColorSpace.java,
6436         java/awt/color/ICC_Profile.java,
6437         java/awt/color/ICC_ProfileGray.java,
6438         java/awt/color/ICC_ProfileRGB.java,
6439         java/awt/datatransfer/DataFlavor.java,
6440         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6441         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6442         New versions from Classpath.
6443         * Makefile.in: Rebuilt.
6444         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6445         ICC_ProfileRGB.
6446
6447         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6448         display policy.
6449
6450         * java/awt/List.java (processEvent): Added missing `else's.
6451
6452         * java/awt/Window.java (show): validate() before showing.  Make
6453         parent displayable.
6454         (isDisplayable): New method.
6455
6456 2002-11-07  Mark Wielaard  <mark@klomp.org>
6457
6458         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6459         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6460
6461         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6462         annotation.
6463         (loadClass): Take String as codebases.
6464         (getClassAnnotation): Use MyClassLoader annotations.
6465         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6466         call exportObject(this).
6467
6468         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6469         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6470         (setAnnotation): Don't set locBytesStream and locStream.
6471         (replaceObject): Removed.
6472         (flush): Don't test locStream.
6473         (getLocBytes): LikeWise.
6474         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6475         (leaseCache): New field.
6476         (dirty): Use leaseCache.
6477         (LeaseRecord): New inner class.
6478         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6479         explicitly call exportObject().
6480         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6481         false to communicate with Sun JDK130.
6482         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6483         * gnu/java/rmi/server/RMIObjectInputStream.java
6484         (UnicastConnectionManager): Removed field.
6485         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6486         Use UnicastServer.getExportedRef().
6487         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6488         (expireTime): Likewise.
6489         (CONNECTION_TIMEOUT): Likewise.
6490         (disconnect): Call sock.close().
6491         (isExpired): New method.
6492         (resetTime): Likewise.
6493         (run): Use do while loop and catch Exception for discardConnection().
6494         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6495         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6496         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6497         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6498         (exportObject): Use refcache.
6499         (unexportObject): Likewise.
6500         (getExportedRef): New method.
6501         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6502         constructor.
6503         (exportObject): Save manager.serverobj.
6504         (getStub): New method.
6505
6506 2002-11-07  Mark Wielaard  <mark@klomp.org>
6507
6508         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6509         (getByte): Likewise.
6510         (getShort): Likewise.
6511         (getInt): Likewise.
6512         (getLong): Likewise.
6513         (getFloat): Likewise.
6514         (getDouble): Likewise.
6515         (get): Likewise.
6516         (setChar): Likewise.
6517         (setByte): Likewise.
6518         (setShort): Likewise.
6519         (setInt): Likewise.
6520         (setLong): Likewise.
6521         (setFloat): Likewise.
6522         (setDouble): Likewise.
6523
6524 2002-11-07  Michael Koch <konqueror@gmx.de>
6525
6526         * java/awt/Choice.java,
6527         java/awt/Container.java,
6528         java/awt/GridBagLayout.java:
6529         Fixed documentation.
6530         * java/awt/peer/ContainerPeer.java:
6531         Reindented.
6532
6533 2002-11-07  Michael Koch <konqueror@gmx.de>
6534
6535         * java/awt/color/ICC_Profile.java:
6536         Added missing constants.
6537         * java/awt/color/ICC_ColorSpace.java
6538         (getMinValue): Added dummy implementation.
6539         (getMaxValue): Added dummy implementation.
6540         * java/awt/datatransfer/DataFlavor.java
6541         (imageFlavor): Added.
6542         (isMimeTypeEqual): Must be final.
6543         (getDefaultRepresentationClass): Must be non-static.
6544         (getDefaultRepresentationClassAsString): Must be non-static.
6545         * java/awt/dnd/DragSourceContext.java
6546         (dragExit): Corrected argument.
6547         (dragDropEnd): Corrected argument.
6548         * java/awt/dnd/DragSourceListener.java.java
6549         (dragExit): Corrected argument.
6550         (dragDropEnd): Corrected argument.
6551         * java/awt/font/TextHitInfo.java
6552         (toString): Added stubbed implementation.
6553         * java/awt/geom/PathIterator.java:
6554         The constants must be static.
6555         * java/awt/image/VolatileImage.java
6556         (IMAGE_INCOMPATIBLE): Fixed typo.
6557         * java/awt/image/renderable/RenderableImage.java
6558         (HINTS_OBSERVED): Must be static.
6559         * java/beans/BeanInfo.java:
6560         Constants must be final.
6561
6562 2002-11-06  Tom Tromey  <tromey@redhat.com>
6563
6564         From svens@it.uu.se.  For PR libgcj/8481.
6565         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6566
6567 2002-11-06  Tom Tromey  <tromey@redhat.com>
6568
6569         * jni.cc (array_from_valist): Assume that jlong won't be
6570         promoted.
6571
6572 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6573
6574         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6575         Return 20.
6576         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6577         Return 16.
6578
6579 2002-11-03  Tom Tromey  <tromey@redhat.com>
6580
6581         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6582         VMClassLoader, not findClass.
6583
6584 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6585
6586         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6587         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6588         _Jv_DetermineVTableIndex, to determine vtable offset.
6589         (_Jv_DetermineVTableIndex): Remove.
6590         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6591
6592         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6593
6594 2002-11-03  Tom Tromey  <tromey@redhat.com>
6595
6596         * java/nio/channels/AlreadyConnectedException.java: Extend
6597         IllegalStateException, per spec.
6598
6599 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6600
6601         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6602
6603 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6604
6605         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6606         size items.
6607
6608 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6609
6610         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6611         initial estimated size to avoid enlarge buffer frequently.
6612
6613 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6614
6615         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6616         ClassLoader when null.
6617         (ProxyType.hashCode): Loader null check no longer needed.
6618         (ProxyType.sameTypes): New method.
6619         (ProxyType.equals): Use new method.
6620
6621 2002-10-31  Mark Wielaard  <mark@klomp.org>
6622
6623         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6624         length of String.
6625         * java/net/URLEncoder.java (encode): Likewise.
6626
6627 2002-10-31  Mark Wielaard  <mark@klomp.org>
6628
6629         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6630         when stream is closed.
6631         (closeEntry): Likewise.
6632         (read): Likewise.
6633         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6634         ZipException when no entry active.
6635         (closeEntry): Likewise.
6636         (write): Likewise.
6637
6638 2002-11-02  Tom Tromey  <tromey@redhat.com>
6639
6640         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6641         * java/lang/natClass.cc (initializeClass): Don't return just
6642         because self==thread.
6643
6644         For PR java/8415:
6645         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6646         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6647
6648 2002-11-02  Andreas Schwab  <schwab@suse.de>
6649
6650         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6651         pass GCJFLAGS.
6652         (FLAGS_TO_PASS): Define.
6653         * Makefile.in: Regenerated.
6654
6655 2002-11-01  Michael Koch  <konqueror@gmx.de>
6656
6657         * java/nio/ByteOrder.java: New file.
6658         * java/nio/channels/DatagramChannel.java:
6659         (DatagramChannel): New constructor.
6660         * java/nio/channels/Pipe.java: New file.
6661         * java/nio/channels/SelectableChannel.java: New file.
6662         * java/nio/channels/SelectionKey.java: New file.
6663         * java/nio/channels/Selector.java: New file.
6664         * java/nio/channels/ServerSocketChannel.java
6665         (ServerSocketChannel): New constructor.
6666         * java/nio/channels/SocketChannel.java
6667         (SocketChannel): New constructor.
6668         * java/nio/channels/Pipe.java: New file.
6669         * java/nio/channels/spi/AbstractChannel.java: New file.
6670         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6671         * java/nio/channels/spi/AbstractSelectableChannel.java:
6672         License added
6673         (AbstractSelectableChannel): New stubbed method.
6674         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6675         * java/nio/channels/spi/AbstractSelector.java: New file.
6676         * java/nio/channels/spi/SelectorProvider.java: New file.
6677         * java/nio/charset/Charset.java: New file.
6678         * java/nio/charset/CoderMalfunctionError.java: New file.
6679         * java/nio/charset/CodingErrorAction.java: New file.
6680         * java/nio/charset/spi/CharsetProvider.java
6681         (charsetForName): Uncommented.
6682         * Makefile.am (java_native_source_files): Added new files.
6683         * Makefile.in: Regenerated.
6684
6685 2002-11-01  Michael Koch  <konqueror@gmx.de>
6686
6687         * java/net/InetAddress.java:
6688         (isAnyLocalAddress): Implemented.
6689         (isLoopbackAddress): Implemented, comment added.
6690         (isLinkLocalAddress): Implemented, documentation added.
6691         (isSiteLocalAddress): Implemented, documentation added.
6692         (isMCGlobal): Implemented, documentation added.
6693         (isMCNodeLocal): Implemented, documentation added.
6694         (isMCLinkLocal): Implemented, documentation added.
6695         (isMCSiteLocal): Implemented, documentation added.
6696         (isMCOrgLocal): Implemented, documentation added.
6697         (getHostName): Documentation added.
6698         (getCanonicalHostName): Implemented, documentation added.
6699         (getAddress): Documentation added.
6700         (hashCode): Documentation added.
6701         (equals): Documentation added.
6702         (toString): Fixed implementation.
6703         (getByAddress): Use Inet4Address and Inet6Address.
6704         (lookup): New linewrap.
6705         (getByName): SecurityManager check added, support Inet4Address and
6706         Inet6address, comments added.
6707         (getAllByName): SecurityManager check added, comments added.
6708         * java/net/Inet6Address.java:
6709         (Inet6Address): Initialize parent class with addr instead of null.
6710         * java/net/URL.java
6711         (equals): Documentation added.
6712         (getFile): Documentation added.
6713         (hashCode): Documentation added.
6714         * java/net/natInetAddress.cc:
6715         (aton): Fix IPv6 support.
6716         * java/net/natPlainDatagramSocketImpl.cc:
6717         (peek): Throw PortUnreachableException when suitable.
6718         (peekData): Throw PortUnreachableException when suitable.
6719         (send): Throw PortUnreachableException when suitable.
6720         (receive): Throw PortUnreachableException when suitable.
6721
6722 2002-10-27  Mark Wielaard  <mark@klomp.org>
6723
6724         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6725         argument.
6726         (readLeShort): Likewise and use byte[].
6727         (readLeInt): Likewise.
6728         (readEntries): Use new versions of methods and use byte[] for reading
6729         a complete zip entry. Add ZipFile name to exceptions.
6730         (entries): Add ZipFile name to exceptions.
6731         (getEntry): Likewise.
6732         (checkLocalHeader): Use new versions of methods and add ZipFile name
6733         to exceptions.
6734
6735 2002-10-31  Mark Anderson  <mark@panonet.net>
6736
6737         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6738         added
6739
6740 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6741
6742         * configure.in: Disable hash sync when not using threads.
6743         * configure: Regenerated.
6744
6745 2002-10-24  Tom Tromey  <tromey@redhat.com>
6746
6747         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6748         (_Jv_FindSymbolInExecutable): Removed argument name.
6749         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6750         java.library.path is set.
6751
6752         * gij.cc (help): Document --showversion.
6753         (version): Don't exit.
6754         (main): Handle --showversion.  Exit if --version given.
6755
6756 2002-10-23  Tom Tromey  <tromey@redhat.com>
6757
6758         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6759         (array_from_valist): Correctly handle promotion for jint, jlong,
6760         jfloat, and jdouble.
6761
6762 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6763
6764         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6765         GetFileAttributesEx( ) to find file length and modification times,
6766         as the latter is not present on Windows 95.
6767
6768 2002-10-21  Michael Koch  <konqueror@gmx.de>
6769
6770         * java/net/URL.java
6771         (URL): Activate SecurityManager checks.
6772         (equals): Use URLStreamHandler implementation instead of doing it
6773         alone. This allows special protocol stream handlers to change default
6774         behaviour.
6775         (hashCode): Use URLStreamHandler implementation instead of doing it
6776         alone. This allows special protocol stream handlers to change default
6777         behaviour.
6778         * java/net/URLStreamHandler.java
6779         (equals): Implemented default URL equality check.
6780         (hostsEqual): Implemented default URL equality check.
6781         (hashCode): Implemented default URL hashCode algorithm.
6782         * java/net/natPlainDatagramSocketImpl.cc:
6783         No lines longer then 80 characters.
6784
6785 2002-10-20  Adam Megacz <adam@xwt.org>
6786
6787         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6788         * configure.in: enabled hash sync on Win32
6789         * include/win32-threads.h (_Jv_ThreadId_t): added.
6790         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6791         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6792         removed some posix-isms, use Thread::sleep() instead of usleep,
6793         added code to clear bottom three bits if platform has a broken
6794         linker.
6795         * include/win32-threads.h (_Jv_ThreadId_t): added.
6796
6797 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6798
6799         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6800         runtime property "gnu.gcj.progname" containing the name used to
6801         invoke the current Java program (similar to argv[0] for C
6802         programs).
6803
6804 2002-10-15  Tom Tromey  <tromey@redhat.com>
6805
6806         Fix for PR libgcj/8234:
6807         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6808         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6809
6810 2002-10-13  Mark Wielaard  <mark@klomp.org>
6811
6812         * mauve-libgcj: Enable Mauve tests that compile now.
6813
6814 2002-10-11  Mark Wielaard  <mark@klomp.org>
6815
6816         Fix for PR libgcj/8142
6817         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6818         loading native modules.
6819
6820 2002-10-10  Michael Koch  <konqueror@gmx.de>
6821
6822         * javax/swing/AbstractListModel.java
6823         (getListDataListeners): New stubbed method.
6824         javax/swing/DefaultBoundedRangeModel.java
6825         (getChangeListeners): New stubbed method.
6826         javax/swing/DefaultSingleSelectionModel.java
6827         (getChangeListeners): New stubbed method.
6828
6829 2002-10-10  Michael Koch  <konqueror@gmx.de>
6830
6831         * gcj/.cvsignore: New file to ignore files generated during build.
6832         * include/.cvsignore: New file to ignore files generated during build.
6833
6834 2002-10-10  Michael Koch  <konqueror@gmx.de>
6835
6836         * java/net/HttpURLConnection.java
6837         (getPermission): New method.
6838         (getErrorStream): New stub method.
6839         (getHeaderFieldDate): New stub method.
6840         * java/net/Inet4Address.java:
6841         (isLinkLocalAddress): Typo fixed.
6842         * java/net/InetAddress.java:
6843         (readResolve): New stubbed method (for serialization).
6844         (isAnyLocalAddress): New stubbed method.
6845         (isLoopbackAddress): New stubbed method.
6846         (isLinkLocalAddress): New stubbed method.
6847         (isSiteLocalAddress): New stubbed method.
6848         (isMCGlobal): New stubbed method.
6849         (isMCNodeGlobal): New stubbed method.
6850         (isMCLinkLocal): New stubbed method.
6851         (isMCSiteLocal): New stubbed method.
6852         (isMCOrgLocal): New stubbed method.
6853         (getCanonicalHostName): New stubbed method.
6854         (getByAddress): Create instances of Inet4Address/Inet6Address,
6855         instead of InetAddress, documentation added.
6856         * java/net/MulticastSocket.java
6857         (getInterface): Removed FIXME.
6858         (getNetworkInterface): New method.
6859         (setNetworkInterface): New method.
6860         * java/net/NetworkInterface.java:
6861         (toString): Use property "line.separator" instead of "\n".
6862         * java/net/URLConnection.java
6863         (getContent): New stubbed method.
6864         * java/net/URLStreamHandler.java:
6865         (equals): New stubbed method.
6866         (hostsEqual): New stubbed method.
6867         (hashCode): New stubbed method.
6868         * java/net/natNetworkInterface.cc:
6869         (getRealNetworkInterfaces): Create Inet4Address object
6870         instead of InetAddress.
6871
6872 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6873
6874         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6875         unsigned long temporary to implement insn_iushr shifts.
6876
6877 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6878
6879         * configure.host [s390*-*]: Enable Java interpreter.
6880         Enable hash synchronization.  Add sysdeps dir.
6881         * sysdep/s390/locks.h: New file.
6882
6883 2002-10-06  Mark Wielaard  <mark@klomp.org>
6884
6885         * java/lang/Thread.java (setDaemon): Check startable_flag,
6886         not isAlive().
6887
6888 2002-10-07  Michael Koch  <konqueror@gmx.de>
6889
6890         * java/nio/Buffer.java: New stub file.
6891         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6892         of class Charset.
6893         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6894         * Makefile.in: Regenerated.
6895
6896 2002-10-07  Michael Koch  <konqueror@gmx.de>
6897
6898         * java/nio/ByteBuffer.java:
6899         removed import of not commited class.
6900
6901 2002-10-07  Michael Koch  <konqueror@gmx.de>
6902
6903         * java/nio/ByteBuffer.java,
6904         java/nio/MappedByteBuffer.java:
6905         New files, forgot to add these dummies.
6906         * Makefile.am (java_native_source_files): Added new files.
6907         * Makefile.in: Regenerated.
6908
6909 2002-10-07  Michael Koch  <konqueror@gmx.de>
6910
6911         * java/nio/channels/AlreadyConnectedException.java,
6912         java/nio/channels/ClosedChannelException.java,
6913         java/nio/channels/ReadableByteChannel.java,
6914         java/nio/channels/InterruptibleChannel.java,
6915         java/nio/channels/Channel.java,
6916         java/nio/channels/ByteChannel.java,
6917         java/nio/channels/GatheringByteChannel.java,
6918         java/nio/channels/ScatteringByteChannel.java,
6919         java/nio/channels/WritableByteChannel.java,
6920         java/nio/charset/CharacterCodingException.java,
6921         java/nio/charset/IllegalCharsetNameException.java,
6922         java/nio/charset/MalformedInputException.java,
6923         java/nio/charset/UnmappableCharacterException.java,
6924         java/nio/charset/UnsupportedCharsetException.java,
6925         java/nio/charset/spi/CharsetProvider.java: New file.
6926         These files are exceptions or interfaces,
6927         no real or abstract classes.
6928         * Makefile.am (java_native_source_files): Added new files.
6929         * Makefile.in: Regenerated.
6930
6931 2002-10-05  Michael Koch  <konqueror@gmx.de>
6932
6933         * java/net/InetAddress.java
6934         (getByAddress): Fixed documentation.
6935         (getByAddress): New method.
6936         * java/net/Inet4Address.java: New file.
6937         * java/net/URL.java
6938         (URL): Documentation added.
6939         (getContent): Documentation added.
6940         (getContent): New stubbed method.
6941         (getQuery): New method.
6942         (openConnection): Documentation added.
6943         (openStream): Documentation added.
6944         (setURLStreamHandlerFactory): Documentation added.
6945         * java/net/URI.java: New stub file.
6946         * Makefile.am
6947         (java_native_source_files): Added java/net/Inet4Address.java,
6948         java/net/Inet6Address.java and java/net/URI.java.
6949         * Makefile.in: Regenerated.
6950
6951 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6952
6953         * java/lang/ProtectionDomain.java (linesep): Remove field.
6954         (toString): Use System.getProperty("line.separator").
6955
6956 2002-10-04  Michael Koch  <konqueror@gmx.de>
6957
6958         * java/security/Identity.java: Added serialVersionUID.
6959         * java/security/KeyPair.java: Added serialVersionUID.
6960         * java/security/Provider.java: Added serialVersionUID.
6961         * java/security/SecureRandom.java: Added serialVersionUID.
6962         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6963         * java/security/SignedObject.java: Added serialVersionUID.
6964         * java/security/cert/Certificate.java: Added serialVersionUID.
6965
6966 2002-10-04  Mark Wielaard <mark@klomp.org>
6967
6968         * java/security/Security.java: Use java.home or gnu.classpath.home
6969         to load providers.
6970         (loadProviders): Extra dir argument.
6971         (getProvider): Return null when not found.
6972
6973 2002-10-04  Mark Wielaard  <mark@klomp.org>
6974
6975         * java/lang/Throwable.java: Remerge with Classpath.
6976
6977 2002-10-04  Michael Koch  <konqueror@gmx.de>
6978
6979         * java/net/InetAddress.java:
6980         (isMulticastAddress): Added documentation.
6981         (getHostAddress): Added documentation.
6982         (toString): Added documentation.
6983         (getByAddress): Fixed documentation.
6984         (getByName): Added documentation.
6985         (getAllByName): Added documentation.
6986         (getLocalHost): Added documentation.
6987
6988 2002-10-04  Michael Koch  <konqueror@gmx.de>
6989
6990         * java/beans/beancontext/BeanContextChildSupport.java:
6991         Added serialVersionUID.
6992         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6993         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6994         * javax/naming/Name.java: Added serialVersionUID.
6995
6996 2002-10-03  Adam Megacz <adam@xwt.org>
6997
6998         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6999         some functionality that isn't supported yet on WIN32.
7000
7001 2002-10-03  Tom Tromey  <tromey@redhat.com>
7002
7003         * Makefile.in: Rebuilt.
7004         * Makefile.am (awt_java_source_files): Added new files.
7005
7006 2002-10-03  Michael Koch  <konqueror@gmx.de>
7007
7008         * java/net/InetAddress.java
7009         (class InetAddress): Removed final keyword.
7010         (equals): Fixed typo.
7011         (getByAddress): New method.
7012
7013 2002-10-03  Michael Koch  <konqueror@gmx.de>
7014
7015         * java/awt/dnd/Autoscroll.java:
7016         New file, merge from Classpath.
7017         * java/awt/dnd/DragSourceAdapter.java:
7018         (dragExit): Fixed typos in argument type.
7019         (dragDropEnd): Fixed typos in argument type.
7020         * java/awt/dnd/DragSourceDropEvent.java:
7021         New file, merge from Classpath.
7022         * java/awt/dnd/DropTarget.java:
7023         Added stubs, merge from Classpath.
7024         * java/awt/dnd/DropTargetAdapter.java:
7025         New file, merge from Classpath.
7026         * java/awt/dnd/DropTargetContext.java:
7027         New file, merge from Classpath.
7028         * java/awt/dnd/DropTargetDragEvent.java:
7029         New file, merge from Classpath.
7030         * java/awt/dnd/DropTargetDropEvent.java:
7031         New file, merge from Classpath.
7032         * java/awt/dnd/DropTargetEvent.java:
7033         New file, merge from Classpath.
7034         * java/awt/dnd/DropTargetListener.java:
7035         New file, merge from Classpath.
7036         * java/awt/dnd/MouseDragGestureRecognizer.java:
7037         New file, merge from Classpath.
7038         * java/awt/dnd/peer/DropTargetContextPeer.java:
7039         New file, merge from Classpath.
7040
7041 2002-10-03  Michael Koch  <konqueror@gmx.de>
7042
7043         * java/net/DatagramPacket.java
7044         (setLength): Fixed typo and be HTML-aware.
7045         * java/net/InetSocketAddress.java
7046         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7047         (equals): Added comment about equality of InetSocketAddress objects.
7048         * java/net/ServerSocket.java
7049         (accept): Added checks.
7050         (isClosed): New stubbed method.
7051         * java/net/SocketOptions.java: Reindention.
7052         * java/net/SocketPermission
7053         (SocketPermission): Documentation fixed.
7054
7055 2002-10-03  Michael Koch  <konqueror@gmx.de>
7056
7057         * java/net/DatagramSocket.java
7058         (receive): Check with SecurityManager AFTER the packet is received,
7059         check if connected to multicast address, documentation added.
7060         (send): Only check SecurityManager if connected, check address of
7061         packet to send.
7062         (connect): Implemented, documentation added.
7063         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7064         * java/net/InetSocketAddress.java
7065         (whole file): Reindented.
7066         (hostname): New attribute.
7067         (InetSocketAddress): Initialize new attribute.
7068         (getAddress): Documentation added.
7069         (getHostName): Documentation added.
7070         (getPort): Documentation added.
7071         (hashCode): Documentation added.
7072         (isUnresolved): Documentation added.
7073         (toString): Conform to output of JDK 1.4.1, documentation added.
7074         * java/net/MulticastSocket.java
7075         (joinGroup): Removed FIXME, documentation added.
7076         (leaveGroup): Removed FIXME, documentation added.
7077         (send): Documentation added.
7078         * java/net/Socket.java
7079         (inputShutdown): New variable.
7080         (outputShutdown): New variable.
7081         (Socket): Initialize new variables.
7082         (getRemoteSocketAddress): Check if connected.
7083         (shutdownInput): Set new variable.
7084         (shutdownOutput): Set new variable.
7085         (isConnected): New method.
7086         (isClosed): New method.
7087         (isInputShutdown): New method.
7088         (isOutputShutdown): New method.
7089         * java/net/URLStreamHandler.java
7090         (URLStreamHandler): New method.
7091         (openConnection): Added documentation.
7092         (parseURL): Added documentation.
7093         (getHostAddress): New method.
7094         (getDefaultPort): New method.
7095
7096 2002-10-02  Tom Tromey  <tromey@redhat.com>
7097
7098         * java/rmi/activation/ActivationDesc.java,
7099         java/rmi/activation/ActivationGroupDesc.java,
7100         java/rmi/activation/ActivationGroupID.java,
7101         java/rmi/activation/ActivationID.java: New versions from
7102         Classpath.
7103
7104 2002-09-30  Bo Thorsen  <bo@suse.de>
7105
7106         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7107
7108 2002-09-30  Tom Tromey  <tromey@redhat.com>
7109
7110         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7111         from Classpath.
7112         * Makefile.in: Rebuilt.
7113         * Makefile.am (rmi_java_source_files): Added new files.
7114         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7115         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7116         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7117         Classpath.
7118         * gnu/java/rmi/dgc/DGCImpl.java,
7119         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7120         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7121         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7122         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7123         gnu/java/rmi/server/RMIHashes.java,
7124         gnu/java/rmi/server/RMIObjectInputStream.java,
7125         gnu/java/rmi/server/RMIObjectOutputStream.java,
7126         gnu/java/rmi/server/UnicastConnection.java,
7127         gnu/java/rmi/server/UnicastConnectionManager.java,
7128         gnu/java/rmi/server/UnicastRef.java,
7129         gnu/java/rmi/server/UnicastServer.java,
7130         gnu/java/rmi/server/UnicastServerRef.java,
7131         java/rmi/MarshalledObject.java,
7132         java/rmi/server/RMIClassLoader.java,
7133         java/rmi/server/RemoteObject.java,
7134         java/rmi/server/UnicastRemoteObject.java,
7135         java/security/SecureClassLoader.java: Merged from Classpath.
7136
7137 2002-09-29  Anthony Green  <green@redhat.com>
7138
7139         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7140         Imported from GNU Classpath.
7141         * java/lang/reflect/natProxy.cc: New file.
7142         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7143         from GNU Classpath.
7144         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7145         Classpath.
7146         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7147         Classpath.
7148         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7149         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7150         New statics.
7151         * gcj/javaprims.h ("Java"): Add new classes.
7152         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7153         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7154         java/lang/reflect/Proxy$$ProxyType.h): And this.
7155         (inner_nat_headers): Add these new headers.
7156         (ordinary_java_source_files): Add new files.
7157         (nat_source_files): Add new file.
7158         * Makefile.in: Rebuilt.
7159
7160 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7161
7162         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7163         a single configuration.
7164
7165 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7166
7167         * java/util/TimeZone.java (getDSTSavings): New method.
7168         Fixes PR libgcj/7786.
7169
7170 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7171
7172         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7173         to see if `the_method == 0' before looking up vtable index.
7174         Fixes PR libgcj/7709.
7175
7176 2002-09-25  Tom Tromey  <tromey@redhat.com>
7177
7178         * java/lang/natClassLoader.cc:
7179         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7180         * resolve.cc: Include NoClassDefFoundError.h, not
7181         ClassNotFoundException.h.
7182         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7183
7184         * defineclass.cc: Don't include ClassNotFoundException.h.
7185
7186         * resolve.cc: Include StringBuffer.
7187         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7188
7189         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7190         allocated but not initialized.
7191
7192 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7193
7194         Fix for PR libgcj/7766:
7195         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7196         (getNextEntry): Set it.
7197         (closeEntry): Likewise.
7198         (read): Likewise.
7199         (close): Likewise.
7200         (available): Use it.
7201
7202 2002-09-25  Michael Koch  <konqueror@gmx.de>
7203
7204         * java/net/DatagramSocket.java
7205         (DatagramSocket): Initialize new instance variables.
7206         (close): Reset new instance variables.
7207         (getLocalAddress): Remove unneeded SecurityManager usage.
7208         (getLocalPort): Check if socket is already bound.
7209         (isConnected): New method.
7210         (getInetAddress): Implemented.
7211         (getPort): Better Implementation, documentation fixed.
7212         (getRemoteSocketAddress): New method.
7213         * java/net/JarURLConnection.java
7214         (element): Typo fixed.
7215         (getMainAttributes): New method.
7216         (getAttributes): New method (stub only).
7217         (getManifest): New method (stub only).
7218         * java/net/NetPermission.java: Added serialVersionsUID.
7219         * java/net/Socket.java
7220         (connect): Check blocking mode of associated channel,
7221         documentation added.
7222         (getLocalSocketAddress): Better implementation.
7223         (getRemoteSocketAddress): Implemented.
7224         (isBound): New method.
7225         (setSendBufferSize): Documentation added.
7226         * java/net/SocketAddress.java: Added serialVersionsUID.
7227         * java/net/SocketPermission.java: Added serialVersionsUID.
7228         * java/net/URL.java
7229         (URL): Wrap for shorter lines, initialize new instance variables,
7230         documentation added.
7231         (equals): Check new instance variables too.
7232         (getContent): Documentation added.
7233         (getPath): Documentation added.
7234         (getAuthority): New method.
7235         (getHost): Documentation added.
7236         (getPort): Documentation added.
7237         (getDefaultPort): New method.
7238         (getProtocol): Documentation added.
7239         (getUserInfo): Documentation added.
7240         (set): Initialize new instance variables, documentation added.
7241         * java/net/URLStreamHandler.java
7242         (setURL): New method.
7243         * java/net/natPlainDatagramSocketImpl.cc
7244         (connect): Fix exception name.
7245         (disconnect): Fix exception name.
7246
7247 2002-09-25  Michael Koch  <konqueror@gmx.de>
7248
7249         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7250         * java/nio/channels/DatagramChannel.java:
7251         extends AbstractSelectableChannel
7252         * java/nio/channels/ServerSocketChannel.java:
7253         extends AbstractSelectableChannel
7254         * java/nio/channels/SocketChannel.java:
7255         extends AbstractSelectableChannel
7256         * Makefile.am (ordinary_java_source_files):
7257         java/nio/channels/spi/AbstractSelectableChannel.java added.
7258         * Makefile.in: Regenerated.
7259
7260 2002-09-25  Michael Koch  <konqueror@gmx.de>
7261
7262         * java/net/DatagramSocket.java
7263         (DatagramSocket): Exception documentation added.
7264         (bind): Exception documentation added, addded SecurityManager check,
7265         added SocketAddress type check.
7266         (getSoTimeout): Check impl.
7267         (receive): Fix SecurityManager check, check impl, documentation added.
7268         (send): Check channel mode, documentation added.
7269         (connect): New method.
7270         (disconnect): Implemented.
7271         (getLocalSocketAddress): New method.
7272         (getReceiveBufferSize): Check impl.
7273         (setReuseAddress): Check impl.
7274         (getReuseAddress): Check impl.
7275         (setBroadcast): Check impl.
7276         (getBroadcast): Check impl.
7277         (setTrafficClass): Check impl, Documentation cleared.
7278         (getTrafficClass): Check impl.
7279         (getSendBufferSize): Check impl.
7280         (setReceiveBufferSize): Check impl, documentation added.
7281         (setSendBufferSize): Documentation added.
7282         (setDatagramSocketImplFactory): New method.
7283         * java/net/HttpURLConnection.java
7284         (HTTP_INTERNAL_ERROR): The correct code is 500.
7285         (HTTP_NOT_IMPLEMENTED): Added new constant.
7286         (setFollowRedirects): Documentation added.
7287         (getInstanceFollowRedirects): New method.
7288         (setInstanceFollowRedirects): New method.
7289         (setRequestMethod): Documentation added.
7290         (getResponseCode): Documentation added.
7291         (getResponseMessage): Documentation added.
7292         * java/net/JarURLConnection.java
7293         (JarURLConnection): protected since JDK 1.4.
7294         (getJarEntry): java.io.IOException to IOException, documentation added.
7295         (getJarFile): Documentation added.
7296         * java/net/ServerSocket.java
7297         (ServerSocket): Private to public, exception added.
7298         (ServerSocket): java.io.IOException to IOException, documentation added.
7299         (bind): Check socket address type, documentation added.
7300         (bind): java.io.IOException to IOException, documentation added.
7301         (accept): Documentation added.
7302         (implAccept): Check ch is not non-blocking, documentation added.
7303         (setSoTimeout): Documentation fixed.
7304         (setReceiveBufferSize): Documentation added.
7305         * java/net/Socket.java
7306         (Socket): Documentation added.
7307         (bind): Documentation added.
7308         (connect): Check socket address type, documentation added.
7309         (getRemoteSocketAddress): New method.
7310         (getLocalSocketAddress): New method.
7311         (setSoLinger): Documentation added.
7312         (getReuseAddress): New method.
7313         (setReuseAddress): New method.
7314         (getTrafficClass): New method.
7315         (setTrafficClass): New method.
7316         * java/net/URLStreamHandler.java
7317         (openConnection): java.io.IOException to IOException.
7318         (parseURL): Documentation added.
7319         (sameFile): public to protected, documentation added.
7320         (setURL): Documentation added.
7321         * java/nio/IllegalBlockingModeException.java: New file.
7322         * Makefile.am (ordinary_java_source_files):
7323         added java/nio/IllegalBlockingModeException.java
7324         * Makefile.in: Regenerated.
7325
7326 2002-09-25  Michael Koch  <konqueror@gmx.de>
7327
7328         * java/net/DatagramPacket
7329         (DatagramPacket): Exception documentation added.
7330         (setData): Likewise.
7331         (setSocketAddress): Likewise.
7332         * java/net/DatagramSocketImpl.java
7333         (peek): Documentation addded.
7334         (peekData): Documentation addded.
7335         (send): Documentation addded.
7336         (receive): Documentation addded.
7337         (connect): New method.
7338         (disconnect): New method.
7339         (joinGroup): New abstract method.
7340         (leaveGroup): New abstract method.
7341         * java/net/InetSocketAddress.java
7342         (InetSocketAddress): Documentation added.
7343         (equals): final keyword added.
7344         (getAddress): final keyword added.
7345         (getHostName): final keyword added.
7346         (getPort): final keyword added.
7347         (hashCode): final keyword added.
7348         (isUnresolved): final keyword added.
7349         * java/net/MulticastSocket.java
7350         (MulticastSocket): Documentation added.
7351         (MulticastSocket): New method.
7352         (joinGroup): Documentation added.
7353         (joinGroup): New method.
7354         (leaveGroup): Documentation added.
7355         (leaveGroup): New method.
7356         (send): Documentation added.
7357         * java/net/NetworkInterface.java
7358         (getByName): Documentation added.
7359         (getByInetAddress): Documentation added.
7360         (getNetworkInterfaces): Documentation added.
7361         * java/net/PlainDatagramSocketImpl.java
7362         (connect): New method.
7363         (disconnect): New method.
7364         * java/net/SocketImpl.java
7365         (create): Documentation added.
7366         (shutdownInput): Convert public to protected, as it always was.
7367         (shutdownOutput): Convert public to protected, as it always was.
7368         * java/net/SocketOptions.java
7369         (whole file): Reintented.
7370         * java/net/URLClassLoader.java
7371         (URLClassLoader): SecurityManager check added, documentation added.
7372         (findResources): Documentation added.
7373         (findClass): Documentation added.
7374         (newInstance): More correct method arguments.
7375         * java/net/URLConnection.java
7376         (connect): Documentation added.
7377         (getContent): Documentation added.
7378         (getPermission): Documentation added.
7379         (getInputStream): Documentation added.
7380         (getOutputStream): Documentation added.
7381         (setDoInput): Throw correct exception, documentation added.
7382         (setDoOutput): Throw correct exception, documentation added.
7383         (setAllowUserInteraction): Throw correct exception, documentation added.
7384         (setUseCaches): Throw correct exception, documentation added.
7385         (setIfModifiedSince): Throw correct exception, documentation added.
7386         (setRequestProperty): Throw exception, documentation added.
7387         (addRequestProperty): Throw exception, documentation added.
7388         (getRequestProperty): Throw exception, documentation added.
7389         (getRequestProperties): Documentation added.
7390         (setContentHandlerFactory): Documentation added.
7391         (guessContentTypeFromName): protected to public.
7392         (setFileNameMap): Documentation added.
7393         * java/net/URLDecoder.java
7394         (URLDecoder): New method.
7395         (decode): Documentation added.
7396         (whole file): Reindented.
7397         * java/net/URLEncoder.java
7398         (encode): Documentation added.
7399         * java/net/natPlainDatagramSocketImpl.cc
7400         (connect): New method.
7401         (disconnect): New method.
7402         * javax/naming/RefAddr:
7403         (addrType): addrType was never final.
7404         (equals): Fix typo in method name.
7405         * javax/naming/BinaryRefAddr:
7406         (equals): Fix typo in method name.
7407
7408 2002-09-22  Tom Tromey  <tromey@redhat.com>
7409
7410         Fix for PR libgcj/6576:
7411         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7412         didn't find a given bundle.
7413         (getBundle): Don't require base bundle.
7414         (setParent): Removed old comment.
7415         (tryLocalBundle): Try components even if preceding components were
7416         empty.
7417
7418 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7419
7420         * Makefile.am (all-multi): Fix multilib parallel build.
7421
7422 2002-09-21  Michael Koch  <konqueror@gmx.de>
7423
7424         * java/net/Socket.java
7425         (sendUrgentData): New method.
7426         (getChannel): New method.
7427         * java/net/ServerSocket.java
7428         (getChannel): New method.
7429         (isBound): New method.
7430         * java/net/DatagramSocket.java
7431         (DatagramSocket): Two new methods.
7432         (bind): New method.
7433         (getChannel): New method.
7434         (isBound): New method.
7435         (send): Added newline to to make shorter lines.
7436         * java/net/PlainDatagramSocketImpl.java
7437         (mcastGrp): Added argument.
7438         (join): Use new mcastGrp.
7439         (leave): Use new mcastGrp.
7440         (joinGroup): New method.
7441         (leaveGroup): New method.
7442         * java/net/natPlainDatagramSocketImpl.cc
7443         (mcastGrp): Added argument, no yet really implemented.
7444         (getOption): Added newline for shorter lines.
7445         * java/net/natPlainSocketImpl.cc
7446         (read, setOption, getOption): Added newline for shorter lines.
7447
7448 2002-09-19  Tom Tromey  <tromey@redhat.com>
7449
7450        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7451        newly-created exception.
7452
7453 2002-09-18  Michael Koch  <konqueror@gmx.de>
7454
7455         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7456         java/util/regex/PatternSyntaxException.java:
7457         Merge with classpath, new files.
7458         * Makefile.am (core_java_source_files):
7459         Added java/util/regex/Matcher.java,
7460         java/util/regex/Pattern.java,
7461         java/util/regex/PatternSyntaxException.java
7462         * Makefile.in: Regenerated.
7463         * include/config.h.in: Added HAVE_NET_IF_H.
7464         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7465         Removed #if 0 ... #endif.
7466
7467 2002-09-17  Michael Koch  <konqueror@gmx.de>
7468
7469         * java/net/natNetworkInterface.cc:
7470         Removed unneed and yet wrong includes.
7471
7472 2002-09-17  Michael Koch  <konqueror@gmx.de>
7473
7474         * java/net/NetworkInterface.java: New file.
7475         * java/net/natNetworkInterface.java: New file.
7476         * configure.in: Added check for net/if.h.
7477         * configure: Regenerated.
7478         * Makefile.am
7479         (ordinary_java_source_files): Added NetworkInterface.java.
7480         (nat_source_files): Added natNetworkInterface.cc.
7481         * Makefile.in: Regenerated.
7482
7483 2002-09-16  Tom Tromey  <tromey@redhat.com>
7484
7485         * java/net/URLClassLoader.java (findClass): Code source for a
7486         class from a jar is not necessarily a jar: URL.
7487
7488 2002-09-16  Michael Koch  <konqueror@gmx.de>
7489
7490         * java/lang/AssertionError.java:
7491         Merge with classpath, fixes HTML.
7492         * java/rmi/server/LogStream.java:
7493         Merge with classpath, fixes some constants.
7494         * java/net/server/RemoteServer.java:
7495         Merge with classpath, adds serialVersionUID.
7496         * javax/naming/BinaryRefAddr.java:
7497         Merge with classpath, s/equal/equals/.
7498         * javax/naming/NamingException.java:
7499         Merge with classpath, fixed typo.
7500         * javax/naming/RefAddr.java:
7501         Merge with classpath, s/equal/equals/.
7502         * java/awt/Toolkit.java:
7503         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7504         and typo fixed.
7505
7506 2002-09-15  Adam Megacz <adam@xwt.org>
7507
7508         * java/net/natPlainSocketImpl.cc: fixed typo.
7509
7510 2002-09-15  Adam Megacz <adam@xwt.org>
7511
7512         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7513         which don't work on Win32 (yet).
7514
7515 2002-09-14  Adam Megacz <adam@xwt.org>
7516
7517         * java/net/natPlainDatagramSocket.cc: removed #include
7518         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7519         * include/win32.h: included definition for IP_TOS to satisfy
7520         natPlainDatagramSocket.cc
7521
7522 2002-09-13  Michael Koch  <konqueror@gmx.de>
7523
7524         * java/net/DatagramPacket.java (DatagramPacket):
7525         Added linebreak for 80 chars per line.
7526         * java/net/JarURLConection.java
7527         (getInputStreami, getJarEntry): Likewise.
7528         * java/net/SocketPErmission.java
7529         (SocketPermission class docu, implies): Likewise.
7530         * java/net/URLClassLoader.java (findResources): Likewise.
7531         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7532
7533 2002-09-13  Michael Koch  <konqueror@gmx.de>
7534
7535         * java/nio/channels/DatagramChannel.java,
7536         java/nio/channels/ServerSocketChannel.java
7537         java/nio/channels/SocketChannel.java:
7538         New dummy files to make java.net fully JDK 1.4 compatible
7539         * Makefile.am (ordinary_java_source_files): Added
7540         java/net/DatagramSocketImplFactory.java (long forgotten),
7541         java/nio/SocketChannel.java,
7542         java/nio/ServerSocketChannel.java,
7543         java/nio/DatagramChannel.java
7544         * Makefile.in: Regenrated.
7545
7546 2002-09-12  Michael Koch  <konqueror@gmx.de>
7547
7548         * java/net/DatagramSocketImpl.java
7549         (peekData): New method.
7550         * java/net/PlainDatagramSocketImpl.java
7551         (peekData): New method.
7552         * java/net/natPlainDatagramSocketImpl.cc
7553         (peekData): New method.
7554         * java/net/URLConnection
7555         (getPermission): New method.
7556         (addRequestProperty): New method.
7557         (getRequestProperties): New method.
7558         (guessContentTypeFromStream): New method, not really implemented.
7559         (URLConnection): Added/updated documentation.
7560         (connect): Added/updated documentation.
7561         (getURL): Added/updated documentation.
7562         (getContentLength): Added/updated documentation.
7563         (getContentType: Added/updated documentation.
7564         (getContentEncoding): Added/updated documentation.
7565         (getExpiration): Added/updated documentation.
7566         (getDate): Added/updated documentation.
7567         (getLastModified): Added/updated documentation.
7568         (getHeaderField): Added/updated documentation.
7569         (getHeaderFields): Added/updated documentation.
7570         (getHeaderFieldInt): Added/updated documentation.
7571         (getHeaderFieldDate): Added/updated documentation.
7572         (getHeaderFieldKey): Added/updated documentation.
7573         (getContent): Added/updated documentation.
7574         (getInputStream): Added/updated documentation.
7575         (getOutputStream): Added/updated documentation.
7576         (toString): Added/updated documentation.
7577         (setDoInput): Added/updated documentation.
7578         (getDoInput): Added/updated documentation.
7579         (setDoOutput): Added/updated documentation.
7580         (getDoOutput): Added/updated documentation.
7581         (setAllowUserInteraction): Added/updated documentation.
7582         (getAllowUserInteraction): Added/updated documentation.
7583         (setDefaultAllowUserInteraction): Added/updated documentation.
7584         (getDefaultAllowUserInteraction): Added/updated documentation.
7585         (setUseCaches): Added/updated documentation.
7586         (getUseCaches): Added/updated documentation.
7587         (setIfModifiedSince): Added/updated documentation.
7588         (getIfModifiedSince): Added/updated documentation.
7589         (getDefaultUseCaches): Added/updated documentation.
7590         (setDefaultUseCaches): Added/updated documentation.
7591         (setRequestProperty): Added/updated documentation.
7592         (getRequestProperty): Added/updated documentation.
7593         (setDefaultRequestProperty): Added/updated documentation.
7594         (getDefaultRequestProperty): Added/updated documentation.
7595         (setContentHandlerFactory): Added/updated documentation.
7596         (guessContentTypeFromName): Added/updated documentation.
7597         (getFileNameMap): Added/updated documentation.
7598         (setFileNameMap): Added/updated documentation.
7599
7600 2002-09-11  Michael Koch  <konqueror@gmx.de>
7601
7602         * java/net/Socket.java
7603         (Socket): protected to public (since JDK 1.4). Added @specnote.
7604         (bind): New method.
7605         (connect): Two new methods.
7606         (getKeepalive): Get correct socket option.
7607         (setKeepalive): Set correct socket option.
7608         (getOOBInline): New method.
7609         (setOOBInline): New method.
7610         * java/net/ServerSocket.java
7611         (bind): Two new methods.
7612         (getInetAddress): Reimplemented, catch exception.
7613         (getLocalSocketAddress): New method.
7614         (setReuseAddress): New method.
7615         (getReuseAdress): New method.
7616         (setReceiveBufferSize): New method.
7617         (getReceiveBufferSize): New method.
7618         (toString): Made string JDK 1.4 compliant.
7619
7620 2002-09-10  Michael Koch  <konqueror@gmx.de>
7621
7622         * java/net/SocketImpl.java
7623         (connect): New method.
7624         (supportsUrgentData): New method.
7625         (sendUrgentData): New method.
7626         * java/net/PlainSocketImpl.java
7627         (connect): One new method and two new implementation.
7628         (sendUrgentData): New method.
7629         * java/natPlainSocketImpl.cc
7630         (connect): Arguments changed, added support for timeouts.
7631         (getOption): Another __java_boolean to jboolean.
7632
7633 2002-09-07  Adam Megacz <adam@xwt.org>
7634
7635         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7636         definition of IP_TOS.
7637
7638 2002-09-04  Michael Koch  <konqueror@gmx.de>
7639
7640         * java/net/DatagramSocket.java
7641         (DatagramSocket): Added documentation.
7642         (close): Likewise.
7643         (getLocalAddress): Likewise.
7644         (getLocalPort): Likewise.
7645         (receive): Likewise.
7646         (send): Likewise.
7647         (setSoTimeout): Likewise.
7648         (connect): New method.
7649         (disconnect): New method.
7650         (getInetAddress): New method (FIXME)
7651         (getPort): New method.
7652         (setReuseAddress): New method.
7653         (getReuseAddress): New method.
7654         (setBroadcast): New method.
7655         (getBroadcast): New method.
7656         (setTrafficClass): New method.
7657         (getTrafficClass): New method.
7658         * java/net/MulticastSocket.java):
7659         (getTTL): Added @see in documentation.
7660         (setTTL): Added @see in documentation.
7661         (setLoopbackMode): New method.
7662         (getLoopbackMode): New method.
7663         * java/net/PlainSocketImpl.java:
7664         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7665         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7666         * java/net/PlainDatagramSocketImpl.java
7667         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7668         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7669         * java/net/natPlainSocketImpl.cc
7670         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7671         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7672         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7673         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7674         This should also fix SO_KEEPALIVE
7675         * java/net/natPlainDatagramSocketImpl.cc
7676         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7677         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7678         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7679         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7680
7681 2002-09-04  Michael Koch  <konqueror@gmx.de>
7682
7683         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7684         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7685         IP_MULTICAST_LOOP, IP_TOS
7686
7687 2002-09-03  Tom Tromey  <tromey@redhat.com>
7688
7689         * java/lang/Class.h (_getDeclaredMethod): Declare.
7690         (_getMethod): Now private.
7691         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7692         getDeclaredMethod.  Now returns NULL on failure.
7693         * java/lang/Class.java (_getDeclaredMethod): Declare.
7694         (getDeclaredMethod): No longer native; implements access checks.
7695
7696 2002-09-01  Mark Wielaard  <mark@klomp.org>
7697
7698         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7699         (sanitizeStack): Correctly reset unknown and interpreter counters,
7700         detect interpreter runtime frames.
7701         (demangleInterpreterMethod): New method.
7702         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7703         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7704         filling in addrs[].
7705
7706 2002-09-02  Michael Koch  <konqueror@gmx.de>
7707
7708         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7709         re-indented documentation.
7710
7711 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7712
7713         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7714         public, per 1.4 spec.  Fixes PR libgcj/7785.
7715
7716 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7717
7718         * Makefile.in: Rebuilt.
7719         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7720
7721 2002-08-29  Tom Tromey  <tromey@redhat.com>
7722
7723         * java/net/JarURLConnection.java (getCertificates): New method
7724         from Classpath.
7725         * java/net/URLClassLoader.java (URLClassLoader): Extends
7726         SecureClassLoader.
7727         (definePackage): New method from Classpath.
7728         (getPermissions): Likewise.
7729         (newInstance): Likewise.
7730         (findClass): Construct CodeSource for new class (from Classpath).
7731         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7732         methods.
7733         * java/net/URL.java (getUserInfo): New method.
7734         (set(String,String,int,String,String,String,String,String)): New
7735         method.
7736         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7737         (shutdownInput, shutdownOutput): Declare.
7738         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7739         Define.
7740         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7741         (getOption): Likewise.
7742         (shutdownInput): New method.
7743         (shutdownOutput): Likewise.
7744         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7745         keepalive.
7746         (getOption): Likewise.
7747         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7748         * java/net/Socket.java (setKeepAlive): New method.
7749         (getKeepAlive): Likewise.
7750         (shutdownInput, shutdownOutput): New methods.
7751
7752 2002-08-29  Michael Koch  <konqueror@gmx.de>
7753
7754         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7755         new methods are:
7756         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7757           address),
7758         DatagramPacket(byte[] buf, int length, SocketAddress address),
7759         void setSocketAddress(SocketAddress address)
7760         public SocketAddress getSocketAddress()
7761
7762 2002-08-29  Tom Tromey  <tromey@redhat.com>
7763
7764         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7765         ftruncate is missing.
7766         * configure, include/config.h.in: Rebuilt.
7767         * acconfig.h (HAVE_FTRUNCATE): Mention.
7768         * configure.in: Check for ftruncate.
7769
7770 2002-08-29  Tom Tromey  <tromey@redhat.com>
7771
7772         * include/jvm.h (struct _Jv_frame_info): New structure.
7773         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7774         java-interp.h.
7775         (lookupInterp): New method.
7776         (getAddrAsString): Use _Jv_frame_info.
7777         (dladdrLookup): Likewise.
7778         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7779         interpreted frame.
7780         (lookupInterp): Declare.
7781         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7782         (fillInStackTrace): Collect information on interpreted frames.
7783         Use _Jv_frame_info.
7784         * interpret.cc: Include Thread.h.
7785         (run): Create and push _Jv_MethodChain object.
7786         (_Jv_EndOfInterpreter): New global.
7787         * java/lang/Thread.java (interp_frame): New field.
7788         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7789         Include NameFinder.h.
7790
7791 2002-08-28  Tom Tromey  <tromey@redhat.com>
7792
7793         * java/lang/Class.h: Include Package.h.
7794         (Class::getProtectionDomain): Declare.
7795         (Class::getPackage): Declare.
7796
7797 2002-08-28  Michael Koch <konqueror@gmx.de>
7798
7799         * java/net/InetSocketAddress.java: Added some documentation and argument
7800         checks for the port numbers.
7801         * java/net/DatagramSocketImplFactory.java: New file.
7802
7803 2002-08-28  Michael Koch <konqueror@gmx.de>
7804
7805         * java/net/Authenticator.java: added some documentation.
7806
7807 2002-08-27  Tom Tromey  <tromey@redhat.com>
7808
7809         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7810         class.
7811         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7812
7813 2002-08-27  Michael Koch <konqueror@gmx.de>
7814
7815         * java/net/BindException.java,
7816         java/net/JarURLConnection.java,
7817         java/net/FileNameMap.java,
7818         java/net/HttpURLConnection.java,
7819         java/net/InetSocketAddress.java,
7820         java/net/DatagramPacket.java,
7821         java/net/DatagramSocket.java,
7822         java/net/DatagramSocketImpl.java,
7823         java/net/MulticastSocket.java,
7824         java/net/PasswordAuthentication.java,
7825         java/net/ServerSocket.java,
7826         java/net/Socket.java,
7827         java/net/URLClassLoader.java,
7828         java/net/URLConnection.java: add/update of some @since/@deprecated
7829
7830 2002-08-27  Tony Kimball <alk@pobox.com>
7831             Tom Tromey  <tromey@redhat.com>
7832
7833         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7834         define.
7835         (::close): Removed.
7836         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7837         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7838         (::close): Removed.
7839         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7840         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7841
7842 2002-08-25  Adam Megacz <adam@xwt.org>
7843
7844         * include/win32.h (getcwd): copied function declaration as
7845         temporary fix for header confusion.
7846
7847 2002-08-24  Mark Wielaard <mark@klomp.org>
7848
7849         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7850         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7851         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7852         and natNameFinder.cc.
7853         * Makefile.in: Regenerate.
7854         * prims.cc: Use trace_enabled from VMThrowable.
7855         * name-finder.cc: Removed.
7856         * gcj/javaprims.h: Add class VMThrowable.
7857         * gnu/gcj/runtime/NameFinder.java: New file.
7858         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7859         * include/name-finder.h: Removed.
7860         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7861         method stackTraceString().
7862         (printStackTrace (PrintWriter)): Likewise.
7863         (stackTraceString): Complete rewrite of old printStackTrace using
7864         StringBuffer.
7865         (stackTraceStringBuffer): New helper method for stackTraceString().
7866         (fillInStackTrace): Delegate to VMTrowable.
7867         (getStackTrace): Likewise.
7868         (getStackTrace0): Removed.
7869         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7870         (setStackTrace): Copy given array.
7871         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7872         * java/lang/VMThrowable.java: New class.
7873         * java/lang/natVMThrowable.cc: New file.
7874
7875 2003-08-23  Michael Koch  <konqueror@gmx.de>
7876
7877         * java/net/URLConnection.java,
7878         java/netJarURLConnection.java,
7879         gnu/gcj/protocol/core/Connection.java,
7880         gnu/gcj/protocol/file/Connection.java,
7881         gnu/gcj/protocol/http/Connection.java: Added implementation of
7882         getHeaderFields().
7883
7884 2002-08-22  Tom Tromey  <tromey@redhat.com>
7885
7886         * gij.cc (help): Document -cp and -classpath.
7887         (main): Handle -classpath.
7888
7889 2002-08-21  Tom Tromey  <tromey@redhat.com>
7890
7891         * Makefile.in: Rebuilt.
7892         * Makefile.am (ordinary_java_source_files): Added
7893         SocketAddress.java, InetSocketAddress.java.
7894         * java/net/PortUnreachableException.java: Merged with Classpath.
7895         * java/net/SocketTimeoutException.java: Likewise.
7896         * java/net/URISyntaxException.java: Likewise.
7897         * java/net/SocketAddress.java: New class from Classpath.
7898         * java/net/InetSocketAddress.java: Likewise.
7899
7900 2003-08-21  Michael Koch  <konqueror@gmx.de>
7901
7902         * java/net/Authenticator.java: updated JDK 1.4
7903         * java/net/ContentHandler.java: updated JDK 1.4
7904
7905 2002-08-20  Michael Koch  <konqueror@gmx.de>
7906
7907         * java/net/URISyntaxException.java: New file.
7908         * java/net/SocketTimeoutException.java: New file.
7909         * java/net/PortUnreachableException.java: New file.
7910         * Makefile.am: Updated.
7911         * Makefile.in: Rebuilt.
7912
7913 2002-08-18  Mark Wielaard  <mark@klomp.org>
7914
7915         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7916         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7917         MessageDigestSpi (fixes Classpath bug #783).
7918
7919 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7920
7921         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7922         (startProcess): Allocate path for chdir in async-signal-safe way.
7923
7924 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7925
7926         Fix for PR libgcj/7570 and PR libgcj/7578:
7927         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7928         (startProcess): Handle new `dir' argument.
7929         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7930         argument.
7931         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7932         argument.
7933         (startProcess): Likewise.
7934         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7935         argument.
7936         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7937         (exec): Don't create new environment if ENV==null.  Pass DIR to
7938         execInternal.
7939         * java/lang/natRuntime.cc: Include java/io/File.h.
7940         (execInternal): Added `dir' argument.
7941
7942 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7943
7944         * java/io/RandomAccessFile.java (skipBytes): Return number of
7945         bytes skipped.
7946
7947 2002-08-01  Mark Wielaard  <mark@klomp.org>
7948
7949         Reenable patch since shared library troubles on powerpc are solved:
7950         * gnu/java/security/provider/Gnu.java: Reference all implementation
7951         classes by using Class.getName().
7952         * gnu/java/security/der/DEREncodingException.java,
7953         gnu/java/security/provider/DERReader.java,
7954         gnu/java/security/provider/DERWriter.java,
7955         gnu/java/security/provider/DSAKeyPairGenerator.java,
7956         gnu/java/security/provider/DSAParameterGenerator.java,
7957         gnu/java/security/provider/DSAParameters.java,
7958         gnu/java/security/provider/DSASignature.java,
7959         gnu/java/security/provider/GnuDSAPrivateKey.java,
7960         gnu/java/security/provider/GnuDSAPublicKey.java,
7961         gnu/java/security/provider/MD5.java,
7962         gnu/java/security/util/Prime.java: New classes
7963         * Makefile.am (ordinary_java_source_files): Add above files.
7964         * Makefile.in: Regenerate.
7965         * gnu/java/security/provider/DefaultPolicy.java
7966         (getPermissions): Don't maintain static class variable of Permissions.
7967         * gnu/java/security/provider/SHA.java
7968         (engineUpdate): algorithm change.
7969         (engineDigest): algorithm change.
7970
7971 2002-08-09  Mark Wielaard  <mark@klomp.org>
7972
7973         * java/awt/image/MemoryImageSource.java: Change constructor to take
7974         int[] not byte[].
7975         * java/awt/Graphics2D.java: Uncomment methods that can now be
7976         compiled.
7977         * java/awt/GridBagLayout.java: New stub implementation.
7978         * javax/swing/text/html/HTML.java: Stub implementation.
7979         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7980         implementation.
7981
7982         * Makefile.am: Add new files.
7983         * Makefile.in: Rebuilt.
7984
7985 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7986
7987         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7988         methods in Graphics2D.
7989
7990 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7991
7992         AWT/Swing merge from GNU Classpath.
7993
7994         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7995         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7996         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7997         java/awt/color/ProfileDataException.java,
7998         java/awt/CompositeContext.java, java/awt/Composite.java,
7999         java/awt/ContainerOrderFocusTraversalPolicy.java,
8000         java/awt/datatransfer/FlavorTable.java,
8001         java/awt/DefaultFocusTraversalPolicy.java,
8002         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8003         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8004         java/awt/dnd/DragGestureListener.java,
8005         java/awt/dnd/DragGestureRecognizer.java,
8006         java/awt/dnd/DragSourceAdapter.java,
8007         java/awt/dnd/DragSourceContext.java,
8008         java/awt/dnd/DragSourceDragEvent.java,
8009         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8010         java/awt/dnd/DragSourceListener.java,
8011         java/awt/dnd/DragSourceMotionListener.java,
8012         java/awt/dnd/DropTarget.java,
8013         java/awt/dnd/InvalidDnDOperationException.java,
8014         java/awt/dnd/peer/DragSourceContextPeer.java,
8015         java/awt/event/AWTEventListenerProxy.java,
8016         java/awt/event/MouseWheelEvent.java,
8017         java/awt/event/MouseWheelListener.java,
8018         java/awt/event/WindowFocusListener.java,
8019         java/awt/event/WindowStateListener.java,
8020         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8021         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8022         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8023         java/awt/geom/FlatteningPathIterator.java,
8024         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8025         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8026         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8027         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8028         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8029         java/awt/image/ImagingOpException.java,
8030         java/awt/image/RasterFormatException.java,
8031         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8032         java/awt/image/VolatileImage.java,
8033         java/awt/image/WritableRenderedImage.java,
8034         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8035         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8036         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8037         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8038         java/awt/PageAttributes.java, java/awt/print/Book.java,
8039         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8040         java/awt/print/Paper.java, java/awt/print/Printable.java,
8041         java/awt/print/PrinterAbortException.java,
8042         java/awt/print/PrinterException.java,
8043         java/awt/print/PrinterGraphics.java,
8044         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8045         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8046         java/awt/Stroke.java, java/awt/TexturePaint.java,
8047         javax/accessibility/AccessibleAction.java,
8048         javax/accessibility/AccessibleBundle.java,
8049         javax/accessibility/AccessibleComponent.java,
8050         javax/accessibility/AccessibleContext.java,
8051         javax/accessibility/AccessibleEditableText.java,
8052         javax/accessibility/AccessibleExtendedComponent.java,
8053         javax/accessibility/AccessibleExtendedTable.java,
8054         javax/accessibility/AccessibleHyperlink.java,
8055         javax/accessibility/AccessibleHypertext.java,
8056         javax/accessibility/AccessibleIcon.java,
8057         javax/accessibility/Accessible.java,
8058         javax/accessibility/AccessibleKeyBinding.java,
8059         javax/accessibility/AccessibleRelation.java,
8060         javax/accessibility/AccessibleRelationSet.java,
8061         javax/accessibility/AccessibleResourceBundle.java,
8062         javax/accessibility/AccessibleRole.java,
8063         javax/accessibility/AccessibleSelection.java,
8064         javax/accessibility/AccessibleState.java,
8065         javax/accessibility/AccessibleStateSet.java,
8066         javax/accessibility/AccessibleTable.java,
8067         javax/accessibility/AccessibleTableModelChange.java,
8068         javax/accessibility/AccessibleText.java,
8069         javax/accessibility/AccessibleValue.java,
8070         javax/swing/AbstractAction.java,
8071         javax/swing/AbstractButton.java,
8072         javax/swing/AbstractCellEditor.java,
8073         javax/swing/AbstractListModel.java,
8074         javax/swing/AbstractSet.java, javax/swing/Action.java,
8075         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8076         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8077         javax/swing/border/CompoundBorder.java,
8078         javax/swing/border/EmptyBorder.java,
8079         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8080         javax/swing/border/LineBorder.java,
8081         javax/swing/border/MatteBorder.java,
8082         javax/swing/border/TitledBorder.java,
8083         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8084         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8085         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8086         javax/swing/CellRendererPane.java,
8087         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8088         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8089         javax/swing/colorchooser/ColorSelectionModel.java,
8090         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8091         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8092         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8093         javax/swing/DefaultBoundedRangeModel.java,
8094         javax/swing/DefaultButtonModel.java,
8095         javax/swing/DefaultCellEditor.java,
8096         javax/swing/DefaultCellRenderer.java,
8097         javax/swing/DefaultComboBoxModel.java,
8098         javax/swing/DefaultDesktopManager.java,
8099         javax/swing/DefaultFocusManager.java,
8100         javax/swing/DefaultListCellRenderer.java,
8101         javax/swing/DefaultListModel.java,
8102         javax/swing/DefaultListSelectionModel.java,
8103         javax/swing/DefaultSingleSelectionModel.java,
8104         javax/swing/DesktopManager.java,
8105         javax/swing/event/AncestorEvent.java,
8106         javax/swing/event/AncestorListener.java,
8107         javax/swing/event/CaretEvent.java,
8108         javax/swing/event/CaretListener.java,
8109         javax/swing/event/CellEditorListener.java,
8110         javax/swing/event/ChangeEvent.java,
8111         javax/swing/event/ChangeListener.java,
8112         javax/swing/event/DocumentEvent.java,
8113         javax/swing/event/DocumentListener.java,
8114         javax/swing/event/EventListenerList.java,
8115         javax/swing/event/HyperlinkEvent.java,
8116         javax/swing/event/HyperlinkListener.java,
8117         javax/swing/event/InternalFrameAdapter.java,
8118         javax/swing/event/InternalFrameEvent.java,
8119         javax/swing/event/InternalFrameListener.java,
8120         javax/swing/event/ListDataEvent.java,
8121         javax/swing/event/ListDataListener.java,
8122         javax/swing/event/ListSelectionEvent.java,
8123         javax/swing/event/ListSelectionListener.java,
8124         javax/swing/event/MenuDragMouseEvent.java,
8125         javax/swing/event/MenuDragMouseListener.java,
8126         javax/swing/event/MenuEvent.java,
8127         javax/swing/event/MenuKeyEvent.java,
8128         javax/swing/event/MenuKeyListener.java,
8129         javax/swing/event/MenuListener.java,
8130         javax/swing/event/MouseInputAdapter.java,
8131         javax/swing/event/MouseInputListener.java,
8132         javax/swing/event/PopupMenuEvent.java,
8133         javax/swing/event/PopupMenuListener.java,
8134         javax/swing/event/SwingPropertyChangeSupport.java,
8135         javax/swing/event/TableColumnModelEvent.java,
8136         javax/swing/event/TableColumnModelListener.java,
8137         javax/swing/event/TableModelEvent.java,
8138         javax/swing/event/TableModelListener.java,
8139         javax/swing/event/TreeExpansionEvent.java,
8140         javax/swing/event/TreeExpansionListener.java,
8141         javax/swing/event/TreeModelEvent.java,
8142         javax/swing/event/TreeModelListener.java,
8143         javax/swing/event/TreeSelectionEvent.java,
8144         javax/swing/event/TreeSelectionListener.java,
8145         javax/swing/event/TreeWillExpandListener.java,
8146         javax/swing/event/UndoableEditEvent.java,
8147         javax/swing/event/UndoableEditListener.java,
8148         javax/swing/filechooser/FileFilter.java,
8149         javax/swing/filechooser/FileSystemView.java,
8150         javax/swing/filechooser/FileView.java,
8151         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8152         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8153         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8154         javax/swing/JApplet.java, javax/swing/JButton.java,
8155         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8156         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8157         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8158         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8159         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8160         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8161         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8162         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8163         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8164         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8165         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8166         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8167         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8168         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8169         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8170         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8171         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8172         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8173         javax/swing/JToolTip.java, javax/swing/JTree.java,
8174         javax/swing/JViewport.java, javax/swing/JWindow.java,
8175         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8176         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8177         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8178         javax/swing/MenuSelectionManager.java,
8179         javax/swing/MutableComboBoxModel.java,
8180         javax/swing/OverlayLayout.java,
8181         javax/swing/plaf/ActionMapUIResource.java,
8182         javax/swing/plaf/basic/BasicBorders.java,
8183         javax/swing/plaf/basic/BasicButtonUI.java,
8184         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8185         javax/swing/plaf/basic/BasicDefaults.java,
8186         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8187         javax/swing/plaf/basic/BasicIconFactory.java,
8188         javax/swing/plaf/basic/BasicLabelUI.java,
8189         javax/swing/plaf/basic/BasicListUI.java,
8190         javax/swing/plaf/basic/BasicLookAndFeel.java,
8191         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8192         javax/swing/plaf/basic/BasicPanelUI.java,
8193         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8194         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8195         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8196         javax/swing/plaf/basic/BasicTextUI.java,
8197         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8198         javax/swing/plaf/basic/BasicTreeUI.java,
8199         javax/swing/plaf/basic/BasicViewportUI.java,
8200         javax/swing/plaf/BorderUIResource.java,
8201         javax/swing/plaf/ButtonUI.java,
8202         javax/swing/plaf/ColorChooserUI.java,
8203         javax/swing/plaf/ColorUIResource.java,
8204         javax/swing/plaf/ComboBoxUI.java,
8205         javax/swing/plaf/ComponentInputMapUIResource.java,
8206         javax/swing/plaf/ComponentUI.java,
8207         javax/swing/plaf/DesktopIconUI.java,
8208         javax/swing/plaf/DesktopPaneUI.java,
8209         javax/swing/plaf/DimensionUIResource.java,
8210         javax/swing/plaf/FileChooserUI.java,
8211         javax/swing/plaf/FontUIResource.java,
8212         javax/swing/plaf/IconUIResource.java,
8213         javax/swing/plaf/InputMapUIResource.java,
8214         javax/swing/plaf/InsetsUIResource.java,
8215         javax/swing/plaf/InternalFrameUI.java,
8216         javax/swing/plaf/LabelUI.java,
8217         javax/swing/plaf/ListUI.java,
8218         javax/swing/plaf/MenuBarUI.java,
8219         javax/swing/plaf/MenuItemUI.java,
8220         javax/swing/plaf/OptionPaneUI.java,
8221         javax/swing/plaf/PanelUI.java,
8222         javax/swing/plaf/PopupMenuUI.java,
8223         javax/swing/plaf/ProgressBarUI.java,
8224         javax/swing/plaf/RootPaneUI.java,
8225         javax/swing/plaf/ScrollBarUI.java,
8226         javax/swing/plaf/ScrollPaneUI.java,
8227         javax/swing/plaf/SeparatorUI.java,
8228         javax/swing/plaf/SliderUI.java,
8229         javax/swing/plaf/SplitPaneUI.java,
8230         javax/swing/plaf/TabbedPaneUI.java,
8231         javax/swing/plaf/TableHeaderUI.java,
8232         javax/swing/plaf/TableUI.java,
8233         javax/swing/plaf/TextUI.java,
8234         javax/swing/plaf/ToolBarUI.java,
8235         javax/swing/plaf/ToolTipUI.java,
8236         javax/swing/plaf/TreeUI.java,
8237         javax/swing/plaf/UIResource.java,
8238         javax/swing/plaf/ViewportUI.java,
8239         javax/swing/ProgressMonitorInputStream.java,
8240         javax/swing/ProgressMonitor.java,
8241         javax/swing/Renderer.java,
8242         javax/swing/RepaintManager.java,
8243         javax/swing/RootPaneContainer.java,
8244         javax/swing/Scrollable.java,
8245         javax/swing/ScrollPaneConstants.java,
8246         javax/swing/ScrollPaneLayout.java,
8247         javax/swing/SingleSelectionModel.java,
8248         javax/swing/SizeRequirements.java,
8249         javax/swing/SizeSequence.java,
8250         javax/swing/SwingConstants.java,
8251         javax/swing/SwingUtilities.java,
8252         javax/swing/table/AbstractTableModel.java,
8253         javax/swing/table/DefaultTableCellRenderer.java,
8254         javax/swing/table/DefaultTableColumnModel.java,
8255         javax/swing/table/DefaultTableModel.java,
8256         javax/swing/table/TableCellEditor.java,
8257         javax/swing/table/TableCellRenderer.java,
8258         javax/swing/table/TableColumn.java,
8259         javax/swing/table/TableColumnModel.java,
8260         javax/swing/table/TableModel.java,
8261         javax/swing/text/AbstractDocument.java,
8262         javax/swing/text/AttributeSet.java,
8263         javax/swing/text/BadLocationException.java,
8264         javax/swing/text/Caret.java,
8265         javax/swing/text/CharacterIterator.java,
8266         javax/swing/text/ComponentView.java,
8267         javax/swing/text/DefaultCaret.java,
8268         javax/swing/text/DefaultEditorKit.java,
8269         javax/swing/text/Document.java,
8270         javax/swing/text/EditorKit.java,
8271         javax/swing/text/Element.java,
8272         javax/swing/text/GapContent.java,
8273         javax/swing/text/JTextComponent.java,
8274         javax/swing/text/Keymap.java,
8275         javax/swing/text/MutableAttributeSet.java,
8276         javax/swing/text/PlainDocument.java,
8277         javax/swing/text/PlainEditorKit.java,
8278         javax/swing/text/Position.java,
8279         javax/swing/text/Segment.java,
8280         javax/swing/text/StyledDocument.java,
8281         javax/swing/text/StyledEditorKit.java,
8282         javax/swing/text/Style.java,
8283         javax/swing/text/TextAction.java,
8284         javax/swing/text/ViewFactory.java,
8285         javax/swing/text/View.java,
8286         javax/swing/Timer.java,
8287         javax/swing/ToggleButtonModel.java,
8288         javax/swing/ToolTipManager.java,
8289         javax/swing/tree/AbstractLayoutCache.java,
8290         javax/swing/tree/DefaultMutableTreeNode.java,
8291         javax/swing/tree/DefaultTreeCellEditor.java,
8292         javax/swing/tree/DefaultTreeCellRenderer.java,
8293         javax/swing/tree/DefaultTreeModel.java,
8294         javax/swing/tree/DefaultTreeSelectionModel.java,
8295         javax/swing/tree/ExpandVetoException.java,
8296         javax/swing/tree/FixedHeightLayoutCache.java,
8297         javax/swing/tree/MutableTreeNode.java,
8298         javax/swing/tree/RowMapper.java,
8299         javax/swing/tree/TreeCellEditor.java,
8300         javax/swing/tree/TreeCellRenderer.java,
8301         javax/swing/tree/TreeModel.java,
8302         javax/swing/tree/TreeNode.java,
8303         javax/swing/tree/TreePath.java,
8304         javax/swing/tree/TreeSelectionModel.java,
8305         javax/swing/tree/VariableHeightLayoutCache.java,
8306         javax/swing/UIDefaults.java,
8307         javax/swing/UIManager.java,
8308         javax/swing/undo/AbstractUndoableEdit.java,
8309         javax/swing/undo/CannotRedoException.java,
8310         javax/swing/undo/CannotUndoException.java,
8311         javax/swing/undo/CompoundEdit.java,
8312         javax/swing/undo/StateEditable.java,
8313         javax/swing/undo/StateEdit.java,
8314         javax/swing/undo/UndoableEdit.java,
8315         javax/swing/undo/UndoableEditSupport.java,
8316         javax/swing/undo/UndoManager.java,
8317         javax/swing/UnsupportedLookAndFeelException.java,
8318         javax/swing/ViewportLayout.java,
8319         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8320
8321         * java/awt/ActiveEvent.java,
8322         java/awt/Adjustable.java, java/awt/AWTError.java,
8323         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8324         java/awt/AWTException.java, java/awt/AWTPermission.java,
8325         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8326         java/awt/Color.java, java/awt/Component.java,
8327         java/awt/ComponentOrientation.java, java/awt/Container.java,
8328         java/awt/datatransfer/MimeTypeParseException.java,
8329         java/awt/datatransfer/Transferable.java,
8330         java/awt/datatransfer/UnsupportedFlavorException.java,
8331         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8332         java/awt/event/ActionListener.java,
8333         java/awt/event/AdjustmentEvent.java,
8334         java/awt/event/AdjustmentListener.java,
8335         java/awt/event/AWTEventListener.java,
8336         java/awt/event/ComponentAdapter.java,
8337         java/awt/event/ComponentEvent.java,
8338         java/awt/event/ComponentListener.java,
8339         java/awt/event/ContainerAdapter.java,
8340         java/awt/event/ContainerEvent.java,
8341         java/awt/event/ContainerListener.java,
8342         java/awt/event/FocusAdapter.java,
8343         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8344         java/awt/event/HierarchyBoundsAdapter.java,
8345         java/awt/event/HierarchyBoundsListener.java,
8346         java/awt/event/HierarchyEvent.java,
8347         java/awt/event/HierarchyListener.java,
8348         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8349         java/awt/event/InputMethodListener.java,
8350         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8351         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8352         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8353         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8354         java/awt/event/MouseListener.java,
8355         java/awt/event/MouseMotionAdapter.java,
8356         java/awt/event/MouseMotionListener.java,
8357         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8358         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8359         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8360         java/awt/event/WindowListener.java, java/awt/Font.java,
8361         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8362         java/awt/geom/Ellipse2D.java,
8363         java/awt/geom/IllegalPathStateException.java,
8364         java/awt/geom/Line2D.java,
8365         java/awt/geom/NoninvertibleTransformException.java,
8366         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8367         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8368         java/awt/geom/RoundRectangle2D.java,
8369         java/awt/GraphicsConfiguration.java,
8370         java/awt/IllegalComponentStateException.java,
8371         java/awt/image/IndexColorModel.java,
8372         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8373         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8374         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8375         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8376         java/awt/MenuItem.java, java/awt/PaintContext.java,
8377         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8378         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8379         java/awt/PrintJob.java, java/awt/Rectangle.java,
8380         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8381         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8382         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8383
8384         * java/awt/im/spi/InputMethod.java,
8385         java/awt/im/spi/InputMethodContext.java,
8386         java/awt/im/spi/InputMethodDescriptor.java,
8387         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8388         java/awt/image/renderable/ParameterBlock.java,
8389         java/awt/image/renderable/RenderContext.java,
8390         java/awt/image/renderable/RenderableImage.java,
8391         java/awt/image/renderable/RenderableImageOp.java,
8392         java/awt/image/renderable/RenderableImageProducer.java,
8393         java/awt/image/renderable/RenderedImageFactory.java: New files from
8394         classpath.
8395
8396         * gnu/java/awt/EventModifier.java,
8397         gnu/java/awt/image/ImageDecoder.java,
8398         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8399
8400         * gnu/awt/xlib/XGraphicsConfiguration.java,
8401         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8402         API.
8403
8404         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8405         GNU Classpath.
8406
8407         * Makefile.am: Add new files.
8408         * Makefile.in: Rebuilt.
8409
8410 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8411
8412         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8413         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8414         findResource, getResources, findResources): Add javadoc from classpath.
8415         (getSystemResources): Implemented.
8416
8417 2002-08-01  Mark Wielaard  <mark@klomp.org>
8418
8419         Revert patch that breaks libgcj shared library on powerpc:
8420         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8421         implementation classes by using Class.getName(). Uses Strings again.
8422         * gnu/java/security/der/DEREncodingException.java,
8423         gnu/java/security/provider/DERReader.java,
8424         gnu/java/security/provider/DERWriter.java,
8425         gnu/java/security/provider/DSAKeyPairGenerator.java,
8426         gnu/java/security/provider/DSAParameterGenerator.java,
8427         gnu/java/security/provider/DSAParameters.java,
8428         gnu/java/security/provider/DSASignature.java,
8429         gnu/java/security/provider/GnuDSAPrivateKey.java,
8430         gnu/java/security/provider/GnuDSAPublicKey.java,
8431         gnu/java/security/provider/MD5.java,
8432         gnu/java/security/util/Prime.java: Removed.
8433         * Makefile.am (ordinary_java_source_files): Remove above files.
8434         * Makefile.in: Regenerate.
8435         * gnu/java/security/provider/DefaultPolicy.java
8436         (getPermissions): Revert to maintaining static class variable of
8437         Permissions.
8438         * gnu/java/security/provider/SHA.java
8439         (engineUpdate): Revert algorithm change.
8440         (engineDigest): Revert algorithm change.
8441
8442 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8443
8444         * configure.host: Add SH support.
8445         * sysdep/sh/locks.h: New file.
8446
8447 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8448
8449         * java/awt/Frame.java (Frame): Remove println calls.
8450
8451 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8452
8453         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8454         * configure: Rebuilt.
8455
8456 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8457
8458         * sysdep/powerpc/locks.h: Formatting.
8459         (_LARX): Define.
8460         (_STCX): Define.
8461         (compare_and_swap): Use _LARX and _STCX.
8462         (compare_and_swap_release): Likewise.
8463
8464 2002-07-26  Tom Tromey  <tromey@redhat.com>
8465
8466         * java/net/Authenticator.java: New version from Classpath.
8467         * java/net/DatagramSocketImpl.java: New version from Classpath.
8468
8469 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8470
8471         * configure.host: Add powerpc64*-* entry.
8472
8473 2002-07-26  Tom Tromey  <tromey@redhat.com>
8474
8475         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8476         fcntl.h.
8477
8478 2002-07-24  Tom Tromey  <tromey@redhat.com>
8479
8480         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8481         argument to _load.
8482
8483 2002-07-24  Tom Tromey  <tromey@redhat.com>
8484             Tony Kimball <alk@pobox.com>
8485
8486         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8487         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8488         * java/io/RandomAccessFile.java (setLength): New method.
8489         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8490         * java/io/FileDescriptor.java (setLength): New method.
8491
8492 2002-07-24  Mark Wielaard  <mark@klomp.org>
8493
8494         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8495         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8496         field call setAccessible(true).
8497         (setByteField): Likewise.
8498         (setCharField): Likewise.
8499         (setDoubleField): Likewise.
8500         (setFloatField): Likewise.
8501         (setIntField): Likewise.
8502         (setLongField): Likewise.
8503         (setShortField): Likewise.
8504         (setObjectField): Likewise.
8505
8506 2002-07-24  Tom Tromey  <tromey@redhat.com>
8507
8508         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8509         use toString() to format array element.
8510
8511 2002-07-23  Mark Wielaard  <mark@klomp.org>
8512
8513         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8514         MessageDigestSpi (fixes Classpath bug #783).
8515
8516 2002-07-21  Mark Wielaard  <mark@klomp.org>
8517
8518         * gnu/java/security/provider/Gnu.java: Reference all implementation
8519         classes by using Class.getName().
8520
8521 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8522
8523         * java/lang/ieeefp.h: Add x86-64 support.
8524         * configure.in: Likewise.
8525         * configure.host: Likewise.
8526         * configure: Regenerated.
8527         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8528
8529 2002-07-16  Mark Wielaard  <mark@klomp.org>
8530
8531         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8532         (whitespaceChars): call resetChar().
8533
8534 2002-07-15  Tom Tromey  <tromey@redhat.com>
8535
8536         * Makefile.in: Rebuilt.
8537         * Makefile.am (awt_java_source_files): Added new files.
8538         * java/beans/ExceptionListener.java: Merged with Classpath.
8539         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8540         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8541         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8542         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8543         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8544         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8545         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8546
8547 2002-07-14  Mark Wielaard  <mark@klomp.org>
8548
8549         * gnu/java/security/der/DEREncodingException.java,
8550         gnu/java/security/provider/DERReader.java,
8551         gnu/java/security/provider/DERWriter.java,
8552         gnu/java/security/provider/DSAKeyPairGenerator.java,
8553         gnu/java/security/provider/DSAParameterGenerator.java,
8554         gnu/java/security/provider/DSAParameters.java,
8555         gnu/java/security/provider/DSASignature.java,
8556         gnu/java/security/provider/GnuDSAPrivateKey.java,
8557         gnu/java/security/provider/GnuDSAPublicKey.java,
8558         gnu/java/security/provider/MD5.java,
8559         gnu/java/security/util/Prime.java: New files from Classpath.
8560         * Makefile.am (ordinary_java_source_files): Add new files.
8561         * Makefile.in: Regenerate.
8562
8563 2002-07-14  C. Brian Jones <cbj@gnu.org>
8564
8565         * gnu/java/security/provider/DefaultPolicy.java
8566         (getPermissions): do not maintain static class variable of
8567         Permissions
8568         * gnu/java/security/provider/SHA.java
8569         (engineUpdate): algorithm change
8570         (engineDigest): algorithm change
8571
8572 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8573
8574         For PR libgcj/7292:
8575         * java/lang/Character.java (toString(char)): Now static.
8576
8577 2002-07-12  Mark Wielaard  <mark@klomp.org>
8578
8579         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8580         (getStackTrace0): new method.
8581         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8582         (printStackTrace(PrintWriter)): replace with pure java implementation.
8583         (printRawStackTrace): removed.
8584         (getStackTrace0): new method.
8585         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8586         * gcj/javaprims.h: regenerate class list.
8587         * include/name-finder.h (lookup): new returns StackTraceElement*.
8588         (method_name, file_name): fields removed.
8589         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8590         (~_Jv_name_finder): close new descriptors.
8591         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8592         (createStackTraceElement): new method.
8593         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8594
8595 2002-07-10  Tom Tromey  <tromey@redhat.com>
8596
8597         * configure: Rebuilt.
8598         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8599
8600 2002-07-08  Mark Wielaard  <mark@klomp.org>
8601
8602         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8603         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8604         java.sql.DatabaseMetaData.TestJdbc20
8605
8606 2002-07-05  Tony Kimball  <alk@pobox.com>
8607
8608         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8609
8610 2002-07-04  Tom Tromey  <tromey@redhat.com>
8611             Jeff Sturm  <jsturm@one-point.com>
8612
8613         Fix for PR libgcj/7060:
8614         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8615         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8616         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8617         * java/lang/Class.java (getMethod): New Java implementation;
8618         complies with spec.
8619         (_getMethod): New native method.
8620
8621 2002-07-02  Tom Tromey  <tromey@redhat.com>
8622             David Hovemeyer  <daveho@cs.umd.edu>
8623
8624         * java/text/ChoiceFormat.java
8625         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8626         in check loop.
8627         * java/text/MessageFormat.java
8628         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8629         to MessageFormat.
8630
8631 2002-07-01  Tom Tromey  <tromey@redhat.com>
8632
8633         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8634         StringTokenizer on null string.  For PR libgcj/7180.
8635         From daveho@cs.umd.edu.
8636
8637 2002-06-24  Tom Tromey  <tromey@redhat.com>
8638
8639         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8640         (IntegerClass): Likewise.
8641         * java/lang/natClass.cc (CloneableClass): Removed.
8642         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8643         ConstructorClass): Likewise.
8644         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8645         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8646         SerializableClass): Likewise.
8647         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8648         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8649         LongClass, FloatClass, DoubleClass): Likewise.
8650
8651         * verify.cc (branch_prepass): Updated for change to exception
8652         handler type.
8653         (verify_instructions_0): Likewise.
8654         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8655         (handleExceptionTableEntry): Updated for change to exception
8656         handler type.
8657         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8658         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8659         (union _Jv_InterpPC): New.
8660         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8661         (class _Jv_InterpMethod): Added new `prepared' field.
8662         (class _Jv_InterpMethod): Added `compile' method.  Removed
8663         `continue1' and `find_exception'.  Changed arguments to `run'.
8664         * interpret.cc (union insn_slot): New.
8665         (find_exception): Removed.
8666         (run_normal): Removed most logic.
8667         (run_synch_object): Likewise; also, use JvSynchronize.
8668         (run_synch_class): Likewise.
8669         (run): Removed.
8670         (continue1): Renamed as `run'.  Compile bytecode if required.
8671         Add new code to allow refinement of direct-threaded code at
8672         runtime.  Handle exceptions.
8673         (SAVE_PC): Removed.
8674         (compile): New method.
8675         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8676         (NULLARRAYCHECK): Don't use SAVE_PC.
8677         (pc_t): New typedef.
8678         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8679         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8680
8681 2002-06-23  Tom Tromey  <tromey@redhat.com>
8682
8683         * configure: Rebuilt.
8684         * configure.in (INTERPRETER): New subst.
8685         (AM_RUNTESTFLAGS): Don't subst.
8686
8687         * Makefile.in: Rebuilt.
8688         * Makefile.am ($(srcdir)/java/lang/Object.h,
8689         $(srcdir)/java/lang/Class.h): Added dummy targets.
8690
8691 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8692
8693         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8694
8695         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8696         java/sql/Savepoint.java: New files.
8697         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8698         java/sql/Blob.java, java/sql/CallableStatement.java,
8699         java/sql/Clob.java, java/sql/Connection.java,
8700         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8701         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8702         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8703         java/sql/Ref.java, java/sql/ResultSet.java,
8704         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8705         java/sql/SQLException.java, java/sql/SQLInput.java,
8706         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8707         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8708         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8709         (JDK 1.4) specification.
8710         * javax/sql/ConnectionEvent.java,
8711         javax/sql/ConnectionEventListener.java,
8712         javax/sql/ConnectionPoolDataSource.java,
8713         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8714         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8715         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8716         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8717         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8718         javax/sql/XADataSource.java: New files.
8719         * Makefile.am: Add new files.
8720         * Makefile.in: Rebuilt.
8721
8722 2002-06-20  Tom Tromey  <tromey@redhat.com>
8723
8724         For PR libgcj/7073:
8725         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8726         exists.
8727         * defineclass.cc (handleClassBegin): Superclass for interface is
8728         `null'.
8729
8730 2002-06-18  Tom Tromey  <tromey@redhat.com>
8731
8732         * gcj/javaprims.h: Updated class declaration list.
8733         * Makefile.in: Rebuilt.
8734         * Makefile.am (core_java_source_files): Removed
8735         BasicMapEntry.java.
8736         * java/util/BasicMapEntry.java: Removed.
8737
8738 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8739
8740         * java/net/natPlainDatagramSocketImpl.cc (receive):
8741         Check bounds of argument to FD_SET.
8742         (setOption): Throw exception if socket is closed.
8743
8744         * java/net/natPlainSocketImpl.cc (accept, read):
8745         Check bounds of argument to FD_SET.
8746         (setOption): Throw exception if socket is closed.
8747
8748 2002-06-18  Tom Tromey  <tromey@redhat.com>
8749
8750         * gcj/javaprims.h: Updated class declaration list.
8751         * Makefile.in: Rebuilt.
8752         * Makefile.am (core_java_source_files): Added
8753         PropertyPermissionCollection.java.
8754         * java/lang/Thread.java (group, name): Now package-private.
8755         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8756         * java/util/AbstractList.java: Likewise.
8757         * java/util/AbstractMap.java: Likewise.
8758         * java/util/Calendar.java: Likewise.
8759         * java/util/Collections.java: Likewise.
8760         * java/util/HashMap.java: Likewise.
8761         * java/util/Hashtable.java: Likewise.
8762         * java/util/LinkedHashMap.java: Likewise.
8763         * java/util/LinkedList.java: Likewise.
8764         * java/util/List.java: Likewise.
8765         * java/util/ListResourceBundle.java: Likewise.
8766         * java/util/Map.java: Likewise.
8767         * java/util/Observable.java: Likewise.
8768         * java/util/Properties.java: Likewise.
8769         * java/util/PropertyPermission.java: Likewise.
8770         * java/util/PropertyPermissionCollection.java: Likewise.
8771         * java/util/PropertyResourceBundle.java: Likewise.
8772         * java/util/Random.java: Likewise.
8773         * java/util/SimpleTimeZone.java: Likewise.
8774         * java/util/StringTokenizer.java: Likewise.
8775         * java/util/TimerTask.java: Likewise.
8776         * java/util/TreeMap.java: Likewise.
8777         * java/util/WeakHashMap.java: Likewise.
8778         * java/util/jar/Attributes.java: Likewise.
8779         * java/util/jar/JarException.java: Likewise.
8780         * java/util/jar/Manifest.java: Likewise.
8781
8782 2002-06-17  Tom Tromey  <tromey@redhat.com>
8783
8784         * gcj/javaprims.h: Updated class declaration list.
8785         * Makefile.in: Rebuilt.
8786         * Makefile.am (core_java_source_files): Added new file.
8787         * java/util/EventListenerProxy.java: New file.
8788         * java/util/EventListener.java: Re-merge with Classpath.
8789         * java/util/EventObject.java: Re-merge with Classpath.
8790
8791 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8792
8793         * java/lang/ClassNotFoundException.java: New Classpath version.
8794
8795 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8796
8797         * java/rmi/activation/ActivateFailedException.java: Remerge from
8798         Classpath version.
8799         * java/rmi/activation/ActivationException.java: Ditto.
8800         * java/rmi/activation/UnknownGroupException.java: Ditto.
8801         * java/rmi/activation/UnknownObjectException.java: Ditto.
8802         * java/rmi/server/ExportException: Ditto.
8803         * java/rmi/server/ServerCloneException: Ditto.
8804         * java/rmi/server/ServerNotActiveException: Ditto.
8805         * java/rmi/server/SkeletonMismatchException: Ditto.
8806         * java/rmi/server/SkeletonNotFoundException: Ditto.
8807         * java/rmi/server/SocketSecurityException: Ditto.
8808
8809 2002-06-16  Tom Tromey  <tromey@redhat.com>
8810
8811         * gcj/javaprims.h: Updated class declaration list.
8812
8813         * java/io/LineNumberInputStream.java: Merged with Classpath.
8814
8815         * java/lang/RuntimeException.java: Re-merge with Classpath.
8816         * java/util/ArrayList.java: Likewise.
8817         * java/util/Arrays.java: Likewise.
8818         * java/util/BitSet.java: Likewise.
8819         * java/util/Dictionary.java: Likewise.
8820         * java/util/IdentityHashMap.java: Likewise.
8821         * java/util/MissingResourceException.java: Likewise.
8822         * java/util/Observer.java: Likewise.
8823         * java/util/TooManyListenersException.java: Likewise.
8824         * java/util/zip/DataFormatException.java: Likewise.
8825         * java/util/zip/ZipException.java: Likewise.
8826
8827 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8828
8829         * java/rmi/AccessException.java: Remerge from Classpath.
8830         * java/rmi/AlreadyBoundException.java: Ditto.
8831         * java/rmi/ConnectException.java: Ditto.
8832         * java/rmi/ConnectIOException.java: Ditto.
8833         * java/rmi/MarshalException.java: Ditto.
8834         * java/rmi/NoSuchObjectException.java: Ditto.
8835         * java/rmi/NotBoundException.java: Ditto.
8836         * java/rmi/RemoteException.java: Ditto.
8837         * java/rmi/RMISecurityException.java: Ditto.
8838         * java/rmi/ServerError.java: Ditto.
8839         * java/rmi/ServerException.java: Ditto.
8840         * java/rmi/ServerRuntimeException.java: Ditto.
8841         * java/rmi/StubNotFoundException.java: Ditto.
8842         * java/rmi/UnexpectedExcpetion.java: Ditto.
8843         * java/rmi/UnknownHostException.java: Ditto.
8844         * java/rmi/UnmarshalException.java: Ditto.
8845
8846 2002-06-15  Tom Tromey  <tromey@redhat.com>
8847
8848         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8849         * java/lang/ArithmeticException.java: Likewise.
8850         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8851         * java/lang/ArrayStoreException.java: Likewise.
8852         * java/lang/Byte.java: Likewise.
8853         * java/lang/CharSequence.java: Likewise.
8854         * java/lang/ClassCastException.java: Likewise.
8855         * java/lang/ClassCircularityError.java: Likewise.
8856         * java/lang/ClassFormatError.java: Likewise.
8857         * java/lang/CloneNotSupportedException.java: Likewise.
8858         * java/lang/Cloneable.java: Likewise.
8859         * java/lang/Comparable.java: Likewise.
8860         * java/lang/Compiler.java: Likewise.
8861         * java/lang/Error.java: Likewise.
8862         * java/lang/ExceptionInInitializerError.java: Likewise.
8863         * java/lang/IllegalAccessError.java: Likewise.
8864         * java/lang/IllegalAccessException.java: Likewise.
8865         * java/lang/IllegalArgumentException.java: Likewise.
8866         * java/lang/IllegalMonitorStateException.java: Likewise.
8867         * java/lang/IllegalStateException.java: Likewise.
8868         * java/lang/IllegalThreadStateException.java: Likewise.
8869         * java/lang/IncompatibleClassChangeError.java: Likewise.
8870         * java/lang/IndexOutOfBoundsException.java: Likewise.
8871         * java/lang/InheritableThreadLocal.java: Likewise.
8872         * java/lang/InstantiationError.java: Likewise.
8873         * java/lang/InstantiationException.java: Likewise.
8874         * java/lang/InternalError.java: Likewise.
8875         * java/lang/InterruptedException.java: Likewise.
8876         * java/lang/LinkageError.java: Likewise.
8877         * java/lang/NegativeArraySizeException.java: Likewise.
8878         * java/lang/NoClassDefFoundError.java: Likewise.
8879         * java/lang/NoSuchFieldError.java: Likewise.
8880         * java/lang/NoSuchFieldException.java: Likewise.
8881         * java/lang/NoSuchMethodError.java: Likewise.
8882         * java/lang/NoSuchMethodException.java: Likewise.
8883         * java/lang/NullPointerException.java: Likewise.
8884         * java/lang/NumberFormatException.java: Likewise.
8885         * java/lang/OutOfMemoryError.java: Likewise.
8886         * java/lang/Process.java: Likewise.
8887         * java/lang/Runnable.java: Likewise.
8888         * java/lang/RuntimePermission.java: Likewise.
8889         * java/lang/SecurityException.java: Likewise.
8890         * java/lang/Short.java: Likewise.
8891         * java/lang/StackOverflowError.java: Likewise.
8892         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8893         * java/lang/ThreadDeath.java: Likewise.
8894         * java/lang/ThreadLocal.java: Likewise.
8895         * java/lang/UnknownError.java: Likewise.
8896         * java/lang/UnsatisfiedLinkError.java: Likewise.
8897         * java/lang/UnsupportedClassVersionError.java: Likewise.
8898         * java/lang/UnsupportedOperationException.java: Likewise.
8899         * java/lang/VerifyError.java: Likewise.
8900         * java/lang/VirtualMachineError.java: Likewise.
8901         * java/lang/reflect/InvocationTargetException.java: Likewise.
8902         * java/net/BindException.java: Likewise.
8903         * java/net/ConnectException.java: Likewise.
8904         * java/net/MalformedURLException.java: Likewise.
8905         * java/net/NoRouteToHostException.java: Likewise.
8906         * java/net/ProtocolException.java: Likewise.
8907         * java/net/SocketException.java: Likewise.
8908         * java/net/UnknownHostException.java: Likewise.
8909         * java/net/UnknownServiceException.java: Likewise.
8910
8911         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8912         * java/io/CharConversionException.java: Likewise.
8913         * java/io/EOFException.java: Likewise.
8914         * java/io/FileNotFoundException.java: Likewise.
8915         * java/io/IOException.java: Likewise.
8916         * java/io/InterruptedIOException.java: Likewise.
8917         * java/io/InvalidClassException.java: Likewise.
8918         * java/io/InvalidObjectException.java: Likewise.
8919         * java/io/NotActiveException.java: Likewise.
8920         * java/io/NotSerializableException.java: Likewise.
8921         * java/io/ObjectStreamException.java: Likewise.
8922         * java/io/ObjectStreamConstants.java: Likewise.
8923         * java/io/OptionalDataException.java: Likewise.
8924         * java/io/PipedInputStream.java: Likewise.
8925         * java/io/PushbackInputStream.java: Likewise.
8926         * java/io/StreamCorruptedException.java: Likewise.
8927         * java/io/SyncFailedException.java: Likewise.
8928         * java/io/UTFDataFormatException.java: Likewise.
8929         * java/io/UnsupportedEncodingException.java: Likewise.
8930         * java/io/WriteAbortedException.java: Likewise.
8931
8932 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8933
8934         * java/text/ChoiceFormat.java: Update comments from Classpath.
8935         * java/text/ParseException.java (serialVersionUID): New
8936         field from Classpath.
8937         * java/text/ParseException.java: Update formatting & comments
8938         from Classpath.
8939
8940 2002-06-15  Tom Tromey  <tromey@redhat.com>
8941
8942         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8943         been read but none output by inflater.
8944         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8945         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8946         is_finished.
8947         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8948         version.
8949         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8950         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8951         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8952         version.
8953         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8954
8955 2002-06-13  Tom Tromey  <tromey@redhat.com>
8956
8957         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8958         true and OFFSET!=0.
8959         * java/lang/String.java (String(char[],int,int,boolean): New
8960         constructor.
8961         * java/lang/Long.java: Imported new version from Classpath.
8962         * java/lang/Number.java: Likewise.
8963         * java/lang/Integer.java: Likewise.
8964         * java/lang/Long.java: Likewise.
8965         * java/lang/Float.java: Likewise.
8966         * java/lang/Boolean.java: Likewise.
8967         * java/lang/Double.java: Likewise.
8968         * java/lang/Void.java: Likewise.
8969
8970 2002-06-12  Tom Tromey  <tromey@redhat.com>
8971
8972         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8973         Fixes PR libgcj/6652.
8974
8975 2002-06-10  Tom Tromey  <tromey@redhat.com>
8976
8977         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8978         (Class::getPackagePortion): Likewise.
8979         * java/lang/Class.java (desiredAssertionStatus): New method from
8980         Classpath.
8981         (getPackagePortion): Likewise.
8982         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8983         packageAssertionStatus, classAssertionStatus): New methods from
8984         Classpath.
8985         * java/lang/ClassLoader.java (defaultAssertionStatus,
8986         systemPackageAssertionStatus, packageAssertionStatus,
8987         systemClassAssertionStatus, classAssertionStatus): New fields from
8988         Classpath.
8989         (setDefaultAssertionStatus, setPackageAssertionStatus,
8990         setClassAssertionStatus, clearAssertionStatus): New methods from
8991         Classpath.
8992         * Makefile.in: Rebuilt.
8993         * Makefile.am (core_java_source_files): Added AssertionError.java.
8994         * java/lang/AssertionError.java: New from Classpath.
8995
8996 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8997
8998         * configure.host: Disable hash synchronization and slow_pthread_self
8999         for cygwin.
9000
9001 2002-06-06  Adam Megacz <adam@xwt.org>
9002
9003         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9004         locking, just like the Sun JVM does.
9005
9006 2002-06-05  H.J. Lu  (hjl@gnu.org)
9007
9008         * Makefile.am (libgcj_convenience.la): Revert the last change.
9009         (libgcj.la): Likewise.
9010         * Makefile.in: Regenerated.
9011
9012 2002-06-04  H.J. Lu  (hjl@gnu.org)
9013
9014         * Makefile.am (libgcj_convenience.la): New target.
9015         (libgcj.la): Depend on libgcj_convenience.la.
9016         * Makefile.in: Regenerated.
9017
9018 2002-06-04  H.J. Lu  (hjl@gnu.org)
9019
9020         * configure.in (--with-newlib): New option:
9021         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9022         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9023         Linux.
9024         * configure: Regenerated.
9025
9026 2002-06-04  Tom Tromey  <tromey@redhat.com>
9027
9028         * java/util/natTimeZone.cc: Include <stdio.h>.
9029
9030 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9031
9032         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9033         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9034         Set SIGNAL_HANDLER=include/s390-linux.h.
9035         * configure: Regenerate.
9036         * include/s390-linux.h: New file.
9037
9038 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9039
9040         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9041         not "stackTrace".
9042
9043 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9044
9045         Merge JDK 1.4 java.security changes from classpath.
9046
9047         * java/security/AccessControlException.java: Merge from Classpath.
9048         * java/security/AccessController.java: Likewise.
9049         * java/security/AllPermission.java: Likewise.
9050         * java/security/BasicPermission.java: Likewise.
9051         * java/security/Certificate.java: Likewise.
9052         * java/security/CodeSource.java: Likewise.
9053         * java/security/DigestException.java: Likewise.
9054         * java/security/DigestOutputStream.java: Likewise.
9055         * java/security/DomainCombiner.java: Likewise.
9056         * java/security/GeneralSecurityException.java: Likewise.
9057         * java/security/Guard.java: Likewise.
9058         * java/security/GuardedObject.java: Likewise.
9059         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9060         * java/security/InvalidKeyException.java: Likewise.
9061         * java/security/InvalidParameterException.java: Likewise.
9062         * java/security/Key.java: Likewise.
9063         * java/security/KeyException.java: Likewise.
9064         * java/security/KeyManagementException.java: Likewise.
9065         * java/security/KeyStoreException.java: Likewise.
9066         * java/security/MessageDigest.java: Likewise.
9067         * java/security/NoSuchAlgorithmException.java: Likewise.
9068         * java/security/NoSuchProviderException.java: Likewise.
9069         * java/security/Permission.java: Likewise.
9070         * java/security/PermissionCollection.java: Likewise.
9071         * java/security/Permissions.java: Likewise.
9072         * java/security/Policy.java: Likewise.
9073         * java/security/Principal.java: Likewise.
9074         * java/security/PrivateKey.java: Likewise.
9075         * java/security/PrivilegedAction.java: Likewise.
9076         * java/security/PrivilegedActionException.java: Likewise.
9077         * java/security/PrivilegedExceptionAction.java: Likewise.
9078         * java/security/ProtectionDomain.java: Likewise.
9079         * java/security/ProviderException.java: Likewise.
9080         * java/security/PublicKey.java: Likewise.
9081         * java/security/SecureClassLoader.java: Likewise.
9082         * java/security/SecurityPermission.java: Likewise.
9083         * java/security/SignatureException.java: Likewise.
9084         * java/security/UnrecoverableKeyException.java: Likewise.
9085         * java/security/UnresolvedPermission.java: Likewise.
9086         * java/security/acl/AclNotFoundException.java: Likewise.
9087         * java/security/acl/LastOwnerException.java: Likewise.
9088         * java/security/acl/NotOwnerException.java: Likewise.
9089         * java/security/cert/CRLException.java: Likewise.
9090         * java/security/cert/CertificateEncodingException.java: Likewise.
9091         * java/security/cert/CertificateException.java: Likewise.
9092         * java/security/cert/CertificateExpiredException.java: Likewise.
9093         * java/security/cert/CertificateFactory.java: Likewise.
9094         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9095         * java/security/cert/CertificateParsingException.java: Likewise.
9096         * java/security/spec/InvalidKeySpecException.java: Likewise.
9097         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9098
9099         * java/security/cert/CertPath.java: New file.
9100         * java/security/cert/CertPathBuilderException.java: New file.
9101         * java/security/cert/CertPathValidatorException.java: New file.
9102         * java/security/cert/CertStoreException.java: New file.
9103
9104         * Makefile.am: Add new CertPath classes.
9105         * Makefile.in: Rebuilt.
9106
9107         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9108
9109 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9110
9111         Merge JDK 1.4 exception chaining support from classpath.
9112
9113         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9114         (stackTraceBytes): Rename from stackTrace.
9115         * java/lang/Exception.java: Merge from classpath.
9116         * java/lang/StackTraceElement: New file from classpath.
9117         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9118         * Makefile.am: Add StackTraceElement.
9119         * Makefile.in: Rebuilt.
9120
9121 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9122
9123         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9124         they build first.
9125         * Makefile.in: Rebuilt.
9126
9127 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9128
9129         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9130         * configure.in: Likewise.
9131         * aclocal.m4: Regenerate.
9132         * configure: Regenerate.
9133
9134 2002-05-13  Tom Tromey  <tromey@redhat.com>
9135
9136         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9137         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9138         Include platform.h.
9139
9140         Fixes PR libgcj/6389:
9141         * Makefile.in: Rebuilt.
9142         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9143         * java/util/natTimeZone.cc: New file.
9144         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9145         * java/lang/System.java: Merged with Classpath.
9146         * java/lang/Runtime.java: Merged with Classpath.
9147         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9148         security check.
9149         (setIn0): Renamed from setIn; don't run security check.
9150         (setOut0): Renamed from setOut; don't run security check.
9151         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9152         init_properties): Moved to natRuntime.cc.
9153         Moved many includes to natRuntime.cc.
9154         (isWordsBigEndian): New method.
9155         * java/lang/natRuntime.cc: Include Long.h, also other includes
9156         previously in natSystem.cc.
9157         (maxMemory): New function.
9158         (exitInternal): Renamed from `_exit'.
9159         (exit): Removed.
9160         (init): Don't set finalize_on_exit.
9161         (exitInternal): Use `finalizeOnExit'.
9162         (file_encoding, getpwuid_adaptor): New functions from
9163         natSystem.cc.
9164         (insertSystemProperties): New method, renamed from
9165         System::init_properties.  Don't set user.timezone.
9166         (_load): Don't call checkLink.
9167         (execInternal): New method.
9168         (availableProcessors): Likewise.
9169         (nativeGetLibname): Likewise.
9170
9171 2002-05-11  Mark Wielaard  <mark@klomp.org>
9172
9173         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9174         space characters.
9175         (previous_internal): Likewise.
9176
9177 2002-05-09  Tom Tromey  <tromey@redhat.com>
9178
9179         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9180
9181         * java/util/ResourceBundle.java: New version from Classpath.
9182         * java/util/Locale.java: Likewise.
9183
9184 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9185
9186         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9187         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9188         LD_LIBRARY_PATH.
9189
9190 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9191
9192         * libjava/Makefile.am (all_java_source_files): New variable.
9193         (all_java_class_files): Likewise.
9194         .java.class: New rule.
9195         (CLEANFILES): Remove tmp-list.
9196         * libjava/Makefile.in: Regenerated.
9197
9198 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9199
9200         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9201         Append .exe to executable names.  Fix for cygwin.
9202
9203 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9204
9205         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9206         script entry, and set LD to it when configuring multilibs.
9207         * configure: Rebuilt.
9208
9209 2002-05-07  Tom Tromey  <tromey@redhat.com>
9210
9211         * java/lang/natString.cc (unintern): Fixed typo.
9212
9213 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9214
9215         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9216         with -no-install on *-*-cygwin*.
9217
9218 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9219
9220         * testsuite/lib/libjava.exp (test_libjava_from_source):
9221         Add comment explaining last patch
9222
9223 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9224
9225         * testsuite/lib/libjava.exp (test_libjava_from_source):
9226         Append .exe to executable names.  If no suffix is present,
9227         then ".exe" is added by default on win32.  Harmless
9228         elsewhere so always do it.
9229
9230 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9231             Tom Tromey  <tromey@redhat.com>
9232
9233         * java/lang/natSystem.cc (getSystemTimeZone): Use
9234         HAVE_UNDERSCORE_TIMEZONE.
9235         * include/config.h.in: Rebuilt.
9236         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9237         * aclocal.m4, configure: Rebuilt.
9238         * acinclude.m4: Run AC_EXEEXT.
9239         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9240         Add test for `_timezone'.
9241
9242 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9243
9244         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9245         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9246         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9247         * Makefile.in: Rebuilt.
9248
9249 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9250
9251         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9252         use sigaction instead of __libc_sigaction.
9253
9254 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9255
9256         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9257         (libjava_init): Use it to find libgcj.spec.
9258         (libjava_arguments): Likewise.
9259
9260 2002-05-02  David S. Miller  <davem@redhat.com>
9261
9262         PR bootstrap/6525
9263         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9264         __libc_sigaction on Sparc.
9265
9266 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9267
9268         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9269         sys/filio.h, if present.
9270
9271 2002-04-30  Tom Tromey  <tromey@redhat.com>
9272
9273         * java/io/BufferedReader.java (fill): Handle case where markPos
9274         point to ignored \n.  Fixes PR libgcj/6301.
9275
9276 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9277
9278         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9279
9280 2002-04-29  Adam King <aking@dreammechanics.com>
9281
9282         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9283         of file in APPEND mode.
9284
9285 2002-04-25  David S. Miller  <davem@redhat.com>
9286
9287         PR target/6422
9288         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9289         program counter to next program counter minus 8.  Update
9290         comments in this macro to explain why.
9291
9292 2002-04-26  Tom Tromey  <tromey@redhat.com>
9293
9294         * verify.cc (construct_primitive_array_type) [void_type]: New
9295         case.
9296         (branch_prepass): Added dummy entries for unused instruction
9297         values.
9298         (verify_instructions_0): Likewise.
9299         * interpret.cc (continue1): Comment fix.
9300         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9301         * Makefile.in: Rebuilt.
9302         * Makefile.am: Added -Wswitch-enum.
9303
9304 2002-04-24  Tom Tromey  <tromey@redhat.com>
9305
9306         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9307         correct length of UTF-8 encoded name.  Strip leading `/'.
9308         (_Jv_RegisterResource): Use _Jv_Malloc.
9309
9310 2002-04-23  Adam Megacz <adam@xwt.org>
9311
9312         * win32.cc, include/win32.cc (backtrace): Added this function
9313         because Win32 does not supply it.
9314
9315 2002-04-21  David S. Miller  <davem@redhat.com>
9316
9317         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9318         magic instruction reading sequence.
9319
9320 2002-04-21  Mark Wielaard  <mark@klomp.org>
9321
9322         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9323
9324 2002-04-19  David S. Miller  <davem@redhat.com>
9325
9326         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9327         arg.
9328         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9329         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9330         on Sparc too.
9331         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9332         for 64-bit sparc.
9333         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9334         * sysdeps/sparc/locks.h: New file.
9335         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9336         on all sparc Solaris configurations.  Set to
9337         include/dwarf2-signal.h on sparc Linux.
9338         * configure: Regenerate
9339         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9340
9341 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9342
9343         * configure: Rebuilt.
9344         * configure.in (backtrace): Function doesn't work on IA-64.
9345
9346 2002-04-17  Adam King <aking@dreammechanics.com>
9347
9348         * java/io/File.java (normalizePath): Add Win32 support for auto
9349         conversion of a '/' path separator to Win32's '\' separator.
9350
9351 2002-04-16  Tom Tromey  <tromey@redhat.com>
9352
9353         Fix for PR libgcj/6081:
9354         * Makefile.in: Rebuilt.
9355         * Makefile.am (install-data-local): Use GNU make trick to avoid
9356         shell limit.
9357
9358 2002-04-16  Adam King <aking@dreammechanics.com>
9359             Tom Tromey  <tromey@redhat.com>
9360
9361         * java/io/natFileWin32.cc (performList): Return the correct array
9362         type.  Don't duplicate the creation of a File since it's already
9363         done earlier in the method and the existing code would cause a
9364         ArrayStoreException.  Don't use fixed-size array.
9365         (_access, _stat, attr, getCanonicalPath, performMkdir,
9366         performRenameTo): Don't use fixed-size array.
9367         (getCanonicalPath): Use throw, not _Jv_Throw.
9368
9369 2002-04-15  DJ Delorie  <dj@redhat.com>
9370
9371         * configure.in: Allow building in $srcdir.
9372         * configure: Regenerated.
9373
9374 2002-04-14  Mark Wielaard <mark@klomp.org>
9375
9376         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9377         * java/net/natSocketImpl.cc (close): Likewise.
9378
9379 2002-04-14  Mark Wielaard <mark@klomp.org>
9380
9381         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9382
9383 2002-04-13  Adam King <aking@dreammechanics.com>
9384
9385         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9386         the f/F/d/D modifiers.
9387
9388 2002-04-12  Anthony Green  <green@redhat.com>
9389
9390         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9391         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9392         * Makefile.in: Rebuilt.
9393         * configure.in: Substitute gcc_version.
9394         * configure: Rebuilt.
9395
9396 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9397
9398         * configure.host: Set can_unwind_signal on hosts which support it.
9399         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9400         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9401         exceptions and can_unwind_signal isn't set.
9402         * configure: Rebuilt.
9403
9404 2002-04-11  Tom Tromey  <tromey@redhat.com>
9405
9406         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9407
9408 2002-04-11  Adam King <aking@dreammechanics.com>
9409             Tom Tromey  <tromey@redhat.com>
9410
9411         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9412         _Jv_ThrowNullPointerException): Mark as noreturn.
9413         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9414         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9415         fixes.
9416
9417 2002-04-10  Tom Tromey  <tromey@redhat.com>
9418
9419         * Makefile.in: Rebuilt.
9420         * Makefile.am (java/lang/Thread.h): Mark
9421         _Jv_AttachCurrentThreadAsDaemon as friend.
9422         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9423         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9424         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9425         function.
9426         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9427         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9428         (_Jv_JNI_InvokeFunctions): Added
9429         _Jv_JNI_AttachCurrentThreadAsDaemon.
9430         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9431         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9432         (JNI_CreateJavaVM): Likewise.
9433         (_Jv_JNI_AttachCurrentThread): Likewise.
9434         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9435         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9436         (_Jv_JNIFunctions): Initialize new fields.
9437         (_Jv_JNI_NewDirectByteBuffer): New function.
9438         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9439         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9440         * include/jni.h (JNI_VERSION_1_4): New macro.
9441         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9442         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9443         (JNINativeInterface::NewDirectByteBuffer): New field.
9444         (JNINativeInterface::GetDirectBufferAddress): New field.
9445         (JNINativeInterface::GetDirectBufferCapacity): New field.
9446         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9447         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9448         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9449
9450 2002-04-09  Tom Tromey  <tromey@redhat.com>
9451
9452         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9453
9454 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9455
9456         Fix for PR libgcj/6187:
9457         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9458         distance.
9459
9460 2002-04-07  Mark Wielaard <mark@klomp.org>
9461
9462         * java/util/AbstractMap.java (putAll): Use entrySet size.
9463         (toString): Explicitly use getKey() and getValue().
9464
9465 2002-04-07  Mark Wielaard <mark@klomp.org>
9466
9467         * java/util/Hashtable.java (contains): Remove NullPointer check.
9468         (containsValue): Add NullPointer check.
9469         (remove): Always throw NullPointerException when key
9470         is null.
9471
9472 2002-04-07  Adam King <aking@dreammechanics.com>
9473
9474         * java/lang/natSystem.cc (init_properties): Call new function
9475         _Jv_platform_initProperties.
9476         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9477         support for the System properties os.name, os.arch, os.version,
9478         user.name, user.home, and user.dir.
9479         * include/posix.h, include/win32.h, posix.cc: New function
9480         _Jv_platform_initProperties.
9481
9482 2002-04-06  Mark Wielaard <mark@klomp.org>
9483
9484         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9485
9486 2002-04-06  Mark Wielaard <mark@klomp.org>
9487
9488         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9489         all of the remaining elements.
9490         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9491         (removeRange): If toIndex == fromIndex do
9492         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9493         (removeAll): Always throw NullPointerException when collection is
9494         null.
9495         (retrainAll): Likewise.
9496
9497 2002-04-05  Mark Wielaard <mark@klomp.org>
9498
9499         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9500         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9501
9502 2002-04-05  Adam Megacz <adam@xwt.org>
9503
9504         * exception.cc (abort): added static modifier
9505
9506 2002-04-04  Adam Megacz <adam@xwt.org>
9507
9508         * include/win32.h (_Jv_platform_close_on_exec): added inline
9509         modifier.
9510
9511 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9512
9513         * configure.host: Add case statement to support generic port
9514         properties.  Add *-*-freebsd* section.
9515
9516 2002-04-04  Mark Wielaard  <mark@klomp.org>
9517
9518         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9519         test.
9520         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9521         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9522         that depend on awt code and BufferedByteOutputStream.interrupt.
9523
9524 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9525
9526         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9527         incorrect "hi" value when count > 40.
9528
9529 2002-04-03  Mark Wielaard  <mark@klomp.org>
9530
9531         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9532         ordering.
9533
9534 2002-04-02  Tom Tromey  <tromey@redhat.com>
9535
9536         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9537         not `0'.
9538
9539 2002-04-02  Mark Wielaard  <mark@klomp.org>
9540
9541         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9542         list of testsuite crashers.
9543
9544 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9545
9546         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9547         when resizing table.
9548
9549 2002-04-01  Mark Wielaard  <mark@klomp.org>
9550
9551         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9552         NegativeArraySizeException
9553         (clear(int)): Use sign extended shift.
9554         (flip(int)): Likewise.
9555         (get(int)): Likewise.
9556         (nextClearBit(int)): Likewise.
9557         (nextSetBit(int)): Likewise.
9558         (set(int)): Likewise.
9559
9560 2002-04-01  Mark Wielaard  <mark@klomp.org>
9561
9562         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9563         that can be compiled now and add testsuite crashers to ignore list.
9564
9565 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9566
9567         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9568
9569         * libgcj.spec.in: Override libgcc, not lib.
9570         * libgcj-test.spec.in: Likewise.
9571
9572 2002-03-29  Tom Tromey  <tromey@redhat.com>
9573
9574         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9575         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9576
9577 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9578
9579         * java/net/PlainDatagramSocketImpl.java
9580         (close): Use native implementation.
9581         (finalize): New method.
9582
9583         * java/net/PlainSocketImpl.java (finalize): New method.
9584
9585         * java/net/natPlainDatagramSocketImpl.cc
9586         (java/io/FileDescriptor.h): Don't include.
9587         (close): Implement method here.
9588         (create): Don't assign fd.
9589
9590         * java/net/natPlainSocketImpl.cc
9591         (java/io/FileDescriptor.h): Don't include.
9592         (create): Don't assign fd.
9593         (accept): Likewise.
9594         (close): Synchronize.
9595
9596 2002-03-27  Richard Henderson  <rth@redhat.com>
9597
9598         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9599
9600 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9601
9602         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9603         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9604         instead of syscall on IA-64.
9605         Add FIXME comment.
9606
9607 2002-03-27  Anthony Green  <green@redhat.com>
9608
9609         * libgcj.spec.in: Add CHECKREFSPEC.
9610         * configure.in: Ditto.
9611         * configure.host: Ditto.  Check references for xscale-elf.
9612         * configure: Rebuilt.
9613
9614 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9615
9616         * include/dwarf2-signal.h: Temporarily back out last change.
9617
9618 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9619
9620         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9621
9622 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9623
9624         * configure.in, configure: enable dwarf2-exception-style
9625         exception handling on IA-64.
9626         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9627         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9628         Add FIXME comment.
9629
9630 2002-03-25  Tom Tromey  <tromey@redhat.com>
9631
9632         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9633         (jv_convert_LDFLAGS): Likewise.
9634         (gij_LDFLAGS): Likewise.
9635         (rmic_LDFLAGS): Likewise.
9636         (rmiregistry_LDFLAGS): Likewise.
9637         * configure.in (THREADLDFLAGS): New subst; set correctly for
9638         *BSD.
9639
9640 2002-03-25  Tom Tromey  <tromey@redhat.com>
9641
9642         For PR libgcj/5303:
9643         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9644         and --version.
9645         (help): New method.
9646         (version): Likewise.
9647         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9648         "GNU".
9649         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9650         "GNU".
9651
9652 2002-03-25  Tom Tromey  <tromey@redhat.com>
9653
9654         * java/awt/Component.java (processEvent): Check ComponentEvent
9655         after KeyEvent.
9656
9657 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9658
9659         * java/io/PushbackReader.java: Reformat.
9660
9661         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9662         calculate correct number of bytes skipped.
9663
9664         Based on patch from Intel's ORP team:
9665         * java/io/PushbackInputStream.java (available): Calculate correct
9666         number of bytes in buffer.
9667         (read): Remove redundant bound check. Return bytes from both the
9668         buffer and the stream.
9669
9670 2002-03-24  Tom Tromey  <tromey@redhat.com>
9671
9672         * java/awt/TextComponent.java (TextComponent): Editable by
9673         default.
9674
9675         * java/awt/MenuItem.java (eventMask): No longer private.
9676         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9677         superclass if we didn't handle event.
9678         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9679         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9680         * java/awt/Choice.java (dispatchEventImpl): New method.
9681         * java/awt/List.java (dispatchEventImpl): New method.
9682         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9683         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9684         * java/awt/TextField.java (dispatchEventImpl): New method.
9685
9686 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9687
9688         * java/beans/IntrospectionException.java: Update to 1.4.
9689         * java/beans/PropertyVetoException.java: Ditto.
9690
9691 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9692
9693         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9694         Arrays.equals instead of ArrayHelper.equalsArray.
9695
9696 2002-03-24  C. Brian Jones <cbj@gnu.org>
9697
9698         * java/beans/Introspector.java: added new static final fields
9699         introduced in 1.2, lots of other updates remain to be done
9700
9701 2002-03-24  C. Brian Jones <cbj@gnu.org>
9702
9703         * java/beans/Introspector.java: reformatting
9704
9705 2002-03-24  C. Brian Jones <cbj@gnu.org>
9706
9707         * java/beans/Introspector.java: default beanInfoSearchPath will
9708         not include sun.beans.infos given we provide no such package and
9709         the API doesn't really require it; gnu.java.beans.info is the
9710         default.
9711
9712 2002-03-24  Mark Wielaard  <mark@klomp.org>
9713
9714         Thanks to Orp developers
9715         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9716         switch TRUE and FALSE return values.
9717
9718 2002-03-23  Tom Tromey  <tromey@redhat.com>
9719
9720         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9721         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9722
9723 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9724
9725         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9726         MONTH entry.  Fixes PR libgcj/6045.
9727
9728 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9729
9730         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9731
9732 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9733
9734         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9735         not release_set.
9736         * sysdep/powerpc/locks.h (write_barrier): New function.
9737         * sysdep/i386/locks.h (write_barrier): New function.
9738
9739 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9740
9741         * include/jni.h Use correct C comments.
9742
9743 2002-03-18  Tom Tromey  <tromey@redhat.com>
9744
9745         * include/jni.h (JNIIMPORT): New macro.
9746         (JNIEXPORT): Likewise.
9747         (JNICALL): Likewise.
9748
9749 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9750
9751         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9752         systems.
9753
9754 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9755
9756         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9757         INIT_SEGV: Use old_i386_kernel_sigaction.
9758         INIT_FP: Likewise.
9759
9760 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9761
9762         * java/lang/natSystem.cc (init_properties): Update VM version
9763         properties.
9764         * configure.in: Set GCJVERSION.
9765         * acconfig.h: Add GCJVERSION.
9766         * configure: Rebuilt.
9767         * include/config.h.in: Rebuilt.
9768
9769 2002-03-17  Anthony Green  <green@redhat.com>
9770
9771         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9772
9773 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9774
9775         Build a single libgcj.so, without separate gc and zlib libraries.
9776         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9777         SYS_ZLIBS if system zlib is used.
9778         * configure: Rebuilt.
9779         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9780         * Makefile.in: Rebuilt.
9781         * libtool-version: Increment .so version number.
9782
9783         * Makefile.am: Escape quotes in echo.
9784         * Makefile.in: Rebuilt.
9785
9786 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9787
9788         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9789         * Makefile.in: Rebuilt.
9790
9791 2002-03-15  Anthony Green  <green@redhat.com>
9792
9793         * configure.host (FILE): New macro for specifing File
9794         implementation.
9795         * configure: Rebuilt.
9796         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9797
9798 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9799
9800         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9801         already implicitly brought in from libgcj.la.
9802         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9803         * Makefile.in: Rebuilt.
9804
9805 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9806
9807         * THANKS: Fix punctuation, alphabetization.
9808
9809 2002-03-15  Tom Tromey  <tromey@redhat.com>
9810             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9811
9812         Fix for PR libgcj/5944.
9813         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9814
9815 2002-03-15  Anthony Green  <green@redhat.com>
9816
9817         * configure.in (tool_include_dir): Define.
9818         * configure: Rebuilt.
9819         * gcj/Makefile.am: Install libgcj-config.h relative to
9820         tool_include_dir.
9821         * gcj/Makefile: Rebuilt.
9822         * gcj/libgcj-config.h: Add warning comment.
9823
9824 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9825
9826         * configure.host (powerpc*-darwin*): Enable interpreter.
9827
9828 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9829
9830         * include/posix.h: Add multiple include header protection.
9831         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9832
9833 2002-03-10  Adam Megacz <adam@xwt.org>
9834
9835         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9836
9837 2002-03-10  Tom Tromey  <tromey@redhat.com>
9838
9839         * java/awt/GridLayout.java (layoutContainer): Handle case where
9840         there are no items in container.
9841
9842         * java/lang/Win32Process.java: Added comment.
9843         * include/posix.h (_Jv_platform_close_on_exec): New function.
9844         Include fcntl.h.
9845         * include/win32.h (_Jv_platform_close_on_exec): New function.
9846         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9847         flag.
9848         (accept): Likewise.
9849         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9850         close-on-exec flag.
9851         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9852         flag.
9853
9854 2002-03-09  Tom Tromey  <tromey@redhat.com>
9855
9856         * verify.cc (state::NO_STACK): New constant.
9857         (state::is_unmerged_ret_state): Handle case where stacktop is
9858         NO_STACK.
9859         (state::merge): Handle NO_STACK merges.
9860         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9861         for instruction following jsr.
9862         (stacktop, stackdepth): Removed unused variables.
9863         (pop_jump): Ignore case where all remaining states are skipped.
9864
9865 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9866
9867         * java/awt/ImageMediaEntry: Removed.
9868         * java/awt/MediaEntry: Removed.
9869
9870 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9871
9872         Hashtable synchronization for PowerPC.
9873         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9874         slow_pthread_self. Set up symlink for sysdeps directory.
9875         * configure: Rebuild.
9876         * configure.host: Document more shell variables. Set sysdeps_dir
9877         for most platforms. Set slow_pthread_self for i686. Set
9878         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9879         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9880         that memory barrier is emitted where required.
9881         * prims.cc: 64-bit align static primitive class instances.
9882         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9883         read_barrier() to enforce ordering of reads.
9884         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9885         primitives for PowerPC.
9886         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9887         moved from natObject.cc.
9888         * sysdep/alpha/locks.h: Likewise.
9889         * sysdep/ia64/locks.h: Likewise.
9890         * sysdep/generic/locks.h: Likewise.
9891         * java/lang/natObject.cc: Move thread synchronization primitives to
9892         system-dependent headers.
9893
9894 2002-03-09  Adam Megacz  <adam@xwt.org>
9895
9896         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9897         bytes read and no failure code returned.
9898
9899 2002-03-09  Adam Megacz  <adam@xwt.org>
9900
9901         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9902         definitions to simulate -mthreads.
9903
9904 2002-03-09  Adam Megacz  <adam@xwt.org>
9905
9906         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9907         avoid precision loss.
9908
9909 2002-03-09  Per Bothner  <per@bothner.com>
9910
9911         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9912         * gnu/gcj/xlib/XImage.java:  Likewise.
9913         * gnu/gcj/xlib/XColor.java:  Likewise.
9914
9915 2002-03-09  Adam Megacz  <adam@xwt.org>
9916
9917         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9918         IOException so that Throwable.printStackTrace fails correctly.
9919
9920 2002-03-08  Adam Megacz  <adam@xwt.org>
9921
9922         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9923         fixed.
9924
9925 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9926
9927         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9928         truncated to int.
9929
9930 2002-03-08  Tom Tromey  <tromey@redhat.com>
9931
9932         * include/jni.h: Include stdio.h.
9933
9934 2002-03-08  Tom Tromey  <tromey@redhat.com>
9935
9936         * posix.cc (internal_gettimeofday): New function.
9937         (_Jv_select): Use it.
9938
9939 2002-03-07  Adam Megacz  <adam@xwt.org>
9940
9941         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9942         WIN32, and added thunks for read(), write(), and close().
9943         * java/net/natPlainSocketImpl.cc (accept, read, read):
9944         Disabled timeouts on WIN32 pending discussion.
9945
9946 2002-03-07  Adam Megacz  <adam@xwt.org>
9947
9948         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9949         returns jlong. Added implementation
9950         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9951         returns jlong.
9952         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9953         returns jlong.
9954         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9955         returns jlong.
9956         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9957         _Jv_platform_gettimeofday signature.
9958
9959 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9960
9961         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9962         (read): Call recv() directly, not _Jv_recv().
9963
9964 2002-03-06  Tom Tromey  <tromey@redhat.com>
9965
9966         * java/io/natFileDescriptorEcos.cc (init): Don't use
9967         GetStdHandle.
9968         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9969         is negative.
9970         (init): Don't use GetStdHandle.
9971
9972         * include/config.h.in: Rebuilt.
9973         * configure: Rebuilt.
9974         * Makefile.in: Rebuilt.
9975
9976 2002-03-06  Adam Megacz  <adam@xwt.org>
9977
9978         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9979         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9980         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9981         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9982
9983 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9984
9985         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9986         the code for generating include/java-chartables.h.
9987         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9988         merge with Classpath.
9989         * scripts/unicode-muncher.pl: Copy from Classpath.
9990         * scritps/MakeCharTables.java: New file.
9991         * gnu/gcj/convert/Blocks-3.txt: New file.
9992         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9993         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9994         * gnu/java/lang/CharData.java: Copy from Classpath.
9995         * Makefile.am (ordinary_java_source_files): Add
9996         gnu/java/lang/CharData.java.
9997         * configure.in: Remove --enable-fast-character option.
9998         * java/lang/Character.java: Merge algorithms and Javadoc with
9999         Classpath.
10000         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10001         efficiently.
10002         * include/java-chardecomp.h: Regenerate.
10003         * include/java-chartables.h: Regenerate.
10004
10005 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10006
10007         * java/awt/MediaTracker.java: Implemented.
10008         * Makefile.am: Add MediaTracker.
10009         * Makefile.in: Rebuilt.
10010
10011 2002-03-05  Tom Tromey  <tromey@redhat.com>
10012
10013         * java/lang/natPosixProcess.cc (fail): Removed.
10014         (startProcess): Simplified error-handling.  Preserve
10015         LD_LIBRARY_PATH across exec.
10016
10017         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10018         AbstractMethodError.
10019
10020 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10021
10022         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10023         * Makefile.in: Rebuilt.
10024
10025 2002-03-03 Mark Wielaard <mark@klomp.org>
10026
10027         * java/util/Timer (TaskQueue.stop): set elements to zero.
10028
10029 2002-02-28  Anthony Green  <green@redhat.com>
10030
10031         * java/lang/reflect/natMethod.cc (result): Add void* element.
10032         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10033         constructor test.
10034
10035 2002-02-27  Adam Megacz <adam@xwt.org>
10036
10037         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10038         '#undef STRICT'.
10039
10040 2002-02-26  Tom Tromey  <tromey@redhat.com>
10041
10042         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10043         * gij.cc (version): Use __VERSION__.
10044         * include/config.h.in: Rebuilt.
10045         * acconfig.h (GCJVERSION): Removed.
10046         * configure: Rebuilt.
10047         * configure.in (GCJVERSION): Removed.
10048
10049 2002-02-26  Andreas Schwab  <schwab@suse.de>
10050
10051         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10052         glibcpp_CXX, since libjava uses even another CXX.
10053         * aclocal.m4, configure: Regenerated.
10054
10055 2002-02-26  Tom Tromey  <tromey@redhat.com>
10056
10057         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10058         `1'.
10059
10060 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10061
10062         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10063         dependency tracking for .java files.
10064         * Makefile.in: Rebuilt.
10065
10066 2002-02-24  Adam Megacz  <adam@xwt.org>
10067
10068         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10069         typo. Sorry.
10070
10071 2002-02-24  Adam Megacz  <adam@xwt.org>
10072
10073         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10074         for Win32, changed #ifdefs to check WIN32 instead of the
10075         (now-obsolete) USE_WINSOCK, and removed support for socket
10076         timeouts on Win32 pending further discussion.
10077
10078 2002-02-24  Adam Megacz  <adam@xwt.org>
10079
10080         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10081         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10082         delete
10083
10084 2002-02-24  Adam Megacz  <adam@xwt.org>
10085
10086         * java/lang/Win32Process.java: Created a dummy class to allow
10087         build process to run to completion.
10088
10089 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10090
10091         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10092         Define ffi_result union for ffi_call result.  Cast
10093         ffi_result members to jvalue.
10094
10095 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10096
10097         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10098         * testsuite/Makefile.in: Likewise.
10099
10100 2002-02-20  Per Bothner  <per@bothner.com>
10101
10102         * java/net/URL.java (getPath):  New JDK 1.3 method.
10103
10104         * java/net/URLStreamHandler.java (parseURL):
10105         It is wrong to prepend '/' to the file part of a relative url.
10106
10107         * java/net/URLStreamHandler.java (parseURL):
10108         Minor optizations - append '/' rather than "/".
10109
10110         * java/net/URLStreamHandler.java (parseURL):
10111         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10112         We probably should canonicalize for a context-relative url, though.
10113         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10114         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10115         (sameFile):  New method.  Uses canonicalizeFilename.
10116
10117 2002-02-22  Tom Tromey  <tromey@redhat.com>
10118
10119         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10120         java.vendor and java.vm.vendor.
10121         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10122         recent copyright date.
10123         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10124         * gij.cc (version): Print `Inc'.
10125
10126 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10127
10128         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10129         * aclocal.m4, configure: Rebuilt.
10130
10131 2002-02-20  Per Bothner  <per@bothner.com>
10132
10133         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10134         and/or output streams immediately here, instead of using File.exists.
10135         (inputStream, outputStream):  New fields to save open streams.
10136         (getInputStream, getOutputStream):  Use already-opened streams.
10137
10138 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10139
10140         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10141         Use it.
10142         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10143         * aclocal.m4, configure, Makefile.in: Rebuilt.
10144
10145 2002-02-19  Tom Tromey  <tromey@redhat.com>
10146
10147         Fix for PR libgcj/5696:
10148         * verify.cc (is_assignable_from_slow): Never call
10149         _Jv_IsAssignableFrom.
10150         (verify_instructions_0): Added new debug statement.
10151         (state::print): Print information about whether local has
10152         changed.
10153         (state::merge): Don't call note_variable when merging locals.
10154         (state::set_exception): Removed old FIXME comment.
10155
10156 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10157
10158         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10159         enable SO_BROADCAST.
10160
10161 2002-02-18  Jason Merrill  <jason@redhat.com>
10162
10163         * name-finder.cc (toHex): Use word mode, not long long.
10164
10165         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10166
10167 2002-02-15  Tom Tromey  <tromey@redhat.com>
10168
10169         Fix for PR libgcj/5695:
10170         * verify.cc (is_assignable_from_slow): Check to see if target is
10171         an Object before checking to see if source is an interface.
10172         (verify_instructions_0) [op_invokeinterface]: Handle case where
10173         we're making an interface call on Object.
10174
10175 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10176
10177         * Makefile.in: Rebuilt with Eric's change below.
10178
10179         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10180         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10181         Removed functions which are now implemented in Math.java.
10182
10183 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10184
10185         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10186         * Makefile.am (core_java_source_files): Add
10187         java/lang/StrictMath.java.
10188         * java/lang/Math.java: Merge with Classpath.
10189         * java/lang/StrictMath.java: New file - merge with Classpath.
10190
10191 2002-02-14  Mark Wielaard  <mark@klomp.org>
10192
10193         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10194         package as a workaround for gcj 3.0.x
10195
10196 2002-02-14  Mark Wielaard <mark@klomp.org>
10197
10198         * java/security/BasicPermission.java: extends with fully qualified
10199         classname as workaround for gcj 3.0.4.
10200
10201 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10202
10203         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10204         around gcj bug of wrong emitted qualifier for inherited method.
10205         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10206         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10207         constructor to reduce amount of emitted bytecode. While this
10208         happens to work around a jikes 1.15 bug, it is still a useful
10209         patch even for correct compilers.
10210         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10211         * gnu/java/rmi/server/UnicastRemoteCall.java
10212         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10213
10214 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10215
10216         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10217         * java/net/SocketImpl.java: Ditto.
10218         * java/rmi/server/RMIClassLoader.java: Ditto.
10219         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10220
10221 2002-02-14  Mark Wielaard <mark@klomp.org>
10222
10223         Thanks to Takashi Okamoto
10224         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10225         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10226         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10227
10228 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10229
10230         Fix for PR libgcj/5670:
10231         * verify.cc (is_assignable_from_slow): If `source' is interface,
10232         recursively look for merge with `target'.
10233
10234 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10235
10236         * include/jni.h: Fix typo.
10237
10238 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10239
10240         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10241         correctly.
10242
10243 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10244
10245         Fix for PR libgcj/5671:
10246         * verify.cc (state::merge): Handle case where we're merging
10247         against an interface.
10248
10249 2002-02-12  Tom Tromey  <tromey@redhat.com>
10250
10251         * exception.cc (std::abort): Mark as noreturn.
10252
10253 2002-02-12  Adam Megacz <adam@xwt.org>
10254
10255         * java/lang/Win32Process.java: Filled in a placeholder
10256         implementation so Win32 will build.
10257
10258 2002-02-12  Adam Megacz <adam@xwt.org>
10259
10260         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10261         * java/io/natFile.cc: Removed from repository.
10262         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10263
10264 2002-02-12  Adam Megacz <adam@xwt.org>
10265
10266         * win32.cc: Added two #includes to make win32.cc compile.
10267
10268 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10269
10270         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10271         declarations.
10272         (_Jv_InitGC): Don't bother locking, as this is always called from a
10273         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10274
10275 2002-02-11  Adam Megacz <adam@xwt.org>
10276
10277         * include/win32.h: Added _Jv_platform_gettimeofday.
10278         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10279
10280 2002-02-11  Adam Megacz <adam@xwt.org>
10281
10282         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10283         Added #undef STRICT to make windows.h and
10284         java/lang/reflect/Modifier.h cooperate.
10285
10286 2002-02-11  Adam Megacz <adam@xwt.org>
10287
10288         * java/io/natFileWin32.cc: Created a placeholder class with lots
10289         of FIXMEs.
10290
10291 2002-02-11  Adam Megacz <adam@xwt.org>
10292
10293         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10294         std::abort() to simply abort(). Also added "fake" std::abort() so
10295         we can #include unwind-pe.h without having to link against
10296         libstdc++-v3.
10297
10298 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10299
10300         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10301
10302 2002-02-08  Tom Tromey  <tromey@redhat.com>
10303
10304         * interpret.cc (convert): New function.
10305         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10306         convert.
10307         Include Long.h.
10308
10309 2002-02-08  Anthony Green  <green@redhat.com>
10310
10311         * configure.host: Add support for xscale-elf embedded target.
10312
10313 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10314
10315         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10316         dereferenced.
10317         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10318         frame.
10319
10320 2002-02-07  Tom Tromey  <tromey@redhat.com>
10321
10322         * java/io/natFile.cc (_access): Use __builtin_alloca.
10323         (_stat): Likewise.
10324         (attr): Likewise.
10325         (getCanonicalPath): Likewise.
10326         (performList): Likewise.
10327         (performMkdir): Likewise.
10328         (performSetReadOnly): Likewise.
10329         (performRenameTo): Likewise.
10330         (performSetLastModified): Likewise.
10331         (performCreate): Likewise.
10332         (performDelete): Likewise.
10333
10334 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10335
10336         * HACKING: Fix URL for the automake-gcj.
10337
10338 2002-02-07  Tom Tromey  <tromey@redhat.com>
10339
10340         * java/lang/natThrowable.cc: Updated copyright.
10341         * java/io/natFileWin32.cc: Updated copyright.
10342         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10343         * win32-threads.cc: Updated copyright.
10344         * name-finder.cc: Updated copyright.
10345         * include/name-finder.h: Updated copyright.
10346
10347         * include/name-finder.h: Conditionally include sys/wait.h.
10348         * include/config.h.in: Rebuilt.
10349
10350         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10351         Size buffer based on real size of string.
10352         (_stat): Likewise.
10353         (attr): Likewise.
10354         (getCanonicalPath): Likewise.
10355         (performList): Likewise.
10356         (performMkdir): Likewise.
10357         (performSetReadOnly): Likewise.
10358         (unixroot): Removed.
10359         (performRenameTo): Likewise.
10360         (performSetLastModified): Likewise.
10361         (performCreate): Likewise.
10362         (performDelete): Likewise.
10363         (performListRoots): Always return new array.
10364
10365         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10366         * win32.cc (win32_exception_handler): Now static.
10367         * include/win32.h (_Jv_platform_initialize): Declare.
10368         (win32_exception_handler): Don't declare.
10369         * java/lang/natSystem.cc (currentTimeMillis): Use
10370         _Jv_platform_gettimeofday.
10371         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10372         (_Jv_select): Use new name.
10373         (_Jv_platform_initialize): New function.
10374         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10375         _Jv_gettimeofday.
10376         (_Jv_platform_initialize): Declare.
10377
10378         * configure: Rebuilt.
10379         * configure.in: Removed unnecessary parens.
10380
10381 2002-02-06  Adam Megacz <adam@xwt.org>
10382
10383        * configure.in: Changed mingw) to *mingw*).
10384        * win32.cc: Created this file.
10385        * win32.h: Created this file.
10386        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10387        win32_exception_handler from prims.cc to win32.cc, added
10388        header in win32.h.
10389        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10390        longer needed now that we have platform.h
10391
10392 2002-02-06  Adam Megacz <adam@xwt.org>
10393
10394         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10395         use uint<n>_t instead of LONG and BYTE
10396
10397 2002-02-06  Adam Megacz <adam@xwt.org>
10398
10399         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10400
10401 2002-02-06  Anthony Green  <green@redhat.com>
10402
10403         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10404         Implement missing method stubs.
10405         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10406         targets.
10407         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10408         concept of timezones.
10409         (init_properties): Don't refer to _Jv_Environment_Properties
10410         when this feature is not available.
10411         * include/config.h.in: Rebuilt.
10412         * acconfig.h: Add DISABLE_MAIN_ARGS.
10413         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10414         * configure: Rebuilt.
10415         * configure.in: Add --disable-main-args option.  Test for
10416           opendir function.  Replace AC_CHECK_SIZEOF with
10417           AC_COMPILE_CHECK_SIZEOF.
10418         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10419         * aclocal.m4: Rebuilt.
10420         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10421
10422 2002-02-06  Tom Tromey  <tromey@redhat.com>
10423
10424         * verify.cc (require_array_type): If argument is a null array of
10425         references, return null as the element type.
10426
10427 2002-02-06  Mark Wielaard  <mark@klomp.org>
10428
10429         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10430         duplicate of a wide type.
10431
10432 2002-02-06  Tom Tromey  <tromey@redhat.com>
10433
10434         * verify.cc (type::isnull): New method.
10435         (require_array_type): Handle case where array is null.
10436         (verify_instructions_0) [op_arraylength]: Likewise.
10437
10438 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10439
10440         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10441         Symlink PLATFORMH to platform.h.
10442         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10443         PLATFORMOBJS.
10444         * java/lang/natSystem.cc: #include platform.h not posix.h.
10445         * Makefile.in: Rebuilt with libgcj automake.
10446         * configure: Rebuilt.
10447
10448 2002-02-05  Richard Henderson  <rth@redhat.com>
10449
10450         * Makefile.in: Undo munging last change.
10451
10452 2002-02-04  Adam Megacz <adam@xwt.org>
10453
10454         * win32.cc: Created it.
10455         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10456         which is set to posix.cc or win32.cc.
10457         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10458
10459 2002-02-04  Adam Megacz <adam@xwt.org>
10460
10461         * configure.in: Corrected mingw case branches; added * before
10462         and after.
10463
10464 2002-02-04  Adam Megacz <adam@xwt.org>
10465
10466         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10467         if compiling for win32
10468
10469 2002-02-04  Adam Megacz <adam@xwt.org>
10470
10471         * win32-threads.cc: #undef STRICT after gc.h inclusion
10472
10473 2002-02-02  Tom Tromey  <tromey@redhat.com>
10474
10475         * Makefile.in: Rebuilt.
10476
10477 2002-02-02  Jason Merrill  <jason@redhat.com>
10478
10479         * Makefile.am (clean-nat): New target.
10480
10481 2002-02-02  Tom Tromey  <tromey@redhat.com>
10482
10483         * java/io/natFile.cc: Removed old "FIXME" comments.
10484
10485 2002-02-01  Tom Tromey  <tromey@redhat.com>
10486
10487         * java/lang/natPosixProcess.cc (myclose): New function.
10488         (fail): Use it.
10489         (startProcess): Likewise.
10490
10491 2002-02-01  Adam Megacz <adam@xwt.org>
10492
10493         * prims.cc: Added #undef STRICT after #include<windows.h>.
10494
10495 2002-02-01  Adam Megacz <adam@xwt.org>
10496
10497         * prims.cc
10498         (_Jv_CreateJavaVM): We now use WIN32 instead of
10499         USE_WIN32_SIGNALLING and USE_WINSOCK.
10500         (win32_exception_handler): Now throws an exception out of
10501         the signal handler; assumes SJLJ.
10502
10503 2002-02-01  Adam Megacz <adam@xwt.org>
10504
10505         * win32-threads.cc:
10506         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10507         wait() algorithm to make it safe.
10508         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10509         Added lazy creation of Win32 Events for better performance
10510         (really_start): This now uses GC_CreateThread so boehm-gc
10511         knows about new threads even when statically linked.
10512
10513 2002-02-01  Adam Megacz <adam@xwt.org>
10514
10515         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10516         enable safer wait() algorithm.
10517         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10518         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10519         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10520         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10521         instead of mutex.
10522         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10523
10524 2002-02-01  Adam Megacz <adam@xwt.org>
10525
10526         * configure.in: Added support for mingw.
10527         * java/lang/Win32Process.java: Created as empty file.
10528         * java/lang/natWin32Process.cc: Created as empty file.
10529
10530 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10531
10532         PR java/4972
10533         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10534         for libiconv in LIBICONV variable.
10535         * configure: Regenerated.
10536
10537 2002-01-31  Tom Tromey  <tromey@redhat.com>
10538
10539         * verify.cc (state::enter_subroutine): New method.
10540         (handle_jsr_insn): Use it.
10541         (state::merge): When processing a `ret', correctly use
10542         subroutine's state to determine which local variables have
10543         changed.
10544         (push_exception_jump): Don't let stack overflow.
10545
10546 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10547
10548         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10549         --version output.
10550
10551 2002-01-30  Tom Tromey  <tromey@redhat.com>
10552
10553         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10554         parameter for `recv' return type.
10555
10556         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10557         (state::merge): ... not here.
10558         (subr_entry_info): New structure.
10559         (entry_points): New field.
10560         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10561         entry_points.
10562
10563 2002-01-29  Tom Tromey  <tromey@redhat.com>
10564
10565         * java/awt/List.java (addNotify): Correctly check to see if peer
10566         does not exist.
10567
10568         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10569         to compute height of each cell, and number of columns to compute
10570         width of each cell.
10571         * java/awt/Window.java (getOwnedWindows): Don't return null.
10572         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10573         of component.  Increment x using horizontal gap, not vertical
10574         gap.
10575
10576 2002-01-28  Tom Tromey  <tromey@redhat.com>
10577
10578         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10579         `nargs' byte is number of words, not number of arguments.
10580
10581 2002-01-27  Tom Tromey  <tromey@redhat.com>
10582
10583         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10584         (when): Likewise.
10585         * java/awt/event/InputEvent.java (modifiers, when): Now
10586         package-private.
10587
10588         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10589         and to-do list.
10590         (state::merge): Use current class' class loader.
10591         (state::print): Print subroutine.
10592         (state::merge): Don't look at subroutine of unmerged `ret'.
10593
10594 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10595
10596         * nogc.cc: Remove warnings.
10597         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10598         New functions.
10599
10600 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10601
10602         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10603         int, int):  Remove empty "if" statement to work around compiler bug.
10604         (newPixels(int[], ColorModel, int, int): Likewise.
10605
10606 2002-01-25  Per Bothner  <per@bothner.com>
10607
10608         * verify.cc (verify_fail):  Change from being a top-level function
10609         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10610         Pass the current verifier to type: and state: methods as needed,
10611         for better error messages, and for resolve.
10612         (resolve):  Pass current class's loader for Class.forName and
10613         _Jv_FindClassFromSignature, rather than using the default loader.
10614         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10615         (get_type_val_for_signature):  Make non-static.
10616         (various methods):  Pass start_PC implicitly, not explicitly.
10617
10618 2002-01-25  Tom Tromey  <tromey@redhat.com>
10619
10620         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10621         loop termination condition.
10622         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10623         width.
10624
10625 2002-01-24  Tom Tromey  <tromey@redhat.com>
10626
10627         * java/awt/Shape.java: Merged with Classpath.
10628         * java/awt/Scrollbar.java: Merged with Classpath.
10629
10630         * java/awt/Container.java (addNotify): Unconditionally call
10631         addNotifyContainerChildren and superclass addNotify.
10632
10633         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10634         getAlpha, not getBlue.
10635
10636 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10637
10638         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10639
10640         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10641         (grabPixels(long)): Wait to be notified that the ImageProducer has
10642         completed.
10643
10644 2002-01-24  Per Bothner  <per@bothner.com>
10645
10646         * verify.cc (is_assignable_from_slow): If target is an interface,
10647         we must still check the source's superclass before giving up.
10648
10649 2002-01-24  Tom Tromey  <tromey@redhat.com>
10650
10651         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10652
10653 2002-01-23  Tom Tromey  <tromey@redhat.com>
10654
10655         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10656         `else'.
10657
10658         * Makefile.in: Rebuilt.
10659         * Makefile.am (awt_java_source_files): Added new files.
10660         * java/awt/Toolkit.java: Merged with Classpath.
10661         * java/awt/PrintGraphics.java: New file from Classpath.
10662         * java/awt/PrintJob.java: New file from Classpath.
10663         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10664         * java/awt/datatransfer/ClipboardOwner.java: New file from
10665         Classpath.
10666         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10667         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10668         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10669         Classpath.
10670         * java/awt/datatransfer/StringSelection.java: New file from
10671         Classpath.
10672         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10673         Classpath.
10674         * java/awt/datatransfer/Transferable.java: New file from
10675         Classpath.
10676         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10677         from Classpath.
10678
10679         * Makefile.in: Rebuilt.
10680         * Makefile.am (awt_java_source_files): Added new files.
10681         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10682         Classpath.
10683         * java/awt/image/CropImageFilter.java: New file from Classpath.
10684         * java/awt/image/FilteredImageSource.java: New file from
10685         Classpath.
10686         * java/awt/image/ImageFilter.java: New file from Classpath.
10687         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10688         * java/awt/image/PixelGrabber.java: New file from Classpath.
10689         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10690         * java/awt/image/ReplicateScaleFilter.java: New file from
10691         Classpath.
10692         * java/awt/image/ImageProducer.java: Replaced with Classpath
10693         version.
10694         * java/awt/image/ImageObserver.java: Replaced with Classpath
10695         version.
10696         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10697         version.
10698         * java/awt/GridBagConstraints.java (clone): Catch
10699         CloneNotSupportedException.
10700
10701 2002-01-23  Per Bothner  <per@bothner.com>
10702
10703         * java/lang/reflect/natField.cc (setAddr):  New function.
10704         Calls getAddr and then checks that the field isn't final.
10705         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10706         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10707         (set):  Call setAddr before check that new value has right type,
10708         to better match specified semantics.
10709
10710 2002-01-22  Tom Tromey  <tromey@redhat.com>
10711
10712         * java/awt/TextField.java: Replaced with Classpath version.
10713         * java/awt/TextArea.java: Replaced with Classpath version.
10714         * java/awt/TextComponent.java: Replaced with Classpath version.
10715
10716         * java/awt/GridBagConstraints.java: Updated copyright.
10717
10718 2002-01-22  Mark Wielaard <mark@klomp.org>
10719
10720         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10721         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10722         java/awt/Dialog.java java/awt/FileDialog.java
10723         java/awt/Font.java java/awt/FontMetrics.java
10724         java/awt/Image.java java/awt/ImageMediaEntry.java
10725         java/awt/Insets.java java/awt/List.java
10726         java/awt/MediaEntry.java java/awt/MediaTracker.java
10727         java/awt/Menu.java java/awt/MenuBar.java
10728         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10729         java/awt/PaintContext.java java/awt/Panel.java
10730         java/awt/PopupMenu.java java/awt/SystemColor.java
10731         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10732         java/awt/peer/CheckboxMenuItemPeer.java
10733         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10734         java/awt/peer/ComponentPeer.java
10735         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10736         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10737         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10738         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10739         java/awt/peer/MenuBarPeer.java
10740         java/awt/peer/MenuComponentPeer.java
10741         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10742         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10743         java/awt/peer/ScrollPanePeer.java
10744         java/awt/peer/ScrollbarPeer.java
10745         java/awt/peer/TextAreaPeer.java
10746         java/awt/peer/TextComponentPeer.java
10747         java/awt/peer/TextFieldPeer.java
10748         java/awt/peer/WindowPeer.java: Add license clarification.
10749
10750 2002-01-22  Mark Wielaard <mark@klomp.org>
10751
10752         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10753         gnu/gcj/runtime/StringBuffer.java
10754         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10755         gnu/java/awt/ComponentDataBlitOp.java
10756         gnu/java/awt/GLightweightPeer.java
10757         gnu/java/beans/BeanInfoEmbryo.java
10758         gnu/java/beans/EmptyBeanInfo.java
10759         gnu/java/beans/ExplicitBeanInfo.java
10760         gnu/java/beans/IntrospectionIncubator.java
10761         gnu/java/beans/editors/ColorEditor.java
10762         gnu/java/beans/editors/FontEditor.java
10763         gnu/java/beans/editors/NativeBooleanEditor.java
10764         gnu/java/beans/editors/NativeByteEditor.java
10765         gnu/java/beans/editors/NativeDoubleEditor.java
10766         gnu/java/beans/editors/NativeFloatEditor.java
10767         gnu/java/beans/editors/NativeIntEditor.java
10768         gnu/java/beans/editors/NativeLongEditor.java
10769         gnu/java/beans/editors/NativeShortEditor.java
10770         gnu/java/beans/editors/StringEditor.java
10771         gnu/java/beans/info/ComponentBeanInfo.java
10772         gnu/java/io/ClassLoaderObjectInputStream.java
10773         gnu/java/io/NullOutputStream.java
10774         gnu/java/io/ObjectIdentityWrapper.java
10775         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10776         gnu/java/lang/reflect/TypeSignature.java
10777         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10778         gnu/java/locale/Calendar_en.java
10779         gnu/java/locale/Calendar_nl.java
10780         gnu/java/locale/LocaleInformation.java
10781         gnu/java/locale/LocaleInformation_de.java
10782         gnu/java/locale/LocaleInformation_en.java
10783         gnu/java/locale/LocaleInformation_nl.java
10784         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10785         gnu/java/rmi/registry/RegistryImpl.java
10786         gnu/java/rmi/rmic/Compile_gcj.java
10787         gnu/java/rmi/rmic/Compiler.java
10788         gnu/java/rmi/rmic/CompilerProcess.java
10789         gnu/java/rmi/rmic/RMIC.java
10790         gnu/java/rmi/rmic/TabbedWriter.java
10791         gnu/java/rmi/server/ProtocolConstants.java
10792         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10793         gnu/java/rmi/server/RMIHashes.java
10794         gnu/java/rmi/server/RMIObjectInputStream.java
10795         gnu/java/rmi/server/RMIObjectOutputStream.java
10796         gnu/java/rmi/server/UnicastConnection.java
10797         gnu/java/rmi/server/UnicastConnectionManager.java
10798         gnu/java/rmi/server/UnicastRef.java
10799         gnu/java/rmi/server/UnicastRemoteCall.java
10800         gnu/java/rmi/server/UnicastRemoteStub.java
10801         gnu/java/rmi/server/UnicastServer.java
10802         gnu/java/rmi/server/UnicastServerRef.java
10803         gnu/java/security/provider/DefaultPolicy.java
10804         gnu/java/security/provider/Gnu.java
10805         gnu/java/security/provider/SHA.java
10806         gnu/java/security/provider/SHA1PRNG.java
10807         gnu/java/text/BaseBreakIterator.java
10808         gnu/java/text/CharacterBreakIterator.java
10809         gnu/java/text/LineBreakIterator.java
10810         gnu/java/text/SentenceBreakIterator.java
10811         gnu/java/text/WordBreakIterator.java
10812         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10813         java/applet/AppletContext.java java/applet/AppletStub.java
10814         java/applet/AudioClip.java java/awt/AWTError.java
10815         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10816         java/awt/AWTException.java java/awt/AWTPermission.java
10817         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10818         java/awt/Button.java java/awt/Canvas.java
10819         java/awt/CardLayout.java java/awt/Checkbox.java
10820         java/awt/CheckboxGroup.java java/awt/Component.java
10821         java/awt/ComponentOrientation.java java/awt/Container.java
10822         java/awt/Dimension.java java/awt/Event.java
10823         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10824         java/awt/FlowLayout.java java/awt/Frame.java
10825         java/awt/Graphics.java java/awt/Graphics2D.java
10826         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10827         java/awt/IllegalComponentStateException.java
10828         java/awt/ItemSelectable.java java/awt/Label.java
10829         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10830         java/awt/MenuComponent.java java/awt/MenuItem.java
10831         java/awt/Paint.java java/awt/Point.java
10832         java/awt/Rectangle.java java/awt/RenderingHints.java
10833         java/awt/Transparency.java java/awt/Window.java
10834         java/awt/color/ColorSpace.java
10835         java/awt/color/ICC_ColorSpace.java
10836         java/awt/color/ICC_Profile.java
10837         java/awt/event/HierarchyBoundsAdapter.java
10838         java/awt/event/HierarchyBoundsListener.java
10839         java/awt/event/HierarchyEvent.java
10840         java/awt/event/HierarchyListener.java
10841         java/awt/geom/AffineTransform.java
10842         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10843         java/awt/geom/IllegalPathStateException.java
10844         java/awt/geom/Line2D.java
10845         java/awt/geom/NoninvertibleTransformException.java
10846         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10847         java/awt/geom/Rectangle2D.java
10848         java/awt/geom/RectangularShape.java
10849         java/awt/geom/RoundRectangle2D.java
10850         java/awt/image/BufferedImage.java
10851         java/awt/image/ColorModel.java
10852         java/awt/image/ComponentColorModel.java
10853         java/awt/image/ComponentSampleModel.java
10854         java/awt/image/DataBuffer.java
10855         java/awt/image/DataBufferByte.java
10856         java/awt/image/DataBufferInt.java
10857         java/awt/image/DataBufferUShort.java
10858         java/awt/image/DirectColorModel.java
10859         java/awt/image/PackedColorModel.java
10860         java/awt/image/Raster.java java/awt/image/RasterOp.java
10861         java/awt/image/SampleModel.java
10862         java/awt/image/SinglePixelPackedSampleModel.java
10863         java/awt/image/WritableRaster.java
10864         java/beans/AppletInitializer.java
10865         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10866         java/beans/Beans.java java/beans/Customizer.java
10867         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10868         java/beans/FeatureDescriptor.java
10869         java/beans/IndexedPropertyDescriptor.java
10870         java/beans/IntrospectionException.java
10871         java/beans/Introspector.java java/beans/MethodDescriptor.java
10872         java/beans/ParameterDescriptor.java
10873         java/beans/PropertyChangeEvent.java
10874         java/beans/PropertyChangeListener.java
10875         java/beans/PropertyChangeSupport.java
10876         java/beans/PropertyDescriptor.java
10877         java/beans/PropertyEditor.java
10878         java/beans/PropertyEditorManager.java
10879         java/beans/PropertyEditorSupport.java
10880         java/beans/PropertyVetoException.java
10881         java/beans/SimpleBeanInfo.java
10882         java/beans/VetoableChangeListener.java
10883         java/beans/VetoableChangeSupport.java
10884         java/beans/Visibility.java
10885         java/beans/beancontext/BeanContext.java
10886         java/beans/beancontext/BeanContextChild.java
10887         java/beans/beancontext/BeanContextChildComponentProxy.java
10888         java/beans/beancontext/BeanContextChildSupport.java
10889         java/beans/beancontext/BeanContextContainerProxy.java
10890         java/beans/beancontext/BeanContextEvent.java
10891         java/beans/beancontext/BeanContextMembershipEvent.java
10892         java/beans/beancontext/BeanContextMembershipListener.java
10893         java/beans/beancontext/BeanContextProxy.java
10894         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10895         java/beans/beancontext/BeanContextServiceProvider.java
10896         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10897         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10898         java/beans/beancontext/BeanContextServiceRevokedListener.java
10899         java/beans/beancontext/BeanContextServices.java
10900         java/beans/beancontext/BeanContextServicesListener.java
10901         java/io/BufferedInputStream.java
10902         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10903         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10904         java/io/ByteArrayOutputStream.java
10905         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10906         java/io/CharConversionException.java java/io/DataInput.java
10907         java/io/DataInputStream.java java/io/DataOutput.java
10908         java/io/EOFException.java java/io/Externalizable.java
10909         java/io/FileFilter.java java/io/FileNotFoundException.java
10910         java/io/FilePermission.java java/io/FileReader.java
10911         java/io/FileWriter.java java/io/FilenameFilter.java
10912         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10913         java/io/FilterReader.java java/io/FilterWriter.java
10914         java/io/IOException.java java/io/InputStream.java
10915         java/io/InterruptedIOException.java
10916         java/io/InvalidClassException.java
10917         java/io/InvalidObjectException.java
10918         java/io/NotActiveException.java
10919         java/io/NotSerializableException.java java/io/ObjectInput.java
10920         java/io/ObjectInputStream.java
10921         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10922         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10923         java/io/ObjectStreamConstants.java
10924         java/io/ObjectStreamException.java
10925         java/io/ObjectStreamField.java
10926         java/io/OptionalDataException.java java/io/OutputStream.java
10927         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10928         java/io/PipedReader.java java/io/PipedWriter.java
10929         java/io/PrintWriter.java java/io/PushbackInputStream.java
10930         java/io/PushbackReader.java java/io/Reader.java
10931         java/io/SequenceInputStream.java java/io/Serializable.java
10932         java/io/SerializablePermission.java
10933         java/io/StreamCorruptedException.java
10934         java/io/StreamTokenizer.java
10935         java/io/StringBufferInputStream.java java/io/StringReader.java
10936         java/io/StringWriter.java java/io/SyncFailedException.java
10937         java/io/UTFDataFormatException.java
10938         java/io/UnsupportedEncodingException.java
10939         java/io/WriteAbortedException.java java/io/Writer.java
10940         java/lang/AbstractMethodError.java
10941         java/lang/ArithmeticException.java
10942         java/lang/ArrayIndexOutOfBoundsException.java
10943         java/lang/ArrayStoreException.java java/lang/Boolean.java
10944         java/lang/Byte.java java/lang/CharSequence.java
10945         java/lang/ClassCastException.java
10946         java/lang/ClassCircularityError.java
10947         java/lang/ClassFormatError.java
10948         java/lang/ClassNotFoundException.java
10949         java/lang/CloneNotSupportedException.java
10950         java/lang/Cloneable.java java/lang/Comparable.java
10951         java/lang/Compiler.java java/lang/Double.java
10952         java/lang/Error.java java/lang/Exception.java
10953         java/lang/ExceptionInInitializerError.java
10954         java/lang/Float.java java/lang/IllegalAccessError.java
10955         java/lang/IllegalAccessException.java
10956         java/lang/IllegalArgumentException.java
10957         java/lang/IllegalMonitorStateException.java
10958         java/lang/IllegalStateException.java
10959         java/lang/IllegalThreadStateException.java
10960         java/lang/IncompatibleClassChangeError.java
10961         java/lang/IndexOutOfBoundsException.java
10962         java/lang/InheritableThreadLocal.java
10963         java/lang/InstantiationError.java
10964         java/lang/InstantiationException.java java/lang/Integer.java
10965         java/lang/InternalError.java
10966         java/lang/InterruptedException.java
10967         java/lang/LinkageError.java java/lang/Long.java
10968         java/lang/NegativeArraySizeException.java
10969         java/lang/NoClassDefFoundError.java
10970         java/lang/NoSuchFieldError.java
10971         java/lang/NoSuchFieldException.java
10972         java/lang/NoSuchMethodError.java
10973         java/lang/NoSuchMethodException.java
10974         java/lang/NullPointerException.java java/lang/Number.java
10975         java/lang/NumberFormatException.java
10976         java/lang/OutOfMemoryError.java java/lang/Package.java
10977         java/lang/Process.java java/lang/Runnable.java
10978         java/lang/RuntimeException.java
10979         java/lang/RuntimePermission.java
10980         java/lang/SecurityException.java
10981         java/lang/SecurityManager.java java/lang/Short.java
10982         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10983         java/lang/StringIndexOutOfBoundsException.java
10984         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10985         java/lang/ThreadLocal.java java/lang/UnknownError.java
10986         java/lang/UnsatisfiedLinkError.java
10987         java/lang/UnsupportedClassVersionError.java
10988         java/lang/UnsupportedOperationException.java
10989         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10990         java/lang/Void.java java/lang/ref/PhantomReference.java
10991         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10992         java/lang/ref/SoftReference.java
10993         java/lang/ref/WeakReference.java
10994         java/lang/reflect/AccessibleObject.java
10995         java/lang/reflect/InvocationTargetException.java
10996         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10997         java/lang/reflect/ReflectPermission.java
10998         java/math/BigDecimal.java java/math/BigInteger.java
10999         java/net/Authenticator.java java/net/BindException.java
11000         java/net/ConnectException.java java/net/ContentHandler.java
11001         java/net/ContentHandlerFactory.java
11002         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11003         java/net/FileNameMap.java java/net/MalformedURLException.java
11004         java/net/MulticastSocket.java java/net/NetPermission.java
11005         java/net/NoRouteToHostException.java
11006         java/net/PasswordAuthentication.java
11007         java/net/ProtocolException.java java/net/ServerSocket.java
11008         java/net/Socket.java java/net/SocketException.java
11009         java/net/SocketImpl.java java/net/SocketImplFactory.java
11010         java/net/SocketOptions.java java/net/SocketPermission.java
11011         java/net/URLDecoder.java java/net/URLEncoder.java
11012         java/net/URLStreamHandlerFactory.java
11013         java/net/UnknownHostException.java
11014         java/net/UnknownServiceException.java
11015         java/rmi/AccessException.java
11016         java/rmi/AlreadyBoundException.java
11017         java/rmi/ConnectException.java
11018         java/rmi/ConnectIOException.java
11019         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11020         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11021         java/rmi/NotBoundException.java
11022         java/rmi/RMISecurityException.java
11023         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11024         java/rmi/RemoteException.java java/rmi/ServerError.java
11025         java/rmi/ServerException.java
11026         java/rmi/ServerRuntimeException.java
11027         java/rmi/StubNotFoundException.java
11028         java/rmi/UnexpectedException.java
11029         java/rmi/UnknownHostException.java
11030         java/rmi/UnmarshalException.java
11031         java/rmi/activation/Activatable.java
11032         java/rmi/activation/ActivateFailedException.java
11033         java/rmi/activation/ActivationDesc.java
11034         java/rmi/activation/ActivationException.java
11035         java/rmi/activation/ActivationGroup.java
11036         java/rmi/activation/ActivationGroupDesc.java
11037         java/rmi/activation/ActivationGroupID.java
11038         java/rmi/activation/ActivationID.java
11039         java/rmi/activation/ActivationInstantiator.java
11040         java/rmi/activation/ActivationMonitor.java
11041         java/rmi/activation/ActivationSystem.java
11042         java/rmi/activation/Activator.java
11043         java/rmi/activation/UnknownGroupException.java
11044         java/rmi/activation/UnknownObjectException.java
11045         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11046         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11047         java/rmi/registry/Registry.java
11048         java/rmi/registry/RegistryHandler.java
11049         java/rmi/server/ExportException.java
11050         java/rmi/server/LoaderHandler.java
11051         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11052         java/rmi/server/Operation.java
11053         java/rmi/server/RMIClassLoader.java
11054         java/rmi/server/RMIClientSocketFactory.java
11055         java/rmi/server/RMIFailureHandler.java
11056         java/rmi/server/RMIServerSocketFactory.java
11057         java/rmi/server/RMISocketFactory.java
11058         java/rmi/server/RemoteCall.java
11059         java/rmi/server/RemoteObject.java
11060         java/rmi/server/RemoteRef.java
11061         java/rmi/server/RemoteServer.java
11062         java/rmi/server/RemoteStub.java
11063         java/rmi/server/ServerCloneException.java
11064         java/rmi/server/ServerNotActiveException.java
11065         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11066         java/rmi/server/SkeletonMismatchException.java
11067         java/rmi/server/SkeletonNotFoundException.java
11068         java/rmi/server/SocketSecurityException.java
11069         java/rmi/server/UID.java
11070         java/rmi/server/UnicastRemoteObject.java
11071         java/rmi/server/Unreferenced.java
11072         java/security/AccessControlContext.java
11073         java/security/AccessControlException.java
11074         java/security/AccessController.java
11075         java/security/AlgorithmParameterGenerator.java
11076         java/security/AlgorithmParameterGeneratorSpi.java
11077         java/security/AlgorithmParameters.java
11078         java/security/AlgorithmParametersSpi.java
11079         java/security/AllPermission.java
11080         java/security/BasicPermission.java
11081         java/security/Certificate.java java/security/CodeSource.java
11082         java/security/DigestException.java
11083         java/security/DigestInputStream.java
11084         java/security/DigestOutputStream.java
11085         java/security/DomainCombiner.java
11086         java/security/DummyKeyPairGenerator.java
11087         java/security/DummyMessageDigest.java
11088         java/security/DummySignature.java
11089         java/security/GeneralSecurityException.java
11090         java/security/Guard.java java/security/GuardedObject.java
11091         java/security/Identity.java java/security/IdentityScope.java
11092         java/security/InvalidAlgorithmParameterException.java
11093         java/security/InvalidKeyException.java
11094         java/security/InvalidParameterException.java
11095         java/security/Key.java java/security/KeyException.java
11096         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11097         java/security/KeyManagementException.java
11098         java/security/KeyPair.java java/security/KeyPairGenerator.java
11099         java/security/KeyPairGeneratorSpi.java
11100         java/security/KeyStore.java
11101         java/security/KeyStoreException.java
11102         java/security/KeyStoreSpi.java
11103         java/security/MessageDigest.java
11104         java/security/MessageDigestSpi.java
11105         java/security/NoSuchAlgorithmException.java
11106         java/security/NoSuchProviderException.java
11107         java/security/Permission.java
11108         java/security/PermissionCollection.java
11109         java/security/Permissions.java java/security/Policy.java
11110         java/security/Principal.java java/security/PrivateKey.java
11111         java/security/PrivilegedAction.java
11112         java/security/PrivilegedActionException.java
11113         java/security/PrivilegedExceptionAction.java
11114         java/security/ProtectionDomain.java
11115         java/security/Provider.java
11116         java/security/ProviderException.java
11117         java/security/PublicKey.java
11118         java/security/SecureClassLoader.java
11119         java/security/SecureRandom.java
11120         java/security/SecureRandomSpi.java java/security/Security.java
11121         java/security/SecurityPermission.java
11122         java/security/Signature.java
11123         java/security/SignatureException.java
11124         java/security/SignatureSpi.java
11125         java/security/SignedObject.java java/security/Signer.java
11126         java/security/UnrecoverableKeyException.java
11127         java/security/UnresolvedPermission.java
11128         java/security/acl/Acl.java java/security/acl/AclEntry.java
11129         java/security/acl/AclNotFoundException.java
11130         java/security/acl/Group.java
11131         java/security/acl/LastOwnerException.java
11132         java/security/acl/NotOwnerException.java
11133         java/security/acl/Owner.java java/security/acl/Permission.java
11134         java/security/cert/CRL.java
11135         java/security/cert/CRLException.java
11136         java/security/cert/Certificate.java
11137         java/security/cert/CertificateEncodingException.java
11138         java/security/cert/CertificateException.java
11139         java/security/cert/CertificateExpiredException.java
11140         java/security/cert/CertificateFactory.java
11141         java/security/cert/CertificateFactorySpi.java
11142         java/security/cert/CertificateNotYetValidException.java
11143         java/security/cert/CertificateParsingException.java
11144         java/security/cert/X509CRL.java
11145         java/security/cert/X509CRLEntry.java
11146         java/security/cert/X509Certificate.java
11147         java/security/cert/X509Extension.java
11148         java/security/interfaces/DSAKey.java
11149         java/security/interfaces/DSAKeyPairGenerator.java
11150         java/security/interfaces/DSAParams.java
11151         java/security/interfaces/DSAPrivateKey.java
11152         java/security/interfaces/DSAPublicKey.java
11153         java/security/interfaces/RSAKey.java
11154         java/security/interfaces/RSAPrivateCrtKey.java
11155         java/security/interfaces/RSAPrivateKey.java
11156         java/security/interfaces/RSAPublicKey.java
11157         java/security/spec/AlgorithmParameterSpec.java
11158         java/security/spec/DSAParameterSpec.java
11159         java/security/spec/DSAPrivateKeySpec.java
11160         java/security/spec/DSAPublicKeySpec.java
11161         java/security/spec/EncodedKeySpec.java
11162         java/security/spec/InvalidKeySpecException.java
11163         java/security/spec/InvalidParameterSpecException.java
11164         java/security/spec/KeySpec.java
11165         java/security/spec/PKCS8EncodedKeySpec.java
11166         java/security/spec/RSAKeyGenParameterSpec.java
11167         java/security/spec/RSAPrivateCrtKeySpec.java
11168         java/security/spec/RSAPrivateKeySpec.java
11169         java/security/spec/RSAPublicKeySpec.java
11170         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11171         java/sql/BatchUpdateException.java java/sql/Blob.java
11172         java/sql/CallableStatement.java java/sql/Clob.java
11173         java/sql/Connection.java java/sql/DataTruncation.java
11174         java/sql/DatabaseMetaData.java java/sql/Date.java
11175         java/sql/Driver.java java/sql/DriverManager.java
11176         java/sql/DriverPropertyInfo.java
11177         java/sql/PreparedStatement.java java/sql/Ref.java
11178         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11179         java/sql/SQLData.java java/sql/SQLException.java
11180         java/sql/SQLInput.java java/sql/SQLOutput.java
11181         java/sql/SQLWarning.java java/sql/Statement.java
11182         java/sql/Struct.java java/sql/Time.java
11183         java/sql/Timestamp.java java/sql/Types.java
11184         java/text/Annotation.java
11185         java/text/AttributedCharacterIterator.java
11186         java/text/AttributedString.java
11187         java/text/AttributedStringIterator.java
11188         java/text/BreakIterator.java java/text/CharacterIterator.java
11189         java/text/ChoiceFormat.java java/text/Collator.java
11190         java/text/DateFormat.java java/text/DateFormatSymbols.java
11191         java/text/DecimalFormat.java
11192         java/text/DecimalFormatSymbols.java
11193         java/text/FieldPosition.java java/text/Format.java
11194         java/text/MessageFormat.java java/text/NumberFormat.java
11195         java/text/ParseException.java java/text/ParsePosition.java
11196         java/text/SimpleDateFormat.java
11197         java/text/StringCharacterIterator.java
11198         java/util/AbstractCollection.java java/util/AbstractList.java
11199         java/util/AbstractMap.java
11200         java/util/AbstractSequentialList.java
11201         java/util/AbstractSet.java java/util/ArrayList.java
11202         java/util/Arrays.java java/util/BasicMapEntry.java
11203         java/util/BitSet.java java/util/Calendar.java
11204         java/util/Collection.java java/util/Collections.java
11205         java/util/Comparator.java
11206         java/util/ConcurrentModificationException.java
11207         java/util/Date.java java/util/Dictionary.java
11208         java/util/EmptyStackException.java java/util/Enumeration.java
11209         java/util/EventListener.java java/util/EventObject.java
11210         java/util/GregorianCalendar.java java/util/HashMap.java
11211         java/util/HashSet.java java/util/Hashtable.java
11212         java/util/IdentityHashMap.java java/util/Iterator.java
11213         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11214         java/util/LinkedList.java java/util/List.java
11215         java/util/ListIterator.java java/util/ListResourceBundle.java
11216         java/util/Locale.java java/util/Map.java
11217         java/util/MissingResourceException.java
11218         java/util/NoSuchElementException.java
11219         java/util/Observable.java java/util/Observer.java
11220         java/util/Properties.java java/util/PropertyPermission.java
11221         java/util/PropertyResourceBundle.java java/util/Random.java
11222         java/util/RandomAccess.java java/util/ResourceBundle.java
11223         java/util/Set.java java/util/SimpleTimeZone.java
11224         java/util/SortedMap.java java/util/SortedSet.java
11225         java/util/Stack.java java/util/StringTokenizer.java
11226         java/util/TimeZone.java java/util/Timer.java
11227         java/util/TimerTask.java
11228         java/util/TooManyListenersException.java
11229         java/util/TreeMap.java java/util/TreeSet.java
11230         java/util/Vector.java java/util/WeakHashMap.java
11231         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11232         java/util/jar/JarException.java java/util/jar/JarFile.java
11233         java/util/jar/JarInputStream.java
11234         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11235         java/util/zip/Adler32.java java/util/zip/CRC32.java
11236         java/util/zip/CheckedInputStream.java
11237         java/util/zip/CheckedOutputStream.java
11238         java/util/zip/Checksum.java
11239         java/util/zip/DataFormatException.java
11240         java/util/zip/Deflater.java
11241         java/util/zip/DeflaterOutputStream.java
11242         java/util/zip/GZIPInputStream.java
11243         java/util/zip/GZIPOutputStream.java
11244         java/util/zip/Inflater.java
11245         java/util/zip/InflaterInputStream.java
11246         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11247         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11248         java/util/zip/ZipInputStream.java
11249         java/util/zip/ZipOutputStream.java
11250         javax/naming/BinaryRefAddr.java
11251         javax/naming/InvalidNameException.java javax/naming/Name.java
11252         javax/naming/NamingException.java javax/naming/RefAddr.java
11253         javax/naming/StringRefAddr.java: Add license clarification.
11254
11255 2002-01-22  Tom Tromey  <tromey@redhat.com>
11256
11257         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11258         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11259         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11260         version.
11261         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11262         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11263         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11264         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11265         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11266         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11267         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11268         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11269         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11270         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11271         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11272         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11273         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11274         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11275         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11276         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11277         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11278         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11279         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11280         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11281         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11282         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11283         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11284         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11285         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11286         (minimumSize, preferredSize, reshape): Likewise.
11287         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11288         getColorModel): New methods.
11289         * java/awt/PopupMenu.java: Merged with Classpath.
11290         * java/awt/MenuBar.java: Merged with Classpath.
11291         * java/awt/SystemColor.java: Replace with Classpath version.
11292         * java/awt/Panel.java: Merged with Classpath.
11293         * java/awt/PaintContext.java: Updated copyright.
11294         * java/awt/MenuShortcut.java: Merged with Classpath.
11295         * java/awt/MenuContainer.java: Merged with Classpath.
11296         * java/awt/Menu.java: Merged with Classpath.
11297         * java/awt/MediaEntry.java: New file from Classpath.
11298         * java/awt/MediaTracker.java: New file from Classpath.
11299         * java/awt/List.java: Merged with Classpath version.
11300         * java/awt/Insets.java: Merged with Classpath version.
11301         * java/awt/ImageMediaEntry.java: New file from Classpath.
11302         * java/awt/Image.java: Replaced with Classpath version.
11303         * java/awt/FontMetrics.java: Merged with Classpath version.
11304         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11305         constant.
11306         * java/awt/Font.java: Merged with Classpath version.
11307         * java/awt/Dialog.java: Merged with Classpath version.
11308         * java/awt/Color.java: Merged with Classpath version.
11309         * java/awt/Choice.java: Merged with Classpath version.
11310         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11311         * java/awt/Adjustable.java: Replace with Classpath version.
11312         * java/awt/MenuItem.java (paramString): Don't include class name
11313         or brackets.  Call superclass paramString.
11314         * java/awt/MenuComponent.java (toString): Call paramString.
11315         (paramString): Compute string; don't call toString.
11316         * java/awt/Label.java (paramString): Don't include class name
11317         or brackets.  Call superclass paramString.
11318         * java/awt/Checkbox.java (paramString): Don't include class name
11319         or brackets.  Call superclass paramString.
11320         * java/awt/Button.java (paramString): Don't include class name or
11321         brackets.  Call superclass paramString.
11322         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11323
11324 2002-01-20  Andreas Schwab  <schwab@suse.de>
11325
11326         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11327         function and of parameter recv_func to ssize_t, as specified by
11328         POSIX.
11329
11330 2002-01-19  Per Bothner  <per@bothner.com>
11331
11332         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11333         uncompressed_size in readiness for next entry.
11334
11335 2002-01-18  Tom Tromey  <tromey@redhat.com>
11336
11337         * java/net/natPlainSocketImpl.cc: Include
11338         IllegalArgumentException.h.
11339         (_Jv_recv): New template function.
11340         (BooleanClass): Removed.
11341         (read): Use _Jv_recv.
11342         (setOption): Use Boolean::class$.  Throw exception if object is
11343         not Boolean or Integer.
11344
11345 2002-01-17  Tom Tromey  <tromey@redhat.com>
11346
11347         * java/awt/MenuComponent.java: Merged with Classpath.
11348         * java/awt/MenuItem.java: Merged with Classpath.
11349         * java/awt/Button.java: Merged with Classpath.
11350
11351         * java/awt/ActiveEvent.java: Updated copyright.
11352
11353         * java/awt/AWTError.java: Replaced with Classpath version.
11354         * java/awt/AWTException.java: Replaced with Classpath version.
11355         * java/awt/IllegalComponentStateException.java: Replaced with
11356         Classpath version.
11357
11358 2002-01-16  Tom Tromey  <tromey@redhat.com>
11359
11360         * java/awt/Canvas.java (serialVersionUID): New constant.
11361         Updated copyright.  Added javadoc from Classpath.
11362         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11363
11364         * java/awt/CheckboxGroup.java: Merged with Classpath.
11365         * java/awt/Checkbox.java: Merged with Classpath.
11366
11367         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11368         Classpath.
11369         * java/awt/Point.java: Updated copyright.
11370
11371         * java/awt/Point.java (toString): Use getClass().getName().
11372         Added javadoc.
11373
11374         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11375         commented code.
11376         (hash): Correctly compute initial value for `h'.
11377
11378         * java/awt/Label.java: Merged with Classpath.
11379
11380 2002-01-15  Tom Tromey  <tromey@redhat.com>
11381
11382         * java/awt/AWTPermission.java: Updated copyright.
11383
11384         * java/awt/LayoutManager2.java: Merged with Classpath.
11385         * java/awt/LayoutManager.java: Merged with Classpath.
11386         * java/awt/GridLayout.java: Updated copyright and javadoc.
11387         (getSize): Use `parent.ncomponents'.  Handle insets.
11388         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11389         there are fewer children than columns.  Correctly compute size of
11390         each cell in the grid.  Handle case where there isn't enough
11391         space.
11392         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11393         all users.
11394         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11395         before calling setVisible() on it.  Last item is `num - 1', not
11396         `num'.
11397         (layoutContainer): Hoist invariants out of loop.
11398
11399         Start of AWT merge with Classpath:
11400         * Makefile.in: Rebuilt.
11401         * Makefile.am (awt_java_source_files): Reference files in
11402         gnu/java/awt, not gnu/gcj/awt.
11403         * java/awt/image/BufferedImage.java: Updated copyright.
11404         * java/awt/image/ComponentColorModel.java: Updated copyright.
11405         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11406         * java/awt/image/DataBuffer.java: Updated copyright.
11407         * java/awt/image/DataBufferByte.java: Updated copyright.
11408         * java/awt/image/DataBufferInt.java: Updated copyright.
11409         * java/awt/image/DataBufferUShort.java: Updated copyright.
11410         * java/awt/image/IndexColorModel.java: Updated copyright.
11411         * java/awt/image/PackedColorModel.java: Updated copyright.
11412         * java/awt/image/Raster.java: Updated copyright.
11413         * java/awt/image/RasterOp.java: Updated copyright.
11414         * java/awt/image/SampleModel.java: Updated copyright.
11415         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11416         * java/awt/image/WritableRaster.java: Updated copyright.
11417         * java/awt/color/ColorSpace.java: Updated copyright.
11418         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11419         * java/awt/color/ICC_Profile.java: Updated copyright.
11420         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11421         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11422         * java/awt/event/HierarchyEvent.java: Updated copyright.
11423         * java/awt/event/HierarchyListener.java: Updated copyright.
11424         * java/awt/geom/AffineTransform.java: Updated copyright.
11425         * java/awt/geom/Dimension2D.java: Updated copyright.
11426         * java/awt/geom/Ellipse2D.java: Updated copyright.
11427         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11428         * java/awt/geom/Line2D.java: Updated copyright.
11429         * java/awt/geom/NoninvertibleTransformException.java: Updated
11430         copyright.
11431         * java/awt/geom/PathIterator.java: Updated copyright.
11432         * java/awt/geom/Point2D.java: Updated copyright.
11433         * java/awt/geom/Rectangle2D.java: Updated copyright.
11434         * java/awt/geom/RectangularShape.java: Updated copyright.
11435         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11436         * java/awt/Toolkit.java: Updated import for file moves.
11437         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11438         Classpath.
11439         (hashCode): New method from Classpath.
11440         * java/awt/Graphics2D.java: Updated copyright.
11441         * java/awt/Transparency.java: Updated copyright.
11442         * java/awt/Paint.java: Updated copyright.
11443         * java/awt/Graphics.java: New version from Classpath.
11444         * java/awt/EventDispatchThread.java: Updated copyright.
11445         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11446         children.
11447         (gotoComponent): Wrap around on next/previous.
11448         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11449         * gnu/gcj/awt/Buffers.java: Removed.
11450         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11451         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11452         * gnu/java/awt/BitMaskExtent.java: Added.
11453         * gnu/java/awt/Buffers.java: Added.
11454         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11455         * gnu/java/awt/GLightweightPeer.java: Added.
11456         * java/awt/geom/Line2D.java (clone): Ignore
11457         CloneNotSupportedException.
11458         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11459         * java/awt/Frame.java: Merged with Classpath.
11460         * java/awt/RenderingHints.java: Copyright update.
11461         * java/awt/Paint.java: Copyright update.
11462         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11463         * java/awt/image/ColorModel.java: Merged with Classpath.
11464         * java/awt/Window.java (show): New Implementation from Classpath.
11465         (isShowing): Use super.isShowing().
11466         * java/awt/EventQueue.java: Merged with Classpath.
11467         * java/awt/AWTEventMulticaster.java (save): Throw
11468         RuntimeException.
11469         (saveInternal): Likewise.
11470         * java/awt/AWTEvent.java: Now implements Serializable.
11471         * java/awt/Event.java: Copyright update.
11472         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11473         * java/awt/image/BufferedImage.java: Copyright update.
11474         * java/awt/GraphicsConfiguration.java: Copyright update.
11475         * java/awt/Component.java: (addNotify): Don't call
11476         addNotifyContainerChildren().
11477         (addNotifyContainerChildren): Removed.
11478         (setPeer): New method from Classpath.
11479         (setTreeLock): Likewise.
11480         (setVisible): Rewrote.
11481         (show): Use it.
11482         (hide): Likewise.
11483         (validate): Set `valid'.
11484         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11485         (createImage(ImageProducer)): Likewise.
11486         (prepareImage): Likewise.
11487         * java/awt/Container.java (addImpl): Handle case where constraint
11488         is not a String.  Post event via system event queue.
11489         (remove): Post event via system event queue.
11490         (validateTree): Only validate child if it is invalid.
11491         (getAlignmentX): Call super method as default.
11492         (getAlignmentY): Likewise.
11493         (addContainerListener): Now synchronized.
11494         (removeContainerListener): Likewise.
11495         (addNotifyContainerChildren): Now private.
11496         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11497         @author.
11498         * java/awt/FlowLayout.java (serialVersionUID): New field.
11499         (setAlignment): Better exception message.
11500         (layoutContainer): Don't compute component's preferred size unless
11501         we're going to use it.
11502         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11503         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11504         (firstLine, lastLine, firstItem, lastItem): New fields.
11505         (addLayoutComponent): Handle case where constraints is null.
11506         Also, handle relative locations.
11507         (removeLayoutComponent): Handle relative locations.
11508         (MIN, MAX, PREF): New constants.
11509         (calcCompSize): New method.
11510         (calcSize): New method.
11511         (minimumLayoutSize): Use it.
11512         (preferredLayoutSize): Likewise.
11513         (maximumLayoutSize): Likewise.
11514         (toString): Include more information.
11515         (setBounds): New method.
11516         (layoutContainer): Use libgcj implementation; extended to handle
11517         relative locations.
11518
11519 2002-01-15  Tom Tromey  <tromey@redhat.com>
11520
11521         * java/lang/Float.java (equals): Preserve old code.
11522         * java/lang/Double.java (equals): Preserve old code.
11523
11524 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11525
11526         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11527         * java/lang/Float.java (equals, compare): Ditto.
11528
11529 2002-01-13  Mark Wielaard  <mark@klomp.org>
11530
11531         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11532         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11533         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11534         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11535
11536 2002-01-11  Mark Wielaard  <mark@klomp.org>
11537
11538         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11539         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11540         InetAddress.
11541         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11542         * java/net/Socket.java: Merge with Classpath.
11543         * java/net/ServerSocket.java: Likewise.
11544
11545 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11546
11547         * interpret.cc (NULLARRAYCHECK): New macro.
11548         (SAVE_PC): Just store `pc'.
11549         (find_exception): Subtract one from `pc' here.
11550         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11551         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11552         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11553         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11554         don't call SAVE_PC.
11555         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11556         call SAVE_PC.
11557
11558 2002-01-11  Tom Tromey  <tromey@redhat.com>
11559
11560         * java/lang/natSystem.cc (init_properties): Only look for default
11561         locale if LC_MESSAGES is defined.
11562         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11563         * configure.in: Call AM_LC_MESSAGES.
11564         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11565
11566 2002-01-10  Tom Tromey  <tromey@redhat.com>
11567
11568         For PR libgcj/5303:
11569         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11570         --version.  Recognize GNU-style long options.  Print GNU-style
11571         error messages.
11572         (usage): Print GNU-style help.  Exit with status 0.
11573         (error): New method.
11574         (run): Print error message if no class names found.
11575         (main): Don't print usage on error.
11576
11577 2002-01-09  Tom Tromey  <tromey@redhat.com>
11578
11579         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11580         property.
11581         (help, version): Use println(), not println("").
11582
11583         For PR libgcj/5303:
11584         * gnu/gcj/convert/Convert.java (error): Program is called
11585         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11586         -1.
11587         (main): Handle --help and --version.
11588         (help): New method.
11589         (version): Likewise.
11590
11591 2002-01-08  Tom Tromey  <tromey@redhat.com>
11592
11593         * Makefile.in: Rebuilt.
11594         * Makefile.am (ordinary_java_source_files): Added new files.
11595         * gnu/java/locale/LocaleInformation.java: Extend
11596         LocaleInformation_en.
11597         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11598         and time/date formats.
11599         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11600         generated.
11601         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11602         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11603         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11604         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11605         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11606         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11607         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11608         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11609         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11610         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11611         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11612         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11613         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11614         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11615         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11616         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11617         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11618         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11619         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11620         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11621         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11622         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11623         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11624         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11625         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11626         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11627         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11628         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11629         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11630         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11631         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11632         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11633         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11634         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11635         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11636         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11637         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11638         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11639         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11640         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11641         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11642         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11643         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11644         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11645         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11646         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11647         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11648         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11649         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11650         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11651         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11652         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11653         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11654         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11655         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11656         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11657         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11658         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11659         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11660         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11661         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11662         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11663         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11664         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11665         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11666         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11667         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11668         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11669         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11670         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11671         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11672         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11673         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11674         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11675         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11676         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11677         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11678         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11679         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11680         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11681         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11682         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11683         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11684         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11685         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11686         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11687         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11688         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11689         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11690         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11691         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11692         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11693         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11694         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11695         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11696         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11697         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11698         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11699         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11700         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11701         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11702         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11703         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11704         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11705         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11706         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11707         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11708         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11709         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11710         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11711         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11712         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11713         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11714         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11715         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11716         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11717         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11718         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11719         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11720         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11721         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11722         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11723         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11724         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11725         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11726         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11727         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11728         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11729         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11730         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11731
11732         For PR libgcj/5031:
11733         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11734         choose default locale.
11735
11736         * Makefile.in: Rebuilt.
11737         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11738
11739 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11740
11741         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11742         sockets.
11743         (close): New function closes the socket.
11744         (write): New functions for output to socket.
11745         (read): New functions for reading from socket.
11746         * java/net/PlainSocketImpl.java: Glue for new timeout
11747         implementation.
11748         (write): Call the native impl.
11749         (read): Likewise.
11750         (getInputStream): Get a stream to read from the socket.
11751         (getOutputStream): Get a stream to write to the socket.
11752
11753 2002-01-08  Tom Tromey  <tromey@redhat.com>
11754
11755         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11756
11757 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11758
11759         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11760         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11761
11762 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11763
11764         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11765         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11766         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11767         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11768         insn_bastore, insn_castore, insn_sastore]: Use it.
11769         (continue1) [insn_arraylength]: Check for null array.
11770
11771 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11772
11773         * configure, include/config.h.in: Rebuilt.
11774         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11775         * configure.in: Call AC_STRUCT_TIMEZONE.
11776
11777 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11778
11779         * configure.host: Disable the interpreter for Darwin.
11780
11781 2002-01-04  Tom Tromey  <tromey@redhat.com>
11782
11783         * java/lang/Thread.java (stop): No longer synchronized.
11784         (start): Likewise.
11785
11786 2002-01-02  Tom Tromey  <tromey@redhat.com>
11787
11788         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11789         patch.
11790
11791 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11792
11793         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11794         PPC Darwin, not for all of Darwin.