Runtime.java: Comment fix.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-20  Tom Tromey  <tromey@redhat.com>
2
3         * java/lang/Runtime.java: Comment fix.
4         * java/lang/ClassLoader.java (isAncestorOf): New method.
5         (getParent): Uncommented security check.  Use isAncestorOf.
6         * include/jvm.h (_Jv_CheckAccess): Declare.
7         * java/lang/reflect/natConstructor.cc (newInstance): Perform
8         access check.
9         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
10         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
11         class loader to _Jv_GetArrayClass.
12         Include ArrayIndexOutOfBoundsException.h.
13         * java/lang/reflect/Field.java: Update comment to reflect status.
14         (equals): Fixed indentation.
15         * java/lang/Class.h (Class): Declare memberAccessCheck, not
16         checkMemberAccess.  Make _Jv_CheckAccess a friend.
17         * java/lang/Class.java (memberAccessCheck): New method from
18         Classpath.
19         (checkMemberAccess): Removed.
20         (getDeclaredMethod): Use memberAccessCheck.
21         (getField): Likewise.
22         (getMethod): Likewise.
23         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
24         (_Jv_SearchMethodInClass): Likewise.
25         * prims.cc (_Jv_CheckAccess): New function.
26         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
27         (_Jv_JNI_GetAnyFieldID): Likewise.
28         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
29         (getClassLoader): Added security check.
30         (getConstructor): Call memberAccessCheck.
31         (getDeclaredClasses): Likewise.
32         (getDeclaredField): Likewise.
33         (getDeclaredFields): Likewise.
34         (_getConstructors): Likewise.
35         (getDeclaredConstructor): Likewise.
36         (getDeclaredMethods): Likewise.
37         (getFields): Likewise.
38         (getMethods): Likewise.
39         (newInstance): Likewise.
40         (_Jv_MakeVTable): Put method name in exception.
41         * java/lang/reflect/natMethod.cc (getType): Use
42         getClassLoaderInternal.
43         (_Jv_GetTypesFromSignature): Likewise.
44         (invoke): Perform access check.
45         (_Jv_CallAnyMethodA): Removed old FIXME comments.
46         Include ArrayIndexOutOfBoundsException.h.
47         * java/lang/reflect/natField.cc (getType): Use
48         getClassLoaderInternal.
49         (_Jv_CheckFieldAccessibility): Removed.
50         (getAddr): Use _Jv_CheckAccess; find caller.
51         Include ArrayIndexOutOfBoundsException.h.
52
53 2003-07-20  Michael Koch  <konqueror@gmx.de>
54
55         * java/net/URL.java
56         (URL): Fixed documentation to name an argument correcty, Reformatted
57         one method declaration.
58         (getURLStreamHandler): Added documentation from classpath.
59
60 2003-07-19  Tom Tromey  <tromey@redhat.com>
61
62         * mauve-libgcj: Don't run CollationElementIterator tests.
63
64 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
65
66         * java/net/URLClassLoader.java (addURL): Moved implementation to
67         private addURLImpl() to avoid calling addURL from the constructor.
68         (addURLImpl): Contains the code that was previously in addURL.
69         (addURLs): Call addURLImpl(), not addURL().
70
71 2003-07-18  Graydon Hoare  <graydon@redhat.com>
72
73         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
74         Handle missing event cases, connect to "value-changed" signal.
75
76 2003-07-18  Graydon Hoare  <graydon@redhat.com>
77
78         * java/awt/geom/CubicCurve2D.java,
79         java/awt/geom/Line2D.java,
80         java/awt/geom/QuadCurve2D.java,
81         java/awt/geom/Rectangle2D.java: 
82         Fix path some calculations, make path iterators follow
83         a consistent style.
84
85 2003-07-18  Mark Wielaard  <mark@klomp.org>
86
87         * java/util/logging/Handler.java (isLoggable): Check record level
88         smaller or equal.
89
90 2003-07-17  Michael Koch  <konqueror@gmx.de>
91
92         * gnu/java/awt/peer/gtk/GtkToolkit.java:
93         Reworked imports.
94
95 2003-07-14  Michael Koch  <konqueror@gmx.de>
96
97         * gnu/java/rmi/server/UnicastServerRef.java:
98         New version from classpath.
99
100 2003-07-14  Michael Koch  <konqueror@gmx.de>
101
102         * java/awt/image/MemoryImageSource.java,
103         java/beans/PropertyEditorManager.java,
104         javax/naming/CompoundName.java,
105         javax/naming/spi/NamingManager.java,
106         javax/swing/AbstractButton.java,
107         javax/swing/ButtonModel.java,
108         javax/swing/SwingUtilities.java,
109         javax/swing/UIManager.java,
110         javax/swing/colorchooser/DefaultColorSelectionModel.java,
111         javax/swing/event/AncestorEvent.java,
112         javax/swing/event/InternalFrameEvent.java,
113         java/util/zip/ZipFile.java:
114         New versions from classpath.
115
116 2003-07-13  Michael Koch  <konqueror@gmx.de>
117
118         * gnu/java/nio/FileChannelImpl.java,
119         gnu/java/nio/natFileChannelImpl.cc: Removed.
120         * java/io/FileInputStream.java,
121         java/io/FileOutputStream.java,
122         java/io/RandomAccessFile.java,
123         java/nio/MappedByteBufferImpl.java:
124         Import java.nio.channels.FileChannelImpl instead of
125         gnu.java.nio.FileChannelImpl.
126         * java/nio/channels/FileChannelImpl.java,
127         java/nio/channels/natFileChannelImpl.cc:
128         New files.
129         * Makefile.am
130         (ordinary_java_source_files):
131         Removed gnu/java/nio/FileChannelImpl.java and added
132         java/nio/channels/FileChannelImpl.java.
133         (nat source_files):
134         Removed gnu/java/nio/natFileChannelImpl.cc and added
135         java/nio/channels/natFileChannelImpl.cc.
136         * Makefile.in: Regenerated.
137
138 2003-07-13  Michael Koch  <konqueror@gmx.de>
139
140         * javax/swing/plaf/basic/BasicBorders.java,
141         javax/swing/plaf/basic/BasicLabelUI.java,
142         javax/swing/plaf/basic/BasicLookAndFeel.java,
143         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
144         javax/swing/plaf/basic/BasicTextUI.java,
145         javax/swing/plaf/metal/MetalLookAndFeel.java:
146         New versions from classpath.
147
148 2003-07-13  Michael Koch  <konqueror@gmx.de>
149
150         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
151         * gnu/java/awt/peer/gtk/GdkGraphics.java
152         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
153         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
154         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
155         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
156         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
157         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
158         * gnu/java/awt/peer/gtk/GtkClipboard.java
159         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
160         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
161         * gnu/java/awt/peer/gtk/GtkFramePeer.java
162         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
163         * gnu/java/awt/peer/gtk/GtkImage.java
164         * gnu/java/awt/peer/gtk/GtkImagePainter.java
165         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
166         * gnu/java/awt/peer/gtk/GtkListPeer.java
167         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
168         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
169         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
170         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
171         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
172         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
173         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
174         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
175         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
176         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
177         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
178         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
179
180 2003-07-13  Michael Koch  <konqueror@gmx.de>
181
182         * gnu/java/locale/LocaleInformation_de.java
183         * gnu/java/locale/LocaleInformation_en.java
184         * gnu/java/locale/LocaleInformation_nl.java
185
186 2003-07-13  Michael Koch  <konqueror@gmx.de>
187
188         * gnu/java/awt/EmbeddedWindow.java,
189         gnu/java/awt/EmbeddedWindowSupport.java,
190         gnu/java/awt/natEmbeddedWindow.cc:
191         New files.
192         * java/awt/Window.java
193         (Window): New constructor to support embedded windows.
194         * Makefile.am
195         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
196         gnu/java/awt/EmbeddedWindowSupport.java.
197         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
198         * Makefile.in: Regenerated.
199
200 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
201
202         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
203         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
204         * java/awt/im/InputContext.java: Remove a redundant
205         partial line.
206
207 2003-07-09  Tom Tromey  <tromey@redhat.com>
208
209         * Makefile.in: Rebuilt.
210         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
211
212 2003-07-09  Mark Wielaard  <mark@klomp.org>
213
214         * java/io/ObjectOutputStream.java (writeObject): break after
215         calling writeClassDescriptor().
216
217 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
218
219         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
220
221 2003-07-09  Michael Koch  <konqueror@gmx.de>
222
223         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
224         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
225         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
226         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
227         Explicitly import used classes.
228         * java/awt/Container.java: New version from classpath.
229
230 2003-07-09  Michael Koch  <konqueror@gmx.de>
231
232         * libgcj.pc.in: New file.
233         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
234         * Makefile.in: Regenerated.
235         * configure: Regenrated.
236         * configure.in: Create libgcj.pc from libgcj.pc.in.
237
238 2003-07-08  Mark Wielaard <mark@klomp.org>
239
240         * gcj/cni.h: CNI now expands to Compiled Native Interface.
241
242         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
243         * java/lang/fdlibm.h: Likewise.
244
245 2003-07-07  Adam Megacz <adam@xwt.org>
246
247         * posix.cc: added #include<stdio.h>
248                 
249 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
250
251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
252         formatting.
253
254         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
255         (setCaretPosition, setEditable): Rely entirely on native
256         implementation.
257         (getArgs): Remove.
258         (postTextEvent): New method.
259         (handleEvent): New method.
260         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
261         method.
262         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
263         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
264         (keysym_to_awt_keycode): Fix range checks.
265         (generates_key_typed_event): New function.
266         (awt_event_handler): Post AWT_KEY_RELEASED events to event
267         queue.
268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
269         (gtkInit): Store TextComponent's postTextEvent method ID.
270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
271         (setText): Post TEXT_VALUE_CHANGED event to event queue.
272
273 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
274
275         * configure.in: Check for usleep declaration.
276         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
277         * configure: Regenerate.
278         * include/config.h.in: Likewise.
279         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
280
281 2003-07-01  Michael Koch  <konqueror@gmx.de>
282
283         * gnu/gcj/convert/natIconv.cc
284         (iconv_init): Fixed possible memory leak by releasing allocated iconv
285         handle.
286
287 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
288
289         * glib-2.0.m4: New file.
290         * gtk-2.0.m4: New file.
291         * glib.m4: Remove.
292         * gtk.m4: Remove.
293         * configure.in: Update AM_PATH_GTK macro call to
294         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
296         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
297         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
298         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
299         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
300         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
301         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
302         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
303         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
304         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
305         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
306         jni/gtk-peer/gthread-jni.c,
307         jni/gtk-peer/gthread-jni.h:
308         New versions from classpath.
309         * aclocal.m4: Regenerate.
310         * configure: Regenerate.
311         * Makefile.in: Regenerate.
312         * gcj/Makefile.in: Regenerate.
313         * include/Makefile.in: Regenerate.
314         * testsuite/Makefile.in: Regenerate.
315
316 2003-06-30  Gary Benson  <gbenson@redhat.com>
317
318         For PR libgcj/11349:
319         * javax/naming/spi/NamingManager.java (getURLContext): Use
320         correct name for factory class.
321
322 2003-06-28  Michael Koch  <konqueror@gmx.de>
323
324         * java/io/PrintStream.java
325         (checkError): Call flush() instead of direct flushing of the Writer
326         object.
327         (print): Call print(String) instead of direct print method of the
328         Writer Object.
329         (println): Call println(String) instead of direct println method of the
330         Writer Object.
331         (write): Simplified.
332
333 2003-06-28  Michael Koch  <konqueror@gmx.de>
334
335         * java/net/ServerSocket.java
336         (setChannel): New method.
337         * java/net/Socket.java
338         (setChannel): New method.
339
340 2003-06-27  Michael Koch  <konqueror@gmx.de>
341
342         * java/beans/beancontext/BeanContextSupport.java:
343         New version from classpath.
344
345 2003-06-27  Michael Koch  <konqueror@gmx.de>
346
347         * java/awt/Window.java,
348         java/awt/font/GraphicAttribute.java,
349         java/awt/font/ImageGraphicAttribute.java,
350         java/awt/image/DataBufferByte.java,
351         java/awt/image/DataBufferInt.java,
352         java/awt/image/DataBufferUShort.java,
353         java/awt/image/DirectColorModel.java,
354         java/awt/image/PixelGrabber.java:
355         New versions from classpath.
356
357 2003-06-27  Michael Koch  <konqueror@gmx.de>
358
359         * java/security/Certificate.java
360         (getGuarantor): Removed wrong @deprecated tag.
361         (getPrincipal): Likewise.
362         (getPublicKey): Likewise.
363         (encode): Likewise.
364         (decode): Likewise.
365         (getFormat): Likewise.
366         (toString): Likewise.
367         * java/security/cert/PolicyQualifierInfo.java
368         (PolicyQualifierInfo): Made final.
369         * javax/security/auth/x500/X500Principal.java
370         (serialVersionUID): New member variable.
371
372 2003-06-27  Michael Koch  <konqueror@gmx.de>
373
374         * java/text/Format.java
375         (serialVersionUID): Fixed value.
376
377 2003-06-27  Michael Koch  <konqueror@gmx.de>
378
379         * java/net/Inet4Address.java
380         (Inet4Address): Made package-private.
381         * java/net/Inet6Address.java
382         (Inet4Address): Made package-private.
383
384 2003-06-27  Michael Koch  <konqueror@gmx.de>
385
386         * java/io/RandomAccessFile.java
387         (readLine): Removed wrong @deprecated tag.
388         (getChannel): Made final.
389
390 2003-06-27  Michael Koch  <konqueror@gmx.de>
391
392         * gnu/java/nio/FileChannelImpl.java
393         (write): Removed.
394
395 2003-06-27  Michael Koch  <konqueror@gmx.de>
396
397         * java/nio/ByteBufferImpl.java
398         (ByteBufferImpl): Made it a package-private class
399         * java/nio/CharBufferImpl.java
400         (CharBufferImpl): Made it a package-private class
401         * java/nio/DirectByteBufferImpl.java
402         (DirectByteBufferImpl): Made it a package-private class
403         * java/nio/DoubleBufferImpl.java
404         (DoubleBufferImpl): Made it a package-private class
405         * java/nio/FloatBufferImpl.java
406         (FloatBufferImpl): Made it a package-private class
407         * java/nio/IntBufferImpl.java
408         (IntBufferImpl): Made it a package-private class
409         * java/nio/LongBufferImpl.java
410         (LongBufferImpl): Made it a package-private class
411         * java/nio/ShortBufferImpl.java
412         (ShortBufferImpl): Made it a package-private class
413         * java/nio/channels/FileChannel.java
414         (write): Made final.
415         * java/nio/channels/ServerSocketChannel.java
416         (ServerSocketChanne): Made protected.
417
418 2003-06-27  Michael Koch  <konqueror@gmx.de>
419
420         * javax/naming/CompositeName.java
421         (serialVersionUID): New member variable.
422         * javax/naming/CompoundName.java
423         (serialVersionUID): New member variable.
424         * javax/naming/InitialContext.java
425         (InitialContext): Throws NamingException.
426         (init): Likewise.
427         * javax/naming/LinkRef.java
428         (serialVersionUID): New member variable.
429         (gteLinkName): Throws NamingException.
430         * javax/naming/NamingException.java
431         (serialVersionUID): New member variable.
432         * javax/naming/NamingSecurityException.java
433         (NamingSecurityException): Made abstract.
434         (serialVersionUID): New member variable.
435         * javax/naming/ReferralException.java
436         (serialVersionUID): New member variable.
437         * javax/naming/StringRefAddr.java
438         (serialVersionUID): New member variable.
439         * javax/naming/directory/BasicAttribute.java:
440         Reworked imports.
441         (serialVersionUID): New member variable.
442         (get): Throws NamingException.
443         (getAll): Throws NamingException.
444         * javax/naming/directory/BasicAttributes.java:
445         Reworked imports.
446         (serialVersionUID): New member variable.
447         * javax/naming/ldap/UnsolicitedNotificationEvent.java
448         (serialVersionUID): New member variable.
449
450 2003-06-27  Michael Koch  <konqueror@gmx.de>
451
452         * Makefile.am
453         (awt_java_source_files): Added new files:
454         javax/swing/Popup.java,
455         javax/swing/PopupFactory.java
456         * Makefile.in: Regenerated.
457
458 2003-06-27  Michael Koch  <konqueror@gmx.de>
459
460         * javax/swing/JWindow.java,
461         javax/swing/event/AncestorEvent.java,
462         javax/swing/event/HyperlinkEvent.java,
463         javax/swing/event/InternalFrameEvent.java,
464         javax/swing/event/ListDataEvent.java,
465         javax/swing/event/TableModelEvent.java,
466         javax/swing/plaf/PopupMenuUI.java,
467         javax/swing/plaf/SplitPaneUI.java,
468         javax/swing/plaf/TabbedPaneUI.java,
469         javax/swing/plaf/TextUI.java,
470         javax/swing/plaf/TreeUI.java,
471         javax/swing/plaf/basic/BasicTextUI.java,
472         javax/swing/plaf/basic/BasicTreeUI.java:
473         New versions from classpath.
474         * javax/swing/Popup.java,
475         javax/swing/PopupFactory.jav:
476         New source files from classpath.
477         * javax/swing/plaf/doc-files/TreeUI-1.png:
478         New binary files from classpath.
479
480 2003-06-25  Michael Koch  <konqueror@gmx.de>
481
482         * Makefile.am
483         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
484         * Makefile.in: Regenerated.
485
486 2003-06-25  Michael Koch  <konqueror@gmx.de>
487
488         * javax/swing/plaf/ActionMapUIResource.java,
489         javax/swing/plaf/BorderUIResource.java,
490         javax/swing/plaf/ButtonUI.java,
491         javax/swing/plaf/ColorChooserUI.java,
492         javax/swing/plaf/ColorUIResource.java,
493         javax/swing/plaf/ComboBoxUI.java,
494         javax/swing/plaf/ComponentInputMapUIResource.java,
495         javax/swing/plaf/ComponentUI.java,
496         javax/swing/plaf/DesktopIconUI.java,
497         javax/swing/plaf/DesktopPaneUI.java,
498         javax/swing/plaf/DimensionUIResource.java,
499         javax/swing/plaf/FileChooserUI.java,
500         javax/swing/plaf/FontUIResource.java,
501         javax/swing/plaf/IconUIResource.java,
502         javax/swing/plaf/InputMapUIResource.java,
503         javax/swing/plaf/InsetsUIResource.java,
504         javax/swing/plaf/InternalFrameUI.java,
505         javax/swing/plaf/LabelUI.java,
506         javax/swing/plaf/ListUI.java,
507         javax/swing/plaf/MenuBarUI.java,
508         javax/swing/plaf/MenuItemUI.java,
509         javax/swing/plaf/OptionPaneUI.java,
510         javax/swing/plaf/PanelUI.java,
511         javax/swing/plaf/ProgressBarUI.java,
512         javax/swing/plaf/RootPaneUI.java,
513         javax/swing/plaf/ScrollBarUI.java,
514         javax/swing/plaf/ScrollPaneUI.java,
515         javax/swing/plaf/SeparatorUI.java,
516         javax/swing/plaf/SliderUI.java,
517         javax/swing/plaf/TableHeaderUI.java,
518         javax/swing/plaf/TableUI.java,
519         javax/swing/plaf/ToolBarUI.java,
520         javax/swing/plaf/ToolTipUI.java,
521         javax/swing/plaf/ViewportUI.java:
522         New versions from classpath.
523         * javax/swing/plaf/SpinnerUI.java: 
524         New file from classpath
525
526 2003-06-25  Michael Koch  <konqueror@gmx.de>
527
528         * java/awt/image/ColorModel.java:
529         New version from classpath.
530
531 2003-06-25  Michael Koch  <konqueror@gmx.de>
532
533         * java/net/PlainDatagramSocketImpl.java:
534         Partly merged with classpath, this mainly adds documentation.
535
536 2003-06-25  Michael Koch  <konqueror@gmx.de>
537
538         * java/io/ObjectInputStream.java
539         (readClassDescriptor): New method.
540         (readObject): Moved functionality to readClassDescriptor().
541         * java/io/ObjectOutputStream.java
542         (writeClassDescriptor): New method.
543         (writeObject): Moved functionality to writeClassDescriptor().
544
545 2003-06-25  Michael Koch  <konqueror@gmx.de>
546
547         * javax/swing/plaf/basic/BasicListUI.java,
548         javax/swing/plaf/basic/BasicOptionPaneUI.java:
549         Added missing methods.
550
551 2003-06-25  Michael Koch  <konqueror@gmx.de>
552
553         * javax/swing/event/AncestorEvent.java
554         javax/swing/event/HyperlinkEvent.java
555         javax/swing/event/InternalFrameEvent.java
556         javax/swing/event/ListDataEvent.java
557         javax/swing/event/TableModelEvent.java:
558         Compile fixes.
559
560 2003-06-24  Michael Koch  <konqueror@gmx.de>
561
562         * java/net/URL.java:
563         Renamed "handler" to "ph" in the whole file to match classpaths
564         version.
565         * java/net/URLStreamHandler.java:
566         (equals): Renamed "handler" to "ph".
567
568 2003-06-24  Michael Koch  <konqueror@gmx.de>
569
570         * javax/swing/event/AncestorEvent.java,
571         javax/swing/event/HyperlinkEvent.java,
572         javax/swing/event/InternalFrameEvent.java,
573         javax/swing/event/ListDataEvent.java,
574         javax/swing/event/TableModelEvent.java,
575         javax/swing/event/TreeWillExpandListener.java,
576         javax/swing/plaf/ComponentUI.java,
577         javax/swing/plaf/DesktopIconUI.java,
578         javax/swing/plaf/DesktopPaneUI.java,
579         javax/swing/plaf/DimensionUIResource.java,
580         javax/swing/plaf/FileChooserUI.java,
581         javax/swing/plaf/FontUIResource.java,
582         javax/swing/plaf/IconUIResource.java,
583         javax/swing/plaf/InputMapUIResource.java,
584         javax/swing/plaf/InsetsUIResource.java,
585         javax/swing/plaf/InternalFrameUI.java,
586         javax/swing/plaf/LabelUI.java,
587         javax/swing/plaf/ListUI.java,
588         javax/swing/plaf/MenuBarUI.java,
589         javax/swing/plaf/MenuItemUI.java,
590         javax/swing/plaf/OptionPaneUI.java,
591         javax/swing/plaf/PanelUI.java,
592         javax/swing/plaf/ProgressBarUI.java,
593         javax/swing/plaf/doc-files/ComponentUI-1.dia,
594         javax/swing/plaf/doc-files/ComponentUI-1.png:
595         New versions from classpath.
596
597 2003-06-24  Michael Koch  <konqueror@gmx.de>
598
599         * java/nio/Buffer.java
600         (cap): Made package-private.
601         (pos): Likewise.
602         (limit): Likewise.
603         (mark): Likewise.
604
605 2003-06-24  Michael Koch  <konqueror@gmx.de>
606
607         * java/net/SocketImpl.java
608         (shutdownInput): Made it non-abstract method throwing an exception
609         like in SUNs JRE.
610         (shutdownOutput): Likewise.
611         * java/net/SocketInputStream.java,
612         java/net/SocketOutputStream.java:
613         New files from classpath.
614
615 2003-06-24  Michael Koch  <konqueror@gmx.de>
616
617         * java/awt/Font.java,
618         java/awt/Window.java,
619         java/awt/color/ColorSpace.java,
620         java/awt/datatransfer/StringSelection.java,
621         java/awt/image/ColorModel.java:
622         New versions from classpath.
623
624 2003-06-24  Michael Koch  <konqueror@gmx.de>
625
626         * Makefile.am
627         (awt_java_source_files): Added new files:
628         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
629         javax/swing/plaf/basic/BasicSplitPaneUI.java
630         * Makefile.in: Regenerated.
631
632 2003-06-24  Michael Koch  <konqueror@gmx.de>
633
634         * javax/swing/text/JTextComponent.java:
635         New version from classpath.
636
637 2003-06-24  Michael Koch  <konqueror@gmx.de>
638
639         * javax/swing/Timer.java,
640         javax/swing/plaf/ActionMapUIResource.java,
641         javax/swing/plaf/ButtonUI.java,
642         javax/swing/plaf/ColorChooserUI.java,
643         javax/swing/plaf/ColorUIResource.java,
644         javax/swing/plaf/ComboBoxUI.java,
645         javax/swing/plaf/ComponentInputMapUIResource.java,
646         javax/swing/plaf/basic/BasicBorders.java:
647         New versions from classpath.
648         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
649         javax/swing/plaf/basic/BasicSplitPaneUI.java:
650         New file from classpath.
651         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
652         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
653         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
654         javax/swing/plaf/doc-files/ComponentUI-1.dia,
655         javax/swing/plaf/doc-files/ComponentUI-1.png:
656         New binary files from classpath.
657
658 2003-06-24  Michael Koch  <konqueror@gmx.de>
659
660         * java/io/LineNumberReader.java
661         (skip): Dont do line number accounting here as this is already done in
662         read(), simplified.
663
664 2003-06-21  Michael Koch  <konqueror@gmx.de>
665
666         * java/io/File.java
667         (static): Load javaio lib if existing (only in classpath).
668         (File): Revised documentation to show the correct argument name.
669         (createTempFile): Partly merged with classpath.
670         (compareTo): Simplified.
671         (lastModified): Throw exception if time < 0.
672         (deleteOnExit): Revised documentation.
673
674 2003-06-21  Michael Koch  <konqueror@gmx.de>
675
676         * java/net/PlainSocketImpl.java:
677         Reformatted.
678         (PlainSocketImpl): Merged class documentaion with classpath.
679         (in): Moved.
680         (out): Moved.
681         (PlainSocketImpl): New empty constructor.
682         (finalize): Moved.
683         (setOption): Merged documentation from classpath.
684         (getOption): Likewise.
685         (create): Likewise.
686         (connect): Likewise.
687         (bind): Likewise.
688         (listen): Likewise.
689         (accept): Likewise.
690         (available): Likewise.
691         (close): Likewise.
692         (read): Likewise.
693         (write): Likewise.
694         (getInputStream): Made synchronozed to get sure that only one stream
695         object can be created for this socket, merged documentation from
696         classpath.
697         (getOutputStream): Likewise.
698
699 2003-06-21  Michael Koch  <konqueror@gmx.de>
700
701         * java/net/PlainSocketImpl.java:
702         Reformatting.
703         (static): New implicit method.
704         (read): Made package private.
705         (write): Likewise.
706
707 2003-06-21  Michael Koch  <konqueror@gmx.de>
708
709         * java/util/SimpleTimeZone.java:
710         Removed unneeded import, reformatting.
711
712 2003-06-21  Michael Koch  <konqueror@gmx.de>
713
714         * java/text/DateFormat.java,
715         java/text/SimpleDateFormat.java,
716         java/util/Locale.java:
717         New versions from classpath.
718
719 2003-06-21  Michael Koch  <konqueror@gmx.de>
720
721         * javax/swing/SpinnerModel.java:
722         New file from classpath.
723         * javax/swing/border/LineBorder.java,
724         javax/swing/border/SoftBevelBorder.java,
725         javax/swing/plaf/BorderUIResource.java,
726         javax/swing/plaf/basic/BasicBorders.java:
727         New versions from classpath.
728         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
729         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
730         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
731         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
732         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
733         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
734         New binary files from classpath.
735
736 2003-06-21  Michael Koch  <konqueror@gmx.de>
737
738         * java/util/logging/LogRecord.java,
739         java/util/logging/Logger.java,
740         java/util/logging/SocketHandler.java,
741         java/util/logging/SimpleFormatter.java,
742         java/util/logging/Formatter.java,
743         java/util/logging/ErrorManager.java,
744         java/util/logging/Handler.java,
745         java/util/logging/FileHandler.java,
746         java/util/logging/LogManager.java,
747         java/util/logging/Level.java,
748         java/util/logging/ConsoleHandler.java,
749         java/util/logging/StreamHandler.java,
750         java/util/logging/LoggingPermission.java,
751         java/util/logging/Filter.java,
752         java/util/logging/MemoryHandler.java,
753         java/util/logging/XMLFormatter.java:
754         New files from classpath.
755
756 2003-06-20  Michael Koch  <konqueror@gmx.de>
757
758         * java/io/ObjectStreamField.java
759         (unshared): new member variable.
760         (ObjectStreamField): New constructor.
761         (isUnshared): New method.
762
763 2003-06-20  Michael Koch  <konqueror@gmx.de>
764
765         * java/net/URLStreamHandler.java
766         (hostsEqual): Rewritten.
767
768 2003-06-20  Michael Koch  <konqueror@gmx.de>
769
770         * gnu/java/nio/MappedByteFileBuffer.java,
771         gnu/java/nio/natMappedByteFileBuffer.cc:
772         Removed
773         * java/nio/MappedByteBufferImpl.java:
774         New file.
775         * gnu/java/nio/FileChannelImpl.java:
776         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
777         * Makefile.am
778         (ordinary_java_source_files): Removed
779         gnu/java/nio/MappedByteFileBuffer.java and added
780         java/nio/MappedByteBufferImpl.java.
781         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
782         * Makefile.in: Regenerated.
783
784 2003-06-19  Michael Koch  <konqueror@gmx.de>
785
786         * gnu/java/nio/DatagramChannelImpl.java
787         (fd): Removed.
788         (blocking): New member variable.
789         (socket): Likewise.
790         (DatagramChannelImpl): Throws IOException, initialize socket.
791         (socket):Implemented.
792         (implCloseSelectableChannel): Throws IOException, implemented.
793         (implConfigureBlocking): Likewise.
794         (connect): Likewise.
795         (disconnect): Likewise.
796         (isConnected): Likewise.
797         (write): Likewise.
798         (read): Likewise.
799         (receive): Throws IOException.
800         (send): Likewise.
801         * gnu/java/nio/SocketChannelImpl.java
802         (read): Implemented.
803         (write): Implemented.
804
805 2003-06-19  Michael Koch  <konqueror@gmx.de>
806
807         * javax/swing/JComponent.java,
808         javax/swing/JInternalFrame.java,
809         javax/swing/MenuSelectionManager.java,
810         javax/swing/SwingUtilities.java,
811         javax/swing/ToggleButtonModel.java:
812         New versions from classpath.
813
814 2003-06-19  Michael Koch  <konqueror@gmx.de>
815
816         * java/text/CollationElementIterator.java
817         (NULLORDER): Initialize with -1 as JDK documentation says.
818
819 2003-06-19  Michael Koch  <konqueror@gmx.de>
820
821         * java/net/HttpURLConnection.java,
822         java/net/Inet4Address.java,
823         java/net/Inet6Address.java,
824         java/net/SocketImpl.java,
825         java/net/URLClassLoader.java:
826         Reworked import statements.
827         * java/net/InetAddress.java
828         (getByAddress): Simplified.
829         * java/net/ServerSocket.java
830         (ServerSocket): Moved special handling during bind operation to
831         bind().
832         (bind): Handle different cases when trying to bind a socket.
833         * java/net/URLConnection.java
834         (getHeaderFieldDate): Merged with classpath.
835         (getHeaderFieldInt): Likewise.
836
837 2003-06-19  Michael Koch  <konqueror@gmx.de>
838
839         * java/util/zip/InflaterInputStream.java
840         (InflaterInputStream): Throw NullPointerException if in is null (as
841         JDK does).
842
843 2003-06-19  Michael Koch  <konqueror@gmx.de>
844
845         * java/awt/Font.java
846         javax/swing/UIManager.java
847         javax/swing/border/AbstractBorder.java
848         javax/swing/border/BevelBorder.java
849         javax/swing/border/Border.java
850         javax/swing/border/CompoundBorder.java
851         javax/swing/border/EmptyBorder.java
852         javax/swing/border/EtchedBorder.java
853         javax/swing/border/LineBorder.java
854         javax/swing/border/MatteBorder.java
855         javax/swing/border/TitledBorder.java
856         javax/swing/plaf/BorderUIResource.java
857         javax/swing/plaf/basic/BasicBorders.java
858         javax/swing/plaf/basic/BasicButtonUI.java
859         javax/swing/plaf/basic/BasicCheckBoxUI.java
860         javax/swing/plaf/basic/BasicGraphicsUtils.java
861         javax/swing/plaf/basic/BasicLabelUI.java
862         javax/swing/plaf/basic/BasicRadioButtonUI.java
863         javax/swing/plaf/basic/BasicToggleButtonUI.java:
864         New versions from classpath.
865         * javax/swing/border/SoftBevelBorder.java:
866         New file from classpath.
867         * javax/swing/border/doc-files/LineBorder-1.png,
868         javax/swing/border/doc-files/BevelBorder-1.png,
869         javax/swing/border/doc-files/BevelBorder-2.png,
870         javax/swing/border/doc-files/BevelBorder-3.png,
871         javax/swing/border/doc-files/EmptyBorder-1.png,
872         javax/swing/border/doc-files/EtchedBorder-1.png,
873         javax/swing/border/doc-files/EtchedBorder-2.png,
874         javax/swing/border/doc-files/MatteBorder-1.png,
875         javax/swing/border/doc-files/MatteBorder-2.png,
876         javax/swing/border/doc-files/MatteBorder-3.png,
877         javax/swing/border/doc-files/MatteBorder-4.png,
878         javax/swing/border/doc-files/MatteBorder-5.png,
879         javax/swing/border/doc-files/MatteBorder-6.png,
880         javax/swing/border/doc-files/SoftBevelBorder-1.png,
881         javax/swing/border/doc-files/SoftBevelBorder-2.png,
882         javax/swing/border/doc-files/SoftBevelBorder-3.png,
883         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
884         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
885         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
886         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
887         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
888         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
889         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
890         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
891         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
892         New binary files from classpath.
893         * Makefile.am
894         (awt_java_source_files): Added
895         javax/swing/border/SoftBevelBorder.java.
896         * Makefile.in: Regenerated.
897
898 2003-06-19  Michael Koch  <konqueror@gmx.de>
899
900         * gnu/java/security/x509/X509Certificate.java
901         (writeReplace): Merged from classpath.
902
903 2003-06-19  Michael Koch  <konqueror@gmx.de>
904
905         * gnu/java/nio/FileChannelImpl.java
906         (map_address): Made public.
907         (FileChannelImpl): Merged with classpath.
908         * gnu/java/nio/natFileChannelImpl.cc
909         (nio_mmap_file): Commented out unused arguments.
910         (nio_unmmap_file): Likewise.
911         (niu_msync): Likewise.
912
913 2003-06-19  Michael Koch  <konqueror@gmx.de>
914
915         * java/awt/image/IndexColorModel.java:
916         New version from classpath.
917
918 2003-06-18  Tom Tromey  <tromey@redhat.com>
919
920         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
921         on arrays.
922         (isLoopbackAddress): Likewise.
923         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
924         on arrays.
925
926 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
927
928         * java/lang/natVMSecurityManager.cc (getClassContext):
929         Use maxlen instead of len for loop bound.
930
931 2003-06-18  Michael Koch  <konqueror@gmx.de>
932
933         * gnu/java/nio/SelectorImpl.java
934         (register): Use fd with value 0 for now, will be fixed later.
935         * gnu/java/nio/ServerSocketChannelImpl.java
936         (fd): Removed.
937         (local_port): Removed.
938         (InetSocketAddress): Removed.
939         (ServerSocketChannelImpl): Just initialize internal socket object.
940         (implCloseSelectableChannel): Close internal socket object.
941         (implConfigureBlocking): Added comment.
942         (accept): Use jaba.net stuff to accept socket.
943         * gnu/java/nio/SocketChannelImpl.java
944         (fd): Removed.
945         (local_port): Removed.
946         (InetSocketAddress): Removed.
947         (SocketCreate): Removed.
948         (SocketConnect): Removed.
949         (SocketBind): Removed.
950         (SocketListen): Removed.
951         (SocketAvailable): Removed.
952         (SocketClose): Removed.
953         (SocketRead): Removed.
954         (SocketWrite): Removed.
955         (SocketChannelImpl): Just initialize internal socket object.
956         (implCloseSelectableChannel): Close internal socket object.
957         (implConfigureBlocking): Fixed implementation, added comment.
958         (connect): Use internal socket object to connect.
959         (socket): No need for sanity checks.
960         (read): Comment out some stuff, this will be reimplemented in the next
961         commit.
962         (write): Likewise.
963         * gnu/java/nio/natFileChannelImpl.cc
964         (nio_mmap_file): Line wrapped.
965         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
966         * Makefile.am
967         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
968         * Makefile.in: Regenerated.
969
970 2003-06-18  Michael Koch  <konqueror@gmx.de>
971
972         * java/util/Locale.java
973         (equals): Merged from classpath.
974
975 2003-06-18  Michael Koch  <konqueror@gmx.de>
976
977         * java/net/InetAddress.java:
978         Reformatted to better match classpath's version.
979         * java/net/URL.java
980         (equals): Simplified.
981         * java/net/URLConnection.java
982         (setDoInput): Revised documentation.
983         (getDefaultUseCaches): Likewise.
984         (setRequestProperty): Added @since tag.
985
986 2003-06-17  Michael Koch  <konqueror@gmx.de>
987
988         * java/net/InetSocketAddress.java
989         (InetSocketAddress): Use wildcard address if addr is null.
990         (InetSocketAddress): Dont duplicate implementation.
991         (InetSocketAddress): Throw exception when hostname is null.
992         * java/net/Socket.java:
993         Reworked imports.
994         (Socket): Throw exception when raddr is null, handle case when laddr
995         is null.
996
997 2003-06-17  Michael Koch  <konqueror@gmx.de>
998
999         * java/nio/DirectByteBufferImpl.java
1000         (address): Made package private.
1001         (DirectByteBufferImpl): New constructor.
1002         * java/nio/natDirectByteBufferImpl.cc
1003         (allocateImpl): Moved to java.nio namespace, implemented.
1004         (freeImpl): Likewise.
1005         (getImpl): Likewise.
1006         (putImpl): Likewise.
1007         * jni.cc
1008         (_Jv_JNI_NewDirectByteBuffer): Implemented.
1009         (_Jv_JNI_GetDirectBufferAddress): Implemented.
1010         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1011
1012 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1013
1014         * include/powerpc-signal.h: New File.
1015         * configure.in: Use it.
1016         * configure: Regenerated.
1017
1018 2003-06-17  Michael Koch  <konqueror@gmx.de>
1019
1020         * java/util/Locale.java
1021         (getDisplayLanguage): Made it final.
1022         (getDisplayCountry): Likewise.
1023         (getDisplayVariant): Likewise.
1024         (getDisplayName): Likewise.
1025
1026 2003-06-17  Michael Koch  <konqueror@gmx.de>
1027
1028         * java/util/PropertyResourceBundle.java:
1029         Removed unneeded import.
1030
1031 2003-06-17  Michael Koch  <konqueror@gmx.de>
1032
1033         * java/util/prefs/AbstractPreferences.java,
1034         java/util/prefs/PreferencesFactory.java:
1035         Reworked imports, removed unused imports.
1036         * java/util/prefs/Preferences.java
1037         (systemNodeForPackage): Method takes a Class not an Object.
1038         (userNodeForPackage): Likewise.
1039         (nodeForPackage): Likewise.
1040
1041 2003-06-17  Michael Koch  <konqueror@gmx.de>
1042
1043         * gnu/java/security/x509/X509Certificate.java:
1044         Explicitely import used classes.
1045
1046 2003-06-17  Michael Koch  <konqueror@gmx.de>
1047
1048         * java/util/zip/ZipEntry.java,
1049         java/util/zip/ZipFile.java,
1050         java/util/zip/ZipInputStream.java,
1051         java/util/zip/ZipOutputStream.java:
1052         Reworked imports, only import used classes.
1053
1054 2003-06-17  Michael Koch  <konqueror@gmx.de>
1055
1056         * gnu/java/lang/ArrayHelper.java,
1057         gnu/java/lang/ClassHelper.java:
1058         Reformatted to match classpath's versions.
1059
1060 2003-06-14  Michael Koch  <konqueror@gmx.de>
1061
1062         * gnu/java/nio/FileChannelImpl.java
1063         (map_address): Removed incorrect comment.        
1064         * gnu/java/nio/SelectorImpl.java
1065         (register): Remove code duplication and code for file channel handling.        
1066         * gnu/java/nio/ServerSocketChannelImpl.java
1067         (serverSocket): Renamed from sock_object.
1068         (ServerSocketChannel): Initialize serverSocket.
1069         (socket): Return serverSocket.
1070         * gnu/java/nio/SocketChannelImpl.java
1071         (socket): Renamed from sock_object.
1072         (isConnectionPenging): Simplified.
1073         (socket): Return socket.
1074 2003-06-14  Michael Koch  <konqueror@gmx.de>
1075
1076         * java/security/BasicPermission.java:
1077         New version from classpath.
1078
1079 2003-06-14  Michael Koch  <konqueror@gmx.de>
1080
1081         * javax/naming/directory/Attribute.java:
1082         New version from classpath.
1083
1084 2003-06-14  Michael Koch  <konqueror@gmx.de>
1085
1086         * java/io/BufferedReader.java,
1087         java/io/FileOutputStream.java:
1088         New versions from classpath.
1089
1090 2003-06-12  Andrew Haley  <aph@redhat.com>
1091
1092         * prims.cc (catch_segv): Create exception in handler.
1093         (catch_fpe): Likewise.  
1094         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1095         (_Jv_ThrowSignal): Remove.
1096
1097         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1098         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1099         to nullp and arithexception.
1100         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1101         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1102         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1103         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1104         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1105
1106 2003-06-11  Andrew Haley  <aph@redhat.com>
1107
1108         * jni.cc (_Jv_JNI_check_types): New.
1109         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1110         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1111         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1112         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1113         
1114         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1115         infinite loop.
1116
1117 2003-06-11  Tom Tromey  <tromey@redhat.com>
1118
1119         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1120         * java/io/PrintStream.java: Not deprecated.
1121
1122 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1123
1124         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1125         (fillOval): implemented
1126         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1127         (fillArc): implemented.
1128         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1129         (fillArc): added native method.
1130         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1131         (fillArc): added native method.
1132
1133 2003-06-11  Michael Koch  <konqueror@gmx.de>
1134
1135         * java/awt/im/InputSubset.java:
1136         New version from classpath.
1137
1138 2003-06-11  Michael Koch  <konqueror@gmx.de>
1139
1140         * javax/swing/AbstractAction.java,
1141         javax/swing/AbstractButton.java,
1142         javax/swing/AbstractCellEditor.java,
1143         javax/swing/AbstractListModel.java,
1144         javax/swing/BorderFactory.java,
1145         javax/swing/Box.java,
1146         javax/swing/BoxLayout.java,
1147         javax/swing/ButtonGroup.java,
1148         javax/swing/DefaultButtonModel.java,
1149         javax/swing/DefaultListModel.java,
1150         javax/swing/DefaultListSelectionModel.java,
1151         javax/swing/FocusManager.java,
1152         javax/swing/ImageIcon.java,
1153         javax/swing/InputMap.java,
1154         javax/swing/JApplet.java,
1155         javax/swing/JButton.java,
1156         javax/swing/JCheckBox.java,
1157         javax/swing/JCheckBoxMenuItem.java,
1158         javax/swing/JColorChooser.java,
1159         javax/swing/JComboBox.java,
1160         javax/swing/JComponent.java,
1161         javax/swing/JDesktopPane.java,
1162         javax/swing/JDialog.java,
1163         javax/swing/JEditorPane.java,
1164         javax/swing/JFileChooser.java,
1165         javax/swing/JFormattedTextField.java,
1166         javax/swing/JFrame.java,
1167         javax/swing/JLabel.java,
1168         javax/swing/JLayeredPane.java,
1169         javax/swing/JList.java,
1170         javax/swing/JMenuBar.java,
1171         javax/swing/JMenuItem.java,
1172         javax/swing/JOptionPane.java,
1173         javax/swing/JPanel.java,
1174         javax/swing/JPasswordField.java,
1175         javax/swing/JPopupMenu.java,
1176         javax/swing/JProgressBar.java,
1177         javax/swing/JRadioButton.java,
1178         javax/swing/JRadioButtonMenuItem.java,
1179         javax/swing/JRootPane.java,
1180         javax/swing/JScrollBar.java,
1181         javax/swing/JScrollPane.java,
1182         javax/swing/JSeparator.java,
1183         javax/swing/JSlider.java,
1184         javax/swing/JTabbedPane.java,
1185         javax/swing/JTable.java,
1186         javax/swing/JTextField.java,
1187         javax/swing/JToggleButton.java,
1188         javax/swing/JToolBar.java,
1189         javax/swing/JToolTip.java,
1190         javax/swing/JTree.java,
1191         javax/swing/JViewport.java,
1192         javax/swing/JWindow.java,
1193         javax/swing/KeyStroke.java,
1194         javax/swing/ListSelectionModel.java,
1195         javax/swing/LookAndFeel.java,
1196         javax/swing/RepaintManager.java,
1197         javax/swing/ScrollPaneLayout.java,
1198         javax/swing/SizeRequirements.java,
1199         javax/swing/SwingConstants.java,
1200         javax/swing/Timer.java,
1201         javax/swing/UIDefaults.java,
1202         javax/swing/UIManager.java,
1203         javax/swing/border/AbstractBorder.java,
1204         javax/swing/border/CompoundBorder.java,
1205         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1206         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1207         javax/swing/colorchooser/ColorSelectionModel.java,
1208         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1209         javax/swing/event/AncestorEvent.java,
1210         javax/swing/event/HyperlinkEvent.java,
1211         javax/swing/event/InternalFrameAdapter.java,
1212         javax/swing/event/InternalFrameEvent.java,
1213         javax/swing/event/ListDataEvent.java,
1214         javax/swing/event/MouseInputAdapter.java,
1215         javax/swing/event/SwingPropertyChangeSupport.java,
1216         javax/swing/event/TableModelEvent.java,
1217         javax/swing/event/TreeWillExpandListener.java,
1218         javax/swing/event/UndoableEditEvent.java,
1219         javax/swing/filechooser/FileFilter.java,
1220         javax/swing/filechooser/FileSystemView.java,
1221         javax/swing/filechooser/FileView.java,
1222         javax/swing/plaf/BorderUIResource.java,
1223         javax/swing/plaf/basic/BasicDefaults.java,
1224         javax/swing/table/AbstractTableModel.java,
1225         javax/swing/table/DefaultTableCellRenderer.java,
1226         javax/swing/table/DefaultTableColumnModel.java,
1227         javax/swing/table/DefaultTableModel.java,
1228         javax/swing/table/TableColumn.java,
1229         javax/swing/text/JTextComponent.java,
1230         javax/swing/tree/AbstractLayoutCache.java,
1231         javax/swing/tree/DefaultMutableTreeNode.java,
1232         javax/swing/tree/DefaultTreeCellEditor.java,
1233         javax/swing/tree/DefaultTreeCellRenderer.java,
1234         javax/swing/tree/DefaultTreeModel.java,
1235         javax/swing/tree/DefaultTreeSelectionModel.java,
1236         javax/swing/tree/FixedHeightLayoutCache.java,
1237         javax/swing/tree/TreeCellEditor.java,
1238         javax/swing/tree/TreeModel.java,
1239         javax/swing/tree/TreeNode.java,
1240         javax/swing/tree/TreePath.java,
1241         javax/swing/tree/TreeSelectionModel.java,
1242         javax/swing/tree/VariableHeightLayoutCache.java,
1243         javax/swing/undo/AbstractUndoableEdit.java,
1244         javax/swing/undo/CompoundEdit.java,
1245         javax/swing/undo/StateEdit.java,
1246         javax/swing/undo/UndoManager.java,
1247         javax/swing/undo/UndoableEditSupport.java:
1248         New versions from classpath.
1249         * javax/swing/table/JTableHeader.java:
1250         New file from classpath.
1251         * Makefile.am
1252         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1253         * Makefile.in: Regenerated.
1254
1255 2003-06-11  Michael Koch  <konqueror@gmx.de>
1256
1257         * java/nio/MappedByteBuffer.java,
1258         java/nio/channels/Channels.java,
1259         java/nio/channels/ServerSocketChannel.java,
1260         java/nio/channels/spi/AbstractSelector.java:
1261         Removed unneeded imports.
1262
1263 2003-06-11  Michael Koch  <konqueror@gmx.de>
1264
1265         * java/net/DatagramSocket.java:
1266         Partly merged with classpath.
1267
1268 2003-06-11  Michael Koch  <konqueror@gmx.de>
1269
1270         * java/awt/Frame.java,
1271         java/awt/Graphics.java,
1272         java/awt/Menu.java,
1273         java/awt/Robot.java,
1274         java/awt/image/ColorModel.java:
1275         New versions from classpath.
1276
1277 2003-06-10  Michael Koch  <konqueror@gmx.de>
1278
1279         * java/io/PrintStream.java:
1280         Merged version from classpath.
1281         (close): Removed sychronized keyword. This class is not garantied to
1282         be thread-safe.
1283         (write): Likewise.
1284
1285 2003-06-09  Tom Tromey  <tromey@redhat.com>
1286
1287         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1288         field.
1289         (getDescent): Likewise, for "descent".
1290
1291 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1292
1293         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1294         (getMaxDescent): adjusted return value.
1295         (getAscent): modified to use metrics for 'O'.
1296         (getDescent): modified to use metrics for 'y'.
1297
1298 2003-06-08  Anthony Green  <green@redhat.com>
1299
1300         * java/net/URLStreamHandler.java (sameFile): Fix port value
1301         comparison.
1302         * java/net/URL.java (handler): Make package private.
1303         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1304
1305 2003-06-07  Tom Tromey  <tromey@redhat.com>
1306
1307         For PR libgcj/11085:
1308         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1309         Limit number of characters in numeric field when required.
1310         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1311         Respect maximumIntegerDigits.
1312
1313 2003-06-08  Michael Koch  <konqueror@gmx.de>
1314
1315         * java/net/Socket.java
1316         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1317         call bind() and connect() to actually do the bind and connect tasks.
1318         (bind): Connect to canonical address if bindpoint is null, create
1319         socket and bind it to bindpoint.
1320         (connect): Check for exceptions.
1321
1322 2003-06-08  Michael Koch  <konqueror@gmx.de>
1323
1324         * java/net/DatagramSocket.java
1325         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1326         into the Multicast constructors.
1327         * java/net/DatagramSocketImpl.java
1328         (getOption): Removed.
1329         (setOption): Removed.
1330         * java/net/MulticastSocket.java
1331         (MulticastSocket): Call setReuseAddress (true).
1332         * java/net/SocketImpl.java
1333         (getOption): Removed.
1334         (setOption): Removed.
1335
1336 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1337
1338         PR libgcj/10886:
1339         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1340         Test for empty vector.
1341
1342 2003-06-06  Mark Wielaard  <mark@klomp.org>
1343
1344         * java/security/Security.java (secprops): Initialize.
1345         (loadProviders): Return boolean.
1346         (static): Check result of loadProvider calls. If necessary
1347         display WARNING and fallback to Gnu provider.
1348
1349 2002-06-06  James Clark  <jjc@jclark.com>
1350
1351         Fix for PR libgcj/8738:
1352         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1353         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1354         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1355         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1356         (write): Always decrease avail when count is increased.
1357         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1358         and whether output buffer is full before increasing size.
1359
1360 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1361
1362         * java/io/PrintStream.java (writeChars(char[],int, int)):
1363         Check converter.havePendingBytes().
1364         (writeChars(String,int,int)): Likewise.
1365         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1366         Check converter.havePendingBytes() and flush buffer when stalled.
1367
1368 2003-06-07  Michael Koch  <konqueror@gmx.de>
1369
1370         * include/posix.h
1371         (O_DSYNC): Define O_DSYNC on platforms not
1372         supporting O_FSYNC (newlib).
1373
1374 2003-06-06  Mark Wielaard  <mark@klomp.org>
1375
1376         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1377         AWTError.
1378
1379 2003-06-06  Michael Koch  <konqueror@gmx.de>
1380
1381         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1382         More compile fixes from my stupid work yesterday.
1383
1384 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1385
1386         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1387         if _IEEE_LIBM is undefined.
1388
1389 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1390
1391         * libjava/include/posix.h (O_SYNC): Define if not available
1392         and a reasonable, perhaps more conservative, replacement exists.
1393         (O_DSYNC): Likewise.
1394         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1395
1396 2003-06-05  Michael Koch  <konqueror@gmx.de>
1397
1398         * javax/swing/plaf/BorderUIResource.java,
1399         javax/swing/plaf/basic/BasicDefaults.java,
1400         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1401         More compile fixes for latest Border commit. I should not commit
1402         something in this heat here ...
1403
1404 2003-06-05  Michael Koch  <konqueror@gmx.de>
1405
1406         * javax/swing/border/BevelBorder.java
1407         (BevelBorder): Removed.
1408         * javax/swing/border/EmptyBorder.java:
1409         Reformatted.
1410         (EmptyBorder): Removed.
1411         (getBorderInsets): Dont use l, r, t and b.
1412         * javax/swing/border/EtchedBorder.java
1413         (EtchedBorder): Removed.
1414         * javax/swing/border/LineBorder.java
1415         (LineBorder): Removed.
1416         * javax/swing/border/MatteBorder.java
1417         (MatteBorder): Removed.
1418         * javax/swing/border/TitledBorder.java
1419         (defaultBorder): Use other default for now.
1420         (defaultFont): Likewise.
1421         (defaultColor): Likewise.
1422
1423 2003-06-05  Michael Koch  <konqueror@gmx.de>
1424
1425         * javax/swing/border/Border.java:
1426         New version from classpath.
1427
1428 2003-06-05  Michael Koch  <konqueror@gmx.de>
1429
1430         * javax/swing/border/AbstractBorder.java,
1431         javax/swing/border/BevelBorder.java,
1432         javax/swing/border/CompoundBorder.java,
1433         javax/swing/border/EmptyBorder.java,
1434         javax/swing/border/EtchedBorder.java,
1435         javax/swing/border/LineBorder.java,
1436         javax/swing/border/MatteBorder.java,
1437         javax/swing/border/TitledBorder.java:
1438         New versions from Classpath.
1439
1440 2003-06-05  Michael Koch  <konqueror@gmx.de>
1441
1442         * java/awt/Button.java,
1443         java/awt/Checkbox.java,
1444         java/awt/CheckboxMenuItem.java,
1445         java/awt/Choice.java,
1446         java/awt/Container.java,
1447         java/awt/Dialog.java,
1448         java/awt/EventQueue.java,
1449         java/awt/FileDialog.java,
1450         java/awt/Frame.java,
1451         java/awt/Label.java,
1452         java/awt/List.java,
1453         java/awt/Menu.java,
1454         java/awt/MenuItem.java,
1455         java/awt/Panel.java,
1456         java/awt/PopupMenu.java,
1457         java/awt/Rectangle.java,
1458         java/awt/ScrollPane.java,
1459         java/awt/Scrollbar.java,
1460         java/awt/TextArea.java,
1461         java/awt/TextField.java,
1462         java/awt/Window.java,
1463         java/awt/datatransfer/DataFlavor.java,
1464         java/awt/dnd/DragSource.java,
1465         java/awt/dnd/DragSourceContext.java,
1466         java/awt/event/HierarchyEvent.java,
1467         java/awt/event/MouseWheelEvent.java,
1468         java/awt/im/InputContext.java,
1469         java/awt/image/BufferedImage.java,
1470         java/awt/image/ComponentColorModel.java,
1471         java/awt/image/Raster.java,
1472         java/awt/image/WritableRaster.java,
1473         java/awt/peer/ComponentPeer.java,
1474         java/awt/print/PageFormat.java,
1475         java/awt/print/PrinterJob.java:
1476         New versions from Classpath.
1477
1478 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1479
1480         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1481         numberFormat.setParseIntegerOnly(true).
1482
1483 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1484
1485         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1486
1487 2003-06-03  Andrew Haley  <aph@redhat.com>
1488
1489         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1490         stack volatile to prevent optimization from removing it.
1491
1492 2003-05-27  Michael Koch  <konqueror@gmx.de>
1493
1494         * java/util/zip/Deflater.java
1495         (FILTERED): Merged documentation from classpath.
1496         * java/util/zip/DeflaterOutputStream.java
1497         (DeflaterOutputStream): Merged documentation and argument validity
1498         check from classpath.
1499         (deflate): Merged documentation from classpath.
1500         (finish): Likewise.
1501         * java/util/zip/Inflater.java
1502         (Inflater): Merged class documentation from classpath.
1503         (zstream): Reordered.
1504         (is_finished): Reordered.
1505         (dict_needed): Reordered.
1506         (Inflater): Reordered, merged documentation from classpath.
1507         (end): Likewise.
1508         (finalize): Merged documentation from classpath.
1509         (finished): Likewise.
1510         (getAdler): Likewise.
1511         (getRemaining): Likewise.
1512         (getTotalIn): Likewise.
1513         (getTotalOut): Likewise.
1514         (inflate): Likewise.
1515         (needsDictionary): Likewise.
1516         (needsInput): Likewise.
1517         (reset): Likewise.
1518         (setDictionary): Likewise.
1519         (setInput): Likewise.
1520
1521 2003-05-27  Michael Koch  <konqueror@gmx.de>
1522
1523         * java/net/URLConnection.java
1524         (getHeaderFieldInt): Merged with classpath.
1525
1526 2003-05-27  Michael Koch  <konqueror@gmx.de>
1527
1528         * java/io/PrintStream.java
1529         (PrintStream): Reformatted.
1530         (PrintStream): New method, merged from classpath.
1531         (write): Reformatted.
1532
1533 2003-05-27  Michael Koch  <konqueror@gmx.de>
1534
1535         * java/lang/System.java:
1536         Explicitely import needed classes.
1537
1538 2003-05-26  Michael Koch  <konqueror@gmx.de>
1539
1540         * java/net/NetPermission.java,
1541         java/net/NetworkInterface.java,
1542         java/net/PasswordAuthentication.java,
1543         java/net/SocketPermission.java:
1544         New versions from classpath.
1545
1546 2003-05-25  Michael Koch  <konqueror@gmx.de>
1547
1548         * java/io/PushbackInputStream.java,
1549         java/net/Authenticator.java,
1550         java/net/ContentHandler.java,
1551         java/net/ContentHandlerFactory.java,
1552         java/net/DatagramSocket.java,
1553         java/net/DatagramSocketImpl.java,
1554         java/net/DatagramSocketImplFactory.java,
1555         java/net/FileNameMap.java,
1556         java/net/SocketImplFactory.java,
1557         java/net/SocketOptions.java,
1558         java/net/URLStreamHandlerFactory.java:
1559         Merged new versions from classpath.
1560
1561 2003-05-25  Michael Koch  <konqueror@gmx.de>
1562
1563         * java/awt/Checkbox.java,
1564         java/awt/Dialog.java,
1565         java/awt/Font.java,
1566         java/awt/Frame.java,
1567         java/awt/ScrollPaneAdjustable.java,
1568         java/awt/Scrollbar.java,
1569         java/awt/Window.java:
1570         New versions from classpath.
1571
1572 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1573
1574         PR libgcj/10838:
1575         * java/io/ObjectInputStream (enableResolveObject):
1576         Fixed spelling of permission name.
1577
1578 2003-05-20  Michael Koch  <konqueror@gmx.de>
1579
1580         * java/io/DataInputStream.java
1581         (convertFromUTF): Merged comment from classpath.
1582         * java/io/PrintStream.java
1583         (error_occured): Renamed from error, merged comment from classpath.
1584         (PrintStream): No need to initialized error.
1585         (checkError): Replace error with error_occurred.
1586         (setError): Likewise.
1587
1588 2003-05-20  Michael Koch  <konqueror@gmx.de>
1589
1590         * java/io/DataInputStream.java:
1591         Reformatted, Replaced < and & with html entitites in documentation.
1592         * java/io/File.java:
1593         Reformatted.
1594         * java/io/PrintWriter.java:
1595         Moved class documentation.
1596
1597 2003-05-20  Michael Koch  <konqueror@gmx.de>
1598
1599         * gnu/java/nio/ByteBufferImpl.java,
1600         gnu/java/nio/CharBufferImpl.java,
1601         gnu/java/nio/CharViewBufferImpl.java,
1602         gnu/java/nio/DirectByteBufferImpl.java,
1603         gnu/java/nio/DoubleBufferImpl.java,
1604         gnu/java/nio/DoubleViewBufferImpl.java,
1605         gnu/java/nio/FloatBufferImpl.java,
1606         gnu/java/nio/FloatViewBufferImpl.java,
1607         gnu/java/nio/IntBufferImpl.java,
1608         gnu/java/nio/IntViewBufferImpl.java,
1609         gnu/java/nio/LongBufferImpl.java,
1610         gnu/java/nio/LongViewBufferImpl.java,
1611         gnu/java/nio/natDirectByteBufferImpl.cc,
1612         gnu/java/nio/ShortBufferImpl.java,
1613         gnu/java/nio/ShortViewBufferImpl.java:
1614         Moved files to java/nio.
1615         * gnu/java/nio/SocketChannelImpl.java
1616         
1617         * java/nio/ByteBuffer.java,
1618         java/nio/CharBuffer.java,
1619         java/nio/DoubleBuffer.java,
1620         java/nio/FloatBuffer.java,
1621         java/nio/IntBuffer.java,
1622         java/nio/LongBuffer.java,
1623         java/nio/ShortBuffer.java:
1624         Dont import anything.
1625         * java/nio/ByteBufferImpl.java,
1626         java/nio/CharBufferImpl.java,
1627         java/nio/CharViewBufferImpl.java,
1628         java/nio/DirectByteBufferImpl.java,
1629         java/nio/DoubleBufferImpl.java,
1630         java/nio/DoubleViewBufferImpl.java,
1631         java/nio/FloatBufferImpl.java,
1632         java/nio/FloatViewBufferImpl.java,
1633         java/nio/IntBufferImpl.java,
1634         java/nio/IntViewBufferImpl.java,
1635         java/nio/LongBufferImpl.java,
1636         java/nio/LongViewBufferImpl.java,
1637         java/nio/natDirectByteBufferImpl.cc,
1638         java/nio/ShortBufferImpl.java,
1639         java/nio/ShortViewBufferImpl.java:
1640         Moved from gnu/java/nio.
1641         * Makefile.am
1642         (ordinary_java_source_files): Moved files from gnu/java/nio to
1643         java/nio.
1644         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1645         to java/nio.
1646         * Makefile.in: Regenerated.
1647
1648 2003-05-19  Michael Koch  <konqueror@gmx.de>
1649
1650         * java/util/Calendar.java
1651         (get): Not final anymore since JDK 1.4
1652         (set): Likewise.
1653
1654 2003-05-19  Michael Koch  <konqueror@gmx.de>
1655
1656         * java/text/CollationKey.java:
1657         Merged copyright and dat from classpath.
1658         * java/text/RuleBasedCollator.java:
1659         Merged class documentation from classpath.
1660
1661 2003-05-19  Michael Koch  <konqueror@gmx.de>
1662
1663         * java/nio/CharBuffer.java
1664         (toString): Compile fix.
1665
1666 2003-05-19  Michael Koch  <konqueror@gmx.de>
1667
1668         * gnu/java/nio/ByteBufferImpl.java
1669         (putLong): Fixed conversion to bytes.
1670         (putDouble): Fixed conversion to bytes.
1671         * gnu/java/nio/DirectByteBufferImpl.java
1672         (putLong): Fixed conversion to bytes.
1673         (putDouble): Fixed conversion to bytes.
1674         * gnu/java/nio/FileLockImpl.java
1675         (isValid): Reformatted.
1676         * java/nio/Buffer.java
1677         (Buffer): Fixed off-by-one bug in handling mark.
1678         * java/nio/ByteBuffer.java:
1679         Added newline.
1680         * java/nio/CharBuffer.java
1681         (toString): Don't use relative get to get string data.
1682
1683 2003-05-16  Michael Koch  <konqueror@gmx.de>
1684
1685         * java/io/natFileDescriptorPosix.cc
1686         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1687         tested.
1688
1689 2003-05-14  Michael Koch  <konqueror@gmx.de>
1690
1691         * gnu/java/nio/FileLockImpl.java
1692         (released): New member variable.
1693         (FileLockImpl): Initialize released.
1694         (releaseImpl): New native method.
1695         (release): Implemented.
1696         * gnu/java/nio/SelectorImpl.java: Reformatted.
1697         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1698         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1699         (accept): Throws IOException.
1700         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1701         (implConfigureBlocking): Throws IOException.
1702         (connect): Likewise.
1703         (read): Likewise.
1704         (write): Likewise.
1705         * gnu/java/nio/natFileLockImpl.cc: New file.
1706         * java/nio/channels/FileLock.java: Reformatted.
1707         * Makefile.am:
1708         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1709         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1710         * Makefile.in: Regenerated.
1711
1712 2003-05-13  Michael Koch  <konqueror@gmx.de>
1713
1714         * gnu/java/nio/CharViewBufferImpl.java
1715         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1716         (get): Shift bits to the right direction.
1717         (put): Likewise.
1718         * gnu/java/nio/DoubleViewBufferImpl.java
1719         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1720         (get): Shift bits to the right direction.
1721         (put): Likewise.
1722         * gnu/java/nio/FloatViewBufferImpl.java
1723         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1724         (get): Shift bits to the right direction.
1725         (put): Likewise.
1726         * gnu/java/nio/IntViewBufferImpl.java
1727         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1728         (get): Shift bits to the right direction.
1729         (put): Likewise.
1730         * gnu/java/nio/LongViewBufferImpl.java
1731         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1732         (get): Shift bits to the right direction.
1733         (put): Likewise.
1734         * gnu/java/nio/ShortViewBufferImpl.java
1735         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1736         (get): Shift bits to the right direction.
1737         (put): Likewise.
1738
1739 2003-05-13  Michael Koch  <konqueror@gmx.de>
1740
1741         * gnu/java/nio/natDirectByteBufferImpl.cc
1742         (allocateImpl): jlong -> RawData*.
1743         (freeImpl): Likewise.
1744
1745 2003-05-13  Michael Koch  <konqueror@gmx.de>
1746
1747         * java/nio/channels/FileChannel.java
1748         (MapMode.m): Made it package-private to match JDK 1.4.
1749         * java/nio/charset/Charset.java
1750         (decode): Made it final to match JDK 1.4.
1751
1752 2003-05-13  Michael Koch  <konqueror@gmx.de>
1753
1754        * java/io/FileDescriptor.java
1755        (SYNC): New constant.
1756        (DSYNC): Likewise.
1757        (getLength): Renamed from lenght() to match classpath's
1758        FileDescriptor.java.
1759        * java/io/RandomAccessFile.java
1760        (RandomAccessFile): Removed unneeded mode check, implemented mode
1761        "rws" and "rwd", merged documentation from classpath.
1762        (setLength): Reformatted.
1763        (length): Use new getLength() of FileDescriptor.
1764        * java/io/natFileDescriptorEcos.cc
1765        (getLength): Renamed from length().
1766        * java/io/natFileDescriptorPosix.cc
1767        (open): Implemented support for SYNC and DSYNC.
1768        (seek): Use getLength() instead of length().
1769        (getLength): Renamed from length().
1770        * java/io/natFileDescriptorWin32.cc
1771        (getLength): Renamed from length().
1772        (seek): Use getLength() instead of length().
1773        (available): Likewise.
1774        * gnu/java/nio/natFileChannelImpl.cc
1775        (size): Use getLength() instead of length().
1776
1777 2003-05-13  Michael Koch  <konqueror@gmx.de>
1778
1779         * gnu/java/nio/ByteBufferImpl.java
1780         (ByteBufferImpl): All constructors revised.
1781         (slice): Reimplemented.
1782         (duplicate): Reimplemented.
1783         (asReadOnlyBuffer): Reimplemented.
1784         * java/nio/ByteBuffer.java:
1785         Reformatted.
1786         (array_offset): Renamed from "offset" to match all other buffer
1787         classes.
1788         (ByteBuffer): All constructors revised.
1789         (allocateDirect): Implemented.
1790         (allocate): New implementation, documentation reworked.
1791         (wrap): Likewise.
1792         (get): Documentation reworked.
1793         (put): New implementation, documentation reworked.
1794         (hasArray): Documentation reworked.
1795         (arrayOffset): Likewise.
1796         (hashCode): Likewise.
1797         (equals): Likewise.
1798         (compareTo): Likewise.
1799         (order): Likewise.
1800         (compact): Likewise.
1801         (isDirect): Likewise.
1802         (slice): Likewise.
1803         (duplicate): Likewise.
1804         (asReadOnlyBuffer): Likewise.
1805         * Makefile.am
1806         (ordinary_java_source_files):
1807         Added gnu/java/nio/DirectByteBufferImpl.java.
1808         (nat_source_files):
1809         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1810         * Makefile.in: Regenerated.
1811
1812 2003-05-12  Michael Koch  <konqueror@gmx.de>
1813
1814         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1815         (nio_get_*): Removed.
1816         (nio_put_*): Removed.
1817         (as*Buffer): Implemented.
1818         (compact): Implemented.
1819         (get): Documentation added.
1820         (put): Documentation added.
1821         (get*): Newly implemented.
1822         (put*): Newly implemented.
1823         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1824         (CharBufferImpl): Revised.
1825         (slice): New implementation.
1826         (duplicate): New implementation.
1827         (compact): New implementation.
1828         (asReadOnlyBuffer): New implementation.
1829         (get): Documentation revised.
1830         (order): Return native byte order.
1831         * gnu/java/nio/DirectByteBufferImpl.java
1832         (allocateDirect): objects can be null not 0.
1833         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1834         (DoubleBufferImpl): Revised.
1835         (slice): New implementation.
1836         (duplicate): New implementation.
1837         (compact): New implementation.
1838         (asReadOnlyBuffer): New implementation.
1839         (get): Documentation revised.
1840         (order): Return native byte order.
1841         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1842         (FloatBufferImpl): Revised.
1843         (slice): New implementation.
1844         (duplicate): New implementation.
1845         (compact): New implementation.
1846         (asReadOnlyBuffer): New implementation.
1847         (get): Documentation revised.
1848         (order): Return native byte order.
1849         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1850         (IntBufferImpl): Revised.
1851         (slice): New implementation.
1852         (duplicate): New implementation.
1853         (compact): New implementation.
1854         (asReadOnlyBuffer): New implementation.
1855         (get): Documentation revised.
1856         (order): Return native byte order.
1857         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1858         (LongBufferImpl): Revised.
1859         (slice): New implementation.
1860         (duplicate): New implementation.
1861         (compact): New implementation.
1862         (asReadOnlyBuffer): New implementation.
1863         (get): Documentation revised.
1864         (order): Return native byte order.
1865         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1866         (ShortBufferImpl): Revised.
1867         (slice): New implementation.
1868         (duplicate): New implementation.
1869         (compact): New implementation.
1870         (asReadOnlyBuffer): New implementation.
1871         (get): Documentation revised.
1872         (order): Return native byte order.
1873         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1874         (CharBuffer): Revised.
1875         (order): Removed.
1876         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1877         (DoubleBuffer): Revised.
1878         (allocateDirect): Removed.
1879         (order): Removed.
1880         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1881         (FloatBuffer): Revised.
1882         (allocateDirect): Removed.
1883         (order): Removed.
1884         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1885         (IntBuffer): Revised.
1886         (allocateDirect): Removed.
1887         (order): Removed.
1888         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1889         (LongBuffer): Revised.
1890         (allocateDirect): Removed.
1891         (order): Removed.
1892         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1893         (ShortBuffer): Revised.
1894         (allocateDirect): Removed.
1895         (order): Removed.
1896         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1897         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1898         * Makefile.am
1899         (ordinary_java_source_files): Added the following files:
1900         gnu/java/nio/CharViewBufferImpl.java,
1901         gnu/java/nio/DoubleViewBufferImpl.java,
1902         gnu/java/nio/FloatViewBufferImpl.java,
1903         gnu/java/nio/IntViewBufferImpl.java,
1904         gnu/java/nio/LongViewBufferImpl.java,
1905         gnu/java/nio/ShortViewBufferImpl.java
1906         (nat_source_files): Removed the following files:
1907         gnu/java/nio/natByteBufferImpl.cc,
1908         gnu/java/nio/natCharBufferImpl.cc
1909         * Makefile.in: Regenerated.
1910
1911 2003-05-12  Michael Koch  <konqueror@gmx.de>
1912
1913         * gnu/java/nio/CharViewBufferImpl.java,
1914         gnu/java/nio/DirectByteBufferImpl.java,
1915         gnu/java/nio/DoubleViewBufferImpl.java,
1916         gnu/java/nio/FloatViewBufferImpl.java,
1917         gnu/java/nio/IntViewBufferImpl.java,
1918         gnu/java/nio/LongViewBufferImpl.java,
1919         gnu/java/nio/ShortViewBufferImpl.java,
1920         gnu/java/nio/natDirectByteBufferImpl.cc:
1921         New files, not yet to be compiled.
1922
1923 2003-05-10  Michael Koch  <konqueror@gmx.de>
1924
1925         * javax/swing/plaf/ButtonUI.java,
1926         javax/swing/plaf/ColorUIResource.java,
1927         javax/swing/plaf/ComponentUI.java,
1928         javax/swing/plaf/DimensionUIResource.java,
1929         javax/swing/plaf/FontUIResource.java,
1930         javax/swing/plaf/IconUIResource.java,
1931         javax/swing/plaf/InsetsUIResource.java,
1932         javax/swing/plaf/LabelUI.java,
1933         javax/swing/plaf/ListUI.java,
1934         javax/swing/plaf/OptionPaneUI.java,
1935         javax/swing/plaf/PanelUI.java,
1936         javax/swing/plaf/TabbedPaneUI.java,
1937         javax/swing/plaf/TextUI.java,
1938         javax/swing/plaf/TreeUI.java,
1939         javax/swing/plaf/ViewportUI.java,
1940         javax/swing/plaf/basic/BasicBorders.java,
1941         javax/swing/plaf/basic/BasicButtonUI.java,
1942         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1943         javax/swing/plaf/basic/BasicDefaults.java,
1944         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1945         javax/swing/plaf/basic/BasicIconFactory.java,
1946         javax/swing/plaf/basic/BasicLabelUI.java,
1947         javax/swing/plaf/basic/BasicListUI.java,
1948         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1949         javax/swing/plaf/basic/BasicPanelUI.java,
1950         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1951         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1952         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1953         javax/swing/plaf/basic/BasicTextUI.java,
1954         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1955         javax/swing/plaf/basic/BasicTreeUI.java,
1956         javax/swing/plaf/basic/BasicViewportUI.java,
1957         javax/swing/plaf/metal/MetalLookAndFeel.java:
1958         New versions from classpath. This adds copyrights to all files and
1959         some serialVersionUIDs.
1960
1961 2003-05-10  Michael Koch  <konqueror@gmx.de>
1962
1963         * java/nio/CharBuffer.java
1964         (offset): Make it package-private.
1965         (backing_buffer): Likewise.
1966         * java/nio/DoubleBuffer.java
1967         (offset): Make it package-private.
1968         (backing_buffer): Likewise.
1969         (put): Reformatted.
1970         * java/nio/FloatBuffer.java
1971         (offset): Make it package-private.
1972         (backing_buffer): Likewise.
1973         * java/nio/IntBuffer.java
1974         (offset): Make it package-private.
1975         (backing_buffer): Likewise.
1976         * java/nio/LongBuffer.java
1977         (offset): Make it package-private.
1978         (backing_buffer): Likewise.
1979         * java/nio/ShortBuffer.java
1980         (offset): Make it package-private.
1981         (backing_buffer): Likewise.
1982
1983 2003-05-10  Michael Koch  <konqueror@gmx.de>
1984
1985         * java/nio/CharBuffer.java
1986         (put): Fixed precondtion check.
1987         (toString): Make it work without backing array.
1988         (put): Skip one level of method calling.
1989
1990 2003-05-10  Michael Koch  <konqueror@gmx.de>
1991
1992         * java/security/Identity.java,
1993         java/security/IdentityScope.java,
1994         java/security/Key.java,
1995         java/security/KeyPair.java,
1996         java/security/PrivateKey.java,
1997         java/security/Provider.java,
1998         java/security/PublicKey.java,
1999         java/security/SecureRandom.java,
2000         java/security/SecureRandomSpi.java,
2001         java/security/SignedObject.java,
2002         java/security/Signer.java,
2003         java/security/cert/Certificate.java,
2004         java/security/cert/PKIXCertPathBuilderResult.java,
2005         java/security/cert/X509Certificate.java:
2006         New versions from classpath.
2007
2008 2003-05-09  Tom Tromey  <tromey@redhat.com>
2009
2010         * Makefile.in: Rebuilt.
2011         * Makefile.am (nat_source_files): Removed old files.
2012         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2013         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2014         * gnu/java/nio/natIntBufferImpl.cc: Removed.
2015         * gnu/java/nio/natLongBufferImpl.cc: Removed.
2016         * gnu/java/nio/natShortBufferImpl.cc: Removed.
2017
2018 2003-05-09  Michael Koch  <konqueror@gmx.de>
2019
2020         * gnu/java/nio/ByteBufferImpl.java
2021         (nio_cast): Removed.
2022         (ByteBufferImpl): Removed.
2023         (nio_get_Byte): Removed.
2024         (nio_put_Byte): Removed.
2025         (asByteBuffer): Removed.
2026         (asCharBuffer): Removed implementation and throw exception.
2027         (asShortBuffer): Likewise.
2028         (asIntBuffer): Likewise.
2029         (asLongBuffer): Likewise.
2030         (asFloatBuffer): Likewise.
2031         (asDoubleBuffer): Likewise.
2032         * gnu/java/nio/CharBufferImpl.java
2033         (CharBufferImpl): Removed.
2034         (nio_get_Byte): Removed.
2035         (nio_put_Byte): Removed.
2036         (asByteBuffer): Removed.
2037         * gnu/java/nio/DoubleBufferImpl.java
2038         (DoubleBufferImpl): Removed.
2039         (nio_get_Byte): Removed.
2040         (nio_put_Byte): Removed.
2041         (asByteBuffer): Removed.
2042         * gnu/java/nio/FloatBufferImpl.java
2043         (FloatBufferImpl): Removed.
2044         (nio_get_Byte): Removed.
2045         (nio_put_Byte): Removed.
2046         (asByteBuffer): Removed.
2047         * gnu/java/nio/IntBufferImpl.java
2048         (IntBufferImpl): Removed.
2049         (nio_get_Byte): Removed.
2050         (nio_put_Byte): Removed.
2051         (asByteBuffer): Removed.
2052         * gnu/java/nio/LongBufferImpl.java
2053         (LongBufferImpl): Removed.
2054         (nio_get_Byte): Removed.
2055         (nio_put_Byte): Removed.
2056         (asByteBuffer): Removed.
2057         * gnu/java/nio/ShortBufferImpl.java
2058         (ShortBufferImpl): Removed.
2059         (nio_get_Byte): Removed.
2060         (nio_put_Byte): Removed.
2061         (asByteBuffer): Removed.
2062         * gnu/java/nio/natByteBufferImpl.cc
2063         (nio_cast): Removed.
2064         (nio_get_Byte): Removed.
2065         (nio_put_Byte): Removed.
2066         * gnu/java/nio/natCharBufferImpl.cc
2067         (nio_get_Byte): Removed.
2068         (nio_put_Byte): Removed.
2069
2070 2003-05-09  Michael Koch  <konqueror@gmx.de>
2071
2072         * java/net/JarURLConnection.java
2073         (getJarEntry): Merged documentation from classpath.
2074         (getJarFile): Likewise.
2075         (getMainAttributes): Likewise.
2076         (getAttributes): Likewise.
2077         (getManifest): Likewise.
2078         (getCertificates): Reformatted.
2079         * java/net/URLConnection.java:
2080         Little classpath merge.
2081
2082 2003-05-09  Michael Koch  <konqueror@gmx.de>
2083
2084         * java/io/DataOutputStream.java
2085         (writeShort): Made it synchronized.
2086         (writeChar): Likewise.
2087         (writeInt): Likewise.
2088         (writeLong): Liekwise.
2089         (writeUTF): Made it synchronized, renamed argument to match classpath.
2090         * java/io/InputStreamReader.java
2091         (converter): Added documentation.
2092         (read): Merged documentation from classpath.
2093         * java/io/OutputStreamWriter.java
2094         (OutputStreamWriter): Merged documentation from classpath.
2095         (close): Reformatted.
2096         (getEncoding): Likewise.
2097         (flush): Likewise.
2098         (write): Merged documentation from classpath, reformatted.
2099
2100 2003-05-08  Tom Tromey  <tromey@redhat.com>
2101
2102         * configure.host <powerpc64*-*>: Set with_libffi_default and
2103         libgcj_interpreter to "yes".
2104
2105 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
2106
2107         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2108         
2109 2003-05-06  Tom Tromey  <tromey@redhat.com>
2110
2111         * verify.cc: Reverted previous patch.
2112
2113 2003-05-06  Michael Koch  <konqueror@gmx.de>
2114
2115         * java/io/DataOutputStream.java
2116         (write): Renamed argument to "value", merged documentation from
2117         classpath.
2118         (writeBoolean): Likewise.
2119         (writeByte): Likewise.
2120         (writeShort): Likewise.
2121         (writeChar): Likewise.
2122         (writeInt): Likewise.
2123         (writeLong): Likewise.
2124         (writeFloat): Likewise.
2125         (writeDouble): Likewise.
2126         (writeBytes): Likewise.
2127         (writeChars): Likewise.
2128         (writeUTF): Likewise.
2129         * java/io/File.java
2130         (performDelete): Added documentation.
2131         (performList): Likewise.
2132         (performMkdir): Likewise.
2133         (performSetReadOnly): Likewise.
2134         (performRenameTo): Likewise.
2135         (performSetLastModified): Likewise.
2136         (delete): Made it sychronized.
2137         (renameTo): Made it sychronized.
2138         (equals): Reformatted.
2139         (isHidden): Likewise.
2140         (listFiles): Likewise.
2141         (setReadOnly): Likewise.
2142         (listRoots): Likewise.
2143         (setLastModified): Likewise.
2144         (checkRead): Likewise.
2145         (checkWrite): Likewise.
2146         * java/io/FileInputStream.java
2147         (skip): Made it sychronized, merged from classpath.
2148         * java/io/FileOutputStream.java
2149         (write): Merged from classpath.
2150         * java/io/InputStreamReader.java:
2151         (InputStreamReader): Merged documentation from classpath.
2152
2153 2003-05-05  Michael Koch  <konqueror@gmx.de>
2154
2155         * java/net/NetworkInterface.java
2156         (networkInterfaces): Removed.
2157         (getByName): Use getRealNetworkInterfaces() instead of
2158         networkInterfaces.
2159         (getByInetAddress): Likewise.
2160         (getNetworkInterfaces): Likewise.
2161         (toString): Fix output of addresses of an interface.
2162
2163 2003-05-05  Michael Koch  <konqueror@gmx.de>
2164
2165         * java/io/DataInputStream.java:
2166         Merged new documentation from classpath.
2167
2168 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2169
2170         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2171         "version".
2172         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2173         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2174         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2175         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2176         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2177         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2178         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2179         * java/security/Key.java: Likewise.
2180         * java/security/PrivateKey.java: Likewise.
2181         * java/security/Provider.java: Likewise.
2182         * java/security/PublicKey.java: Likewise.
2183
2184 2003-05-02  Michael Koch  <konqueror@gmx.de>
2185
2186         * java/net/URI.java
2187         (create): Doesnt throws any exceptions.
2188         * java/net/URLConnection.java
2189         (URLConnection): Commend added.
2190         (getExpiration): The header field is called "expires" not
2191         "expiration".
2192         (getHeaderField): Merged documentation with classpath.
2193         (getHeaderFieldInt): Likewise.
2194         (getHeaderFieldDate): Likewise.
2195         (getHeaderFieldKey): Likewise.
2196         (getPermission): Likewise.
2197         (setDefaultUseCaches): Likewise.
2198         (setRequestProperty): Likewise.
2199         (addRequestProperty): Likewise.
2200         (getRequestProperty): Likewise.
2201         (getRequestProperties): Likewise.
2202         (setDefaultRequestProperty): Likewise.
2203         (getDefaultRequestProperty): Likewise.
2204         (guessContentTypeFromStream): Likewise.
2205         (getFileNameMap): Likewise.
2206         (setFileNameMap): Likewise.
2207         (setDoInput): Merged implementation and documentation with classpath.
2208         (setDoOutput): Likewise.
2209         (setAllowUserInteraction): Likewise.
2210         (setDefaultAllowUserInteraction): Likewise.
2211         (setContentHandlerFactory): Made it synchronized, merged documentation
2212         with classpath.
2213         (guessContentTypeFromName): Renamed argument fname to filename to
2214         match classpath, merged documentation with classpath.
2215
2216 2003-05-02  Michael Koch  <konqueror@gmx.de>
2217
2218         * java/net/JarURLConnection.java
2219         (JarURLConnection): Class documentation merged with classpath.
2220         (getJarFileURL): Moved and documentation merged with classpath.
2221         (getEntryName): Likewise.
2222         (JarURLConnection): Documentation merged with classpath.
2223         (getJarEntry): Likewise.
2224         (getJarFile): Likewise.
2225         * java/net/PlainDatagramSocketImpl.java:
2226         Class documentation moved.
2227         * java/net/URLConnection.java
2228         (fileNameMap): Moved and documentation merged with classpath.
2229         (factory): Likewise.
2230         (defaultAllowUserInteraction): Likewis.
2231         (defaultUseCaches): Likewise.
2232         (allowUserInteraction): Likewise.
2233         (connected): Likewise.
2234         (url): Likewise.
2235         (connect): Documentation merged with classpath.
2236         (getURL): Likewise.
2237         (getContentLength): Likewise.
2238         (getContentType): Likewise.
2239         (getContentEncoding): Likewise.
2240         (getExpiration): Likewise.
2241         (getDate): Likewise.
2242         (getLastModified): Likewise.
2243         (getHeaderField): Likewise.
2244         (getContent): Likewise.
2245         (getPermission): Likewise.
2246         (getInputStream): Likewise.
2247         (getOutputStream): Likewise.
2248         (toString): Likewise.
2249         (getDoInput): Likewise.
2250         (getDoOutput): Likewise.
2251         (setAllowUserInteraction): Likewise.
2252         (getAllowUserInteraction): Likewise.
2253         (setDefaultAllowUserInteraction): Likewise.
2254         (getDefaultAllowUserInteraction): Likewise.
2255         (setUseCaches): Likewise.
2256         (getUseCaches): Likewise.
2257         (setIfModifiedSince): Likewise.
2258         (getIfModifiedSince): Likewise.
2259         (setDefaultRequestProperty): Likewise.
2260         (getDefaultRequestProperty): Likewise.
2261         (setContentHandlerFactory): Likewise.
2262         (setFileNameMap): Likewise.
2263
2264 2003-05-02  Michael Koch  <konqueror@gmx.de>
2265
2266         * java/net/InetAddress.java:
2267         Merged class documentation with classpath.
2268         * java/net/JarURLConnection.java:
2269         Explicitely import all used classes.
2270         * java/net/URL.java:
2271         Reformatting.
2272         * java/net/ServerSocket.java,
2273         java/net/Socket.java:
2274         New versions from classpath.
2275
2276 2003-05-02  Michael Koch  <konqueror@gmx.de>
2277
2278         * gnu/java/nio/FileChannelImpl.java
2279         (read): New implementation.
2280         (implRead): New methods.
2281         (write): New implementation, call other write insteal of read method.
2282         (implWrite): New methods.
2283         (map): Added comment.
2284         (transferFrom): Implemented.
2285         (transferTo): Implemented.
2286         (lock): Added checks to throw exceptions.
2287         (truncate): Added check to throw exception.
2288         * gnu/java/nio/natFileChannelImpl.cc
2289         (implRead): New method.
2290         (implWrite): New method.
2291         * java/nio/ByteBuffer.java
2292         (hashCode): Fixed comment.
2293         (get): Fixed exception documentation.
2294         (put): Fixed exception documentation.
2295         * java/nio/CharBuffer.java:
2296         Added comment for later optimizations.
2297
2298 2003-04-30  Tom Tromey  <tromey@redhat.com>
2299
2300         PR libgcj/10582:
2301         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2302         Removed.
2303         (type::compatible): Use _Jv_IsAssignableFrom.
2304         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2305         (_Jv_IsAssignableFrom): Work even when source or target class is
2306         not prepared.
2307
2308 2003-04-30  Michael Koch  <konqueror@gmx.de>
2309
2310         * java/text/BreakIterator.java
2311         (clone): New method.
2312
2313 2003-04-30  Michael Koch  <konqueror@gmx.de>
2314
2315         * java/text/CollationElementIterator.java,
2316         java/text/CollationKey.java,
2317         java/text/RuleBasedCollator.java:
2318         Merged copyright and documentation from classpath and
2319         rearranged some code. No code changes done.
2320
2321 2003-04-30  Michael Koch  <konqueror@gmx.de>
2322
2323         * java/util/regex/Matcher.java
2324         (pattern): New member variable.
2325         (appendReplacement): New method.
2326         (appendTail): New method.
2327         (end): New method.
2328         (find): New method.
2329         (group): New method.
2330         (replaceFirst): Added documentation.
2331         (replaceAll): Added documentation.
2332         (groupCount): New method.
2333         (lookingAt): New method.
2334         (matches): New method.
2335         (reset): New method.
2336         (start): New method.
2337         * java/util/regex/Pattern.java
2338         (serialVersionUID): New constant.
2339         (CANON_EQ): New constant.
2340         (CASE_INSENSITIVE): New constant.
2341         (COMMENTS): New constant.
2342         (DOTALL): New constant.
2343         (MULTILINE): New constant.
2344         (UNICODE_CASE): New constant.
2345         (UNIX_LINES): New constant.
2346         (regex): New member variable.
2347         (flags): New member variable.
2348         (Pattern): New method.
2349         (compile): Documentation added.
2350         (flags): New method.
2351         (matches): Documentation added.
2352         (matcher): Documentation added.
2353         (split): Documentation added.
2354         (pattern): New method.
2355
2356 2003-04-30  Michael Koch  <konqueror@gmx.de>
2357
2358         * gnu/java/security/Engine.java,
2359         gnu/java/security/OID.java,
2360         gnu/java/security/der/BitString.java,
2361         gnu/java/security/der/DER.java,
2362         gnu/java/security/der/DERReader.java,
2363         gnu/java/security/der/DERValue.java,
2364         gnu/java/security/der/DERWriter.java,
2365         gnu/java/security/provider/DSAKeyFactory.java,
2366         gnu/java/security/provider/X509CertificateFactory.java,
2367         gnu/java/security/x509/X500DistinguishedName.java,
2368         gnu/java/security/x509/X509CRL.java,
2369         gnu/java/security/x509/X509CRLEntry.java,
2370         gnu/java/security/x509/X509Certificate.java,
2371         java/security/cert/CRLSelector.java,
2372         java/security/cert/CertPathBuilder.java,
2373         java/security/cert/CertPathBuilderResult.java,
2374         java/security/cert/CertPathBuilderSpi.java,
2375         java/security/cert/CertPathParameters.java,
2376         java/security/cert/CertPathValidator.java,
2377         java/security/cert/CertPathValidatorResult.java,
2378         java/security/cert/CertPathValidatorSpi.java,
2379         java/security/cert/CertSelector.java,
2380         java/security/cert/CertStore.java,
2381         java/security/cert/CertStoreParameters.java,
2382         java/security/cert/CertStoreSpi.java,
2383         java/security/cert/CollectionCertStoreParameters.java,
2384         java/security/cert/LDAPCertStoreParameters.java,
2385         java/security/cert/PKIXBuilderParameters.java,
2386         java/security/cert/PKIXCertPathBuilderResult.java,
2387         java/security/cert/PKIXCertPathChecker.java,
2388         java/security/cert/PKIXCertPathValidatorResult.java,
2389         java/security/cert/PKIXParameters.java,
2390         java/security/cert/PolicyNode.java,
2391         java/security/cert/PolicyQualifierInfo.java,
2392         java/security/cert/TrustAnchor.java,
2393         javax/security/auth/x500/X500Principal.java:
2394         New files from classpath.
2395         * gnu/java/io/ASN1ParsingException.java,
2396         gnu/java/io/Base64InputStream.java,
2397         gnu/java/security/der/DEREncodingException.java,
2398         gnu/java/security/provider/DSAParameters.java,
2399         gnu/java/security/provider/DSASignature.java,
2400         gnu/java/security/provider/Gnu.java,
2401         gnu/java/security/provider/GnuDSAPrivateKey.java,
2402         gnu/java/security/provider/GnuDSAPublicKey.java,
2403         java/security/AlgorithmParameterGenerator.java,
2404         java/security/AlgorithmParameters.java,
2405         java/security/KeyFactory.java,
2406         java/security/KeyPairGenerator.java,
2407         java/security/KeyStore.java,
2408         java/security/MessageDigest.java,
2409         java/security/SecureClassLoader.java,
2410         java/security/SecureRandom.java,
2411         java/security/Security.java,
2412         java/security/Signature.java,
2413         java/security/cert/Certificate.java,
2414         java/security/cert/CertificateFactory.java,
2415         java/security/cert/CertificateFactorySpi.java,
2416         java/security/cert/X509CRL.java,
2417         java/security/cert/X509Certificate.java,
2418         java/security/spec/DSAPublicKeySpec.java:
2419         New versions from classpath.
2420         * gnu/java/security/provider/DERReader.java,
2421         gnu/java/security/provider/DERWriter.java,
2422         java/security/Engine.java: Removed.
2423         * Makefile.am
2424         (java_source_files, javax_source_files): Added new files.
2425         * Makefile.in: Regenerated.
2426
2427 2003-04-29  Michael Koch  <konqueror@gmx.de>
2428
2429         * javax/swing/JTable.java
2430         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2431         (AUTO_RESIZE_LAST_COLUMN): New constant.
2432         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2433         (AUTO_RESIZE_OFF): New constant.
2434         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2435         (JTable): New method.
2436         (columnAdded): New method.
2437         (columnMarginChanged): New method.
2438         (columnMoved): New method.
2439         (columnRemoved): New method.
2440         (columnSelectionChanged): New method.
2441         (editingCanceled): New method.
2442         (editingStopped): New method.
2443         (getColumnModel): New method.
2444         (getPreferredScrollableViewportSize): New method.
2445         (getScrollableBlockIncrement): New method.
2446         (getScrollableTracksViewportHeight): New method.
2447         (getScrollableTracksViewportWidth): New method.
2448         (getScrollableUnitIncrement): New method.
2449         (getSelectedRow): New method.
2450         (getSelectionModel): New method.
2451         (tableChanged): New method.
2452         (setModel): New method.
2453         (setSelectionMode): New method.
2454         (setSelectionModel): New method.
2455         (setShowGrid): New method.
2456         (valueChanged): New method.
2457         * javax/swing/text/DefaultEditorKit.java
2458         (backwardAction): New constant.
2459         (beepAction): New constant.
2460         (beginAction): New constant.
2461         (beginLineAction): New constant.
2462         (beginParagraphAction): New constant.
2463         (beginWordAction): New constant.
2464         (copyAction): New constant.
2465         (cutAction): New constant.
2466         (defaultKeyTypedAction): New constant.
2467         (deleteNextCharAction): New constant.
2468         (deletePrevCharAction): New constant.
2469         (downAction): New constant.
2470         (endAction): New constant.
2471         (endLineAction): New constant.
2472         (endOfLineStringProperty): New constant.
2473         (endParagraphAction): New constant.
2474         (endWordAction): New constant.
2475         (forwardAction): New constant.
2476         (insertBreakAction): New constant.
2477         (insertContentAction): New constant.
2478         (insertTabAction): New constant.
2479         (nextWordAction): New constant.
2480         (pageDownAction): New constant.
2481         (pageUpAction): New constant.
2482         (pasteAction): New constant.
2483         (previousWordAction): New constant.
2484         (readOnlyAction): New constant.
2485         (selectAllAction): New constant.
2486         (selectionBackwardAction): New constant.
2487         (selectionBeginAction): New constant.
2488         (selectionBeginLineAction): New constant.
2489         (selectionBeginParagraphAction): New constant.
2490         (selectionBeginWordAction): New constant.
2491         (selectionDownAction): New constant.
2492         (selectionEndAction): New constant.
2493         (selectionEndLineAction): New constant.
2494         (selectionEndParagraphAction): New constant.
2495         (selectionEndWordAction): New constant.
2496         (selectionForwardAction): New constant.
2497         (selectionNextWordAction): New constant.
2498         (selectionPreviousWordAction): New constant.
2499         (selectionUpAction): New constant.
2500         (selectLineAction): New constant.
2501         (selectParagraphAction): New constant.
2502         (selectWordAction): New constant.
2503         (upAction): New constant.
2504         (writableAction): New constant.
2505
2506 2003-04-29  Michael Koch  <konqueror@gmx.de>
2507
2508         * java/util/PropertyPermission.java:
2509         New version from classpath
2510         * java/util/ResourceBundle.java:
2511         Partly merged from classpath
2512         (getObject): Reformated.
2513         (tryBundle): Set foundBundle = null if no bundle found.
2514
2515 2003-04-29  Michael Koch  <konqueror@gmx.de>
2516
2517         * javax/swing/AbstractListModel.java,
2518         javax/swing/DefaultBoundedRangeModel.java,
2519         javax/swing/DefaultSingleSelectionModel.java:
2520         New Versions from classpath.
2521
2522 2003-04-29  Michael Koch  <konqueror@gmx.de>
2523
2524         * java/awt/Window.java
2525         (show): Call super.show() instead of setVisible() to avoid endless
2526         loop.
2527         (hide): Call super.hide() instead of setVisible() to avoid endless
2528         loop.
2529
2530 2003-04-29  Michael Koch  <konqueror@gmx.de>
2531
2532         * java/util/zip/Deflater.java,
2533         java/util/zip/DeflaterOutputStream.java:
2534         Partly merged with classpath.
2535
2536 2003-04-27  Tom Tromey  <tromey@redhat.com>
2537
2538         * java/lang/natString.cc (_Jv_AllocString): Initialize
2539         cachedHashCode.
2540         (init): Likewise.
2541         (_Jv_NewStringUtf8Const): Likewise.
2542
2543 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2544
2545         * include/jvm.h: (_Jv_GetNbArgs) added
2546         (_Jv_GetSafeArg) added
2547         (_Jv_SetArgs) added
2548         * prims.cc: (_Jv_GetNbArgs) implemented
2549         (_Jv_GetSafeArg) implemented
2550         (_Jv_SetArgs) implemented
2551         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2552         setting _Jv_argc and _Jv_argv
2553         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2554         instead of _Jv_argv
2555         * java/lang/natRuntime.cc: (insertSystemProperties) use
2556         _Jv_GetSafeArg() instead of _Jv_argv
2557
2558 2003-04-23  Tom Tromey  <tromey@redhat.com>
2559
2560         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2561         required by this object.  Search superclasses to find required
2562         alignment.
2563         (get_alignment_from_class): Use alignment of type as it appears
2564         in a struct.
2565         (ALIGNOF): New macro.
2566         (struct aligner): New helper structure.
2567
2568 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2569
2570         * java/awt/Container.java (addImpl): Enable paint events if adding
2571         a lightweight to a heavyweight.
2572         (addNotify): Ensure that peer is created before
2573         addNotifyContainerChildren.
2574         (addNotifyContainerChildren): Enable paint events if a heavyweight
2575         container contains a lightweight.
2576
2577 2003-04-20  Tom Tromey  <tromey@redhat.com>
2578
2579         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2580         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2581         Classpath.
2582
2583 2003-04-19  Tom Tromey  <tromey@redhat.com>
2584
2585         * java/sql/Date.java, java/sql/DriverManager.java,
2586         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2587         Classpath.
2588
2589         * Makefile.in: Rebuilt.
2590         * Makefile.am (ordinary_java_source_files): Added new files.
2591         * java/security/AlgorithmParameterGenerator.java,
2592         java/security/AlgorithmParameters.java, java/security/Engine.java,
2593         java/security/Identity.java, java/security/IdentityScope.java,
2594         java/security/KeyFactory.java,
2595         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2596         java/security/MessageDigest.java, java/security/Policy.java,
2597         java/security/ProtectionDomain.java,
2598         java/security/SecureRandom.java, java/security/Security.java,
2599         java/security/Signature.java, java/security/SignatureSpi.java,
2600         java/security/SignedObject.java, java/security/Signer.java,
2601         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2602         java/security/spec/PSSParameterSpec.java,
2603         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2604         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2605         Classpath.
2606
2607 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2608
2609         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2610         (dispose): Null metrics.
2611         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2612         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2613         finalize.
2614         (finalize): Call dispose.
2615         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2616         (gcCachedCount): New field.
2617         (finalize): New method.
2618         (putGCInCache): New method.
2619         (getGCFromCache): New method.
2620         * gnu/gcj/xlib/GC.java (GC): Make protected.
2621         (clone): Get new GC from cache if possible.
2622         (create): New static method.
2623         (dispose): Save old GC in cache.
2624         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2625         deleting.
2626         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2627         is null.
2628         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2629         * java/awt/Container.java (visitChild): Dispose gfx2 when
2630         finished.
2631
2632 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2633
2634         * java/math/BigInteger.java (probablePrime): New.
2635         * java/math/BigDecimal.java (unscaledValue): New.
2636
2637 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2638
2639         * java/io/File.java (getAbsolutePath): On Windows, take care
2640         of paths like "C:", "G:foo\bar", etc.
2641         (getName): Make it work correctly on Windows.
2642         (getParent): Make it work correctly on Windows. For UNIX,
2643         fix bug that causes "/" to be returned as the parent of "/",
2644         instead of null as returned by Sun's JRE.
2645
2646         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2647
2648 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2649
2650         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2651         inner class.
2652         (CACHE_SIZE_PER_DISPLAY): New field
2653         (fontMetricsCache): New field
2654         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2655         loading ISO10646-1 fonts.
2656
2657 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2658
2659         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2660         characters.
2661         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2662         characters.
2663
2664 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2665
2666         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2667         floating point.
2668
2669 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2670
2671         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2672         installed libpthread is either linuxthreads with floating stacks or
2673         NPTL.
2674
2675 2003-04-14  Tom Tromey  <tromey@redhat.com>
2676
2677         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2678         of alignment.
2679
2680 2003-04-10  Tom Tromey  <tromey@redhat.com>
2681
2682         * verify.cc (pop64): Removed.
2683         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2684         exception if top-of-stack is narrow.
2685         (initialize_stack): Check to ensure that <init> is not static and
2686         <clinit> is.
2687
2688 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2689
2690         * java/io/ObjectStreamException
2691         * java/io/FileFilter
2692         * java/io/FilenameFilter
2693         * java/io/ObjectInput
2694         * java/io/ObjectOutput
2695         * java/io/ObjectStreamConstants
2696         Minor doc fixes, format fixes, spelling corrections, etc.
2697         * java/io/DataInput
2698         Corrected code samples in Javadocs to match reality
2699         * java/io/DataOutput
2700         * java/io/ObjectInputValidation
2701         Major documentation fixes - all Javadocs re-written or updated
2702
2703 2003-04-06  Michael Koch  <konqueror@gmx.de>
2704
2705         * java/net/URLConnection.java:
2706         Import classes directly.
2707         (URLConnection): Merged class documentation with classpath.
2708         (url): Moved, documentation from classpath added.
2709         (doInput): Moved, documentation from classpath added.
2710         (doOutput): Moved, documentation from classpath added.
2711         (allowUserInteraction): Moved.
2712         (useCaches): Moved, documentation from classpath added.
2713         (ifModifiedSince): Moved, documentation from classpath added.
2714         (connected): Moved, documentation from classpath added.
2715
2716 2003-04-06  Michael Koch  <konqueror@gmx.de>
2717
2718         * java/io/FileInputStream.java
2719         (skip): Renamed some variables to match classpath, added
2720         checks from classpath.
2721
2722 2003-03-31  Michael Koch  <konqueror@gmx.de>
2723
2724         * javax/swing/AbstractAction.java
2725         (AbstractAction): Reformatted.
2726         (serialVersionUID): New private member variable.
2727         * javax/swing/plaf/BorderUIResource.java
2728         (serialVersionUID): New private member variable.
2729         * javax/swing/plaf/basic/BasicLookAndFeel.java
2730         (serialVersionUID): New private member variable.
2731
2732 2003-03-31  Michael Koch  <konqueror@gmx.de>
2733
2734         * java/sql/Date.java
2735         (valueOf): Deprecated, reformatted.
2736         (toString): Deprecated, reformatted.
2737         * java/sql/Time.java
2738         (valueOf): Deprecated, reformatted.
2739         (toString): Deprecated, reformatted.
2740
2741 2003-03-31  Michael Koch  <konqueror@gmx.de>
2742
2743         * java/rmi/dgc/VMID.java
2744         (isUnique): Deprecated.
2745
2746 2003-03-31  Michael Koch  <konqueror@gmx.de>
2747
2748         * java/io/File.java
2749         (separator): Merged documentation from classpath.
2750         (separatorChar): Merged documentation from classpath.
2751         (pathSeparator): Merged documentation from classpath.
2752         (pathSeparatorChar): Merged documentation from classpath.
2753         (path): Merged documentation from classpath.
2754         (canRead): Merged documentation from classpath.
2755         (canWrite): Merged documentation from classpath.
2756         (createNewFile): Merged documentation from classpath.
2757         (delete): Merged documentation from classpath.
2758         (equals): Merged documentation from classpath.
2759         (exists): Merged documentation from classpath.
2760         (File): Renamed p to name to match classpath, merged documentation
2761         from classpath.
2762         (getAbsolutePath): Merged documentation from classpath.
2763         (getCanonicalPath): Merged documentation from classpath.
2764         (getCanonicalFile): Merged documentation from classpath.
2765         (getName): Merged documentation from classpath.
2766         (getParent): Merged documentation from classpath.
2767         (getParentFile): Merged documentation from classpath.
2768         (getPath): Merged documentation from classpath.
2769         (hashCode): Merged documentation from classpath.
2770         (isAbsolute): Merged documentation from classpath.
2771         (isDirectory): Merged documentation from classpath.
2772         (isFile): Merged documentation from classpath.
2773         (isHidden): Merged documentation from classpath.
2774         (lastModified): Merged documentation from classpath.
2775         (length): Merged documentation from classpath.
2776         (list): Merged documentation from classpath.
2777         (listFiles): Merged documentation from classpath.
2778         (toString): Merged documentation from classpath.
2779         (toURL): Merged documentation from classpath.
2780         (mkdir): Merged documentation from classpath.
2781         (mkdirs): Merged documentation from classpath.
2782         (createTempFile): Merged documentation from classpath.
2783         (setReadOnly): Merged documentation from classpath.
2784         (listRoots): Merged documentation from classpath.
2785         (compareTo): Merged documentation from classpath.
2786         (renameTo): Merged documentation from classpath.
2787         (setLastModified): Merged documentation from classpath.
2788         * java/io/PrintStream.java
2789         (auto_flush): Merged documentation from classpath.
2790         (PrintStream): Merged documentation from classpath.
2791         (checkError): Merged documentation from classpath.
2792         (setError): Merged documentation from classpath.
2793         (close): Merged documentation from classpath.
2794         (flush): Merged documentation from classpath.
2795         (print): Merged documentation from classpath.
2796         (println):  Merged documentation from classpath.
2797         (write): Renamed count to len to match classpath,
2798         merged documentation from classpath.
2799         * java/io/RandomAccessFile.java
2800         (readShort): Merged documentation from classpath.
2801         (readUnsignedByte): Merged documentation from classpath.
2802         (readUnsignedShort): Merged documentation from classpath.
2803         (readUTF): Merged documentation from classpath.
2804         (seek): Reformatted, merged documentation from classpath.
2805         (skipBytes): Renamed some variables to match classpath, reformatted,
2806         merged documentation from classpath.
2807         (write): Merged documentation from classpath.
2808         (writeBoolean): Merged documentation from classpath.
2809         (writeByte): Merged documentation from classpath.
2810         (writeShort): Merged documentation from classpath.
2811         (writeChar): Merged documentation from classpath.
2812         (writeInt): Merged documentation from classpath.
2813         (writeLong): Merged documentation from classpath.
2814         (writeFloat): Merged documentation from classpath.
2815         (writeDouble): Merged documentation from classpath.
2816         (writeBytes): Merged documentation from classpath.
2817         (writeChars): Merged documentation from classpath.
2818         (writeUTF): Reformatted.
2819         (getChannel): Reformatted.
2820
2821 2003-03-31  Michael Koch  <konqueror@gmx.de>
2822
2823         * java/awt/font/TextAttribute.java
2824         (readResolve): Throws java.io.InvalidObjectException.
2825
2826 2003-03-31  Michael Koch  <konqueror@gmx.de>
2827
2828         * java/rmi/server/LoaderHandler.java
2829         (loadClass): Deprecated.
2830         (getSecurityContext): Deprecated.
2831         * java/rmi/server/LogStream.java
2832         (getDefaultStream): Deprecated.
2833         (setDefaultStream): Deprecated.
2834         (getOutputStream): Deprecated.
2835         (setOutputStream): Deprecated.
2836         (write): Deprecated.
2837         (toString): Deprecated.
2838         (parseLevel): Deprecated.
2839         * java/rmi/server/Operation.java
2840         (Operation): Deprecated.
2841         (getOperation): Deprecated.
2842         (toString): Deprecated.
2843         * java/rmi/server/RemoteCall.java
2844         (getOutputStream): Deprecated.
2845         (releaseOutputStream): Deprecated.
2846         (getInputStream): Deprecated.
2847         (releaseInputStream): Deprecated.
2848         (getResultStream): Deprecated.
2849         (executeCall): Deprecated.
2850         (done): Deprecated.
2851         * java/rmi/server/RemoteRef.java
2852         (invoke): Deprecated.
2853         (newCall): Deprecated.
2854         (done): Deprecated.
2855         * java/rmi/server/RemoteStub.java
2856         (setRef): Deprecated.
2857         * java/rmi/server/Skeleton.java:
2858         No need to import java.lang.Exception explicitly.
2859         (dispatch): Deprecated.
2860         (getOperations): Deprecated.
2861
2862 2003-03-31  Michael Koch  <konqueror@gmx.de>
2863
2864         * java/rmi/dgc/VMID.java,
2865         java/rmi/registry/RegistryHandler.java,
2866         java/rmi/server/LogStream.java,
2867         java/rmi/server/Operation.java,
2868         java/rmi/server/RemoteCall.java,
2869         java/rmi/server/RemoteRef.java,
2870         java/rmi/server/RemoteStub.java:
2871         Reformatted.
2872
2873 2003-03-31  Michael Koch  <konqueror@gmx.de>
2874
2875         * javax/swing/AbstractCellEditor.java,
2876         javax/swing/AbstractListModel.java,
2877         javax/swing/ActionMap.java,
2878         javax/swing/BorderFactory.java,
2879         javax/swing/ButtonGroup.java,
2880         javax/swing/DefaultBoundedRangeModel.java,
2881         javax/swing/DefaultButtonModel.java,
2882         javax/swing/DefaultCellEditor.java,
2883         javax/swing/DefaultComboBoxModel.java,
2884         javax/swing/DefaultDesktopManager.java,
2885         javax/swing/DefaultListCellRenderer.java,
2886         javax/swing/DefaultSingleSelectionModel.java,
2887         javax/swing/InputMap.java,
2888         javax/swing/JComponent.java,
2889         javax/swing/JMenu.java,
2890         javax/swing/JSlider.java,
2891         javax/swing/KeyStroke.java,
2892         javax/swing/OverlayLayout.java,
2893         javax/swing/ScrollPaneLayout.java,
2894         javax/swing/SizeRequirements.java,
2895         javax/swing/UIManager.java,
2896         javax/swing/ViewportLayout.java,
2897         javax/swing/border/AbstractBorder.java,
2898         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2899         javax/swing/event/EventListenerList.java,
2900         javax/swing/table/AbstractTableModel.java,
2901         javax/swing/table/DefaultTableCellRenderer.java,
2902         javax/swing/table/DefaultTableColumnModel.java,
2903         javax/swing/table/DefaultTableModel.java,
2904         javax/swing/table/TableColumn.java,
2905         javax/swing/text/StyledEditorKit.java,
2906         javax/swing/tree/DefaultMutableTreeNode.java,
2907         javax/swing/tree/DefaultTreeModel.java,
2908         javax/swing/tree/DefaultTreeSelectionModel.java,
2909         javax/swing/tree/TreePath.java,
2910         javax/swing/undo/AbstractUndoableEdit.java,
2911         javax/swing/undo/StateEdit.java,
2912         javax/swing/undo/StateEditable.java,
2913         javax/swing/undo/UndoableEditSupport.java:
2914         Merges from classpath.
2915
2916 2003-03-30  Tom Tromey  <tromey@redhat.com>
2917
2918         * java/lang/String.java (data, boffset, count): Documented.
2919         (String(byte[],String)): Reformatted.
2920         (String(byte[])): Likewise.
2921         (lastIndexOf(int)): Likewise.
2922         (lastIndexOf(String)): Likewise.
2923         (substring(int)): Renamed argument to match Classpath.
2924         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2925
2926         * java/lang/String.java: Miscellaneous minor formatting changes
2927         to match Classpath more closely.
2928
2929 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2930             Tom Tromey  <tromey@redhat.com>
2931
2932         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2933         (init()): Removed.
2934         (charAt): Put index in exception.
2935         (contentEquals): New method.
2936         Include StringBuffer.h.
2937         * java/lang/String.java (cachedHashCode): New field.
2938         (String()): Follow classpath implementation.
2939         (init()): Removed.
2940         (contentEquals): Declare.
2941         (subSequence): Don't declare IndexOutIfBoundsException in throws
2942         clause.
2943         (matches, replaceFirst, replaceAll, split): New methods from
2944         Classpath.
2945
2946 2003-03-29  Tom Tromey  <tromey@redhat.com>
2947
2948         * java/lang/String.java: Reordered to follow Classpath; merged in
2949         javadoc.
2950
2951         * java/text/MessageFormat.java: Removed some whitespace.
2952
2953         * Makefile.in: Rebuilt.
2954         * Makefile.am (awt_java_source_files): Added new files.
2955         * gnu/javax/rmi/PortableServer.java,
2956         gnu/javax/rmi/CORBA/DelegateFactory.java,
2957         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2958         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2959         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2960         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2961         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2962         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2963         javax/rmi/PortableRemoteObject.java,
2964         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2965         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2966         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2967         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2968         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2969         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2970
2971         * java/lang/natClass.cc (newInstance): Put method name in
2972         exception.
2973         (getConstructor): Likewise.
2974         (getDeclaredConstructor): Likewise.
2975         (getPrivateMethod): Likewise.
2976
2977 2003-03-28  Tom Tromey  <tromey@redhat.com>
2978
2979         * java/lang/reflect/Proxy.java: New version from Classpath.
2980         * java/lang/Package.java: New version from Classpath.
2981
2982 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2983
2984         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2985         * configure: Regenerate.
2986
2987 2003-03-28  Michael Koch  <konqueror@gmx.de>
2988
2989         * java/io/File.java:
2990         Import needed classes instead of whole packages, merged class
2991         documentation with classpath, moved constants and variables to top of
2992         class.
2993         * java/io/PrintStream.java:
2994         Merged class documentation with classpath, moved constants and
2995         variables to top of class.
2996         * java/io/RandomAccessFile.java
2997         (RandomAccessFile): Merged with classpath.
2998         (read): Merged with classpath).
2999         (read*): Reformatted.
3000
3001 2003-03-28  Michael Koch  <konqueror@gmx.de>
3002
3003         * java/io/FileDescriptor.java
3004         (finalize): Throws Throwable, not IOException.
3005         * java/io/ObjectOutputStream.java
3006         (PutField.put): Doesnt throws anything.
3007
3008 2003­03-28  Michael Koch  <konqueror@gmx.de>
3009
3010         * java/io/FileOutputStream.java:
3011         Merged class documentation and authors with classpath.
3012         (FileOutputStream): Partly merged with classpath.
3013         (write): Merged with classpath.
3014         (getChannel): Make it synchronized instead of explicit block in this
3015         method.
3016         * java/io/RandomAccessFile.java:
3017         Merged class documentation and authors with classpath.
3018
3019 2003-03-26  Tom Tromey  <tromey@redhat.com>
3020
3021         * java/lang/natRuntime.cc (insertSystemProperties): Set
3022         gnu.classpath.home.url.
3023         * Makefile.in: Rebuilt.
3024         * Makefile.am: Define LIBDIR.
3025
3026 2003-03-25  Michael Koch  <konqueror@gmx.de>
3027
3028         * java/io/FileInputStream.java
3029         (read): Renamed b to buf and off to offset.
3030         * java/io/FileOutputStream.java
3031         (ch): Documentation added.
3032         (FileOutputStream): Documentation added.
3033         (getFD): Documentation added.
3034         (write): Documentation added.
3035         (close): Documentation added.
3036         (getChannel): Documentation added.
3037
3038 2003-03-24  Michael Koch  <konqueror@gmx.de>
3039
3040         * java/io/DataOutputStream.java
3041         (write): Merged from classpath.
3042         * java/io/File.java:
3043         Merged copyrigth with classpath.
3044         * java/io/FileInputStream.java
3045         (getChannel): Made it synchronized instead of using a synchronized
3046         block.
3047         * java/io/FileOutputStream.java: Reformatted.
3048         * java/io/InputStreamReader.java
3049         (InputStreamReader): Renamed enc to encoding_name.
3050         (close): Merged documentation from classpath.
3051         (getEncoding): Merged documentation from classpath.
3052         (ready): Merged documentation from classpath.
3053         (read): Merged documentation from classpath.
3054         * java/io/LineNumberReader.java
3055         (lineNumber): Made it private.
3056         (LineNumberReader): Use Constant instead of a direct value.
3057         * java/io/OutputStreamWriter.java
3058         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3059         documentation from classpath.
3060         (close): Merged documentation from classpath.
3061         (flush): Merged documentation from classpath.
3062         (write): Merged documentation from classpath.
3063         * java/io/PrintStream.java: Reformatted.
3064
3065 2003-03-24  Michael Koch  <konqueror@gmx.de>
3066
3067         * javax/swing/text/ComponentView.java
3068         (getComponent): Must be final.
3069         * javax/swing/tree/DefaultTreeCellRenderer.java:
3070         Reformatted.
3071         * javax/swing/undo/StateEditable.java:
3072         Reformatted.
3073
3074 2003-03-24  Michael Koch  <konqueror@gmx.de>
3075
3076         * java/rmi/activation/ActivationInstantiator.java:
3077         Reformatted.
3078         * java/rmi/activation/Activator.java:
3079         Reformatted.
3080         * java/rmi/registry/RegistryHandler.java:
3081         Remerged from classpath.
3082
3083 2003-03-24  Michael Koch  <konqueror@gmx.de>
3084
3085         * java/util/Date.java:
3086         Fixed documentation starting tag to make javadoc happy.
3087         * java/util/regex/Pattern.java
3088         (Pattern): Implements Serializable.
3089         * java/util/PatternSyntaxException.java
3090         (serialVersionUID): New member variable.
3091
3092 2003-03-24  Michael Koch  <koqnueror@gmx.de>
3093
3094         * java/awt/ContainerOrderFocusTraversalPolicy.java
3095         (getFirstComponent): Implemented.
3096         (getLastComponent): Implemented.
3097         (getDefaultComponent): Implemented.
3098         (setImplicitDownCycleTraversal): Fixed implementation.
3099         * java/awt/Robot.java
3100         (Robot): Added documentation.
3101         * java/awt/Toolkit.java
3102         (getFontList): Deprecated.
3103         (getFontMetrics): Deprecated.
3104         (getPrintJob): Added documentation.
3105         (getSystemSelection): Added documentation.
3106         (getLockingKeyState): Added documentation.
3107         (setLockingKeyState): Added documentation.
3108         (createCustomCursor): Added documentation.
3109         (getBestCursorSize): Added documentation.
3110         (getMaximumCursorColors): Added documentation.
3111         (isFrameStateSupported): Added documentation.
3112
3113 2003-03-24  Michael Koch  <konqueror@gmx.de>
3114
3115         * java/io/RandomAccessFile.java:
3116         More little merges with classpath. No code changes.
3117
3118 2003-03-24  Michael Koch  <konqueror@gmx.de>
3119
3120         * java/net/natInetAddressNoNet.cc:
3121         Include stddef.h.
3122         * java/net/natPlainDatagramSocketImplNoNet.cc:
3123         Fixed inlcude of java/net/DatagramPacket.h.
3124         * java/net/natPlainSocketImplNoNet.cc:
3125         Include some missing classes.
3126
3127 2003-03-24  Michael Koch  <konqueror@gmx.de>
3128
3129         * java/awt/dnd/DropTarget.java
3130         (DropTargetAutoScroller): According to the online documentation, this
3131         is protected, but in reality it is public.
3132         * java/awt/dnd/DropTargetContext.java
3133         (TransferableProxy): According to the online documentation, this
3134         is protected, but in reality it is public.
3135
3136 2003-03-24  Michael Koch  <konqueror@gmx.de>
3137
3138         * java/io/DataInputStream.java
3139         (): Wrapped documentation line.
3140         (): Fixed @return tag.
3141         * java/io/DataOutputStream.java
3142         (written): Moved to top of class.
3143         (all methods): Merged documentation from classpath.
3144         * java/io/File.java:
3145         Merged copyright year with classpath.
3146         * java/io/FileInputStream.java
3147         (all methods): Merged documentation from classpath.
3148         * java/io/LineNumberReader.java
3149         (getLineNumber): Fixed @return tag.
3150         * java/io/ObjectInputStream.java.
3151         Reformatted.
3152         * java/io/ObjectOutputStream.java:
3153         Reformatted, fixed some @see tags.
3154         * java/io/OutputStreamWriter.java:
3155         Deleted empty line.
3156         * java/io/Writer.java:
3157         Reformatted.
3158
3159 2003-03-24  Michael Koch  <konqueror@gmx.de>
3160
3161         * java/awt/Frame.java
3162         (DEFAULT_CURSOR): Fixed @deprecated tag.
3163         (setCursor): Fixed @deprecated tag.
3164
3165 2003-03-24  Michael Koch  <konqueror@gmx.de>
3166
3167         * java/beans/beancontext/BeanContextEvent.java:
3168         Reformated.
3169
3170 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3171
3172         * java/lang/natStringBuffer.cc (regionMatches): New function.
3173         * java/lang/String.java (count): Now package-private.
3174         * java/lang/StringBuffer.java: Merged with Classpath.
3175
3176 2003-03-23  Michael Koch  <konqueror@gmx.de>
3177
3178         * java/io/BufferedOutputStream.java:
3179         Reformated.
3180         * java/io/BufferedReader.java:
3181         Reformated.
3182         * java/io/ByteArrayOutputStream.java
3183         (size): Fixed @see tag.
3184         * java/io/CharArrayWriter.java
3185         (size): Fixed @see tag.
3186         * java/io/DataInput.java:
3187         Reformated.
3188         * java/io/DataOutput.java:
3189         Reformated.
3190         * java/io/DataOutputStream.java:
3191         Merged copyright years with classpath.
3192         * java/io/Externalizable.java:
3193         Reformated.
3194         * java/io/FileFilter.java:
3195         Reformated.
3196         * java/io/FileInputStream.java:
3197         Merged copyright years with classpath.
3198         * java/io/FileOutputStream.java:
3199         Merged copyright years with classpath.
3200         * java/io/FilePermission.java
3201         (FilePermission): Replaced @XXX with FIXME:.
3202         * java/io/FileWriter.java:
3203         Reformated.
3204         * java/io/FilenameFilter.java:
3205         Reformated.
3206         * java/io/FilterInputStream.java:
3207         Reformated.
3208         * java/io/FilterOutputStream.java:
3209         Reformated.
3210         * java/io/FilterReader.java:
3211         Reformated.
3212         * java/io/FilterWriter.java:
3213         Reformated.
3214         * java/io/LineNumberInputStream.java
3215         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3216         happy.
3217         (getLineNumber): Fixed @return tag.
3218         * java/io/ObjectInput.java:
3219         Reformated.
3220         * java/io/ObjectOutput.java:
3221         Reformated.
3222         * java/io/ObjectStreamClass.java:
3223         Reformated.
3224         * java/io/PrintStream.java:
3225         Merged copyright years with classpath.
3226         * java/io/PushbackReader.java
3227         (PushbackReader): Replaced @code with @param.
3228         * java/io/SerializablePermission.java:
3229         Reformated.
3230         * java/io/StreamTokenizer.java
3231         (resetSyntax): Fixed @see tag.
3232
3233 2003-03-22  Richard Henderson  <rth@redhat.com>
3234
3235         * sysdep/ia64/locks.h: Include ia64intrin.h.
3236         (compare_and_swap): Use __sync_bool_compare_and_swap.
3237         (compare_and_swap_release): Expose ar.ccv assignment.
3238
3239 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3240
3241         * include/posix.h: Add suffix for darwin dynamic libraries.
3242
3243 2003-03-21  Michael Koch  <konqueror@gmx.de>
3244
3245         * javax/swing/Action.java
3246         (ACCELERATOR_KEY): New constant.
3247         (ACTION_COMMAND_KEY): Likewise.
3248         (MNEMONIC_KEY): Likewise.
3249         * javax/swing/UnsupportedLookAndFeelException.java
3250         (UnsupportedLookAndFeelException): Must be public.
3251         * javax/swing/WindowConstants.java
3252         (EXIT_ON_CLOSE): New constant.
3253         * javax/swing/text/BadLocationException.java
3254         (offset): New member variable.
3255         (BadLocationException): New implementation, documentation added.
3256         (offsetRequested): New method.
3257         * javax/swing/text/Caret.java:
3258         Reformated.
3259         * javax/swing/text/Document.java:
3260         Reformated.
3261
3262 2003-03-21  Michael Koch  <konqueror@gmx.de>
3263
3264         * java/rmi/activation/Activatable.java
3265         (serialVersionUID): New member variable.
3266         * java/rmi/activation/ActivationGroup.java
3267         (serialVersionUID): New member variable.
3268         * java/rmi/activation/ActivationGroupDesc.java
3269         (serialVersionUID): New member variable.
3270         * java/rmi/registry/Registry.java:
3271         Reformated.
3272         (Registry): Deprecated.
3273         * java/rmi/server/LoaderHandler.java
3274         Reformated.
3275         (LoaderHandler): Deprecated.
3276         * java/rmi/server/LogStream.java
3277         Reformated.
3278         (LogStream): Deprecated.
3279         * java/rmi/server/Operation.java
3280         (Operation): Deprecated.
3281         * java/rmi/server/RMIFailureHandler.java:
3282         Reformated.
3283         * java/rmi/server/RMISocketFactory.java:
3284         Reformated.
3285         * java/rmi/server/RemoteCall.java
3286         (RemoteCall): Deprecated.
3287         * java/rmi/server/RemoteStub.java:
3288         Reformated.
3289         * java/rmi/server/Skeleton.java
3290         Reformated.
3291         (Skeleton): Deprecated.
3292
3293 2003-03-21  Michael Koch  <konqueror@gmx.de>
3294
3295         * java/io/LineNumberReader.java
3296         (LineNumberReader): Merged documentation with classpath.
3297         (getLineNumber): Likewise.
3298         (setLineNumber): Likewise.
3299         (mark): Likewise.
3300         (reset): Likewise.
3301         (read): Likewise.
3302         (readLine): Likewise.
3303         (skip): Likewise.
3304
3305 2003-03-21  Michael Koch  <konqueror@gmx.de>
3306
3307         * java/rmi/RMISecurityManager.java
3308         (checkAccept): Removed.
3309         (checkAccess): Likewise.
3310         (checkAccess): Likewise.
3311         (checkAwtEventQueueAccess): Likewise.
3312         (checkConnect): Likewise.
3313         (checkCreateClassLoader): Likewise.
3314         (checkDelete): Likewise.
3315         (checkExec): Likewise.
3316         (checkExit): Likewise.
3317         (checkLink): Likewise.
3318         (checkListen): Likewise.
3319         (checkMemberAccess): Likewise.
3320         (checkMulticast): Likewise.
3321         (checkPackageAccess): Likewise.
3322         (checkPackageDefinition): Likewise.
3323         (checkPermission): Likewise.
3324         (checkPrintJobAccess): Likewise.
3325         (checkPropertiesAccess): Likewise.
3326         (checkPropertyAccess): Likewise.
3327         (checkRead): Likewise.
3328         (checkSecurityAccess): Likewise.
3329         (checkSetFactory): Likewise.
3330         (checkSystemClipboardAccess): Likewise.
3331         (checkTopLevelWindow): Likewise.
3332         (checkWrite): Likewise.
3333
3334 2003-03-20  Michael Koch  <konqueror@gmx.de>
3335
3336         * gnu/java/nio/FileChannelImpl.java
3337         (address): Removed.
3338         (map_address): New member variable.
3339         (length): Make it package private.
3340         (fd): Make it package private.
3341         (buf): Make it package private.
3342         (file_obj): Make it package private.
3343         (FileChannelImpl): New constructor.
3344         (nio_mmap_file): Use RawData instead of long.
3345         (nio_munmap_file): Use RawData instead of long.
3346         (nio_msync): Use RawData instead of long.
3347         (implCloseChannel): New implementation using map_address.
3348         (read): Reformated.
3349         (map): Implemented.
3350         (create_direct_mapped_buffer): Implemented, use RawData, throws
3351         IOException.
3352         (force): Use map_address instead of address.
3353         * gnu/java/nio/MappedByteFileBuffer.java
3354         (address): Removed.
3355         (map_address): New member variable.
3356         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3357         (several methods): Use map_address instead of address, replaced long
3358         with RawData where appropriate.
3359         * gnu/java/nio/natFileChannelImpl.cc
3360         (nio_mmap_file): Replaced long with RawData.
3361         (nio_munmap_file): Replaced long with RawData.
3362         (nio_msync): Replaced long with RawData.
3363         * gnu/java/nio/natMappedByteFileBuffer.cc
3364         (several methods): Replaced long with RawData where appropriate.
3365
3366 2003-03-20  Michael Koch  <konqueror@gmx.de>
3367
3368         * java/net/InetAddress.java,
3369         java/net/JarURLConnection.java,
3370         java/net/PlainDatagramSocketImpl.java,
3371         java/net/PlainSocketImpl.java,
3372         java/net/URLConnection.java:
3373         Merged copyright statements with classpath for easier merging.
3374
3375 2003-03-20  Michael Koch  <konqueror@gmx.de>
3376
3377         * java/io/FileInputStream.java
3378         (getChannel): New implementation.
3379         * java/io/FileOutputStream.java
3380         (ch): New member variable.
3381         (getChannel): Implemented.
3382         * java/io/RandomAccessFile.java
3383         (RandomAccessFile): Throws FileNotFoundException instead of
3384         IOException.
3385         (getChannel): New method.
3386         (ch): New member variable.
3387
3388 2003-03-20  Michael Koch  <konqueror@gmx.de>
3389
3390         * java/io/DataOutputStream.java,
3391         java/io/File.java,
3392         java/io/FileInputStream.java,
3393         java/io/FileOutputStream.java,
3394         java/io/InputStreamReader.java,
3395         java/io/LineNumberReader.java,
3396         java/io/OutputStreamWriter.java,
3397         java/io/PrintStream.java,
3398         java/io/RandomAccessFile.java:
3399         Merged copyright statements with classpath for easier merging.
3400
3401 2003-03-19  Michael Koch  <konqueror@gmx.de>
3402
3403         * java/lang/Process.java:
3404         Merged from classpath.
3405
3406 2003-03-19  Michael Koch  <konqueror@gmx.de>
3407
3408         * java/io/FileOutputStream.java
3409         (FileOutputStream): New constructor, merged from classpath.
3410         * java/io/FileWriter.java
3411         (FileWriter): New constructor, merged from classpath.
3412
3413 2003-03-18  Michael Koch  <konqueror@gmx.de>
3414
3415         * java/awt/ScrollPane.java
3416         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3417         (getViewportSize): Likewise.
3418         (addNotify): Likewise.
3419         (removeNotify): Likewise.
3420         * java/awt/ScrollPaneAdjustable.java
3421         (ScrollPaneAdjustable): No longer extends Scrollbar.
3422         * java/beans/beancontext/BeanContextServices.java:
3423         Reformated.
3424         (getService): Added throws TooManyListenersException;
3425         * java/beans/beancontext/BeanContextServicesSupport.java:
3426         Reformated.
3427
3428 2003-03-18  Michael Koch  <konqueror@gmx.de>
3429
3430         * java/io/BufferedOutputStream.java,
3431         java/io/DataInput.java,
3432         java/io/DataInputStream.java,
3433         java/io/DataOutput.java,
3434         java/io/Externalizable.java:
3435         More merges from classpath.
3436
3437 2003-03-18  Michael Koch  <konqueror@gmx.de>
3438
3439         * configure.in: Fixed links to platform dependant java.net files.
3440         * configure: Regenerated.
3441         * java/net/natInetAddress.cc,
3442         java/net/natNetworkInterface.cc,
3443         java/net/natPlainDatagramSocketImpl.cc,
3444         java/net/natPlainSocketImpl.cc:
3445         Removed.
3446
3447 2003-03-18  Michael Koch  <konqueror@gmx.de>
3448
3449         * configure.in: Create links to architecture dependent files,
3450         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3451         * configure: Regenerated.
3452         * java/net/natInetAddressNoNet.cc,
3453         java/net/natInetAddressPosix.cc,
3454         java/net/natInetAddressWin32.cc,
3455         java/net/natNetworkInterfaceNoNet.cc,
3456         java/net/natNetworkInterfacePosix.cc,
3457         java/net/natNetworkInterfaceWin32.cc,
3458         java/net/natPlainDatagramSocketImplNoNet.cc,
3459         java/net/natPlainDatagramSocketImplPosix.cc,
3460         java/net/natPlainDatagramSocketImplWin32.cc,
3461         java/net/natPlainSocketImplNoNet.cc,
3462         java/net/natPlainSocketImplPosix.cc,
3463         java/net/natPlainSocketImplWin32.cc: New files.
3464
3465 2003-03-18  Michael Koch  <konqueror@gmx.de>
3466
3467         * java/io/BufferedReader.java,
3468         java/io/BufferedWriter.java,
3469         java/io/ByteArrayOutputStream.java,
3470         java/io/FileFilter.java,
3471         java/io/FilePermission.java,
3472         java/io/FileReader.java,
3473         java/io/FileWriter.java,
3474         java/io/FilenameFilter.java,
3475         java/io/FilterInputStream.java,
3476         java/io/FilterOutputStream.java,
3477         java/io/FilterReader.java,
3478         java/io/FilterWriter.java,
3479         java/io/ObjectInput.java,
3480         java/io/ObjectInputValidation.java,
3481         java/io/ObjectOutput.java,
3482         java/io/ObjectStreamField.java,
3483         java/io/PipedInputStream.java,
3484         java/io/PipedReader.java,
3485         java/io/PrintWriter.java,
3486         java/io/PushbackReader.java,
3487         java/io/Reader.java,
3488         java/io/SerializablePermission.java,
3489         java/io/StringReader.java,
3490         java/io/Writer.java:
3491         Merged from classpath.
3492
3493 2003-03-17  Michael Koch  <konqueror@gmx.de>
3494
3495         * java/awt/ScrollPaneAdjustable.java:
3496         Compile fixes.
3497         
3498 2003-03-17  Michael Koch  <konqueror@gmx.de>
3499
3500         * java/net/DatagramSocket.java
3501         (connect): Fixed comment.
3502         * java/nio/ByteBuffer.java
3503         (hasArray): Fixed comment.
3504
3505 2003-03-17  Michael Koch  <konqueror@gmx.de>
3506
3507         * java/beans/Beans.java:
3508         Explicitely import classes not packages.
3509         * java/beans/FeatureDescriptor.java
3510         (preferred): New member variable.
3511         (isPreferred): New method.
3512         (setPreferred): New method.
3513         * java/beans/PropertyEditorManager.java:
3514         Explicitely import used classes.
3515         * java/beans/beancontext/BeanContextChild.java:
3516         Added line wrapping.
3517         * java/beans/beancontext/BeanContextChildSupport.java:
3518         Reindented.
3519         * java/beans/beancontext/BeanContextEvent.java:
3520         Reindented.
3521
3522 2003-03-17  Michael Koch  <konqueror@gmx.de>
3523
3524         * java/awt/Dialog.java
3525         (Dialog): New constructor, changed implementations, added
3526         documentation.
3527         * java/awt/ScrollPaneAdjustable.java
3528         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3529         Serializable.
3530         (serialVersionUID): New member variable.
3531         (sp): New member variable.
3532         (orientation): New member variable.
3533         (value): New member variable.
3534         (minimum): New member variable.
3535         (maximum): New member variable.
3536         (visibleAmount): New member variable.
3537         (unitIncrement): New member variable.
3538         (blockIncrement): New member variable.
3539         (AdjustmentListener): New member variable.
3540         (ScrollPaneAdjustable): New implementation.
3541         (addAdjustmentListener): New method.
3542         (removeAdjustmentListener): New method.
3543         (getAdjustmentListeners): New method.
3544         (getBlockIncrement): New method.
3545         (getMaximum): New method.
3546         (getMinimum): New method.
3547         (getOrientation): New method.
3548         (getUnitIncrement): New method.
3549         (getValue): New method.
3550         (getVisibleAmount): New method.
3551         (setBlockIncrement): New method.
3552         (setMaximum): Implemented.
3553         (setMinimum): Implemented.
3554         (setUnitIncrement): New method.
3555         (setValue): New method.
3556         (setVisibleAmount): Implemented. 
3557         (paramString): New stubbed method.
3558         * java/awt/Window.java
3559         (show): Call setVisible().
3560         (hide): Call setVisible().
3561         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3562         and WINDOW_STATE_CHANGED.
3563         (processWindowFocusEvent): New method.
3564         (processWindowStateEvent): New method.
3565         (postEvent): Deprecated.
3566         (applyResourceBundle): Deprecated.
3567         * java/awt/datatransfer/DataFlavor.java
3568         (DataFlavor): Doesn't thow ClassNotFoundException.
3569
3570 2003-03-17  Michael Koch
3571
3572         * javax/print/attribute/Attribute.java,
3573         javax/print/attribute/AttributeSet.java,
3574         javax/print/attribute/PrintRequestAttributeSet.java:
3575         New files.
3576         * Makefile.am
3577         (javax_source_files): Added new files:
3578         javax/print/attribute/Attribute.java
3579         javax/print/attribute/AttributeSet.java
3580         javax/print/attribute/PrintRequestAttributeSet.java
3581         * Makefile.in: Regenerated.
3582
3583 2003-03-17  Michael Koch
3584
3585         * javax/print/attribute/Attribute.java,
3586         javax/print/attribute/AttributeSet.java,
3587         javax/print/attribute/PrintRequestAttributeSet.java:
3588         New files.
3589         * Makefile.am
3590         (awt_java_source_files): Added new files:
3591         javax/print/attribute/Attribute.java
3592         javax/print/attribute/AttributeSet.java
3593         javax/print/attribute/PrintRequestAttributeSet.java
3594         * Makefile.in: Regenerated.
3595
3596 2003-03-16  Tom Tromey  <tromey@redhat.com>
3597
3598         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3599         Include platform.h.
3600         * java/lang/natRuntime.cc (insertSystemProperties): Use
3601         _Jv_platform_path_separator.
3602         (nativeGetLibname): Use _Jv_platform_file_separator.
3603         (_load): Use _Jv_platform_onload_names.
3604         (onload_names): New global.
3605         * include/win32.h (_Jv_platform_file_separator): New define.
3606         (_Jv_platform_path_separator): Likewise.
3607         (_Jv_platform_onload_names): Likewise.
3608         (_Jv_platform_ffi_abi): Likewise.
3609         * include/posix.h (_Jv_platform_file_separator): New define.
3610         (_Jv_platform_path_separator): Likewise.
3611         (_Jv_platform_onload_names): Likewise.
3612         (_Jv_platform_ffi_abi): Likewise.
3613
3614 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3615
3616         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3617
3618 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3619
3620         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3621         hierarchy loop.
3622         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3623         list to Object,ObjectStreamClass, moved callReadMethod code up into
3624         readObject and added Class argument to all setXxxField calls.
3625         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3626         consistent with ObjectOutputStream and to facilitate caching the
3627         Method in the future.
3628         (setBooleanField): Added Class argument.
3629         (setByteField): Likewise.
3630         (setCharField): Likewise.
3631         (setDoubleField): Likewise.
3632         (setFloatField): Likewise.
3633         (setIntField): Likewise.
3634         (setLongField): Likewise.
3635         (setShortField): Likewise.
3636         (setObjectField): Likewise.
3637         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3638         class hierarchy loop.
3639         (defaultWriteObject): Call writeFields with new argument list.
3640         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3641         list to Object,ObjectStreamClass, moved callWriteMethod up into
3642         writeObject and added Class argument to all getXxxField calls.
3643         (callWriteMethod): Added ObjectStreamClass argument to be able to
3644         get the proper class to call getMethod on (each class can have (or
3645         not have) its own writeObject method).
3646         (getBooleanField): Added Class argument.
3647         (getByteField): Likewise.
3648         (getCharField): Likewise.
3649         (getDoubleField): Likewise.
3650         (getFloatField): Likewise.
3651         (getIntField): Likewise.
3652         (getLongField): Likewise.
3653         (getShortField): Likewise.
3654         (getObjectField): Likewise.
3655         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3656         facilitate caching the Method object in the future.
3657
3658 2003-03-12  Andreas Schwab  <schwab@suse.de>
3659
3660         * configure.in: Avoid trailing /. in toolexeclibdir.
3661         * configure: Rebuilt.
3662
3663 2003-03-11  Michael Koch  <konqueror@gmx.de>
3664
3665         * gnu/java/nio/ByteBufferImpl.java
3666         (putInt): Use limit() instead of limit.
3667         * gnu/java/nio/CharBufferImpl.java
3668         (slice): Fixed implementation.
3669         (subSequence): Better bounds checking.
3670         * gnu/java/nio/MappedByteFileBuffer.java:
3671         Import all needed classes directly.
3672         * java/nio/ByteBuffer.java
3673         (hashCode): New dummy method.
3674         * java/nio/CharBuffer.java
3675         (array_offset): New member variable.
3676         (hasArray): Fixed documentation.
3677         (arrayOffset): Return array_offset.
3678
3679 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3680
3681         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3682         setter; made return value of getter const char* instead of char*
3683         * prims.cc: removed all references to _Jv_ThisExecutable().
3684         These are in the platform-specific sections now.
3685         * posix.cc: define platform-specific _Jv_ThisExecutable().
3686         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3687         * win32.cc: define platform-specific _Jv_ThisExecutable()
3688         using GetModuleFilename()
3689         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3690         to argv[0] instead of _Jv_ThisExecutable()
3691
3692 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3693
3694         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3695         that is set if we are using addr2name.awk instead of addr2line.
3696         (NameFinder): Set usingAddr2name if using addr2name.awk.
3697         (getExternalLabel): New native method to convert a method 
3698         name to an external label.
3699         (lookup): Convert name given by addr2line to an external label
3700         before demangling.
3701
3702         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3703         constant representing the prefix attached to method names to
3704         convert them to an external label.
3705         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3706         using LABEL_PREFIX.
3707
3708 2003-03-10  Tom Tromey  <tromey@redhat.com>
3709
3710         * Makefile.in: Rebuilt.
3711         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3712         (JC1FLAGS): Removed -Wno-deprecated.
3713
3714 2003-03-10  Michael Koch  <konqueror@gmx.de>
3715
3716         * java/nio/ByteOrder.java
3717         (nativeOrder): Working implementation, added documentation.
3718         (toString): Added documentation.
3719
3720 2003-03-10  Michael Koch  <konqueror@gmx.de>
3721
3722         * java/net/DatagramSocket.java,
3723         java/net/MulticastSocket.java,
3724         java/net/Socket.java,
3725         java/net/URL.java,
3726         java/net/URLConnection.java:
3727         Fixed some documentation tags to make javadoc and friends happy.
3728
3729 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3730
3731         * java/beans/beancontext/BeanContextServicesSupport.java,
3732         java/beans/beancontext/BeanContextSupport.java: New files.
3733         * Makefile.am
3734         (awt_source_files): Added new files.
3735         * Makefile.in: Regenerated.
3736
3737 2003-03-10  Michael Koch  <konqueror@gmx.de>
3738
3739         * java/awt/FocusTraversalPolicy.java
3740         (FocusTraversalPolicy): Documentation added.
3741         (getComponentAfter): Documentation added.
3742         (getComponentBefore): Documentation added.
3743         (getFirstComponent): Documentation added.
3744         (getLastComponent): Documentation added.
3745         (getDefaultComponent): Documentation added.
3746         (getInitialComponent): Documentation added.
3747         * java/awt/ScrollPaneAdjustable.java
3748         (sp): New member variable.
3749         (orientation): New member variable.
3750         (value): New member variable.
3751         (minimum): New member variable.
3752         (maximum): New member variable.
3753         (visibleAmount): New member variable.
3754         (unitIncrement): New member variable.
3755         (blockIncrement): New member variable.
3756         (adjustmentListener): New member variable.
3757         (ScrollPaneAdjustable): Rewrote.
3758         (addAdjustmentListener): New method.
3759         (removeAdjustmentListener): New method.
3760         (getAdjustmentListeners): New method.
3761         (getBlockIncrement): New method.
3762         (getMaximum): New method.
3763         (getMinimum): New method.
3764         (getOrientation): New method.
3765         (getUnitIncrement): New method.
3766         (getValue): New method.
3767         (getVisibleAmount): New method.
3768         (setBlockIncrement): New method.
3769         (setUnitIncrement): New method.
3770         (setMaximum): Implemented.
3771         (setMinimum): Implemented.
3772         (setValue): New method.
3773         (setVisibleAmount): Implemented.
3774         (paramString): New method.
3775         * java/awt/Window.java
3776         (show): Use setVisible(true) instead of super.show().
3777         (hide): Use sevVisible(false) instead of super.hide().
3778         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3779         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3780         (postEvent): Deprecated.
3781         (applyResourceBundle): Deprecated.
3782         (processWindowFocusEvent): New method.
3783         (processWindowStateEvent): New method.
3784         * java/awt/datatransfer/DataFlavor.java: Reindented.
3785         * java/awt/font/TextHitInfo.java
3786         (charIndex): New member variable.
3787         (leadingEdge): New member variable.
3788         (TextHitInfo): New constructor.
3789         (getCharIndex): Implemented.
3790         (isLeadingEdge): Implemented.
3791         (getInsertionIndex): Implemented.
3792         (hashCode): Access charIndex directly.
3793         (equals): Reformated.
3794         (leading): Implemented.
3795         (trailing): Implemented.
3796         (beforeOffset): Implemented.
3797         (afterOffset): Implemented.
3798         (getOtherHit): Implemented.
3799         (getOffsetHit): Implemented.
3800         (toString): Implemented.
3801         * java/awt/image/BufferedImage.java
3802         (BufferedImage): Implements WritableRenderedImage.
3803         (observers): New member variable.
3804         (addTileObserver): New method.
3805         (removeTileObserver): New method.
3806
3807 2003-03-09  Tom Tromey  <tromey@redhat.com>
3808
3809         PR libgcj/9934:
3810         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3811         to lseek.  Return 0 if we can't compute the value.
3812
3813 2003-03-03  Michael Koch  <konqueror@gmx.de>
3814
3815         * java/net/NetworkInterface.java: Merged with classpath.
3816
3817 2003-03-03  Tom Tromey  <tromey@redhat.com>
3818
3819         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3820         of bytecode.
3821         (handle_ret_insn): Fail if returning to jsr that appears at end of
3822         bytecode.
3823
3824 2003-03-03  Michael Koch  <konqueror@gmx.de>
3825
3826         * Makefile.am
3827         (ordinary_java_source_files):
3828         Added gnu/java/nio/MappedByteFileBuffer.java.
3829         (nat_source_files):
3830         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3831         * Makefile.in: Regenerated.
3832
3833 2003-03-03  Michael Koch  <konqueror@gmx.de>
3834
3835         * java/net/DatagramSocket.java
3836         (connect): Merged comment from classpath.
3837         (receive): Merged documentation from classpath.
3838         * java/net/Socket.java
3839         (setSoTimeout): Clarified documentation.
3840         * java/net/URL.java
3841         (getPath): Merged from classpath.
3842         (getUserInfo): Merged from classpath.
3843         (getQuery): Merged from classpath.
3844         * java/net/URLStreamHandler.java
3845         (toExternalForm): Merged from classpath.
3846
3847 2003-03-02  Mark Wielaard  <mark@klomp.org>
3848
3849         * java/util/Properties.java (load): Only skip line if the first
3850         character is a comment, whitespaces don't count.
3851
3852 2003-03-02  Michael Koch  <konqueror@gmx.de>
3853
3854         * java/net/NetPermission.java:
3855         Merged copyright with classpath.
3856
3857 2003-03-02  Michael Koch  <konqueror@gmx.de>
3858
3859         * java/lang/Package.java:
3860         Remerged from classpath.
3861
3862 2003-03-02  Michael Koch  <konqueror@gmx.de>
3863
3864         * java/net/HttpURLConnection.java
3865         (HTTP_SERVER_ERROR): Deprecated.
3866         * java/net/MulticastSocket.java
3867         (send): Replaced checkMulticast with appropriate checkPermission call,
3868         deprecated.
3869         * java/net/URLDecoder.java
3870         (decode): Deprecated.
3871         * java/net/URLEncoder.java
3872         (encode): Deprecated.
3873
3874 2003-03-02  Michael Koch  <konqueror@gmx.de>
3875
3876         * javax/swing/text/Caret.java
3877         (getMagicCaretPosition): Fixed typo in method name.
3878         * javax/swing/text/DefaultCaret.java
3879         (getMagicCaretPosition): Fixed typo in method name.
3880
3881 2003-03-02  Michael Koch  <konqueror@gmx.de>
3882
3883         * java/awt/List.java
3884         (setMultipleSelections): Deprecated.
3885         (delItem): Deprecated.
3886         * java/awt/MenuComponent.java
3887         (getPeer): Deprecated.
3888         * java/awt/ScrollPane.java
3889         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3890         * java/awt/dnd/MouseDragGestureRecognizer.java
3891         (mouseClicked): Added comment.
3892         (mousePressed): Added comment.
3893         (mouseReleased): Added comment.
3894         (mouseEntered): Added comment.
3895         (mouseExited): Added comment.
3896         (mouseDragged): Added comment.
3897         (mouseMoved): Added comment.
3898         * java/awt/event/KeyEvent.java
3899         (KeyEvent): Deprecated.
3900         (setModifiers): Deprecated.
3901         
3902 2003-03-02  Michael Koch  <konqueror@gmx.de>
3903
3904         * gnu/java/nio/FileChannelImpl.java
3905         (fd): Type FileDescriptor instead of int.
3906         (lengthInternal): Removed.
3907         (FileChannelImpl): Fixed arguments, check type of file object.
3908         (size): Made it native.
3909         (implPosition): New native method.
3910         (implTruncate): New native method.
3911         (position): Implemented.
3912         (truncate): Implemented.
3913         (nio_mmap_file): Changed arguments.
3914         (nio_munmap_file): Changed arguments.
3915         (nio_msync): Changed arguments.
3916         * gnu/java/nio/natFileChannelImpl.cc
3917         (lengthInternal): Removed.
3918         (size): New method.
3919         (implPosition): New method.
3920         (implTruncate): New method.
3921         (nio_mmap_file): Changed arguments.
3922         (nio_munmap_file): Changed arguments.
3923         (nio_msync): Changed arguments.
3924
3925 2003-03-02  Michael Koch  <konqueror@gmx.de>
3926
3927         * java/awt/dnd/DropTargetContext.java:
3928         Compile fix: Forgot to commit import.
3929         
3930 2003-03-02  Michael Koch  <konqueror@gmx.de>
3931
3932         * java/awt/Component.java,
3933         java/awt/ScrollPane.java:
3934         Fixed typos.
3935
3936 2003-03-02  Michael Koch  <konqueror@gmx.de>
3937
3938         * java/awt/dnd/DnDEventMulticaster.java: New file.
3939         * java/awt/dnd/DragSource.java
3940         (flavorMap): New member variable.
3941         (dragSourceListener): New member variable.
3942         (dragSourceMotionListener): New member variable.
3943         (getFlavorMap): Implemented.
3944         (createDragGestureRecognizer): Implemented.
3945         (addDragSourceListener): Implemented.
3946         (removeDragSourceListener): Implemented.
3947         (getDragSourceListeners): Implemented.
3948         (addDragSourceMotionListener): Implemented.
3949         (removeDragSourceMotionListener): Implemented.
3950         (getDragSourceMotionListeners): Implemented.
3951         (getListeners): Implemented.
3952         * java/awt/dnd/DragSourceContext.java
3953         (peer): New member variable.
3954         (cursor): New member variable.
3955         (transferable): New member variable.
3956         (trigger): New member variable.
3957         (dragSourceListener): New member variable.
3958         (image): New member variable.
3959         (offset): New member variable.
3960         (DragSourceContext): Implemented.
3961         (getDragSource): Implemented.
3962         (getComponent): Implemented.
3963         (getTrigger): Implemented.
3964         (getSourceActions): Implemented.
3965         (setCursor): Implemented.
3966         (getCursor): Implemented.
3967         (addDragSourceListener): Implemented.
3968         (removeDragSourceListener): Implemented.
3969         (getTransferable): Implemented.
3970         * java/awt/dnd/DropTarget.java
3971         (DropTargetAutoScroller.component): New member variable.
3972         (DropTargetAutoScroller.point): New member variable.
3973         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3974         (DropTargetAutoScroller.updateLocation): Implemented.
3975         (active): Renamed from isActive, defaults to true now.
3976         (component): New member variable.
3977         (flavorMap): New member variable.
3978         (actions): New member variable.
3979         (dropTargetContext): New member variable.
3980         (dropTargetListener): New member variable.
3981         (DropTarget): Implemented.
3982         (getComponent): Implemented.
3983         (setComponent): Implemented.
3984         (setDefaultActions): Implemented.
3985         (getDefaultActions): Implemented.
3986         (setActive): Use active instead of isActive.
3987         (isActive): Use active instead of isActive.
3988         (addDropTargetListener): Implemented.
3989         (removeDropTargetListener): Implemented.
3990         (getFlavorMap): Implemented.
3991         (setFlavorMap): Implemented.
3992         (getDropTargetContext): Implemented.
3993         (createDropTargetContext): Implemented.
3994         (createDropTargetAutoScroller): Implemented.
3995         * java/awt/dnd/DropTargetContext.java
3996         (TransferableProxy.getTransferDataFlavors): Implemented.
3997         (TransferableProxy.isDataFlavorSupported): Implemented.
3998         (TransferableProxy.getTransferData): Implemented.
3999         (dropTarget):  New member variable.
4000         (dtcp): New member variable.
4001         (DropTargetContext): New package private constructor.
4002         (getDropTarget): Implemented.
4003         (getComponent): Implemented.
4004         (addNotify): Implemented.
4005         (removeNotify): Implemented.
4006         (getCurrentDataFlavorsAsList): Implemented.
4007         (isDataFlavorSupported): Implemented.
4008         * java/awt/dnd/MouseDragGestureRecognizer.java
4009         (registerListeners): Implemented.
4010         (unregisterListeners): Implemented.
4011         * Makefile.am
4012         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4013         * Makefile.in: Regenerated.
4014
4015 2003-03-02  Michael Koch  <konqueror@gmx.de>
4016
4017         * java/awt/Component.java
4018         (eventTypeEnabled): New method.
4019         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4020         * java/awt/Container.java
4021         (changeSupport): New member variable.
4022         (addPropertyChangeListener): New methods.
4023         * java/awt/ContainerOrderFocusTraversalPolicy.java
4024         (ContainerOrderFocusTraversalPolicy): Added comment.
4025         (getComponentAfter): Throw exception, documentation added.
4026         (getComponentBefore): Throw exception, documentation added.
4027         (getFirstComponent): Throw exception, documentation added.
4028         (getLastComponent): Throw exception, documentation added.
4029         (getDefaultComponent): Throw exception, documentation added.
4030         * java/awt/EventQueue.java: Reindented.
4031         * java/awt/FocusTraversalPolicy.java:
4032         (FocusTraversalPolicy): Added comment.
4033         (getComponentAfter): Documentation added.
4034         (getComponentBefore): Documentation added.
4035         (getFirstComponent): Documentation added.
4036         (getLastComponent): Documentation added.
4037         (getDefaultComponent): Documentation added.
4038         (getInitialComponent): Documentation added.
4039         * java/awt/ScrollPane.java
4040         (wheelScrollingEnabled): New member variable.
4041         (ScrollPane): Initialize wheelScollingEnabled.
4042         (eventTypeEnabled): New method.
4043         (isWheelScrollingEnabled): New method.
4044         (setWheelScrollingEnabled): New method.
4045
4046 2003-03-02  Michael Koch  <konqueror@gmx.de>
4047
4048         * java/net/DatagramSocket.java
4049         (closed): New member variable.
4050         (close): Use closed variable.
4051         (getInetAddress): No need to call isConnected().
4052         (getPort): No need to call isConnected().
4053         (disconnect): Reset remoteAddress and remotePort, fixed typo.
4054         (isClosed): Reimplemented.
4055         
4056 2003-03-02  Michael Koch  <konqueror@gmx.de>
4057
4058         * configure.in: Added check for memory mapping of files.
4059         * configure: Regenerated.
4060         * config.h.in: Regenerated.
4061
4062 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
4063
4064         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4065         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4066
4067 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4068
4069         * java/io/File.java (normalizePath): Remove trailing separator
4070         on Windows only if path is not of the form "x:\".
4071
4072         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4073         (java::io::File::attr): Change formatting a bit and use
4074         WIN32_EPOCH_MILLIS instead of magic numbers.
4075         (java::io::File::isAbsolute): Path must have at least 3 
4076         characters for a UNC network path.
4077         (java::io::File::init_native): Define.
4078         (java::io::File::performCreate): Likewise.
4079         (java::io::File::performSetReadOnly): Likewise.
4080         (java::io::File::performSetLastModified): Likewise.
4081         (java::io::File::performListRoots): Likewise.
4082
4083 2003-03-01  Tom Tromey  <tromey@redhat.com>
4084
4085         * java/lang/natObject.cc: Don't include assert.h.
4086         (heavy_lock_obj_finalization_proc): Use JvAssert.
4087         (remove_all_heavy): Likewise.
4088         (_Jv_MonitorEnter): Likewise.
4089         (_Jv_MonitorExit): Likewise.
4090         (wait): Likewise.
4091
4092 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4093
4094         * java/io/File (getAbsolutePath): Prefix drive specifier on
4095         Windows for paths starting with a '\'.
4096         (toURL): Make URL more consistent with what Sun's JDK returns.
4097
4098         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4099         true only if the path is a UNC network path or it starts with a
4100         drive specifier.
4101
4102         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4103         Be prepared to handle either '/' or '\\' in the file path for
4104         Windows if using the "file" protocol.
4105         Canonicalise the file path if using a relative path in the given
4106         context and the "file" protocol.
4107
4108 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
4109
4110         * java/lang/natWin32Process.cc (startProcess): Double-quote each
4111         program array element passed to CreateProcess.
4112
4113 2003-03-01  Tom Tromey  <tromey@redhat.com>
4114
4115         * java/rmi/registry/RegistryHandler.java: Deprecate.
4116
4117 2003-03-01  Tom Tromey  <tromey@redhat.com>
4118
4119         * javax/accessibility/AccessibleEditableText.java,
4120         javax/accessibility/AccessibleHyperlink.java: New versions from
4121         Classpath.
4122
4123         * gnu/java/locale/LocaleInformation_af_ZA.java,
4124         gnu/java/locale/LocaleInformation_ar_AE.java,
4125         gnu/java/locale/LocaleInformation_ar_BH.java,
4126         gnu/java/locale/LocaleInformation_ar_DZ.java,
4127         gnu/java/locale/LocaleInformation_ar_EG.java,
4128         gnu/java/locale/LocaleInformation_ar_IN.java,
4129         gnu/java/locale/LocaleInformation_ar_IQ.java,
4130         gnu/java/locale/LocaleInformation_ar_JO.java,
4131         gnu/java/locale/LocaleInformation_ar_KW.java,
4132         gnu/java/locale/LocaleInformation_ar_LB.java,
4133         gnu/java/locale/LocaleInformation_ar_LY.java,
4134         gnu/java/locale/LocaleInformation_ar_MA.java,
4135         gnu/java/locale/LocaleInformation_ar_OM.java,
4136         gnu/java/locale/LocaleInformation_ar_QA.java,
4137         gnu/java/locale/LocaleInformation_ar_SD.java,
4138         gnu/java/locale/LocaleInformation_ar_SY.java,
4139         gnu/java/locale/LocaleInformation_ar_TN.java,
4140         gnu/java/locale/LocaleInformation_ar_YE.java,
4141         gnu/java/locale/LocaleInformation_be_BY.java,
4142         gnu/java/locale/LocaleInformation_bn_IN.java,
4143         gnu/java/locale/LocaleInformation_br_FR.java,
4144         gnu/java/locale/LocaleInformation_bs_BA.java,
4145         gnu/java/locale/LocaleInformation_ca_ES.java,
4146         gnu/java/locale/LocaleInformation_cs_CZ.java,
4147         gnu/java/locale/LocaleInformation_cy_GB.java,
4148         gnu/java/locale/LocaleInformation_da_DK.java,
4149         gnu/java/locale/LocaleInformation_de_AT.java,
4150         gnu/java/locale/LocaleInformation_de_BE.java,
4151         gnu/java/locale/LocaleInformation_de_CH.java,
4152         gnu/java/locale/LocaleInformation_de_DE.java,
4153         gnu/java/locale/LocaleInformation_de_LU.java,
4154         gnu/java/locale/LocaleInformation_el_GR.java,
4155         gnu/java/locale/LocaleInformation_en_AU.java,
4156         gnu/java/locale/LocaleInformation_en_BW.java,
4157         gnu/java/locale/LocaleInformation_en_CA.java,
4158         gnu/java/locale/LocaleInformation_en_DK.java,
4159         gnu/java/locale/LocaleInformation_en_GB.java,
4160         gnu/java/locale/LocaleInformation_en_HK.java,
4161         gnu/java/locale/LocaleInformation_en_IE.java,
4162         gnu/java/locale/LocaleInformation_en_IN.java,
4163         gnu/java/locale/LocaleInformation_en_NZ.java,
4164         gnu/java/locale/LocaleInformation_en_PH.java,
4165         gnu/java/locale/LocaleInformation_en_SG.java,
4166         gnu/java/locale/LocaleInformation_en_US.java,
4167         gnu/java/locale/LocaleInformation_en_ZA.java,
4168         gnu/java/locale/LocaleInformation_en_ZW.java,
4169         gnu/java/locale/LocaleInformation_es_AR.java,
4170         gnu/java/locale/LocaleInformation_es_BO.java,
4171         gnu/java/locale/LocaleInformation_es_CL.java,
4172         gnu/java/locale/LocaleInformation_es_CO.java,
4173         gnu/java/locale/LocaleInformation_es_CR.java,
4174         gnu/java/locale/LocaleInformation_es_DO.java,
4175         gnu/java/locale/LocaleInformation_es_EC.java,
4176         gnu/java/locale/LocaleInformation_es_ES.java,
4177         gnu/java/locale/LocaleInformation_es_GT.java,
4178         gnu/java/locale/LocaleInformation_es_HN.java,
4179         gnu/java/locale/LocaleInformation_es_MX.java,
4180         gnu/java/locale/LocaleInformation_es_NI.java,
4181         gnu/java/locale/LocaleInformation_es_PA.java,
4182         gnu/java/locale/LocaleInformation_es_PE.java,
4183         gnu/java/locale/LocaleInformation_es_PR.java,
4184         gnu/java/locale/LocaleInformation_es_PY.java,
4185         gnu/java/locale/LocaleInformation_es_SV.java,
4186         gnu/java/locale/LocaleInformation_es_US.java,
4187         gnu/java/locale/LocaleInformation_es_UY.java,
4188         gnu/java/locale/LocaleInformation_es_VE.java,
4189         gnu/java/locale/LocaleInformation_et_EE.java,
4190         gnu/java/locale/LocaleInformation_eu_ES.java,
4191         gnu/java/locale/LocaleInformation_fa_IR.java,
4192         gnu/java/locale/LocaleInformation_fi_FI.java,
4193         gnu/java/locale/LocaleInformation_fo_FO.java,
4194         gnu/java/locale/LocaleInformation_fr_BE.java,
4195         gnu/java/locale/LocaleInformation_fr_CA.java,
4196         gnu/java/locale/LocaleInformation_fr_CH.java,
4197         gnu/java/locale/LocaleInformation_fr_FR.java,
4198         gnu/java/locale/LocaleInformation_fr_LU.java,
4199         gnu/java/locale/LocaleInformation_ga_IE.java,
4200         gnu/java/locale/LocaleInformation_gd_GB.java,
4201         gnu/java/locale/LocaleInformation_gl_ES.java,
4202         gnu/java/locale/LocaleInformation_gv_GB.java,
4203         gnu/java/locale/LocaleInformation_he_IL.java,
4204         gnu/java/locale/LocaleInformation_hi_IN.java,
4205         gnu/java/locale/LocaleInformation_hr_HR.java,
4206         gnu/java/locale/LocaleInformation_hu_HU.java,
4207         gnu/java/locale/LocaleInformation_id_ID.java,
4208         gnu/java/locale/LocaleInformation_it_CH.java,
4209         gnu/java/locale/LocaleInformation_it_IT.java,
4210         gnu/java/locale/LocaleInformation_iw_IL.java,
4211         gnu/java/locale/LocaleInformation_ja_JP.java,
4212         gnu/java/locale/LocaleInformation_ka_GE.java,
4213         gnu/java/locale/LocaleInformation_kl_GL.java,
4214         gnu/java/locale/LocaleInformation_ko_KR.java,
4215         gnu/java/locale/LocaleInformation_kw_GB.java,
4216         gnu/java/locale/LocaleInformation_lt_LT.java,
4217         gnu/java/locale/LocaleInformation_lv_LV.java,
4218         gnu/java/locale/LocaleInformation_mi_NZ.java,
4219         gnu/java/locale/LocaleInformation_mk_MK.java,
4220         gnu/java/locale/LocaleInformation_mr_IN.java,
4221         gnu/java/locale/LocaleInformation_mt_MT.java,
4222         gnu/java/locale/LocaleInformation_nl_BE.java,
4223         gnu/java/locale/LocaleInformation_nl_NL.java,
4224         gnu/java/locale/LocaleInformation_nn_NO.java,
4225         gnu/java/locale/LocaleInformation_no_NO.java,
4226         gnu/java/locale/LocaleInformation_oc_FR.java,
4227         gnu/java/locale/LocaleInformation_pl_PL.java,
4228         gnu/java/locale/LocaleInformation_pt_BR.java,
4229         gnu/java/locale/LocaleInformation_pt_PT.java,
4230         gnu/java/locale/LocaleInformation_ro_RO.java,
4231         gnu/java/locale/LocaleInformation_ru_RU.java,
4232         gnu/java/locale/LocaleInformation_ru_UA.java,
4233         gnu/java/locale/LocaleInformation_se_NO.java,
4234         gnu/java/locale/LocaleInformation_sk_SK.java,
4235         gnu/java/locale/LocaleInformation_sl_SI.java,
4236         gnu/java/locale/LocaleInformation_sq_AL.java,
4237         gnu/java/locale/LocaleInformation_sr_YU.java,
4238         gnu/java/locale/LocaleInformation_sv_FI.java,
4239         gnu/java/locale/LocaleInformation_sv_SE.java,
4240         gnu/java/locale/LocaleInformation_ta_IN.java,
4241         gnu/java/locale/LocaleInformation_te_IN.java,
4242         gnu/java/locale/LocaleInformation_tg_TJ.java,
4243         gnu/java/locale/LocaleInformation_tl_PH.java,
4244         gnu/java/locale/LocaleInformation_tr_TR.java,
4245         gnu/java/locale/LocaleInformation_uk_UA.java,
4246         gnu/java/locale/LocaleInformation_ur_PK.java,
4247         gnu/java/locale/LocaleInformation_uz_UZ.java,
4248         gnu/java/locale/LocaleInformation_vi_VN.java,
4249         gnu/java/locale/LocaleInformation_yi_US.java,
4250         gnu/java/locale/LocaleInformation_zh_CN.java,
4251         gnu/java/locale/LocaleInformation_zh_HK.java,
4252         gnu/java/locale/LocaleInformation_zh_SG.java,
4253         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4254         info; from Classpath.
4255
4256         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4257         isPaintPending): New methods.
4258         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4259         setMaximizedBounds): New methods.
4260         (beginLayout, endLayout, isPaintPending): Likewise.
4261         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4262         (requestFocus): Likewise.
4263         (isObscured): Likewise.
4264         (canDetermineObscurity): Likewise.
4265         (coalescePaintEvent): Likewise.
4266         (updateCursorImmediately): Likewise.
4267         (createVolatileImage): Likewise.
4268         (handlesWheelScrolling): Likewise.
4269         (createBuffers): Likewise.
4270         (getBackBuffer): Likewise.
4271         (flip): Likewise.
4272         (destroyBuffers): Likewise.
4273
4274         * Makefile.in: Rebuilt.
4275         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4276         RobotPeer.java.
4277         * gnu/java/awt/GLightweightPeer.java,
4278         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4279         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4280         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4281         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4282         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4283         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4284         java/awt/dnd/peer/DragSourceContextPeer.java,
4285         java/awt/dnd/peer/DropTargetContextPeer.java,
4286         java/awt/peer/ButtonPeer.java,
4287         java/awt/peer/CheckboxMenuItemPeer.java,
4288         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4289         java/awt/peer/ComponentPeer.java,
4290         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4291         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4292         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4293         java/awt/peer/MenuBarPeer.java,
4294         java/awt/peer/MenuComponentPeer.java,
4295         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4296         java/awt/peer/PopupMenuPeer.java,
4297         java/awt/peer/ScrollPanePeer.java,
4298         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4299         java/awt/peer/TextComponentPeer.java,
4300         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4301         New versions from Classpath.
4302         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4303         * java/awt/peer/RobotPeer.java: Likewise.
4304
4305 2003-03-01  Mark Wielaard  <mark@klomp.org>
4306
4307         * java/io/ObjectInputStream.java: Reindent.
4308         * java/io/ObjectOutputStream.java: Likewise.
4309
4310 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4311
4312         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4313         jvalue for each argument. Simplify.
4314         * testsuite/libjava.jni/calls.c (docall),
4315         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4316         misalignment.
4317
4318 2003-02-28  Mark Wielaard  <mark@klomp.org>
4319
4320         * Makefile.am (nat_source_files): Remove
4321         java/io/natObjectOutputStream.cc.
4322         * Makefile.in: Regenerated.
4323         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4324         * java/io/ObjectStreamField.java (typename): New field.
4325         (ObjectStreamField(String, Class)): Initialize new field.
4326         (ObjectStreamField(String, String)): New Constructor.
4327         (getTypeCode): Use new field.
4328         (getTypeString): Use new field.
4329         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4330         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4331         Handle reading of Proxy classes. Never drain(), just write
4332         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4333         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4334         (flush): Call flush(), not just drain().
4335         (writeBoolean): Always use blockDataOutput.
4336         (writeByte): Likewise.
4337         (writeShort): Likewise.
4338         (writeChar): Likewise.
4339         (writeInt): Likewise.
4340         (writeLong): Likewise.
4341         (writeFloat): Likewise.
4342         (writeDouble): Likewise.
4343         (writeBytes): Likewise.
4344         (putfield (put(String,Object))): Throw IllegalArgumentException if
4345         field cannot be found.
4346         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4347         (writeArraySizeAndElements): Write byte[] in one go.
4348         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4349         set BlockDataMode to false.
4350         (annotateProxyClass): New method.
4351         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4352         (getField): No longer native.
4353         (getMethod): Likewise.
4354         (setBlockDataMode): Always drain() on switch, return old mode.
4355         (static): New static code block.
4356         * java/io/natObjectOutputStream.cc: Removed.
4357         * java/io/ObjectInputStream.java (getField): No longer native.
4358         (getMethod): Likewise.
4359         (readObject): Remember and reset old BlockDataMode. Track whether
4360         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4361         TC_LONGSTRING.
4362         (defaultReadObject): Set BlockDataMode to false during readFields.
4363         (resolveClass): Create new SecurityManager if necessary.
4364         Use Class.forName() if null ClassLoader found.
4365         (read(byte[],int,int): Copy remaining bytes to data before calling
4366         readNextBlock().
4367         (readFields): Set and reset BlockDataMode on call_read_method.
4368         Catch NoSuchFieldErrors.
4369         (setBlockDataMode): Return old mode.
4370         (static): New static code block.
4371         * java/io/natObjectInputStream.cc (getField): Removed.
4372         (getMethod): Likewise.
4373
4374 2003-02-27  Michael Koch  <konqueror@gmx.de>
4375
4376         * java/beans/Beans.java,
4377         java/beans/FeatureDescriptor.java
4378         java/beans/PropertyEditorManager.java:
4379         Reformated to GNU style.
4380
4381 2003-02-25  Michael Koch  <konqueror@gmx.de>
4382
4383         * gnu/java/nio/MappedByteFileBuffer.java,
4384         gnu/java/nio/natMappedByteFileBuffer.cc:
4385         New files, both are not compiled yet to get not noncompiling CVS.
4386
4387 2003-02-24  Tom Tromey  <tromey@redhat.com>
4388
4389         * java/util/prefs/AbstractPreferences.java (isUserNode):
4390         Implemented.
4391
4392 2003-02-24  Tom Tromey  <tromey@redhat.com>
4393
4394         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4395         Deprecate.
4396         * java/lang/Thread.java (resume): Deprecate.
4397         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4398         in @deprecated.
4399
4400 2003-02-23  Tom Tromey  <tromey@redhat.com>
4401
4402         * Makefile.in: Rebuilt.
4403         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4404
4405 2003-02-23  Tom Tromey  <tromey@redhat.com>
4406
4407         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4408         libraries): Removed.
4409         (add_library): Removed.
4410         (_load): Don't call add_library.
4411         (loadLibraryInternal): Likewise.
4412         (init): Likewise.
4413         (lookup_data): New struct.
4414         (find_symbol): New function.
4415         (_Jv_FindSymbolInExecutable): Use it.
4416
4417 2002-02-21  Anthony Green  <green@redhat.com>
4418
4419         * java/lang/Thread.java (Thread): New constructor taking stack
4420         size parameter (ignored for now).
4421         * Many methods: Merged GNU Classpath documentation.
4422
4423         * java/lang/Class.java (finalize): throws a Throwable.
4424
4425 2003-02-21  Mark Wielaard  <mark@klomp.org>
4426
4427         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4428         argument is null.
4429
4430 2003-02-21  Mark Wielaard  <mark@klomp.org>
4431
4432         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4433         then 65535 chars throw IllegalArgumentException.
4434
4435 2003-02-21  Mark Wielaard  <mark@klomp.org>
4436
4437         * java/util/zip/ZipFile.java (finalize): New method.
4438
4439 2003-02-21  Michael Koch  <konqueror@gmx.de>
4440
4441         * gnu/java/nio/natSocketChannelImpl.cc:
4442         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4443         <cato@df.lth.se> for pointing to it.
4444
4445 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4446
4447         * java/math/BigInteger.java (euclidInv): Take result array as an
4448         argument.  Updated all callers.
4449         (modInverse): Removed unused variables.
4450
4451 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4452
4453         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4454         config.status.
4455         * configure: Rebuilt.
4456
4457 2003-02-19  Michael Koch  <konqueror@gmx.de>
4458
4459         * gnu/java/nio/natSocketChannelImpl.cc:
4460         Added support for platforms without network support.
4461
4462 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4463
4464         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4465         after config.h.  Use <> for consistency.
4466         * java/lang/natObject.cc: Likewise.
4467         * java/lang/natRuntime.cc: Likewise.
4468         * java/lang/natSystem.cc: Likewise.
4469         * java/util/natTimeZone.cc: Likewise.
4470         * win32.cc: Likewise.
4471         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4472         listen, write, read): Undef to avoid interference from OS macros.
4473
4474 2003-02-19  Michael Koch  <konqueror@gmx.de>
4475
4476         * gnu/java/nio/ByteBufferImpl.java
4477         (ByteBufferImpl): Renamed two variables.
4478         * gnu/java/nio/CharBufferImpl.java
4479         (CharBufferImpl): Renamed two variables.
4480         * gnu/java/nio/DoubleBufferImpl.java
4481         (DoubleBufferImpl): Renamed two variables.
4482         * gnu/java/nio/FloatBufferImpl.java
4483         (FloatBufferImpl): Renamed two variables.
4484         * gnu/java/nio/IntBufferImpl.java
4485         (IntBufferImpl): Renamed two variables.
4486         * gnu/java/nio/LongBufferImpl.java
4487         (LongBufferImpl): Renamed two variables.
4488         * gnu/java/nio/ShortBufferImpl.java
4489         (ShortBufferImpl): Renamed two variables.
4490         * java/nio/CharBuffer.java
4491         (wrap): Fixed arguments to CharBufferImpl constructor.
4492         (hasArray): Only not read-only buffers have backing arrays.
4493         (length): Documentation added.
4494         (subSequence): Documentation added.
4495         * java/nio/DoubleBuffer.java
4496         (hasArray): Only not read-only buffers have backing arrays.
4497         * java/nio/FloatBuffer.java
4498         (hasArray): Only not read-only buffers have backing arrays.
4499         * java/nio/IntBuffer.java
4500         (hasArray): Only not read-only buffers have backing arrays.
4501         * java/nio/LongBuffer.java
4502         (hasArray): Only not read-only buffers have backing arrays.
4503         * java/nio/ShortBuffer.java
4504         (hasArray): Only not read-only buffers have backing arrays.
4505         
4506 2003-02-19  Michael Koch  <konqueror@gmx.de>
4507
4508         * javax/accessibility/AccessibleContext.java
4509         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4510
4511 2003-02-19  Michael Koch  <konqueror@gmx.de>
4512
4513         * java/awt/ScrollPaneAdjustable.java: Reformated.
4514
4515 2003-02-19  Michael Koch <konqueror@gmx.de>
4516
4517         * gnu/awt/j2d/Graphics2DImpl.java
4518         (getFontRenderContext): New method.
4519         (drawGlyphVector): New method.
4520         * java/awt/Graphics2D.java
4521         (getFontRenderContext): New abstract method.
4522         (drawGlyphVector): New abstract method.
4523         
4524 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4525
4526         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4527         if necessary.
4528         
4529         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4530         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4531         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4532         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4533         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4534         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4535         (setFont, gtkSetFont): add.
4536         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4537         Propagate font to peer.  (setFont): add FIXME comment.
4538
4539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4540         (gtkTextGetSize): fix height, width computation.
4541
4542         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4543         Make X font name a bit less bogus.
4544
4545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4546         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4547
4548         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4549         (processAdjustmentEvent): Adjust value.
4550
4551         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4552         logic errors.
4553
4554         * java/awt/Component.java (setVisible, show, hide): Call show and
4555         hide methods in subclasses.
4556         (getPreferredSize): don't set prefSize before we have peer.
4557
4558         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4559         Guess (0,0) if we don't have peer.
4560
4561
4562 2003-02-18  Michael Koch  <konqueror@gmx.de>
4563
4564         * java/nio/channels/FileChannel.java
4565         (toString): New implementation, added documentation.
4566         (map): Added exception documentation.
4567         (size): Added exception documentation.
4568         (write): New methods, documentation work.
4569         (read): New methods, documentation work.
4570         (implCloseChannel): Rewrote exception documentation.
4571         (force): Throws IOException, added documentation.
4572         (lock): New methods.
4573         (tryLock): New methods.
4574         (position): New methods.
4575         (transferTo): New method.
4576         (transferFrom): New method.
4577         (truncate): New method.
4578         * java/nio/channels/spi/SelectorProvider.java
4579         (provider): Implemented.
4580         * Makefile.am
4581         (ordinary_java_source_files): Added the following files:
4582         gnu/java/nio/DatagramChannelImpl.java
4583         gnu/java/nio/FileChannelImpl.java
4584         gnu/java/nio/PipeImpl.java
4585         gnu/java/nio/SelectionKeyImpl.java
4586         gnu/java/nio/SelectorImpl.java
4587         gnu/java/nio/SelectorProviderImpl.java
4588         gnu/java/nio/ServerSocketChannelImpl.java
4589         gnu/java/nio/SocketChannelImpl.java
4590         java/nio/channels/FileLock.java
4591         (nat_java_source_files): Added the following files:
4592         gnu/java/nio/natFileChannelImpl.cc
4593         gnu/java/nio/natSelectorImpl.cc
4594         gnu/java/nio/natSocketChannelImpl.cc
4595         * Makefile.in: Regenerated.
4596
4597 2003-02-17  Tom Tromey  <tromey@redhat.com>
4598
4599         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4600         * java/awt/image/ImageFilter.java: Likewise.
4601
4602 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4603
4604         * java/math/BigInteger.java (euclidInv): Return array of
4605         `BigInteger's.  Changed all callers.
4606
4607 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4608
4609         * java/util/Properties.java (store): Move the code formerly in
4610         list(), into this method.
4611         (list (PrintStream)): Just call list (PrintWriter) with a 
4612         PrintWriter object constructed from the given PrintStream object.
4613         (list (PrintWriter)): Emulate the output of Properties.list()
4614         as found in JDK 1.3/1.4.
4615
4616 2003-02-17  Michael Koch  <konqueror@gmx.de>
4617
4618         * java/net/DatagramSocket.java
4619         (connect): Merged with classpath.
4620         (disconnect): Merged documentation with classpath.
4621         (receice): Merged documentation with classpath.
4622         (send): Merged documentation with classpath.
4623         
4624 2003-02-17  Michael Koch  <konqueror@gmx.de>
4625
4626         * java/awt/dnd/DragSourceContext.java
4627         (addDragSourceListener): Added documentation.
4628         * java/awt/dnd/DragSourceDragEvent.java
4629         (serialVersionUID): New member variable.
4630         (getDropAction): Reformated.
4631         * java/awt/dnd/DragSourceDropEvent.java
4632         (serialVersionUID): New member variable.
4633         (dropSuccess): Renamed from success for serialization issues.
4634         * java/awt/dnd/DragSourceEvent.java
4635         (serialVersionUID): New member variable.
4636         * java/awt/dnd/DropTarget.java
4637         (serialVersionUID): New member variable.
4638         (DropTarget): Implemented, documentation reworked.
4639         (setComponent): Documentation added.
4640         (getComponent): Documentation added.
4641         (setDefaultActions): Documentation added.
4642         (getDefaultActions): Documentation added.
4643         (addDropTargetListener): Documentation added.
4644         * java/awt/dnd/DropTargetContext.java
4645         (DropTargetContext): Documentation added.
4646         (TransferableProxy.TransferableProxy): New method.
4647         (dropComplete): Fixed documentation.
4648         (getTransferable): Fixed documentation.
4649         (createTransferableProxy): Implemented.
4650         * java/awt/dnd/DropTargetDragEvent.java
4651         (DropTargetDragEvent): Documentation added.
4652         (serialVersionUID): New member variable.
4653         (DropTargetDragEvent): Throw exceptions, documentation added.
4654         (acceptDrag): Implemented.
4655         (getCurrentDataFlavors): Implemented.3yy
4656         (getCurrentDataFlavorsAsList): Implemented.
4657         (isDataFlavorSupported): Implemented.
4658         (rejectDrag): Implemented.
4659         * java/awt/dnd/DropTargetDropEvent.java
4660         (DropTargetDropEvent): Documentation added.
4661         (serialVersionUID): New member variable.
4662         (actions): Renamed from srcActions for serialization issues.
4663         (isLocalTx): Renamed from isLocalTx for serialization issues.
4664         (DropTargetDropEvent): New implementation, throw exceptions,
4665         documentation added.
4666         (getCurrentDataFlavors): Implemented.
4667         (getCurrentDataFlavorsAsList): Implemented.
4668         (isDataFlavorSupported): Implemented.
4669         (getSourceActions): Implemented.
4670         (getDropAction): Implemented.
4671         (getTransferable): Implemented.
4672         (acceptDrop): Implemented.
4673         (rejectDrop): Implemented.
4674         * java/awt/dnd/DropTargetListener.java
4675         (drop): Fixed documentation.
4676         * java/awt/dnd/MouseDragGestureRecognizer.java
4677         (MouseDragGestureRecognizer): Documentation added.
4678
4679 2003-02-17  Michael Koch  <konqueror@gmx.de>
4680
4681         * java/awt/font/FontRenderContext.java,
4682         java/awt/font/ShapeGraphicAttribute.java,
4683         java/awt/font/MultipleMaster.java,
4684         java/awt/font/TransformAttribute.java,
4685         java/awt/font/GlyphJustificationInfo.java,
4686         java/awt/font/LineBreakMeasurer.java,
4687         java/awt/font/TextMeasurer.java,
4688         java/awt/font/TextLayout.java,
4689         java/awt/font/LineMetrics.java,
4690         java/awt/font/TextAttribute.java,
4691         java/awt/font/GlyphMetrics.java,
4692         java/awt/font/OpenType.java,
4693         java/awt/font/GlyphVector.java,
4694         java/awt/font/GraphicAttribute.java,
4695         java/awt/font/ImageGraphicAttribute.java,
4696         java/awt/font/NumericShaper.java: New files.
4697         * Makefile.am
4698         (awt_java_source_files): Added the following files:
4699         java/awt/font/FontRenderContext.java
4700         java/awt/font/ShapeGraphicAttribute.java
4701         java/awt/font/MultipleMaster.java
4702         java/awt/font/TransformAttribute.java
4703         java/awt/font/GlyphJustificationInfo.java
4704         java/awt/font/LineBreakMeasurer.java
4705         java/awt/font/TextMeasurer.java
4706         java/awt/font/TextLayout.java
4707         java/awt/font/LineMetrics.java
4708         java/awt/font/TextAttribute.java
4709         java/awt/font/GlyphMetrics.java
4710         java/awt/font/OpenType.java
4711         java/awt/font/GlyphVector.java
4712         java/awt/font/GraphicAttribute.java
4713         java/awt/font/ImageGraphicAttribute.java
4714         java/awt/font/NumericShaper.java
4715         * Makefile.in: Regenerated.
4716
4717 2003-02-17  Michael Koch  <konqueror@gmx.de>
4718
4719         * java/awt/print/Paper.java
4720         (Paper): Implements Cloneable.
4721         * java/awt/print/PrinterJob.java
4722         (setJobName): Return value must be void.
4723         (print): Throws PrinterException.
4724         
4725 2003-02-16  Tom Tromey  <tromey@redhat.com>
4726
4727         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4728         variable.
4729
4730 2003-02-15  Michael Koch  <konqueror@gmx.de>
4731
4732         * java/awt/datatransfer/DataFlavor.java
4733         (isRepresentationClassByteBuffer): Removed try-catch block.
4734         (isRepresentationClassCharBuffer): Removed try-catch block.
4735         (isRepresentationClassReader): Removed try-catch block.
4736
4737 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4738
4739         * java/nio/charset/Charset.java
4740         (isRegistered): Fixed method args and implementation.
4741         * java/nio/charset/CharsetEncoder.java
4742         (unmappableCharacterAction): New method.
4743
4744 2003-02-15  Michael Koch  <konqueror@gmx.de>
4745
4746         * java/awt/CheckboxMenuItem.java
4747         (CheckBoxMenuItem): Dont implement Serializable.
4748         (getListeners): New method,
4749         (getItemListeners): New method.
4750         * java/awt/Choice.java
4751         (getListeners): New method,
4752         (getItemListeners): New method.
4753         * java/awt/Container.java
4754         (getListeners): Added exception documentation.
4755         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4756         (getFocusTraversalKeys): Added documentation.
4757         (areFocusTraversalKeysSet): Added documentation.
4758         (applyComponentOrientation): Added documentation.
4759         * java/awt/ContainerOrderFocusTraversalPolicy.java
4760         (implicitDownCycleTraversal): Renamed from downCycle for
4761         serialization.
4762         (ContainerOrderFocusTraversalPolicy): Added documentation.
4763         (accept): Reformated.
4764         * java/awt/Dialog.java
4765         (Dialog): Dont implement Serializable.
4766         (Dialog): Added documentation.
4767         * java/awt/Font.java
4768         (Font): Dont use absolute class name.
4769         * java/awt/Frame.java
4770         (Frame): Font implement Serializable.
4771         * java/awt/List.java
4772         (getListeners): New method,
4773         (getActionListeners): New method.       
4774         (getItemListeners): New method.
4775         * java/awt/Menu.java
4776         (countItems): New deprecated method.
4777         * java/awt/Scrollbar.java
4778         (getListeners): New method,
4779         (getAdjustmentListeners): New method,
4780         * java/awt/TextComponent.java
4781         (getListeners): New method,
4782         (getTextListeners): New method,
4783         * java/awt/TextField.java
4784         (getListeners): New method,
4785         (getActionListeners): New method.       
4786         * java/awt/Window.java
4787         (windowFocusListener): New member variable.
4788         (windowStateListener): New member variable.
4789         (getWindowFocusListeners): New method.
4790         (getWindowStateListeners): New method.
4791         (addWindowFocusListener): New method.
4792         (addWindowStateListener): New method.
4793         (removeWindowFocusListener): New method.
4794         (removeWindowStateListener): New method.
4795         * java/awt/datatransfer/DataFlavor.java
4796         (isRepresentationClassByteBuffer): New method.
4797         (isRepresentationClassCharBuffer): New method.
4798         (isRepresentationClassReader): New method.
4799
4800 2003-02-14  Mark Wielaard  <mark@klomp.org>
4801
4802         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4803         zero when there is an exponent and the significant is zero.
4804         (divide): Always set scale to newScale even in special ZERO case.
4805
4806 2003-02-14  Tom Tromey  <tromey@redhat.com>
4807
4808         * java/lang/System.java (properties): Use Properties.clone.
4809         (setProperties): Likewise.
4810
4811 2003-02-14  Michael Koch  <konqueror@gmx.de>
4812
4813         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4814         * gnu/java/nio/ServerSocketChannelImpl.java
4815         (SocketAccept): Removed.
4816         (accept): Commented out use of SocketAccept.
4817
4818 2003-02-13  Tom Tromey  <tromey@redhat.com>
4819
4820         * verify.cc (state::seen_subrs): New field.
4821         (state::state): Initialize it.
4822         (state::clean_subrs): New method.
4823         (state::~state): Call it.
4824         (state::copy): Copy subroutine list.
4825         (state::add_subr): New method.
4826         (state::merge): Only register a change if the current subroutine
4827         hasn't yet been noted.
4828
4829 2003-02-13  Mark Wielaard  <mark@klomp.org>
4830
4831         * java/io/InputStreamReader.java (getEncoding): Return null when
4832         closed.
4833         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4834
4835 2003-02-13  Mark Wielaard  <mark@klomp.org>
4836  
4837         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4838         is zero.
4839
4840 2003-02-13  Mark Wielaard  <mark@klomp.org>
4841
4842         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4843         next byte cannot be buffered.
4844
4845 2003-02-13  Michael Koch  <konqueror@gmx.de>
4846  
4847         * java/awt/Label.java
4848         (Label): Don't implement Serializable directly.
4849         (addNotify): Fixed typo in documentation.
4850         * java/awt/List.java
4851         (List): Don't implement Serializable directly.
4852         * java/awt/PopupMenu.java
4853         (PopupMenu): Don't implement Serializable directly.
4854         * java/awt/ScrollPane.java
4855         (ScrollPane): Don't implement Serializable directly.
4856         * java/awt/Scrollbar.java
4857         (Scrollbar): Don't implement Serializable directly.
4858         * java/awt/TextArea.java
4859         (preferredSize): Fixed method arguments.
4860         * java/awt/TextField.java
4861         (TextField): Don't implement Serializable directly.
4862         * java/awt/color/ICC_ColorSpace.java
4863         (fromCIOXYZ): Documentation added.
4864         (getMinValue): Documentation added.
4865         (getMaxValue): Documentation added.
4866         * java/awt/datatransfer/DataFlavor.java
4867         (isMimeTypeEqual): May not be final.
4868         (clone): Throws CloneNotSupportedException.
4869         (getReaderForText): Don't throws UnsupportedEncodingException.
4870
4871 2003-02-13  Michael Koch  <konqueror@gmx.de>
4872  
4873         * gnu/java/awt/peer/gtk/GdkGraphics.java
4874         (drawString): New stubbed method.
4875         * java/awt/Graphics.java
4876         (drawString): New method.
4877
4878 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4879
4880         PR libgcj/9271:
4881         * java/security/SecureRandom.java (next): Avoid bias in results.
4882
4883 2003-02-13  Michael  <konqueror@gmx.de>
4884
4885         * gnu/java/nio/FileChannelImpl.java
4886         (lengthInternal): Must be native.
4887         (size): Check if channel is already closed.
4888         (implCloseChannel): Reformated.
4889         (read): w was unused, removed it.
4890         (read): Removed.
4891         (read): New method.
4892         (write): New method.
4893         (map): Check arguments.
4894         (force): Throws IOException, check if channel is closed.
4895         (transferTo): New method.
4896         (transferFrom): New method.
4897         (lock): New method.
4898         (tryLock): New method.
4899         (position): New method.
4900         (truncate): New method.
4901         (nio_mmap_file): Uncommented.
4902         (nio_munmap_file): Uncommented.
4903         (nio_msync): Uncommented.
4904         * gnu/java/nio/natFileChannelImpl.cc: New file.
4905         
4906 2003-02-13  Michael Koch  <konqueror@gmx.de>
4907
4908         * java/nio/ByteBuffer.java
4909         (endian): New member variable.
4910         (get): New methods.
4911         (equals): New method.
4912         (compareTo): New method.
4913         (order): New methods.
4914         (compact): New method.
4915         (isDirect): New method.
4916         (slice): New method.
4917         (duplicate): New method.
4918         (asReadOnlyBuffer): New method.
4919         (asCharBuffer): New method.
4920         (asDoubleBuffer): New method.
4921         (asFloatBuffer): New method.
4922         (asIntBuffer): New method.
4923         (asLongBuffer): New method.
4924         (asShortBuffer): New method.
4925         (get*): New methods.
4926         (put*): New methods.
4927         (toString): New method.
4928         * java/nio/CharBuffer.java
4929         (CharBuffer): Implement Comparable instead of Cloneable.
4930         (get): May not be final.
4931         (put): May not be final.
4932         
4933 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4934
4935         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4936         lastIndexOf( ) instead of indexOf( ) to find the colon before
4937         the line number, because Win32 file names might contain a 
4938         drive letter and a colon at the start of an absolute path.
4939
4940 2003-02-13  Michael Koch  <konqueror@gmx.de>
4941
4942         * gnu/java/nio/natSocketChannelImpl.cc
4943         (SocketConnect): This is not implemented yet.
4944         (SocketBind): This is not implemented yet.
4945
4946 2003-02-13  Michael Koch  <konqueror@gmx.de>
4947
4948         * gnu/java/nio/natByteBufferImpl.cc,
4949         gnu/java/nio/natCharBufferImpl.cc,
4950         gnu/java/nio/natDoubleBufferImpl.cc,
4951         gnu/java/nio/natFloatBufferImpl.cc,
4952         gnu/java/nio/natIntBufferImpl.cc,
4953         gnu/java/nio/natLongBufferImpl.cc,
4954         gnu/java/nio/natShortBufferImpl.cc:
4955         Added copyright and license.
4956         * java/nio/DoubleBuffer.java,
4957         java/nio/FloatBuffer.java,
4958         java/nio/IntBuffer.java,
4959         java/nio/LongBuffer.java,
4960         java/nio/ShortBuffer.java
4961         (array): Throw exceptions.
4962         (arrayOffset): Throw exceptions.
4963
4964 2003-02-13  Michael Koch  <konqueror@gmx.de>
4965  
4966         * gnu/java/util/prefs/FileBasedFactory.java,
4967         gnu/java/util/prefs/MemmoryBasedFactory.java,
4968         gnu/java/util/prefs/MemoryBasedPreferences.java,
4969         gnu/java/util/prefs/NodeReader.java,
4970         gnu/java/util/prefs/NodeWriter.java,
4971         java/util/prefs/AbstractPreferences.java,
4972         java/util/prefs/BackingStoreException.java,
4973         java/util/prefs/InvalidPreferencesFormatException.java,
4974         java/util/prefs/NodeChangeEvent.java,
4975         java/util/prefs/NodeChangeListener.java,
4976         java/util/prefs/PreferenceChangeEvent.java,
4977         java/util/prefs/PreferenceChangeListener.java,
4978         java/util/prefs/Preferences.java,
4979         java/util/prefs/PreferencesFactory.java:
4980         New files, all merged from classpath.
4981         * Makefile.am
4982         (ordinary_java_source_files): Added the following files:
4983         gnu/java/util/prefs/FileBasedFactory.java,
4984         gnu/java/util/prefs/MemmoryBasedFactory.java,
4985         gnu/java/util/prefs/MemoryBasedPreferences.java,
4986         gnu/java/util/prefs/NodeReader.java,
4987         gnu/java/util/prefs/NodeWriter.java,
4988         (core_java_source_files): Added the following files:
4989         java/util/prefs/AbstractPreferences.java,
4990         java/util/prefs/BackingStoreException.java,
4991         java/util/prefs/InvalidPreferencesFormatException.java,
4992         java/util/prefs/NodeChangeEvent.java,
4993         java/util/prefs/NodeChangeListener.java,
4994         java/util/prefs/PreferenceChangeEvent.java,
4995         java/util/prefs/PreferenceChangeListener.java,
4996         java/util/prefs/Preferences.java,
4997         java/util/prefs/PreferencesFactory.java
4998         * Makefile.in: Regenerated.
4999  
5000 2003-02-13  Michael Koch  <konqueror@gmx.de>
5001
5002         * java/net/NetPermission.java
5003         (NetPermission): Make doucmentation match the method declaration.
5004         * java/net/NetworkInterface.java
5005         (equals): Reformated for GNU coding style.
5006         * java/net/ServerSocket.java: Merged with classpath.
5007         * java/net/Socket.java: Partly merged with classpath (Added some @since).
5008         * java/net/SocketImpl.java
5009         (localPort): Merged with classpath (initialize with -1).
5010         * java/net/SocketPermission.java: Merged with classpath (reindented).
5011         * java/net/URLDecoder.java: Merged with classpath (reindented).
5012
5013 2003-02-13  Michael Koch  <konqueror@gmx.de>
5014
5015         * java/awt/GridBagConstraints.java
5016         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5017         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5018         * java/awt/KeyboardFocusManager.java
5019         (setGlobalCurrentFocusCycleRoot): Must be public.
5020         * java/awt/MenuComponent.java
5021         (MenuComponent): Must be public.
5022         * java/awt/Toolkit.java:
5023         Added some empty lines to make documentation more readable.
5024         (getFontPeer): Added @deprecated.
5025         (getColorModel): Added exception documentation.
5026         (getProperty): Fixed documentation.
5027  
5028 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
5029
5030         * configure.host (alpha*-*): Default to -mieee.
5031         * configure.in (IEEESPEC): New.
5032         * libgcj.spec.in (jc1): Add IEEESPEC.
5033         * configure: Rebuild.
5034
5035 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5036
5037         * include/win32.h: Include ws2tcpip.h instead of
5038         winsock.h to obtain definition of the socklen_t type.
5039         Remove IP_TOS definition - not needed with ws2tcpip.h
5040         (_Jv_connect): Correct slight formatting error.
5041
5042 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5043
5044         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5045         size of the arguments for a JNI function. For Win32,
5046         modify to search for all forms of possible exported
5047         names of an stdcall JNI function.
5048         (_Jv_JNIMethod::call): Modify to calculate the size
5049         of the arguments passed to a JNI function and pass
5050         it to _Jv_LookupJNIMethod.
5051
5052 2003-02-12  Michael Koch  <konqueror@gmx.de>
5053
5054         * java/nio/channels/Channels.java: New file.
5055         * Makefile.am
5056         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5057         * Makefile.in: Regenerated.
5058
5059 2003-02-12  Michael Koch  <konqueror@gmx.de>
5060
5061         * java/nio/ByteBuffer.java
5062         (allocate): Implemented.
5063         (wrap): Implemented.
5064         * java/nio/CharBuffer.java:
5065         Some documentation added and reworked.
5066         (endian): Removed.
5067         (allocate): Implemented.
5068         (wrap): Implemented.
5069         (array): Throw exceptions.
5070         (arrayOffset): Throw exceptions.
5071         (toString): Implemented.
5072         (length): Implemented.
5073         (put): Implemented.
5074         (charAt): Implemented.
5075
5076 2003-02-11  John Leuner  <jewel@debian.org>
5077
5078         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
5079         reads from end of file.
5080
5081 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
5082
5083         * java/io/natFileDescriptorWin32.cc 
5084         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5085         returns with Win32 error code ERROR_BROKEN_PIPE.
5086
5087 2003-02-11  Michael Koch  <konqueror@gmx.de>
5088
5089         * Makefile.in
5090         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5091
5092 2003-02-11  Michael Koch  <konqueror@gmx.de>
5093
5094         * gnu/java/nio/ByteBufferImpl.java:
5095         Reformated and removed some code.
5096         (backing_buffer): Removed.      
5097         (array_offset): Removed.
5098         (ro): Renamed to readOnly.
5099         (ByteBufferImpl): Use parent constructor, initialize readOnly.
5100         * gnu/java/nio/CharBufferImpl.java:
5101         Reformated and removed some code.
5102         (array_offset): Removed.
5103         (ro): Renamed to readOnly.
5104         (CharBufferImpl): Use parent constructor, initialize readOnly.
5105         (inc_pos): Removed.
5106         (order): New method.
5107         * gnu/java/nio/DoubleBufferImpl.java:
5108         Reformated and removed some code.
5109         (array_offset): Removed.
5110         (ro): Renamed to readOnly.
5111         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5112         (inc_pos): Removed.
5113         (order): New method.
5114         * gnu/java/nio/FloatBufferImpl.java:
5115         Reformated and removed some code.
5116         (array_offset): Removed.
5117         (ro): Renamed to readOnly.
5118         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5119         (inc_pos): Removed.
5120         (order): New method.
5121         * gnu/java/nio/IntBufferImpl.java:
5122         Reformated and removed some code.
5123         (array_offset): Removed.
5124         (ro): Renamed to readOnly.
5125         (IntBufferImpl): Use parent constructor, initialize readOnly.
5126         (inc_pos): Removed.
5127         (order): New method.
5128         * gnu/java/nio/LongBufferImpl.java:
5129         Reformated and removed some code.
5130         (array_offset): Removed.
5131         (ro): Renamed to readOnly.
5132         (LongBufferImpl): Use parent constructor, initialize readOnly.
5133         (inc_pos): Removed.
5134         (order): New method.
5135         * gnu/java/nio/ShortBufferImpl.java:
5136         Reformated and removed some code.
5137         (array_offset): Removed.
5138         (ro): Renamed to readOnly.
5139         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5140         (inc_pos): Removed.
5141         (order): New method.
5142         * Makefile.am
5143         (ordinary_java_source_files): Added the following files:
5144         gnu/java/nio/ByteBufferImpl.java
5145         gnu/java/nio/CharBufferImpl.java
5146         gnu/java/nio/DoubleBufferImpl.java
5147         gnu/java/nio/FloatBufferImpl.java
5148         gnu/java/nio/IntBufferImpl.java
5149         gnu/java/nio/LongBufferImpl.java
5150         gnu/java/nio/ShortBufferImpl.java
5151         java/nio/DoubleBuffer.java
5152         java/nio/FloatBuffer.java
5153         java/nio/IntBuffer.java
5154         java/nio/LongBuffer.java
5155         java/nio/ShortBuffer.java
5156         (nat_source_files): Added the following files:
5157         gnu/java/nio/natByteBufferImpl.cc
5158         gnu/java/nio/natCharBufferImpl.cc
5159         gnu/java/nio/natDoubleBufferImpl.cc
5160         gnu/java/nio/natFloatBufferImpl.cc
5161         gnu/java/nio/natIntBufferImpl.cc
5162         gnu/java/nio/natLongBufferImpl.cc
5163         gnu/java/nio/natShortBufferImpl.cc
5164         * Makefile.in: Regenerated.
5165
5166 2003-02-11  Michael Koch  <konqueror@gmx.de>
5167
5168         * gnu/java/nio/natCharBufferImpl.cc
5169         (nio_cast): Removed.
5170         (nio_put_*): Removed.
5171         (nio_get_*): Removed.
5172         * gnu/java/nio/natDoubleBufferImpl.cc
5173         (nio_cast): Removed.
5174         (nio_put_*): Removed.
5175         (nio_get_*): Removed.
5176         * gnu/java/nio/natFloatBufferImpl.cc
5177         (nio_cast): Removed.
5178         (nio_put_*): Removed.
5179         (nio_get_*): Removed.
5180         * gnu/java/nio/natIntBufferImpl.cc
5181         (nio_cast): Removed.
5182         (nio_put_*): Removed.
5183         (nio_get_*): Removed.
5184         * gnu/java/nio/natLongBufferImpl.cc
5185         (nio_cast): Removed.
5186         (nio_put_*): Removed.
5187         (nio_get_*): Removed.
5188         * gnu/java/nio/natShortBufferImpl.cc
5189         (nio_cast): Removed.
5190         (nio_put_*): Removed.
5191         (nio_get_*): Removed.
5192         * gnu/java/nio/SelectorProviderImpl.java
5193         (openDatagramChannel): Throws IOException.
5194         (openPipe): Throws IOException.
5195         (openSelector): Throws IOException.
5196         (openServerSocketChannel): Throws IOException.
5197         (openSocketChannel): Throws IOException.
5198         * gnu/java/nio/ServerSocketChannelImpl.java
5199         (ServerSocketChannelImpl): Throws IOException.
5200         (implCloseSelectableChannel): Throws IOException.
5201         (implConfigureBlocking): Throws IOException.
5202         * java/nio/ByteBuffer.java
5203         (readOnly): Removed.
5204         (hasArray): Use isReadOnly() instead of readOnly.
5205         (array): Use isReadOnly() instead of readOnly.
5206         (arrayOffset): Use isReadOnly() instead of readOnly.
5207         * java/nio/CharBuffer.java
5208         (CharBuffer): Implements Cloneable and CharSequence.
5209
5210 2003-02-11  Michael Koch  <konqueror@gmx.de>
5211
5212         * java/nio/DoubleBuffer.java
5213         (DoubleBuffer): Implements Comparable.
5214         (endian): Removed.
5215         (array_offset): New member variable.
5216         (DoubleBuffer): New constuctor.
5217         (get): May not be final.
5218         (put): May not be final.
5219         (arrayOffset): Implemented.
5220         (order): Made abstract.
5221         (order): Removed.
5222         (as*Buffer): Removed.
5223         (get*): Removed.
5224         (put*): Removed.
5225         * java/nio/FloatBuffer.java
5226         (FloatBuffer): Implements Comparable.
5227         (endian): Removed.
5228         (array_offset): New member variable.
5229         (FloatBuffer): New constuctor.
5230         (get): May not be final.
5231         (put): May not be final.
5232         (arrayOffset): Implemented.
5233         (order): Made abstract.
5234         (order): Removed.
5235         (as*Buffer): Removed.
5236         (get*): Removed.
5237         (put*): Removed.
5238         * java/nio/IntBuffer.java
5239         (IntBuffer): Implements Comparable.
5240         (endian): Removed.
5241         (array_offset): New member variable.
5242         (IntBuffer): New constuctor.
5243         (get): May not be final.
5244         (put): May not be final.
5245         (arrayOffset): Implemented.
5246         (order): Made abstract.
5247         (order): Removed.
5248         (as*Buffer): Removed.
5249         (get*): Removed.
5250         (put*): Removed.
5251         * java/nio/LongBuffer.java
5252         (LongBuffer): Implements Comparable.
5253         (endian): Removed.
5254         (array_offset): New member variable.
5255         (LongBuffer): New constuctor.
5256         (get): May not be final.
5257         (put): May not be final.
5258         (arrayOffset): Implemented.
5259         (order): Made abstract.
5260         (order): Removed.
5261         (as*Buffer): Removed.
5262         (get*): Removed.
5263         (put*): Removed.
5264         * java/nio/ShortBuffer.java
5265         (ShortBuffer): Implements Comparable.
5266         (endian): Removed.
5267         (array_offset): New member variable.
5268         (ShortBuffer): New constuctor.
5269         (get): May not be final.
5270         (put): May not be final.
5271         (arrayOffset): Implemented.
5272         (order): Made abstract.
5273         (order): Removed.
5274         (as*Buffer): Removed.
5275         (get*): Removed.
5276         (put*): Removed.
5277
5278 2003-02-11   Michael Koch  <konqueror@gmx.de>
5279
5280         * java/nio/channels/SelectionKey.java
5281         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5282         values.
5283
5284 2003-02-11  Michael Koch  <konqueror@gmx.de>
5285
5286         * java/nio/channels/DatagramChannel.java
5287         (write): Throws IOException.
5288         (connect): Throws IOException.
5289         (disconnect): Throws IOException.
5290         (read): Throws IOException.
5291         (receive): Throws IOException.
5292         (send): Throws IOException.
5293         * java/nio/channels/Pipe.java
5294         (open): Throws IOException.
5295         * java/nio/channels/SelectableChannel.java
5296         (configureBlocking): Throws IOException.
5297         * java/nio/channels/ServerSocketChannel.java
5298         (accept): Throws IOException.
5299         * java/nio/channels/SocketChannel.java
5300         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5301         GatheringByteChannel.
5302         (read): Throws IOException.
5303         (write): Throws IOException.
5304         (finishConnect): Throws IOException.
5305         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5306         (end): Throws AsynchronousCloseException.
5307         * java/nio/channels/spi/AbstractSelectableChannel.java
5308         (configureBlocking): Throws IOException.
5309         (implCloseChannel): Throws IOException.
5310         (implCloseSelectableChannel): Throws IOException.
5311         (implConfigureBlocking): Throws IOException.
5312         * java/nio/channels/spi/SelectorProvider.java
5313         (openDatagramChannel): Throws IOException.
5314         (openPipe): Throws IOException.
5315         (openSelector): Throws IOException.
5316         (openServerSocketChannel): Throws IOException.
5317         (openSocketChannel): Throws IOException.
5318
5319 2003-02-11  Michael Koch  <konqueror@gmx.de>
5320
5321         * gnu/java/nio/FileLockImpl.java,
5322         java/nio/channels/FileLock.java: New files.
5323
5324 2003-02-11  Michael Koch  <konqueror@gmx.de>
5325
5326         * java/nio/charset/IllegalCharsetNameException.java
5327         (serialVersionUID): New member variable.
5328         (charsetName): New member variable.
5329         (IllegalCharsetException): New implementation.
5330         (getCharsetName): New implementation.
5331         * java/nio/charset/UnsupportedCharsetException.java
5332         (serialVersionUID): New member variable.
5333         (charsetName): New member variable.
5334         (UnsupportedCharsetException): New implementation.
5335         (getCharsetName): New implementation.
5336
5337 2003-02-10  Tom Tromey  <tromey@redhat.com>
5338
5339         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5340         (ex): Renamed from sqlException.
5341
5342 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5343
5344         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5345         method used to ensure seeding has occurred and that a specific 
5346         seed can be set and used.
5347
5348 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5349
5350         * java/lang/Win32Process.java (destroy): Declare as native.
5351         (hasExited): New native method.
5352         (exitValue): Define.
5353         (getErrorStream): Likewise.
5354         (getInputStream): Likewise.
5355         (getOutputStream): Likewise.
5356         (waitFor): Declare as native.
5357         (startProcess): New native method.
5358         (cleanup): Likewise.
5359         (ConcreteProcess): Define.
5360         (outputStream, inputStream, errorStream): New members.
5361         (procHandle, exitCode): Likewise.
5362
5363         * java/lang/natWin32Process.cc
5364         (java::lang::ConcreteProcess::cleanup): Define.
5365         (java::lang::ConcreteProcess::destroy): Likewise.
5366         (java::lang::ConcreteProcess::hasExited): Likewise.
5367         (java::lang::ConcreteProcess::waitFor): Likewise.
5368         (new_string): Likewise.
5369         (java::lang::ConcreteProcess::startProcess): Likewise.
5370
5371 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5372
5373         * java/math/BigInteger.java:
5374         Updated notice to include years 2002 and 3.
5375         Added 2 private (int) arrays with values from the HAC (Handbook of
5376         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5377         and t[] that contains nbr. of tests --used in isProbablePrime().
5378
5379         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5380
5381         * java/math/BigInteger.java (make(int[],int), add(int,int),
5382         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5383         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5384         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5385         make(long).
5386
5387         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5388         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5389         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5390         BIs and returns void.
5391         (modInverse(BI)): Use new signatures of euclidInv().
5392
5393         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5394         static small primes instead of remainder().
5395         Use pre-computed max nbr of trials based on bitlength of BI to test.
5396         Use pre-computed small primes for the trial tests instead of random
5397         numbers.
5398
5399         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5400         not used.
5401
5402         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5403         invoacation of MPN.chars_per_word().  not used.
5404
5405         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5406         local var and used where needed.
5407
5408         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5409         Combined declaration with initialisation of locals.
5410         Removed unused var.
5411
5412         * java/math/BigInteger.java: Style changes
5413         (pow(int)): Removed 'else' keyword.
5414         (toString(int)): idem.
5415         (doubleValue()): idem.
5416         (bitLength()): idem.
5417         (equals(Object)): Use static methods name in same class w/o prepending
5418         class name.
5419         (doubleValue()): idem.
5420         (setNegative(BI)): idem.
5421         (negate()): idem.
5422         (and(BI,int)): idem.
5423         (and(BI)): idem.
5424         (gcd(BI)): idem.
5425         (byteArrayToIntArray()): Removed casting to (int). this is
5426         std. behaviour.
5427         (canonicalize()): idem.
5428         (alloc(int)): Always instantiate a new BI.
5429
5430 2003-02-10  Tom Tromey  <tromey@redhat.com>
5431
5432         * java/sql/Timestamp.java (compareTo(Object)): New method.
5433         (compareTo(Timestamp)): Likewise.
5434         (serialVersionUID): Updated.
5435
5436 2003-02-07  Mark Wielaard  <mark@klomp.org>
5437
5438         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5439         when verify is true.
5440         (JarFile(File, boolean)): Likewise.
5441         (manifestRead): Set manifestRead field correctly.
5442
5443 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5444
5445         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5446         tests; see patch #1016 on Savannah.
5447
5448 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5449
5450         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5451         (toString): do not return Strings starting with . and - erroneously.
5452         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5453         DiagBigDecimal.
5454
5455 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5456
5457         * java/beans/PropertyDescriptor.java
5458         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5459         methods.
5460         (PropertyDescriptor(String, Class, String, String)): Likewise.
5461         (PropertyDescriptor(String, Method, Method): Factor out getter and
5462         setter method sanity checks into new method.
5463         (findMethods): Don't do parameter sanity checking of get method here.
5464         (checkMethods): New method.
5465
5466 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5467
5468         * java/beans/PropertyDescriptor.java: Reformat.
5469
5470 2003-02-04  Tom Tromey  <tromey@redhat.com>
5471
5472         * java/io/PipedOutputStream.java (flush): Declare as throwing
5473         IOException.
5474         (close): Likewise.
5475         * java/io/PipedWriter.java (close): Declare as throwing
5476         IOException.
5477         * java/io/StringWriter.java (close): Declare as throwing
5478         IOException.
5479
5480 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5481
5482         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5483         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5484         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5485         "_JNI_OnLoad@8" (MSVC).
5486
5487 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5488
5489         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5490         convention on Win32 to invoke native JNI methods.
5491
5492 2003-02-03  Andrew Haley  <aph@redhat.com>
5493
5494         * configure.host (x86_64): Enable interpreter.
5495
5496 2003-02-03  Andrew Haley  <aph@redhat.com>
5497
5498         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5499         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5500         * configure.in (BACKTRACESPEC): New.
5501         * configure: Regenerate.
5502
5503 2003-02-02  Tom Tromey  <tromey@redhat.com>
5504
5505         * configure: Rebuilt.
5506         * configure.in (TOOLKIT) [xlib]: Set correctly.
5507
5508         * Makefile.in: Rebuilt.
5509         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5510         libstdc++.
5511
5512 2003-01-31  Mark WIelaard  <mark@klomp.org>
5513
5514         * Makefile.in: Rebuilt.
5515         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5516
5517 2003-01-31  Tom Tromey  <tromey@redhat.com>
5518
5519         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5520         cast to element type.
5521         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5522         (_Jv_JNI_GetObjectArrayElement): Likewise.
5523
5524         * Makefile.in: Rebuilt.
5525         * Makefile.am (cond_x_ltlibrary): Renamed library to
5526         lib-gnu-awt-xlib.la.
5527         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5528         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5529         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5530         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5531         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5532         (lib_gnu_awt_xlib_la_LINK): Likewise.
5533         (install-exec-hook): Removed.
5534         (lib-gnu-awt-xlib.la): Renamed.
5535
5536 2003-01-31  Tom Tromey  <tromey@redhat.com>
5537
5538         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5539         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5540         aclocal.m4 and lost in some merge.
5541
5542         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5543         Don't try to find graphics configuration.
5544         * java/awt/Toolkit.java (default_toolkit_name): Use new
5545         Configuration entry.
5546         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5547         New global.
5548         * configure: Rebuilt.
5549         * configure.in (TOOLKIT): New subst.
5550         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5551         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5552         directory.  Make output directories for .c files.
5553         * Makefile.in: Rebuilt.
5554         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5555         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5556         (all_java_source_files): Added new sources.
5557         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5558         (gtk_c_files): New macro.
5559         (gtk_c_source_files): New macro.
5560         (cond_gtk_ltlibrary): New macro.
5561         ($(gtk_c_files)): New target.
5562         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5563         (gtk_awt_peer_sources): New macro.
5564         (gtk_c_headers): New macro.
5565         ($(gtk_c_headers)): New target.
5566         (ACLOCAL_AMFLAGS): New macro.
5567         * gtk.m4, glib.m4, libart.m4: New files.
5568         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5569         gnu/java/awt/peer/gtk/GdkGraphics.java,
5570         gnu/java/awt/peer/gtk/GtkArg.java,
5571         gnu/java/awt/peer/gtk/GtkArgList.java,
5572         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5573         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5574         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5575         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5576         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5577         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5578         gnu/java/awt/peer/gtk/GtkClipboard.java,
5579         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5580         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5581         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5582         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5583         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5584         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5585         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5586         gnu/java/awt/peer/gtk/GtkImage.java,
5587         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5588         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5589         gnu/java/awt/peer/gtk/GtkListPeer.java,
5590         gnu/java/awt/peer/gtk/GtkMainThread.java,
5591         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5592         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5593         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5594         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5595         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5596         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5597         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5598         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5599         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5600         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5601         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5602         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5603         gnu/java/awt/peer/gtk/GtkToolkit.java,
5604         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5605         gnu/java/awt/peer/gtk/TestAWT.java,
5606         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5607         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5608         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5609         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5610         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5611         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5612         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5613         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5614         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5615         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5616         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5617         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5618         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5619         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5620         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5621         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5622         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5623         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5624         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5625         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5626         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5627         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5628         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5629         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5630         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5631         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5632         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5633         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5634         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5635         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5636         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5637         jni/classpath/native_state.c, jni/classpath/native_state.h,
5638         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5639
5640 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5641
5642         * java/util/Properties.java (load): Ignore backslash before EOF.
5643
5644 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5645
5646         * java/lang/natClass.cc (initializeClass): Check tables when
5647         (state == JV_STATE_IN_PROGRESS).
5648         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5649         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5650         interpreted classes.
5651         (linkClass0): Use _Jv_WaitForState.
5652
5653 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5654
5655         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5656         object when finished.
5657
5658 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5659
5660         * libjava/configure.host: Disable can_unwind_signal on darwin.
5661
5662 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5663
5664         Fixes PR java/9254:
5665         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5666         additionally containing id of the owner thread as well as
5667         the number of nested times the thread has acquired the mutex.
5668         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5669         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5670         (_Jv_MutexUnlock): Check if really the owner thread, reset
5671         owner thread id to 0 before leaving, if leaving for the last
5672         time.
5673         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5674         refcount.
5675         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5676         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5677         the passed mutex.
5678         Pass handle of the broadcast event, instead of a pointer to it
5679         in Win32 ResetEvent( ) call.
5680         Remove incorrect return values.
5681         (_Jv_CondDestroy): Close both event handles and delete
5682         critical section.
5683         (_Jv_CondNotify): Check if really the owner thread.
5684         (_Jv_CondNotifyAll): Check if really the owner thread.
5685         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5686         (really_start): Use SetEvent( ) to signal daemon_cond.
5687         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5688         WaitForSingleObject( ) instead to wait for daemon_cond to be
5689         signalled.
5690
5691 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5692
5693         * configure.in: Specifically define HAVE_BACKTRACE if building
5694         for MinGW.
5695         * include/win32.h: Remove HAVE_BACKTRACE definition.
5696         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5697         * configure: Rebuilt.
5698
5699 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5700
5701         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5702         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5703         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5704         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5705         * Makefile.in, configure: Rebuilt.
5706
5707 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5708
5709         Fixes PR java/9253:
5710         * java/io/natFileWin32.cc (performList): Append only "*.*"
5711         if the canonical file path already has a "\" at the end.
5712
5713 2003-01-24  Tom Tromey  <tromey@redhat.com>
5714
5715         * defineclass.cc (handleMethodsEnd): Precompute code for static
5716         method.
5717         (handleCodeAttribute): Likewise.
5718         * resolve.cc (ncode): Use run_class for unsynchronized static
5719         methods.
5720         * include/java-interp.h (class _Jv_InterpMethod): Declare
5721         run_class.
5722         * interpret.cc (run_synch_class): Initialize class.
5723         (run) [insn_invokestatic]: Don't initialize class.
5724         [insn_anewarray]: Likewise.
5725         [insn_multianewarray]: Likewise.
5726         (run_class): New function.
5727
5728 2003-01-24  Tom Tromey  <tromey@redhat.com>
5729
5730         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5731         comment.
5732
5733 2003-01-22  Andrew Haley  <aph@redhat.com>
5734
5735         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5736         * configure.host (CHECKREFSPEC): Define for x86_64.
5737
5738 2003-01-21  Tom Tromey  <tromey@redhat.com>
5739
5740         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5741         search at 2, not 3.
5742
5743 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5744
5745         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5746         looking at any characters.
5747         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5748         be used.
5749         (isAbsolute): Check path's length as well.
5750
5751 2003-01-17  Mark Wielaard  <mark@klomp.org>
5752
5753         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5754         (nat_source_files): Add natVMObjectStreamClass.cc.
5755         * Makefile.in: Regenerated.
5756         * gcj/javaprims.h (namespace java): Regenerated.
5757         * java/io/ObjectStreamClass.java (getClassUID): Call
5758         VMObjectStreamClass.hasClassInitializer().
5759         (hasClassInitializer): Removed.
5760         * java/io/VMObjectStreamClass.java: New class.
5761         * java/io/natVMObjectStreamClass.cc: New file.
5762         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5763
5764 2003-01-16  Mark Wielaard  <mark@klomp.org>
5765
5766         * java/net/SocketImpl.java (toString): Don't explicitly call
5767         toString() on possible null address.
5768
5769 2003-01-16  Michael Koch  <konqueror@gmx.de>
5770
5771         * java/net/MulticastSocket.java
5772         (setInterface): Reindented.
5773
5774 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5775
5776         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5777         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5778         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5779         translateY arguments.  Implement.
5780         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5781         down translation arguments.
5782         (drawPolyline, drawPolygon): Fix incorrect tests.
5783         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5784         translateX and translateY arguments.
5785
5786 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5787
5788         * Makefile.in: Rebuilt.
5789         * Makefile.am (xlib_includes): New macro.
5790         (INCLUDES): Use it.
5791
5792 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5793
5794         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5795         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5796         16-bit display mode.
5797
5798 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5799
5800         * java/awt/CardLayout.java (show): Rewrote.
5801         (gotoComponent): Removed `target' argument.  Simplified code.
5802         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5803         Changed all callers.
5804         (NONE): Removed.
5805         
5806 2003-01-14  Michael Koch  <konqueror@gmx.de>
5807
5808         * java/net/InetSocketAddress.java
5809         (serialVersionUID): New member variable.
5810         * java/net/NetPermission.java
5811         (NetPermission): Dont implement java.io.Serialization directly.
5812         * java/net/SocketAddress.java:
5813         (serialVersionUID): Documentation added.
5814         
5815 2003-01-14  Michael Koch  <konqueror@gmx.de>
5816
5817         * java/awt/Label.java
5818         (Label): Implements javax.accessibility.Accessible;
5819         * java/awt/List.java
5820         (List): Implements javax.accessibility.Accessible;
5821         * java/awt/ScrollPane.java
5822         (ScrollPane): Implements javax.accessibility.Accessible;
5823         * java/awt/Scrollbar.java
5824         (Scrollbar): Implements javax.accessibility.Accessible;
5825         * java/awt/TextComponent.java
5826         (setCaretPosition): Throw exception, documentation added.
5827         * java/awt/Toolkit.java:
5828         Added some newlines in method documentations.
5829         (createButton): Exception documentation added.
5830         (createTextField): Exception documentation added.
5831         (createLabel): Exception documentation added.
5832         (createList): Exception documentation added.
5833         (createCheckbox): Exception documentation added.
5834         (createScrollbar): Exception documentation added.
5835         (createScrollPane): Exception documentation added.
5836         (createTextArea): Exception documentation added.
5837         (createChoice): Exception documentation added.
5838         (createFrame): Exception documentation added.
5839         (createWindow): Exception documentation added.
5840         (createDialog): Exception documentation added.
5841         (createMenuBar): Exception documentation added.
5842         (createMenu): Exception documentation added.
5843         (createMenuItem): Exception documentation added.
5844         (createFileDialog): Exception documentation added.
5845         (createCheckboxMenuItem): Exception documentation added.
5846         (loadSystemColors): Exception documentation added.
5847         (setDynamicLayout): Exception documentation added.
5848         (isDynamicLayoutSet): Exception documentation added.
5849         (isDynamicLayoutActive): Exception documentation added.
5850         (getScreenSize): Exception documentation added.
5851         (getScreenResolution): Exception documentation added.
5852         (getScreenInsets): Exception documentation added.
5853         (getColorModel): Exception documentation added.
5854         (getSystemClipboard): Exception documentation added.
5855         (getSystemSelection): Exception documentation added.
5856         (getMenuShortcutKeyMask): Exception documentation added.
5857         (getSystemEventQueue): Exception documentation added.
5858         * java/awt/Window.java:
5859         Reindented some code.
5860         (Window): Centralized implementation, documentation added.
5861         (finalize): Documentation added.
5862         (hide): Fixed typo in comment.
5863         (getWindowListeners): Documentation added.
5864         * java/awt/color/ColorSpace.java
5865         (toRGB): Documentation added.
5866         * java/awt/color/ICC_ColorSpace.java
5867         (ICC_ColorSpace): Documentation added.
5868         (toRGB): Throw exception, documentation added.
5869         (fromRGB): Throw exception, documentation added.
5870         (toCIEXYZ): Documentation added.
5871         (fromCIEXYZ): Documentation added.
5872         (getMinValue): Documentation added.
5873         (getMaxValue): Documentation added.
5874         * java/awt/geom/Dimension2D.java
5875         (clone): Documentation added.
5876         * java/awt/geom/GeneralPath.java
5877         (clone): Documentation added.
5878         * java/awt/geom/Line2D.java
5879         (clone): Documentation added.
5880         * java/awt/geom/QuadCurve2D.java
5881         (clone): Documentation added.
5882         * java/awt/image/ColorModel.java
5883         (ColorModel): Throw exception, documentation added.
5884         * java/awt/image/ImageFilter.java
5885         (clone): Doesnt throw CloneNotSupportedException.
5886
5887 2003-01-14  Andrew Haley  <aph@redhat.com>
5888
5889         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5890         in a try block.
5891
5892 2003-01-10  Andrew Haley  <aph@redhat.com>
5893
5894         * include/dwarf2-signal.h: Remove x86_64.
5895         * configure.host (x86_64 DIVIDESPEC): Remove.
5896         * include/x86_64-signal.h: New file.
5897         * configure.in: Regenerate.
5898
5899 2003-01-10  Michael Koch  <konqueror@gmx.de>
5900
5901         * java/net/DatagramSocket.java
5902         (ch): Description added.
5903         (remotePort): Initialize with -1.
5904         (connect): Doesnt throws SocketException.
5905         * java/net/MulticastSocket.java
5906         (setInterface): Merge with Classpath.
5907         * java/net/ServerSocket.java
5908         (closed): New member variable.
5909         (bind): Check if socket is closed.
5910         (close): Close an associated channel too, set new value to closed.
5911         (isBound): Reindented.
5912         (isClosed): Implemented.
5913         * java/net/Socket.java
5914         (closed): New member variable.
5915         (bind): Check if socket is closed.
5916         (connect): Check if socket is closed.
5917         (close): Close an associated channel too, set new value to closed.
5918         (isClosed): Implemented.
5919
5920 2003-01-10  Michael Koch  <konqueror@gmx.de>
5921
5922         * java/awt/DisplayMode.java
5923         (equals): Fixed argument type and implementation.
5924
5925 2003-01-07  Tom Tromey  <tromey@redhat.com>
5926
5927         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5928         JV_HASH_SYNCHRONIZATION.
5929         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5930         JV_HASH_SYNCHRONIZATION.
5931
5932 2003-01-07  Michael Koch  <konqueror@gmx.de>
5933  
5934         * java/net/DatagramSocket.java:
5935         Added classpath license info.
5936         (DatagramSocket): Merged description with classpath.
5937         (close): Merged description with classpath.
5938         (getChannel): Merged description with classpath.
5939         (getInetAddress): Merged description with classpath.
5940         (getPort): Merged description with classpath.
5941         (getLocalAddress): Merged description with classpath.
5942         (getLocalPort): Merged description with classpath.
5943         (getSoTimeout): Merged description with classpath.
5944         (setSoTimeout): Merged description with classpath.
5945         (getSendBufferSize): Merged description with classpath.
5946         (setSendBufferSize): Merged description with classpath.
5947         (getReceiveBufferSize): Merged description with classpath.
5948         (setReceiveBufferSize): Merged description with classpath.
5949         
5950 2003-01-04  Tom Tromey  <tromey@redhat.com>
5951
5952         * java/awt/List.java: Merged with Classpath.
5953
5954 2003-01-03  Mark Wielaard  <mark@klomp.org>
5955
5956         * java/io/FileDescriptor.java (position): New private field.
5957         * java/io/natFileDescriptorPosix.cc (write): Up position.
5958         (setLength): Use and set position.
5959         (seek): Set position.
5960         (getFilePointer): Return position.
5961         (read): Up position.
5962
5963 2003-01-03  Mark Wielaard  <mark@klomp.org>
5964
5965         Merge with Classpath:
5966         * java/io/ObjectStreamClass.java (lookup): Split method and call
5967         lookupForClassObject().
5968         (lookupForClassObject): New method.
5969         (isProxyClass): New field.
5970         (setClass): Set isProxyClass, add object to classLookupTable, set
5971         superClass and calculateOffsets.
5972         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5973         and not a proxy class.
5974         (setFields): Set accessible true for serialPersistentFields.
5975         (getClassUID): Same for suid. And check if suid is of type long.
5976         (hasClassInitializer): Don't throw NoSuchMethodError.
5977
5978 2003-01-03  Mark Wielaard  <mark@klomp.org>
5979
5980         * java/io/FileInputStream.java (finalize): Don't explicitly
5981         finalize FileDescriptor.
5982
5983 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5984
5985         * configure.host (sparc*-*): Enable bytecode interpreter.
5986
5987 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5988
5989         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5990         Don't throw RemoteException.
5991         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5992         throw RemoteException.
5993
5994 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5995
5996         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5997         proxyHost): New static fields.
5998         (<clinit>): Initialize new fields.
5999         (connect): Use proxy if necessary.
6000         (usingProxy): Implement.
6001
6002 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
6003
6004         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6005         (TreeIterator.remove): Prefer IllegalStateException over
6006         ConcurrentModificationException, to match Sun.
6007
6008 2002-12-22  Anthony Green  <green@redhat.com>
6009
6010         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6011
6012 2003-01-02  Mark Wielaard  <mark@klomp.org>
6013
6014         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6015         public.
6016         (HTTP_USE_PROXY): Add field.
6017         (getResponseVals): Only set responseCode when not yet explicitly
6018         set by subclass.
6019
6020 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
6021             Mark Wielaard  <mark@klomp.org>
6022
6023         * java/util/zip/ZipFile.java (entries): Now HashMap.
6024         (readLeShort(DataInput, byte[])): Read from given byte array.
6025         (readLeInt(DataInput, byte[]): Likewise.
6026         (readLeShort(byte[] b, int off)): New method.
6027         (readLeInt(byte[] b, int off)): Likewise.
6028         (readEntries): Use byte arrays to read info in bigger chunks.
6029         (getEntries): Return HashMap.
6030         (getEntry): Use HashMap.
6031         (locBuf): New private field.
6032         (checkLocalHeader): Use locBuf to read info in one chunk.
6033         (getInputStream): Use entries HashMap, wrap PartialInputStream
6034         in BufferedInputStream.
6035         (ZipEntryEnumeration): Use HashMap and Interator.
6036
6037 2003-01-02  Mark Wielaard  <mark@klomp.org>
6038             Jeroen Frijters  <jeroen@sumatra.nl>
6039
6040         * java/net/URLClassLoader.java (Resource.getCodeSource):
6041         Fix check certs == null.
6042         (getCanonicalFileURL): Removed method.
6043         (JarURLLoader): Don't call removed method.
6044         (FileURLLoader): Likewise.
6045         (FileURLLoader.getResource): Don't canonicalize file name.
6046
6047 2003-01-01  Tom Tromey  <tromey@redhat.com>
6048
6049         * Makefile.in: Rebuilt.
6050         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6051         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6052         java/awt/BufferCapabilities.java, java/awt/Button.java,
6053         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6054         java/awt/Container.java, java/awt/Cursor.java,
6055         java/awt/EventQueue.java, java/awt/FileDialog.java,
6056         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6057         java/awt/MenuBar.java, java/awt/MenuComponent.java,
6058         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6059         java/awt/Scrollbar.java, java/awt/TextArea.java,
6060         java/awt/TextField.java, java/awt/color/CMMException.java,
6061         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6062         java/awt/color/ProfileDataException.java,
6063         java/awt/datatransfer/Clipboard.java,
6064         java/awt/datatransfer/DataFlavor.java,
6065         java/awt/datatransfer/FlavorMap.java,
6066         java/awt/datatransfer/SystemFlavorMap.java,
6067         java/awt/dnd/DragGestureEvent.java,
6068         java/awt/dnd/DragGestureRecognizer.java,
6069         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6070         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6071         java/awt/im/InputMethodHighlight.java,
6072         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6073         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6074
6075         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6076         `op' to BufferedImageOp.
6077
6078 2002-12-31  Tom Tromey  <tromey@redhat.com>
6079
6080         Fix for PR libgcj/7416:
6081         * javax/naming/InitialContext.java (init): Use
6082         gnu.classpath.home.url.
6083         * java/security/Security.java: Use new properties.
6084         (loadProviders): Accept base url; use it.
6085         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6086         gnu.classpath.home.url.
6087         (gnu.classpath.home.url): Define.
6088         (gnu.classpath.vm.shortname): Likewise.
6089
6090 2002-12-31  Tom Tromey  <tromey@redhat.com>
6091             Ranjit Mathew  <rmathew@hotmail.com>
6092
6093         Fix for PR libgcj/8997:
6094         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6095         Include platform.h.
6096         * include/posix.h (_Jv_platform_usleep): New function.
6097         * include/win32.h (_Jv_platform_usleep): New function.
6098
6099 2002-12-29  Tom Tromey  <tromey@redhat.com>
6100
6101         * gcj/javaprims.h: Updated.
6102         * scripts/classes.pl (scan): Removed stray semicolon.
6103
6104 2002-12-30  Mark Wielaard  <mark@klomp.org>
6105
6106         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6107         if zero or smaller.
6108
6109 2002-12-30  Mark Wielaard  <mark@klomp.org>
6110
6111         * java/util/Properties (formatForOutput): Don't fall through to
6112         default case after escaping character.
6113
6114 2002-12-30  Mark Wielaard  <mark@klomp.org>
6115
6116         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6117         against count.
6118
6119 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6120
6121         * boehm.cc: Remove stray semicolon.
6122         * interpret.cc: Likewise.
6123         * prims.cc: Likewise.
6124         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6125         earlier to ensure default arguments are processed.
6126         * gcj/array.h (JArray): Add forward declaration.
6127         (elements): Likewise.
6128         * gcj/javaprim.h: Remove stray semicolons.
6129         * include/bohm-gc.h: Likewise.
6130         * include/jni.h: Likewise.
6131         * include/jvm.h: Likewise.
6132         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6133         
6134 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6135
6136         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6137         of catch_type.
6138         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6139         idt tables after initializing superclass.
6140         * java/lang/natClassLoader.cc (uaddr): New typedef.
6141         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6142         if they are constant pool indicies.  Don't link vtable, otable yet.
6143
6144 2002-12-21  Anthony Green  <green@redhat.com>
6145
6146         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6147         libraries.
6148         * Makefile.in: Rebuilt.
6149
6150 2002-12-19  Anthony Green  <green@redhat.com>
6151
6152         * Makefile.am (ordinary_java_source_files): Add
6153         org/xml/sax/helpers/NewInstance.java.
6154         * Makefile.in: Rebuilt.
6155         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6156         org/xml/sax/helpers/package.html: New files.
6157         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6158         http://www.saxproject.org.
6159
6160 2002-12-19  Andrew Haley  <aph@redhat.com>
6161
6162         * java/util/natResourceBundle.cc: Include
6163         ArrayIndexOutOfBoundsException.h.
6164         (getCallingClassLoader): Don't put upper bound on stack search.
6165         Catch ArrayIndexOutOfBoundsException.
6166
6167 2002-12-19  Tom Tromey  <tromey@redhat.com>
6168
6169         * libtool-version: Increased `current'.
6170
6171 2002-12-19  Tom Tromey  <tromey@redhat.com>
6172
6173         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6174         comment.
6175         * java/lang/ClassLoader.java (defineClass): Use chained
6176         exception when rethrowing.
6177         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6178         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6179         constants.
6180         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6181         (_Jv_PrepareClass): Use it.
6182         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6183         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6184         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6185         (Class): _Jv_PrepareMissingMethods now friend.
6186         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6187         Record `NULL' for system class loader.
6188         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6189         system class loader.
6190         (_Jv_FindClassInCache): Likewise.
6191         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6192         (_Jv_FindClass): Special case system class loader.
6193         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6194         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6195         vtable slots.
6196         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6197         in a final class.
6198         (_getDeclaredMethod): Don't return synthetic methods.
6199         (getDeclaredMethods): Likewise.
6200         (_getMethod): Likewise.
6201         (_getMethods): Likewise.
6202
6203 2002-12-18  Raif Naffah  <raif@fl.net.au>
6204
6205         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6206         canonical form after divide().
6207         (modInverse): Likewise.
6208
6209 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6210             Mark Wielaard  <mark@klomp.org>
6211
6212         * java/security/SecurityRandom (digest): Removed field.
6213         (SecureRandom): Check all providers for case-insensitive SecureRandom
6214         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6215         if necessary.
6216         (getInstance(String,Provider,boolean): New method.
6217         (getInstance(String)): Use new method.
6218         (getInstance(String,String)): Likewise.
6219         (getInstance(String,Provider)): Likewise.
6220
6221 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6222
6223         * java/security/Security.java (loadProviders): Increment i only once.
6224
6225 2002-12-12  Mark Wielaard  <mark@klomp.org>
6226
6227         * java/lang/ClassLoader.java (resolveClass0): Transform
6228         ClassNotFoundException to NoClassDefFoundError. Transform all other
6229         throwables to LinkageError.
6230
6231 2002-12-11  Tom Tromey  <tromey@redhat.com>
6232
6233         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6234
6235         * java/lang/ClassLoader.java (loadedClasses): New field.
6236         (defineClass): Fixed indentation.  Put new class in
6237         loadedClasses.
6238         (findLoadedClass): Implement here.
6239         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6240
6241 2002-12-10  Tom Tromey  <tromey@redhat.com>
6242
6243         * Makefile.in: Rebuilt.
6244         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6245         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6246         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6247         * java/lang/natClassLoader.cc
6248         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6249
6250 2002-12-10  Mark Wielaard  <mark@klomp.org>
6251             Tom Tromey  <tromey@redhat.com>
6252
6253         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6254         (JarURLLoader): Use it.
6255         (FileURLLoader): Likewise.
6256         (JarURLResource.getURL): Use chained exception.
6257         (FileResource.getURL): Likewise.
6258         (FileURLLoader.getResource): Use canonical file name.
6259         (addURL): Indentation fix.
6260
6261 2002-12-10  Tom Tromey  <tromey@redhat.com>
6262
6263         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6264         From Laurent Bardet <l.bardet@magic.fr>.
6265
6266 2002-12-09  Tom Tromey  <tromey@redhat.com>
6267
6268         * include/win32.h (_Jv_platform_solib_prefix): New define.
6269         (_Jv_platform_solib_suffix): Likewise.
6270         * include/posix.h (_Jv_platform_solib_prefix): New define.
6271         (_Jv_platform_solib_suffix): Likewise.
6272         * java/lang/natRuntime.cc: Include StackTrace.h.
6273         (_load): Use findLibrary and new platform defines.
6274         (nativeGetLibname): Use new platform defines.
6275
6276         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6277         `t' won't be null.
6278
6279 2002-12-08  Mark Wielaard  <mark@klomp.org>
6280
6281         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6282         cache remote jar files.
6283         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6284         add File.separator to URL when it is a directory.
6285         * java/lang/ClassLoader.java: Add Classpath javadoc.
6286         (parent): final.
6287         (getParent): Add (disabled) security check.
6288         (findLibrary): New default method.
6289         * java/net/JarURLConnection.java (getManifest): Implement.
6290         (getInputStream): Only create InputStream when entry exists.
6291         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6292         when they exist.
6293         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6294
6295 2002-12-08  Mark Wielaard  <mark@klomp.org>
6296
6297         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6298         (lastDefaultLocale): New field.
6299         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6300         resourceBundleCache.
6301
6302 2002-12-06  Mark Wielaard  <mark@klomp.org>
6303
6304         * java/net/InetAddress.java (toString): Use hostname when not null,
6305         don't do an explicit reverse getHostName() lookup.
6306         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6307         NullPointerException.
6308
6309 2002-12-06  Tom Tromey  <tromey@redhat.com>
6310
6311         * include/java-interp.h (class _Jv_InterpMethod): Added
6312         JV_MARKOBJ_DECL.
6313         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6314         mark `prepared' field of interpreted method.
6315         * interpret.cc (compile): Use _Jv_AllocBytes.
6316
6317 2002-12-05  Andrew Haley  <aph@redhat.com>
6318
6319         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6320         #ifdef (HAVE_BACKTRACE) around the whole function body.
6321
6322 2002-12-05  Tom Tromey  <tromey@redhat.com>
6323
6324         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6325         * resolve.cc: Don't include AbstractMethodError.h.
6326         (_Jv_abstractMethodError): Removed.
6327         * defineclass.cc (handleMethodsBegin): Initialize method index to
6328         -1.
6329         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6330         method index for "new" final method.
6331         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6332         isVirtualMethod.  Added `flags' argument.
6333         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6334         class.
6335
6336 2002-12-04  Tom Tromey  <tromey@redhat.com>
6337
6338         * java/net/SocketPermission.java (hashCode): Rewrote.
6339
6340 2002-12-04  Tom Tromey  <tromey@redhat.com>
6341
6342         * Makefile.in: Rebuilt.
6343         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6344         natResourceBundle.
6345         * java/util/ResourceBundle.java (Security): Removed.
6346         (getCallingClassLoader): Now native.
6347         * java/util/natResourceBundle.cc: New file.
6348         * java/lang/natVMSecurityManager.cc: New file.
6349         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6350
6351 2002-12-03  Mark Wielaard  <mark@klomp.org>
6352
6353         * java/util/jar/JarFile.java (manifest): Not final.
6354         (manifestRead): New field.
6355         (JarFile): Don't read Manifest in constructor.
6356         (getManifest): New method.
6357         (JarEnumeration.nextElement): Use new method.
6358         (getEntry): Likewise.
6359         * java/util/zip/ZipFile.java (name): Final.
6360         (raf): Likewsie.
6361         (entries): Change type to Hashtable.
6362         (closed): New field.
6363         (ZipFile): Don't read enties in constructor.
6364         (readEntries): Use Hashtable.
6365         (close): Set new close flag and set entries to null inside
6366         synchronized block.
6367         (entries): Contruct enumeration using new getEntries() method and
6368         entries Hashtable.
6369         (getEntryIndex): Removed.
6370         (getEntries): New method.
6371         (getEntry): Use new getEntries() method and entries Hastable.
6372         (getInputStream): Likewise.
6373         (size): Return getEntries().size().
6374         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6375         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6376         (time): Removed
6377         (dostime): New field.
6378         (zipFileIndex): Removed.
6379         (ZipEntry(ZipEntry)): Copy dostime.
6380         (setDOSTime): Now final and doesn't convert dos time.
6381         (getDOSTime): Likewise.
6382         (setTime): Convert dos time.
6383         (getTime): Likewise.
6384         (getCalendar): New method.
6385         (setExtra): Use setTime().
6386         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6387
6388 2002-12-03  Tom Tromey  <tromey@redhat.com>
6389
6390         * java/lang/Character.java (forDigit): Formatting fix.
6391
6392 2002-12-03  Raif Naffah  <raif@fl.net.au>
6393
6394         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6395         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6396         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6397
6398 2002-12-03  Andrew Haley  <aph@redhat.com>
6399
6400         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6401         _Jv_PushClass.
6402         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6403         (_Jv_PopClass): New.
6404         (_Jv_PushClass): New.
6405         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6406         discover the ClassLoader of our caller.
6407         (_Jv_CheckArrayStore): Don't check that a class is assignment
6408         compatible with Object.
6409         * java/lang/natVMTHrowable.cc: Delete.
6410         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6411         java.lang.VMThrowable.
6412         (StackTrace(), StackTrace(int)): New constructors.
6413         (classAt, methodAt, update, methodAtAddress): New methods.
6414         (map): New field.
6415         * java/lang/VMThrowable.java: Use StackTrace instead of
6416         natVMTHrowable.
6417         * java/lang/Class.h (getClassLoaderInternal): New.
6418         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6419         Be friendly with gnu::gcj::runtime::StackTrace.
6420         (Object.chain): New field.
6421         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6422         gnu::gcj::runtime::StackTrace.
6423         * gnu/gcj/runtime/natStackTrace.cc: New file.
6424         * gnu/gcj/runtime/MethodRef.java: New file.
6425         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6426         instead of getClassLoader().
6427         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6428         java::lang::VMThrowable.
6429         * Makefile.am (core_java_source_files): Add MethodRef.java,
6430         StackTrace.java.
6431         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6432         * Makefile.in: Rebuild.
6433
6434 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6435
6436         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6437         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6438         yes also for sh-linux* and sh[34]*-linux*.
6439         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6440         set SIGNAL_HANDLER to use DWARF2 exception for them.
6441         * configure: Regenerate.
6442
6443 2002-12-02  Tom Tromey  <tromey@redhat.com>
6444
6445         * jni.cc: Added `name' argument.
6446         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6447         `const char *' argument.
6448         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6449
6450 2002-12-01  Tom Tromey  <tromey@redhat.com>
6451
6452         Bug compatibility, for PR libgcj/8738:
6453         * java/io/CharArrayWriter.java (close): Do nothing.
6454         (flush): Likewise.
6455         (reset): Don't touch `closed'.
6456         (write(int)): Don't throw IOException.
6457         (write(char[],int,int)): Likewise.
6458         (write(String,int,int)): Likewise.
6459         (closed): Removed.
6460
6461 2002-12-01  Mark Wielaard  <mark@klomp.org>
6462
6463         * java/lang/SecurityManager.java: Remerge comments, indenting and
6464         checkXXX methods with Classpath.
6465
6466 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6467
6468         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6469         getNormalizedComponents): Fix calculation which was using one too
6470         many bits in the unnormalized format.
6471
6472 2002-11-29  Gary Benson  <gbenson@redhat.com>
6473
6474         For PR libgcj/8759:
6475         * java/beans/Introspector.java (flushCaches): New method.
6476         (flushFromCaches): Likewise.
6477
6478 2002-11-29  Michael Koch <konqueror@gmx.de>
6479
6480         * java/nio/channels/DatagramChannel.java
6481         (open): Added exception documentation.
6482         (write): Added exception documentation.
6483         (connect): Added exception documentation.
6484         (disconnect): Added exception documentation.
6485         (isConnected): Added exception documentation.
6486         (read): Added exception documentation.
6487         (receive): Added exception documentation.
6488         (send): Added exception documentation.
6489         (validOps): Added exception documentation.
6490         * java/nio/channels/SocketChannel.java
6491         (open): Added exception documentation.
6492         (read): Added exception documentation.
6493         (write): Added exception documentation.
6494         (connect): Added exception documentation.
6495         (finishConnect): Added exception documentation.
6496
6497 2002-11-29  Michael Koch <konqueror@gmx.de>
6498
6499         * gnu/java/nio/DatagramChannelImpl:
6500         (fd): New member variable to store file descriptor of socket.
6501         * gnu/java/nio/SelectionKeyImpl.java:
6502         (ops): Removed.
6503         (readyOps): New member variable.
6504         (interestOps): New member variable.
6505         (readyOps): Implemented.
6506         (readyOps): New method to set member variable readyOps.
6507         (interestOps): Replaced ops by interestOps.
6508         * gnu/java/nio/SelectorImpl.java:
6509         (SelectorImpl): Initialize key sets.
6510         (select): Call select with -1 instead of Long.MAX_VALUE).
6511         (java_do_select): Make it a native method.
6512         (getFDsAsArray): New helper method.
6513         (select): Remove canceled keys, give only interested file discriptors
6514         to java_do_select, set ready ops.
6515         (add): No need to initialize keys set here.
6516         (add_selected): No need to initialize selected set here.
6517         (deregisterCanceledKeys): New helper method.
6518         (register): Set interest ops, set attachments, added handling of datagram
6519         channels.
6520         * gnu/java/nio/ServerSocketChannelImpl:
6521         (SocketAccept): Renamed from NioSocketAccept.
6522         (implConfigureBlocking): Implemented.
6523         (accept): Use SocketAccept instead of NioSocketAccept.
6524         * gnu/java/nio/SocketChannelImpl:
6525         Reactivate native methods.
6526
6527 2002-11-29  Michael Koch <konqueror@gmx.de>
6528
6529         * gnu/java/nio/natByteBufferImpl.cc,
6530         gnu/java/nio/natCharBufferImpl.cc,
6531         gnu/java/nio/natDoubleBufferImpl.cc,
6532         gnu/java/nio/natFloatBufferImpl.cc,
6533         gnu/java/nio/natIntBufferImpl.cc,
6534         gnu/java/nio/natLongBufferImpl.cc,
6535         gnu/java/nio/natSelectorImpl.cc,
6536         gnu/java/nio/natServerSocketChannelImpl.cc,
6537         gnu/java/nio/natShortBufferImpl.cc,
6538         gnu/java/nio/natSocketChannelImpl.cc:
6539         New files that implement native functionalities.
6540
6541 2002-11-29  Michael Koch <konqueror@gmx.de>
6542
6543         * gnu/java/nio/ByteBufferImpl.java
6544         (ByteBufferImpl): Moved position() after limit.
6545         (nio_*): Use native implementation.
6546         * gnu/java/nio/CharBufferImpl.java:
6547         Reformated.
6548         (endian): New member variable string endianess of buffer.
6549         (CharBufferImpl): Moved position() after limit.
6550         (nio_*): Use native implementation.
6551         (subSequence): Implemented.
6552         * gnu/java/nio/DoubleBufferImpl.java
6553         (DoubleBufferImpl): Moved position() after limit.
6554         (nio_*): Use native implementation.
6555         * gnu/java/nio/FloatBufferImpl.java
6556         Reformated.
6557         (FloatBufferImpl): Moved position() after limit.
6558         (nio_*): Use native implementation.
6559         * gnu/java/nio/IntBufferImpl.java
6560         Added needed imports, Reformated.
6561         (IntBufferImpl): Moved position() after limit.
6562         (nio_*): Use native implementation.
6563         * gnu/java/nio/LongBufferImpl.java
6564         Reformated.
6565         (LongBufferImpl): Moved position() after limit.
6566         (nio_*): Use native implementation.
6567         * gnu/java/nio/ShortBufferImpl.java
6568         Reformated.
6569         (ShortBufferImpl): Moved position() after limit.
6570         (nio_*): Use native implementation.
6571
6572 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6573
6574         * java/util/Locale.java (toString): Improve efficiency if country
6575         and variant are both empty.
6576
6577 2002-11-26  Tom Tromey  <tromey@redhat.com>
6578
6579         * verify.cc (pop_init_ref): New method.
6580         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6581         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6582         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6583         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6584         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6585         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6586         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6587         let `this' argument be uninitialized.  Don't let `null' be passed
6588         as `this' to construtor.
6589
6590 2002-11-26  Mark Wielaard  <mark@klomp.org>
6591
6592         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6593         * javax/transaction/HeuristicMixedException.java: Likewise.
6594         * javax/transaction/HeuristicRollbackException.java: Likewise.
6595         * javax/transaction/InvalidTransactionException.java: Likewise.
6596         * javax/transaction/NotSupportedException.java: Likewise.
6597         * javax/transaction/RollbackException.java: Likewise.
6598         * javax/transaction/Status.java: Likewise.
6599         * javax/transaction/Synchronization.java: Likewise.
6600         * javax/transaction/SystemException.java: Likewise.
6601         * javax/transaction/Transaction.java: Likewise.
6602         * javax/transaction/TransactionManager.java: Likewise.
6603         * javax/transaction/TransactionRequiredException.java: Likewise.
6604         * javax/transaction/TransactionRolledbackException.java: Likewise.
6605         * javax/transaction/UserTransaction.java: Likewise.
6606         * javax/transaction/xa/XAException.java: Likewise.
6607         * javax/transaction/xa/XAResource.java: Likewise.
6608         * javax/transaction/xa/Xid.java: Likewise.
6609
6610 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6611
6612         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6613         define.
6614         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6615         * include/posix.h (socklen_t): Define if not already defined.
6616
6617 2002-11-25  Tom Tromey  <tromey@redhat.com>
6618
6619         * verify.cc (type::compatible): Backed out broken change.
6620
6621         * verify.cc (type::compatible): Check initialization status
6622         first.
6623         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6624         Don't use NULLCHECK.
6625
6626 2002-11-23  H.J. Lu <hjl@gnu.org>
6627
6628         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6629         Include ../config/accross.m4.
6630         * aclocal.m4; Rebuild.
6631         * configure: Likewise.
6632
6633 2002-11-23  Mark Wielaard  <mark@klomp.org>
6634
6635         * javax/naming/AuthenticationException.java: Update copyright header.
6636         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6637         * javax/naming/Binding.java: Likewise.
6638         * javax/naming/CannotProceedException.java: Likewise.
6639         * javax/naming/CommunicationException.java: Likewise.
6640         * javax/naming/CompositeName.java: Likewise.
6641         * javax/naming/CompoundName.java: Likewise.
6642         * javax/naming/ConfigurationException.java: Likewise.
6643         * javax/naming/Context.java: Likewise.
6644         * javax/naming/ContextNotEmptyException.java: Likewise.
6645         * javax/naming/InitialContext.java: Likewise.
6646         * javax/naming/InsufficientResourcesException.java: Likewise.
6647         * javax/naming/InterruptedNamingException.java: Likewise.
6648         * javax/naming/LimitExceededException.java: Likewise.
6649         * javax/naming/LinkException.java: Likewise.
6650         * javax/naming/LinkLoopException.java: Likewise.
6651         * javax/naming/LinkRef.java: Likewise.
6652         * javax/naming/MalformedLinkException.java: Likewise.
6653         * javax/naming/NameAlreadyBoundException.java: Likewise.
6654         * javax/naming/NameClassPair.java: Likewise.
6655         * javax/naming/NameNotFoundException.java: Likewise.
6656         * javax/naming/NameParser.java: Likewise.
6657         * javax/naming/NamingEnumeration.java: Likewise.
6658         * javax/naming/NamingSecurityException.java: Likewise.
6659         * javax/naming/NoInitialContextException.java: Likewise.
6660         * javax/naming/NoPermissionException.java: Likewise.
6661         * javax/naming/NotContextException.java: Likewise.
6662         * javax/naming/OperationNotSupportedException.java: Likewise.
6663         * javax/naming/PartialResultException.java: Likewise.
6664         * javax/naming/Reference.java: Likewise.
6665         * javax/naming/Referenceable.java: Likewise.
6666         * javax/naming/ReferralException.java: Likewise.
6667         * javax/naming/ServiceUnavailableException.java: Likewise.
6668         * javax/naming/SizeLimitExceededException.java: Likewise.
6669         * javax/naming/TimeLimitExceededException.java: Likewise.
6670         * javax/naming/directory/Attribute.java: Likewise.
6671         * javax/naming/directory/AttributeInUseException.java: Likewise.
6672         * javax/naming/directory/AttributeModificationException.java: Likewise.
6673         * javax/naming/directory/Attributes.java: Likewise.
6674         * javax/naming/directory/BasicAttribute.java: Likewise.
6675         * javax/naming/directory/BasicAttributes.java: Likewise.
6676         * javax/naming/directory/DirContext.java: Likewise.
6677         * javax/naming/directory/InitialDirContext.java: Likewise.
6678         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6679         Likewise.
6680         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6681         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6682         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6683         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6684         * javax/naming/directory/ModificationItem.java: Likewise.
6685         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6686         * javax/naming/directory/SchemaViolationException.java: Likewise.
6687         * javax/naming/directory/SearchControls.java: Likewise.
6688         * javax/naming/directory/SearchResult.java: Likewise.
6689         * javax/naming/event/EventContext.java: Likewise.
6690         * javax/naming/event/EventDirContext.java: Likewise.
6691         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6692         * javax/naming/event/NamingEvent.java: Likewise.
6693         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6694         * javax/naming/event/NamingListener.java: Likewise.
6695         * javax/naming/event/ObjectChangeListener.java: Likewise.
6696         * javax/naming/ldap/Control.java: Likewise.
6697         * javax/naming/ldap/ControlFactory.java: Likewise.
6698         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6699         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6700         * javax/naming/ldap/HasControls.java: Likewise.
6701         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6702         * javax/naming/ldap/LdapContext.java: Likewise.
6703         * javax/naming/ldap/LdapReferralException.java: Likewise.
6704         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6705         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6706         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6707         * javax/naming/spi/DirObjectFactory.java: Likewise.
6708         * javax/naming/spi/DirStateFactory.java: Likewise.
6709         * javax/naming/spi/DirectoryManager.java: Likewise.
6710         * javax/naming/spi/InitialContextFactory.java: Likewise.
6711         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6712         * javax/naming/spi/NamingManager.java: Likewise.
6713         * javax/naming/spi/ObjectFactory.java: Likewise.
6714         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6715         * javax/naming/spi/ResolveResult.java: Likewise.
6716         * javax/naming/spi/Resolver.java: Likewise.
6717         * javax/naming/spi/StateFactory.java: Likewise.
6718
6719         * javax/naming/spi/NamingManager.java (ofb): Package private.
6720
6721 2002-11-21  Mark Wielaard  <mark@klomp.org>
6722
6723         * java/net/URL.java: Merge with Classpath (partly).
6724         * java/net/URLStreamHandler: Merge with Classpath.
6725
6726 2002-11-22  Michael Koch <konqueror@gmx.de>
6727
6728         * include/posix.h:
6729         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6730         * include/win32.h:
6731         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6732         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6733
6734 2002-11-21  Michael Koch <konqueror@gmx.de>
6735
6736         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6737         Only the new network functions should be in it.
6738
6739 2002-11-21  Michael Koch <konqueror@gmx.de>
6740
6741         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6742         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6743
6744 2002-11-21  Michael Koch <konqueror@gmx.de>
6745
6746         * java/nio/channels/AsynchronousCloseException.java,
6747         java/nio/channels/CancelledKeyException.java,
6748         java/nio/channels/ClosedByInterruptException.java,
6749         java/nio/channels/ConnectionPendingException.java,
6750         java/nio/channels/FileLockInterruptionException.java,
6751         java/nio/channels/IllegalSelectorException.java,
6752         java/nio/channels/NoConnectionPendingException.java,
6753         java/nio/channels/NonReadableChannelException.java,
6754         java/nio/channels/NonWritableChannelException.java,
6755         java/nio/channels/NotYetBoundException.java,
6756         java/nio/channels/NotYetConnectedException.java,
6757         java/nio/channels/OverlappingFileLockException.java,
6758         java/nio/channels/UnresolvedAddressException.java,
6759         java/nio/channels/UnsupportedAddressTypeException.java:
6760         New files.
6761         * Makefile.am (ordinary_java_source_files): Added new files.
6762         * Makefile.in: Regenerated.
6763
6764 2002-11-21  Michael Koch <konqueror@gmx.de>
6765
6766         * include/posix.h
6767         (_Jv_socket): New method.
6768         (_Jv_connect): New method.
6769         (_Jv_close): New method.
6770         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6771         (_Jv_bind): New method.
6772         (_Jv_listen): New method.
6773         (_Jv_write): New method.
6774         (_Jv_read): New method.
6775         * include/win32.h
6776         (_Jv_socket): New method.
6777         (_Jv_connect): New method.
6778         (_Jv_close): New method.
6779         (_Jv_bind): New method.
6780         (_Jv_listen): New method.
6781         (_Jv_write): New method.
6782         (_Jv_read): New method.
6783         * java/net/natNetworkInterface.cc:
6784         Include platform.h, removed inclusion of socket.h
6785         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6786         ::close() by _Jv_close().
6787         * java/net/natPlainDatagramSocketImpl.cc:
6788         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6789         added some new lines to make code more readable.
6790         (create): Replaced ::socket() by _Jv_socket().
6791         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6792         * java/net/natPlainSocketImpl.cc:
6793         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6794         removed include of socket.h, removed some windows defines
6795         (now in include/win32.h).
6796         (create): Replaced ::socket() by _Jv_socket().
6797         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6798         (write): Replaced ::read by _Jv_write().
6799         (read): Replaced ::read by _Jv_read().
6800
6801 2002-11-20  Michael Koch <konqueror@gmx.de>
6802
6803         * Makefile.am (ordinary_java_source_files):
6804         Added java/nio/channels/FileChannel.java.
6805         * Makefile.in: Regenerated.
6806
6807 2002-11-20  Michael Koch <konqueror@gmx.de>
6808
6809         * java/io/FileInputStream.java
6810         (getChannel): New method.
6811         * java/io/FileOutputStream.java
6812         (getChannel): New method.
6813         * java/net/ServerSocket.java
6814         (bind): Removed duplicate code and called another bind method instead.
6815         * java/nio/channels/SelectionKey.java
6816         (isValid): Removed wrong exception documentation.
6817         * java/nio/channels/ServerSocketChannel.java
6818         (accept): Added exception documentation.
6819         (open): Fixed typo, added exception documentation.
6820         * java/nio/channels/spi/AbstractSelectableChannel.java
6821         (implCloseChannel): Added exception documentation.
6822         (add): Reformated.
6823         (register): Added exception documentation.
6824
6825 2002-11-20  Andreas Jaeger  <aj@suse.de>
6826
6827         * configure: Regenerated with new libtool.m4.
6828
6829 2002-11-19  Tom Tromey  <tromey@redhat.com>
6830
6831         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6832         `referent'.
6833         (finalize_referred_to_object): Don't modify `referent' or `copy'
6834         fields.
6835         (add_to_hash): Correctly set `n->next' when updating list.
6836         * java/lang/ref/Reference.java (enqueue): Return false if already
6837         enqueued.
6838
6839 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6840
6841         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6842         to function and function pointer declarations in accordance with
6843         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6844         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6845         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6846         JNI function definitions.
6847
6848 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6849
6850         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6851         that was causing CoderResults to be cached, not WeakReferences
6852         to CoderResults.
6853
6854 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6855
6856         * java/security/KeyStore.java (getInstance): Fix
6857         comment and throw IllegalArgumentException if
6858         given provider is null.
6859         (getInstance): New method for jdk1.4 compatibility.
6860
6861 2002-11-18  Michael Koch <konqueror@gmx.de>
6862
6863         * java/net/PlainSocketImpl.java: Fix imports.
6864
6865 2002-11-18  Michael Koch <konqueror@gmx.de>
6866
6867         * java/nio/channels/SelectionKey.java
6868         (isValid): Added exception documentation.
6869         * java/nio/channels/Selector.java
6870         (open): Declare "throws IOException".
6871
6872 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6873
6874         * java/nio/charset/Charset.java
6875         (<clinit>): New method.
6876         (encode): Synchronize use of cached encoder object.
6877         (decode): Synchronize use of cached encoder object.
6878
6879 2002-11-18  Michael Koch <konqueror@gmx.de>
6880
6881         * gnu/java/nio/ByteBufferImpl.java,
6882         gnu/java/nio/CharBufferImpl.java,
6883         gnu/java/nio/DatagramChannelImpl.java,
6884         gnu/java/nio/DoubleBufferImpl.java,
6885         gnu/java/nio/FileChannelImpl.java,
6886         gnu/java/nio/FloatBufferImpl.java,
6887         gnu/java/nio/IntBufferImpl.java,
6888         gnu/java/nio/LongBufferImpl.java,
6889         gnu/java/nio/PipeImpl.java,
6890         gnu/java/nio/SelectionKeyImpl.java,
6891         gnu/java/nio/SelectorImpl.java,
6892         gnu/java/nio/SelectorProviderImpl.java,
6893         gnu/java/nio/ServerSocketChannelImpl.java,
6894         gnu/java/nio/ShortBufferImpl.java,
6895         gnu/java/nio/SocketChannelImpl.java,
6896         java/nio/DoubleBuffer.java,
6897         java/nio/FloatBuffer.java,
6898         java/nio/IntBuffer.java,
6899         java/nio/LongBuffer.java,
6900         java/nio/ShortBuffer.java,
6901         java/nio/channels/FileChannel.java: New files.
6902
6903 2002-11-18  Michael Koch <konqueror@gmx.de>
6904
6905         * Makefile.am (ordinary_java_source_files):
6906         Added java/nio/ReadOnlyBufferException.java and
6907         java/nio/channels/ClosedSelectorException.java.
6908         * Makefile.in: Regenerated.
6909
6910 2002-11-18  Michael Koch <konqueror@gmx.de>
6911
6912         * java/net/PlainSocketImpl.java: Reworked imports.
6913         * java/net/ServerSocket.java
6914         (ServerSocket): Create socket.
6915         * java/net/SocketAddress.java: Documentation added.
6916         * java/net/natPlainSocketImpl.cc: Reindented.
6917         * java/nio/ReadOnlyBufferException.java: New file
6918         * java/nio/channels/ClosedChannelException.java: Documentation added.
6919         * java/nio/channels/ClosedSelectorException.java: New file.
6920
6921 2002-11-17  Mark Wielaard  <mark@klomp.org>
6922
6923         * java/net/HttpURLConnection.java ((getPermission): Take port
6924         into consideration.
6925         (getErrorStream): Implement.
6926
6927 2002-11-17  Mark Wielaard  <mark@klomp.org>
6928
6929         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6930
6931 2002-11-16  Mark Wielaard  <mark@klomp.org>
6932
6933         Integrate work by Raif S. Naffah (raif@fl.net.au)
6934         * java/security/DummyKeyPairGenerator.java (clone): New method.
6935         * java/security/DummyMessageDigest.java (clone): New method.
6936         (engineUpdate): Now public.
6937         (engineReset): Likewise.
6938         (engineDigest): Likewise.
6939         (engineGetDigestLength): New method.
6940         * java/security/DummySignature.java (clone): New method.
6941         * java/security/KeyPairGenerator.java (provider): Now package private.
6942         (getInstance(String)): Use getInstance(String,Provider).
6943         (getInstance(String,String): Use getInstance(String,Provider)
6944         (getInstance(String,Provider): New method.
6945         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6946         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6947         * java/security/MessageDigest.java (provider): Now package private.
6948         (getInstance(String): Use getInstance(String,Provider).
6949         (getInstance(String,String): Use getInstance(String,Provider)
6950         (getInstance(String,Provider): New method.
6951         * java/security/Provider.java (toCanonicalKey): New method.
6952         (get): New method that uses toCanonicalKey().
6953         (put): Use toCanonicalKey().
6954         (remove): Likewise.
6955         * java/security/Security.java (insertProviderAt): Provider index is one
6956         based, not zero based.
6957         (addProvider): Likewise.
6958         (removeProvider): Likewise.
6959         * java/security/Signature.java (provider): Now package private.
6960         (getInstance(String)): Use getInstance(String,Provider).
6961         (getInstance(String,String): Use getInstance(String,Provider)
6962         (getInstance(String,Provider): New method.
6963         (getInstance(String,String,Provider): Don't cast DummySignature.
6964
6965 2002-11-15  Tom Tromey  <tromey@redhat.com>
6966
6967         For PR libgcj/8593:
6968         * java/util/zip/GZIPInputStream.java (read): Check file size.
6969         Look in inflater for remaining input bytes.
6970         (read4): Added buf and offset arguments.
6971
6972 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6973
6974         * java/applet/AppletContext.java: Fix typo and remove redundant
6975         modifiers.
6976
6977 2002-11-14  Tom Tromey  <tromey@redhat.com>
6978
6979         * java/lang/natRuntime.cc (insertSystemProperties): Set
6980         gnu.classpath.home.
6981
6982 2002-11-13  Michael Koch <konqueror@gmx.de>
6983
6984         * java/nio/ByteBuffer.java
6985         (allocate): New method.
6986         (wrap): New method.
6987         (put): New method.
6988         (get): New method.
6989
6990 2002-11-13  Michael Koch <konqueror@gmx.de>
6991
6992         * java/nio/channels/AlreadyConnectedException.java:
6993         Removed unneeded import.
6994         (AlreadyConnectedException): Documentation added.
6995         * java/nio/channels/Pipe.java
6996         (SinkChannel.SinkChannel): Documentation added.
6997         (SinkChannel.validOps): New method.
6998         (SourceChannel.SourceChannel): Documentation added.
6999         (SourceChannel.validOps): New method.
7000         (Pipe): Documentation added.
7001         (open): Documentation added.
7002         (SinkChannel.channel): Documentation added.
7003         (SourceChannel.channel): Documentation added.
7004         * java/nio/channel/SelectableChannel.java
7005         (SelectableChannel): Documentation added.
7006         (blockingLock): Documentation added.
7007         (configureBlocking):Documentation added.
7008         (isBlocking):Documentation added.
7009         (isRegistered):Documentation added.
7010         (keyFor):Documentation added.
7011         (provider):Documentation added.
7012         (register): Documentation added.
7013         (validOps): Documentation added.
7014         * jaba/nio/channels/SelectionKey.java
7015         (SelectionKey): Documentation added.
7016         (attach): Documentation added.
7017         (attachment): Documentation added.
7018         (isAcceptable): Documentation added.
7019         (isConnetable): Documentation added.
7020         (isReadable): Documentation added.
7021         (isWritable): Documentation added.
7022         (cancel): Documentation added.
7023         (channel): Documentation added.
7024         (interestOps): Documentation added.
7025         (isValid): Documentation added.
7026         (readyOps): Documentation added.
7027         (selector): Documentation added.
7028         * jaba/nio/channels/Selector.java
7029         (Selector): Documentation added.
7030         (open): Documentation added.
7031         (close): Documentation added.
7032         (isOpen): Documentation added.
7033         (keys): Documentation added.
7034         (provider): Documentation added.
7035         (select): Documentation added.
7036         (selectedKeys): Documentation added.
7037         (selectNow): Documentation added.
7038         (wakeup): Documentation added.
7039         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7040         (AbstractInterruptibleChannel): Documentation added.
7041         (opened): Default to true;
7042         (begin): Documentation added.
7043         (close): Set opened to false, documentation added.
7044         (isOpen): Documentation added.
7045         * java/nio/channels/spi/AbstractSelectionKey.java
7046         (AbstractSelectionKey): Documentation added.
7047         (cancel): Documentation added.
7048         (isValid): Documentation added.
7049         * java/nio/channels/spi/AbstractSelector.java
7050         (AbstractSelector): Documentation added.
7051         (begin): Documentation added.
7052         (close): Documentation added.
7053         (isOpen): Documentation added.
7054         (deregister): Documentation added.
7055         (end): Documentation added.
7056         (provider): Documentation added.
7057         (implCloseSelector): Documentation added.
7058         (register): Documentation added.
7059         * java/nio/channels/spi/SelectorProvider.java
7060         (SelectorProvider): Documentation added.
7061         (openDatagramChannel): Documentation added.
7062         (openPipe): Documentation added.
7063         (openSelector): Documentation added.
7064         (openServerSocketChannel): Documentation added.
7065         (openSocketChannel): Documentation added.
7066         (provider): Documentation added.
7067
7068 2002-11-12  Michael Koch <konqueror@gmx.de>
7069
7070         * java/nio/Buffer.java: Implemented.
7071         * java/nio/CharBuffer.java: New file.
7072         * java/nio/InvalidMarkException.java: New file.
7073         * java/nio/channels/DatagramChannel.java: Implemented.
7074         * java/nio/channels/ServerSocketChannel.java: Implemented.
7075         * java/nio/channels/SocketChannel.java: Implemented.
7076         * java/nio/channels/spi/AbstractChannel.java: Removed.
7077         * java/nio/channels/spi/AbstractSelectableChannel.java:
7078         Implemented.
7079         * java/nio/charset/Charset.java:
7080         Merge from Classpath.
7081         * java/nio/charset/CharsetDecoder.java: New file.
7082         * java/nio/charset/CharsetEncoder.java: New file.
7083         * java/nio/charset/CoderResult.java: New file.
7084         * Makefile.am (ordinary_java_source_files): Added new files.
7085         * Makefile.in: Regenerated.
7086
7087 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7088
7089         * gnu/java/nio/charset/ISO_8859_1.java,
7090         gnu/java/nio/charset/Provider.java,
7091         gnu/java/nio/charset/US_ASCII.java,
7092         gnu/java/nio/charset/UTF_16.java,
7093         gnu/java/nio/charset/UTF_16BE.java,
7094         gnu/java/nio/charset/UTF_16Decoder.java,
7095         gnu/java/nio/charset/UTF_16Encoder.java,
7096         gnu/java/nio/charset/UTF_16LE.java,
7097         gnu/java/nio/charset/UTF_8.java: New files.
7098
7099 2002-11-11  Michael Koch <konqueror@gmx.de>
7100
7101         * java/nio/charset/CharacterCodingException.java:
7102         This class must be public.
7103         * java/nio/charset/CoderMalfunctionError.java:
7104         This class must be public.
7105         * java/nio/charset/CodingErrorAction.java:
7106         This class must be public.
7107         * java/nio/charset/IllegalCharsetNameException.java:
7108         This class must be public, better implementation.
7109         * java/nio/charset/MalformedInputException.java:
7110         This class must be public, better implementation.
7111         * java/nio/charset/UnmappableCharacterException.java:
7112         This class must be public, better implementation.
7113         * java/nio/charset/UnsupportedCharsetException.java:
7114         This class must be public, better implementation.
7115
7116 2002-11-11  Michael Koch <konqueror@gmx.de>
7117
7118         * java/nio/BufferOverflowException.java,
7119         java/nio/BufferUnderflowException.java: New file.
7120         * Makefile.am (ordinary_java_source_files):
7121         Added new files.
7122         * Makefile.in: Regenerated.
7123
7124 2002-11-10  Tom Tromey  <tromey@redhat.com>
7125
7126         * java/awt/Container.java (validate): Use tree lock.
7127         (getComponent): Likewise.
7128         (getComponents): Likewise.
7129         (addImpl): Likewise.
7130         (remove): Likewise.
7131         (removeAll): Likewise.
7132         (processEvent): Fixed indentation.
7133         (getComponentAt): Use tree lock.
7134         (findComponentAt): Likewise.
7135         (removeNotify): Likewise.
7136         (isAncestorOf): Likewise.
7137         (list): Likewise.
7138         (visitChildren): Likewise.
7139         (findNextFocusComponent): Likewise.
7140         (addNotifyContainerChildren): Likewise.
7141         (getAccessibleChildrenCount): Likewise.
7142         (getAccessibleChild): Likewise.
7143
7144         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7145         (getSize): Likewise.
7146         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7147         (getSize): Likewise.
7148         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7149         (calcSize): Likewise.
7150         * java/awt/CardLayout.java (getSize): Use tree lock.
7151         (gotoComponent): Likewise.
7152         (layoutContainer): Likewise.
7153
7154         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7155         count is 0.
7156         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7157         count is 0.
7158
7159         * java/io/Externalizable.java, java/io/FilePermission.java,
7160         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7161         java/io/SerializablePermission.java, java/text/Format.java,
7162         java/util/AbstractMap.java, java/util/HashMap.java,
7163         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7164         versions from Classpath.
7165
7166 2002-11-10  Anthony Green  <green@redhat.com>
7167
7168         * java/util/jar/Attributes.java (Name): Fix name check.
7169
7170 2002-11-10  Mark Wielaard  <mark@klomp.org>
7171
7172         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7173         with getName() as message.
7174         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7175         type as message.
7176
7177         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7178         unused.
7179
7180 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7181
7182         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7183         for Win32. JNICALL has been defined to __stdcall to be compatible
7184         with Sun's JDKs.
7185
7186 2002-11-10  Tom Tromey  <tromey@redhat.com>
7187
7188         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7189         (setRows): Check newRows, not rows.
7190
7191         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7192
7193 2002-11-09  Tom Tromey  <tromey@redhat.com>
7194
7195         * java/applet/Applet.java, java/applet/AppletContext.java,
7196         java/applet/AppletStub.java, java/applet/AudioClip.java,
7197         java/awt/CardLayout.java,
7198         java/awt/ContainerOrderFocusTraversalPolicy.java,
7199         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7200         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7201         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7202         java/awt/color/ICC_ColorSpace.java,
7203         java/awt/color/ICC_Profile.java,
7204         java/awt/color/ICC_ProfileGray.java,
7205         java/awt/color/ICC_ProfileRGB.java,
7206         java/awt/datatransfer/DataFlavor.java,
7207         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7208         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7209         New versions from Classpath.
7210         * Makefile.in: Rebuilt.
7211         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7212         ICC_ProfileRGB.
7213
7214         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7215         display policy.
7216
7217         * java/awt/List.java (processEvent): Added missing `else's.
7218
7219         * java/awt/Window.java (show): validate() before showing.  Make
7220         parent displayable.
7221         (isDisplayable): New method.
7222
7223 2002-11-07  Mark Wielaard  <mark@klomp.org>
7224
7225         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7226         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7227
7228         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7229         annotation.
7230         (loadClass): Take String as codebases.
7231         (getClassAnnotation): Use MyClassLoader annotations.
7232         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7233         call exportObject(this).
7234
7235         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7236         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7237         (setAnnotation): Don't set locBytesStream and locStream.
7238         (replaceObject): Removed.
7239         (flush): Don't test locStream.
7240         (getLocBytes): LikeWise.
7241         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7242         (leaseCache): New field.
7243         (dirty): Use leaseCache.
7244         (LeaseRecord): New inner class.
7245         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7246         explicitly call exportObject().
7247         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7248         false to communicate with Sun JDK130.
7249         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7250         * gnu/java/rmi/server/RMIObjectInputStream.java
7251         (UnicastConnectionManager): Removed field.
7252         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7253         Use UnicastServer.getExportedRef().
7254         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7255         (expireTime): Likewise.
7256         (CONNECTION_TIMEOUT): Likewise.
7257         (disconnect): Call sock.close().
7258         (isExpired): New method.
7259         (resetTime): Likewise.
7260         (run): Use do while loop and catch Exception for discardConnection().
7261         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7262         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7263         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7264         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7265         (exportObject): Use refcache.
7266         (unexportObject): Likewise.
7267         (getExportedRef): New method.
7268         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7269         constructor.
7270         (exportObject): Save manager.serverobj.
7271         (getStub): New method.
7272
7273 2002-11-07  Mark Wielaard  <mark@klomp.org>
7274
7275         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7276         (getByte): Likewise.
7277         (getShort): Likewise.
7278         (getInt): Likewise.
7279         (getLong): Likewise.
7280         (getFloat): Likewise.
7281         (getDouble): Likewise.
7282         (get): Likewise.
7283         (setChar): Likewise.
7284         (setByte): Likewise.
7285         (setShort): Likewise.
7286         (setInt): Likewise.
7287         (setLong): Likewise.
7288         (setFloat): Likewise.
7289         (setDouble): Likewise.
7290
7291 2002-11-07  Michael Koch <konqueror@gmx.de>
7292
7293         * java/awt/Choice.java,
7294         java/awt/Container.java,
7295         java/awt/GridBagLayout.java:
7296         Fixed documentation.
7297         * java/awt/peer/ContainerPeer.java:
7298         Reindented.
7299
7300 2002-11-07  Michael Koch <konqueror@gmx.de>
7301
7302         * java/awt/color/ICC_Profile.java:
7303         Added missing constants.
7304         * java/awt/color/ICC_ColorSpace.java
7305         (getMinValue): Added dummy implementation.
7306         (getMaxValue): Added dummy implementation.
7307         * java/awt/datatransfer/DataFlavor.java
7308         (imageFlavor): Added.
7309         (isMimeTypeEqual): Must be final.
7310         (getDefaultRepresentationClass): Must be non-static.
7311         (getDefaultRepresentationClassAsString): Must be non-static.
7312         * java/awt/dnd/DragSourceContext.java
7313         (dragExit): Corrected argument.
7314         (dragDropEnd): Corrected argument.
7315         * java/awt/dnd/DragSourceListener.java.java
7316         (dragExit): Corrected argument.
7317         (dragDropEnd): Corrected argument.
7318         * java/awt/font/TextHitInfo.java
7319         (toString): Added stubbed implementation.
7320         * java/awt/geom/PathIterator.java:
7321         The constants must be static.
7322         * java/awt/image/VolatileImage.java
7323         (IMAGE_INCOMPATIBLE): Fixed typo.
7324         * java/awt/image/renderable/RenderableImage.java
7325         (HINTS_OBSERVED): Must be static.
7326         * java/beans/BeanInfo.java:
7327         Constants must be final.
7328
7329 2002-11-06  Tom Tromey  <tromey@redhat.com>
7330
7331         From svens@it.uu.se.  For PR libgcj/8481.
7332         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7333
7334 2002-11-06  Tom Tromey  <tromey@redhat.com>
7335
7336         * jni.cc (array_from_valist): Assume that jlong won't be
7337         promoted.
7338
7339 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7340
7341         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7342         Return 20.
7343         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7344         Return 16.
7345
7346 2002-11-03  Tom Tromey  <tromey@redhat.com>
7347
7348         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7349         VMClassLoader, not findClass.
7350
7351 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7352
7353         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7354         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7355         _Jv_DetermineVTableIndex, to determine vtable offset.
7356         (_Jv_DetermineVTableIndex): Remove.
7357         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7358
7359         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7360
7361 2002-11-03  Tom Tromey  <tromey@redhat.com>
7362
7363         * java/nio/channels/AlreadyConnectedException.java: Extend
7364         IllegalStateException, per spec.
7365
7366 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7367
7368         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7369
7370 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7371
7372         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7373         size items.
7374
7375 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7376
7377         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7378         initial estimated size to avoid enlarge buffer frequently.
7379
7380 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7381
7382         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7383         ClassLoader when null.
7384         (ProxyType.hashCode): Loader null check no longer needed.
7385         (ProxyType.sameTypes): New method.
7386         (ProxyType.equals): Use new method.
7387
7388 2002-10-31  Mark Wielaard  <mark@klomp.org>
7389
7390         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7391         length of String.
7392         * java/net/URLEncoder.java (encode): Likewise.
7393
7394 2002-10-31  Mark Wielaard  <mark@klomp.org>
7395
7396         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7397         when stream is closed.
7398         (closeEntry): Likewise.
7399         (read): Likewise.
7400         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7401         ZipException when no entry active.
7402         (closeEntry): Likewise.
7403         (write): Likewise.
7404
7405 2002-11-02  Tom Tromey  <tromey@redhat.com>
7406
7407         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7408         * java/lang/natClass.cc (initializeClass): Don't return just
7409         because self==thread.
7410
7411         For PR java/8415:
7412         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7413         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7414
7415 2002-11-02  Andreas Schwab  <schwab@suse.de>
7416
7417         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7418         pass GCJFLAGS.
7419         (FLAGS_TO_PASS): Define.
7420         * Makefile.in: Regenerated.
7421
7422 2002-11-01  Michael Koch  <konqueror@gmx.de>
7423
7424         * java/nio/ByteOrder.java: New file.
7425         * java/nio/channels/DatagramChannel.java:
7426         (DatagramChannel): New constructor.
7427         * java/nio/channels/Pipe.java: New file.
7428         * java/nio/channels/SelectableChannel.java: New file.
7429         * java/nio/channels/SelectionKey.java: New file.
7430         * java/nio/channels/Selector.java: New file.
7431         * java/nio/channels/ServerSocketChannel.java
7432         (ServerSocketChannel): New constructor.
7433         * java/nio/channels/SocketChannel.java
7434         (SocketChannel): New constructor.
7435         * java/nio/channels/Pipe.java: New file.
7436         * java/nio/channels/spi/AbstractChannel.java: New file.
7437         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7438         * java/nio/channels/spi/AbstractSelectableChannel.java:
7439         License added
7440         (AbstractSelectableChannel): New stubbed method.
7441         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7442         * java/nio/channels/spi/AbstractSelector.java: New file.
7443         * java/nio/channels/spi/SelectorProvider.java: New file.
7444         * java/nio/charset/Charset.java: New file.
7445         * java/nio/charset/CoderMalfunctionError.java: New file.
7446         * java/nio/charset/CodingErrorAction.java: New file.
7447         * java/nio/charset/spi/CharsetProvider.java
7448         (charsetForName): Uncommented.
7449         * Makefile.am (java_native_source_files): Added new files.
7450         * Makefile.in: Regenerated.
7451
7452 2002-11-01  Michael Koch  <konqueror@gmx.de>
7453
7454         * java/net/InetAddress.java:
7455         (isAnyLocalAddress): Implemented.
7456         (isLoopbackAddress): Implemented, comment added.
7457         (isLinkLocalAddress): Implemented, documentation added.
7458         (isSiteLocalAddress): Implemented, documentation added.
7459         (isMCGlobal): Implemented, documentation added.
7460         (isMCNodeLocal): Implemented, documentation added.
7461         (isMCLinkLocal): Implemented, documentation added.
7462         (isMCSiteLocal): Implemented, documentation added.
7463         (isMCOrgLocal): Implemented, documentation added.
7464         (getHostName): Documentation added.
7465         (getCanonicalHostName): Implemented, documentation added.
7466         (getAddress): Documentation added.
7467         (hashCode): Documentation added.
7468         (equals): Documentation added.
7469         (toString): Fixed implementation.
7470         (getByAddress): Use Inet4Address and Inet6Address.
7471         (lookup): New linewrap.
7472         (getByName): SecurityManager check added, support Inet4Address and
7473         Inet6address, comments added.
7474         (getAllByName): SecurityManager check added, comments added.
7475         * java/net/Inet6Address.java:
7476         (Inet6Address): Initialize parent class with addr instead of null.
7477         * java/net/URL.java
7478         (equals): Documentation added.
7479         (getFile): Documentation added.
7480         (hashCode): Documentation added.
7481         * java/net/natInetAddress.cc:
7482         (aton): Fix IPv6 support.
7483         * java/net/natPlainDatagramSocketImpl.cc:
7484         (peek): Throw PortUnreachableException when suitable.
7485         (peekData): Throw PortUnreachableException when suitable.
7486         (send): Throw PortUnreachableException when suitable.
7487         (receive): Throw PortUnreachableException when suitable.
7488
7489 2002-10-27  Mark Wielaard  <mark@klomp.org>
7490
7491         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7492         argument.
7493         (readLeShort): Likewise and use byte[].
7494         (readLeInt): Likewise.
7495         (readEntries): Use new versions of methods and use byte[] for reading
7496         a complete zip entry. Add ZipFile name to exceptions.
7497         (entries): Add ZipFile name to exceptions.
7498         (getEntry): Likewise.
7499         (checkLocalHeader): Use new versions of methods and add ZipFile name
7500         to exceptions.
7501
7502 2002-10-31  Mark Anderson  <mark@panonet.net>
7503
7504         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7505         added
7506
7507 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7508
7509         * configure.in: Disable hash sync when not using threads.
7510         * configure: Regenerated.
7511
7512 2002-10-24  Tom Tromey  <tromey@redhat.com>
7513
7514         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7515         (_Jv_FindSymbolInExecutable): Removed argument name.
7516         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7517         java.library.path is set.
7518
7519         * gij.cc (help): Document --showversion.
7520         (version): Don't exit.
7521         (main): Handle --showversion.  Exit if --version given.
7522
7523 2002-10-23  Tom Tromey  <tromey@redhat.com>
7524
7525         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7526         (array_from_valist): Correctly handle promotion for jint, jlong,
7527         jfloat, and jdouble.
7528
7529 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7530
7531         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7532         GetFileAttributesEx( ) to find file length and modification times,
7533         as the latter is not present on Windows 95.
7534
7535 2002-10-21  Michael Koch  <konqueror@gmx.de>
7536
7537         * java/net/URL.java
7538         (URL): Activate SecurityManager checks.
7539         (equals): Use URLStreamHandler implementation instead of doing it
7540         alone. This allows special protocol stream handlers to change default
7541         behaviour.
7542         (hashCode): Use URLStreamHandler implementation instead of doing it
7543         alone. This allows special protocol stream handlers to change default
7544         behaviour.
7545         * java/net/URLStreamHandler.java
7546         (equals): Implemented default URL equality check.
7547         (hostsEqual): Implemented default URL equality check.
7548         (hashCode): Implemented default URL hashCode algorithm.
7549         * java/net/natPlainDatagramSocketImpl.cc:
7550         No lines longer then 80 characters.
7551
7552 2002-10-20  Adam Megacz <adam@xwt.org>
7553
7554         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7555         * configure.in: enabled hash sync on Win32
7556         * include/win32-threads.h (_Jv_ThreadId_t): added.
7557         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7558         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7559         removed some posix-isms, use Thread::sleep() instead of usleep,
7560         added code to clear bottom three bits if platform has a broken
7561         linker.
7562         * include/win32-threads.h (_Jv_ThreadId_t): added.
7563
7564 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7565
7566         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7567         runtime property "gnu.gcj.progname" containing the name used to
7568         invoke the current Java program (similar to argv[0] for C
7569         programs).
7570
7571 2002-10-15  Tom Tromey  <tromey@redhat.com>
7572
7573         Fix for PR libgcj/8234:
7574         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7575         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7576
7577 2002-10-13  Mark Wielaard  <mark@klomp.org>
7578
7579         * mauve-libgcj: Enable Mauve tests that compile now.
7580
7581 2002-10-11  Mark Wielaard  <mark@klomp.org>
7582
7583         Fix for PR libgcj/8142
7584         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7585         loading native modules.
7586
7587 2002-10-10  Michael Koch  <konqueror@gmx.de>
7588
7589         * javax/swing/AbstractListModel.java
7590         (getListDataListeners): New stubbed method.
7591         javax/swing/DefaultBoundedRangeModel.java
7592         (getChangeListeners): New stubbed method.
7593         javax/swing/DefaultSingleSelectionModel.java
7594         (getChangeListeners): New stubbed method.
7595
7596 2002-10-10  Michael Koch  <konqueror@gmx.de>
7597
7598         * gcj/.cvsignore: New file to ignore files generated during build.
7599         * include/.cvsignore: New file to ignore files generated during build.
7600
7601 2002-10-10  Michael Koch  <konqueror@gmx.de>
7602
7603         * java/net/HttpURLConnection.java
7604         (getPermission): New method.
7605         (getErrorStream): New stub method.
7606         (getHeaderFieldDate): New stub method.
7607         * java/net/Inet4Address.java:
7608         (isLinkLocalAddress): Typo fixed.
7609         * java/net/InetAddress.java:
7610         (readResolve): New stubbed method (for serialization).
7611         (isAnyLocalAddress): New stubbed method.
7612         (isLoopbackAddress): New stubbed method.
7613         (isLinkLocalAddress): New stubbed method.
7614         (isSiteLocalAddress): New stubbed method.
7615         (isMCGlobal): New stubbed method.
7616         (isMCNodeGlobal): New stubbed method.
7617         (isMCLinkLocal): New stubbed method.
7618         (isMCSiteLocal): New stubbed method.
7619         (isMCOrgLocal): New stubbed method.
7620         (getCanonicalHostName): New stubbed method.
7621         (getByAddress): Create instances of Inet4Address/Inet6Address,
7622         instead of InetAddress, documentation added.
7623         * java/net/MulticastSocket.java
7624         (getInterface): Removed FIXME.
7625         (getNetworkInterface): New method.
7626         (setNetworkInterface): New method.
7627         * java/net/NetworkInterface.java:
7628         (toString): Use property "line.separator" instead of "\n".
7629         * java/net/URLConnection.java
7630         (getContent): New stubbed method.
7631         * java/net/URLStreamHandler.java:
7632         (equals): New stubbed method.
7633         (hostsEqual): New stubbed method.
7634         (hashCode): New stubbed method.
7635         * java/net/natNetworkInterface.cc:
7636         (getRealNetworkInterfaces): Create Inet4Address object
7637         instead of InetAddress.
7638
7639 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7640
7641         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7642         unsigned long temporary to implement insn_iushr shifts.
7643
7644 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7645
7646         * configure.host [s390*-*]: Enable Java interpreter.
7647         Enable hash synchronization.  Add sysdeps dir.
7648         * sysdep/s390/locks.h: New file.
7649
7650 2002-10-06  Mark Wielaard  <mark@klomp.org>
7651
7652         * java/lang/Thread.java (setDaemon): Check startable_flag,
7653         not isAlive().
7654
7655 2002-10-07  Michael Koch  <konqueror@gmx.de>
7656
7657         * java/nio/Buffer.java: New stub file.
7658         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7659         of class Charset.
7660         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7661         * Makefile.in: Regenerated.
7662
7663 2002-10-07  Michael Koch  <konqueror@gmx.de>
7664
7665         * java/nio/ByteBuffer.java:
7666         removed import of not commited class.
7667
7668 2002-10-07  Michael Koch  <konqueror@gmx.de>
7669
7670         * java/nio/ByteBuffer.java,
7671         java/nio/MappedByteBuffer.java:
7672         New files, forgot to add these dummies.
7673         * Makefile.am (java_native_source_files): Added new files.
7674         * Makefile.in: Regenerated.
7675
7676 2002-10-07  Michael Koch  <konqueror@gmx.de>
7677
7678         * java/nio/channels/AlreadyConnectedException.java,
7679         java/nio/channels/ClosedChannelException.java,
7680         java/nio/channels/ReadableByteChannel.java,
7681         java/nio/channels/InterruptibleChannel.java,
7682         java/nio/channels/Channel.java,
7683         java/nio/channels/ByteChannel.java,
7684         java/nio/channels/GatheringByteChannel.java,
7685         java/nio/channels/ScatteringByteChannel.java,
7686         java/nio/channels/WritableByteChannel.java,
7687         java/nio/charset/CharacterCodingException.java,
7688         java/nio/charset/IllegalCharsetNameException.java,
7689         java/nio/charset/MalformedInputException.java,
7690         java/nio/charset/UnmappableCharacterException.java,
7691         java/nio/charset/UnsupportedCharsetException.java,
7692         java/nio/charset/spi/CharsetProvider.java: New file.
7693         These files are exceptions or interfaces,
7694         no real or abstract classes.
7695         * Makefile.am (java_native_source_files): Added new files.
7696         * Makefile.in: Regenerated.
7697
7698 2002-10-05  Michael Koch  <konqueror@gmx.de>
7699
7700         * java/net/InetAddress.java
7701         (getByAddress): Fixed documentation.
7702         (getByAddress): New method.
7703         * java/net/Inet4Address.java: New file.
7704         * java/net/URL.java
7705         (URL): Documentation added.
7706         (getContent): Documentation added.
7707         (getContent): New stubbed method.
7708         (getQuery): New method.
7709         (openConnection): Documentation added.
7710         (openStream): Documentation added.
7711         (setURLStreamHandlerFactory): Documentation added.
7712         * java/net/URI.java: New stub file.
7713         * Makefile.am
7714         (java_native_source_files): Added java/net/Inet4Address.java,
7715         java/net/Inet6Address.java and java/net/URI.java.
7716         * Makefile.in: Regenerated.
7717
7718 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7719
7720         * java/lang/ProtectionDomain.java (linesep): Remove field.
7721         (toString): Use System.getProperty("line.separator").
7722
7723 2002-10-04  Michael Koch  <konqueror@gmx.de>
7724
7725         * java/security/Identity.java: Added serialVersionUID.
7726         * java/security/KeyPair.java: Added serialVersionUID.
7727         * java/security/Provider.java: Added serialVersionUID.
7728         * java/security/SecureRandom.java: Added serialVersionUID.
7729         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7730         * java/security/SignedObject.java: Added serialVersionUID.
7731         * java/security/cert/Certificate.java: Added serialVersionUID.
7732
7733 2002-10-04  Mark Wielaard <mark@klomp.org>
7734
7735         * java/security/Security.java: Use java.home or gnu.classpath.home
7736         to load providers.
7737         (loadProviders): Extra dir argument.
7738         (getProvider): Return null when not found.
7739
7740 2002-10-04  Mark Wielaard  <mark@klomp.org>
7741
7742         * java/lang/Throwable.java: Remerge with Classpath.
7743
7744 2002-10-04  Michael Koch  <konqueror@gmx.de>
7745
7746         * java/net/InetAddress.java:
7747         (isMulticastAddress): Added documentation.
7748         (getHostAddress): Added documentation.
7749         (toString): Added documentation.
7750         (getByAddress): Fixed documentation.
7751         (getByName): Added documentation.
7752         (getAllByName): Added documentation.
7753         (getLocalHost): Added documentation.
7754
7755 2002-10-04  Michael Koch  <konqueror@gmx.de>
7756
7757         * java/beans/beancontext/BeanContextChildSupport.java:
7758         Added serialVersionUID.
7759         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7760         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7761         * javax/naming/Name.java: Added serialVersionUID.
7762
7763 2002-10-03  Adam Megacz <adam@xwt.org>
7764
7765         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7766         some functionality that isn't supported yet on WIN32.
7767
7768 2002-10-03  Tom Tromey  <tromey@redhat.com>
7769
7770         * Makefile.in: Rebuilt.
7771         * Makefile.am (awt_java_source_files): Added new files.
7772
7773 2002-10-03  Michael Koch  <konqueror@gmx.de>
7774
7775         * java/net/InetAddress.java
7776         (class InetAddress): Removed final keyword.
7777         (equals): Fixed typo.
7778         (getByAddress): New method.
7779
7780 2002-10-03  Michael Koch  <konqueror@gmx.de>
7781
7782         * java/awt/dnd/Autoscroll.java:
7783         New file, merge from Classpath.
7784         * java/awt/dnd/DragSourceAdapter.java:
7785         (dragExit): Fixed typos in argument type.
7786         (dragDropEnd): Fixed typos in argument type.
7787         * java/awt/dnd/DragSourceDropEvent.java:
7788         New file, merge from Classpath.
7789         * java/awt/dnd/DropTarget.java:
7790         Added stubs, merge from Classpath.
7791         * java/awt/dnd/DropTargetAdapter.java:
7792         New file, merge from Classpath.
7793         * java/awt/dnd/DropTargetContext.java:
7794         New file, merge from Classpath.
7795         * java/awt/dnd/DropTargetDragEvent.java:
7796         New file, merge from Classpath.
7797         * java/awt/dnd/DropTargetDropEvent.java:
7798         New file, merge from Classpath.
7799         * java/awt/dnd/DropTargetEvent.java:
7800         New file, merge from Classpath.
7801         * java/awt/dnd/DropTargetListener.java:
7802         New file, merge from Classpath.
7803         * java/awt/dnd/MouseDragGestureRecognizer.java:
7804         New file, merge from Classpath.
7805         * java/awt/dnd/peer/DropTargetContextPeer.java:
7806         New file, merge from Classpath.
7807
7808 2002-10-03  Michael Koch  <konqueror@gmx.de>
7809
7810         * java/net/DatagramPacket.java
7811         (setLength): Fixed typo and be HTML-aware.
7812         * java/net/InetSocketAddress.java
7813         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7814         (equals): Added comment about equality of InetSocketAddress objects.
7815         * java/net/ServerSocket.java
7816         (accept): Added checks.
7817         (isClosed): New stubbed method.
7818         * java/net/SocketOptions.java: Reindention.
7819         * java/net/SocketPermission
7820         (SocketPermission): Documentation fixed.
7821
7822 2002-10-03  Michael Koch  <konqueror@gmx.de>
7823
7824         * java/net/DatagramSocket.java
7825         (receive): Check with SecurityManager AFTER the packet is received,
7826         check if connected to multicast address, documentation added.
7827         (send): Only check SecurityManager if connected, check address of
7828         packet to send.
7829         (connect): Implemented, documentation added.
7830         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7831         * java/net/InetSocketAddress.java
7832         (whole file): Reindented.
7833         (hostname): New attribute.
7834         (InetSocketAddress): Initialize new attribute.
7835         (getAddress): Documentation added.
7836         (getHostName): Documentation added.
7837         (getPort): Documentation added.
7838         (hashCode): Documentation added.
7839         (isUnresolved): Documentation added.
7840         (toString): Conform to output of JDK 1.4.1, documentation added.
7841         * java/net/MulticastSocket.java
7842         (joinGroup): Removed FIXME, documentation added.
7843         (leaveGroup): Removed FIXME, documentation added.
7844         (send): Documentation added.
7845         * java/net/Socket.java
7846         (inputShutdown): New variable.
7847         (outputShutdown): New variable.
7848         (Socket): Initialize new variables.
7849         (getRemoteSocketAddress): Check if connected.
7850         (shutdownInput): Set new variable.
7851         (shutdownOutput): Set new variable.
7852         (isConnected): New method.
7853         (isClosed): New method.
7854         (isInputShutdown): New method.
7855         (isOutputShutdown): New method.
7856         * java/net/URLStreamHandler.java
7857         (URLStreamHandler): New method.
7858         (openConnection): Added documentation.
7859         (parseURL): Added documentation.
7860         (getHostAddress): New method.
7861         (getDefaultPort): New method.
7862
7863 2002-10-02  Tom Tromey  <tromey@redhat.com>
7864
7865         * java/rmi/activation/ActivationDesc.java,
7866         java/rmi/activation/ActivationGroupDesc.java,
7867         java/rmi/activation/ActivationGroupID.java,
7868         java/rmi/activation/ActivationID.java: New versions from
7869         Classpath.
7870
7871 2002-09-30  Bo Thorsen  <bo@suse.de>
7872
7873         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7874
7875 2002-09-30  Tom Tromey  <tromey@redhat.com>
7876
7877         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7878         from Classpath.
7879         * Makefile.in: Rebuilt.
7880         * Makefile.am (rmi_java_source_files): Added new files.
7881         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7882         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7883         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7884         Classpath.
7885         * gnu/java/rmi/dgc/DGCImpl.java,
7886         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7887         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7888         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7889         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7890         gnu/java/rmi/server/RMIHashes.java,
7891         gnu/java/rmi/server/RMIObjectInputStream.java,
7892         gnu/java/rmi/server/RMIObjectOutputStream.java,
7893         gnu/java/rmi/server/UnicastConnection.java,
7894         gnu/java/rmi/server/UnicastConnectionManager.java,
7895         gnu/java/rmi/server/UnicastRef.java,
7896         gnu/java/rmi/server/UnicastServer.java,
7897         gnu/java/rmi/server/UnicastServerRef.java,
7898         java/rmi/MarshalledObject.java,
7899         java/rmi/server/RMIClassLoader.java,
7900         java/rmi/server/RemoteObject.java,
7901         java/rmi/server/UnicastRemoteObject.java,
7902         java/security/SecureClassLoader.java: Merged from Classpath.
7903
7904 2002-09-29  Anthony Green  <green@redhat.com>
7905
7906         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7907         Imported from GNU Classpath.
7908         * java/lang/reflect/natProxy.cc: New file.
7909         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7910         from GNU Classpath.
7911         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7912         Classpath.
7913         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7914         Classpath.
7915         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7916         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7917         New statics.
7918         * gcj/javaprims.h ("Java"): Add new classes.
7919         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7920         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7921         java/lang/reflect/Proxy$$ProxyType.h): And this.
7922         (inner_nat_headers): Add these new headers.
7923         (ordinary_java_source_files): Add new files.
7924         (nat_source_files): Add new file.
7925         * Makefile.in: Rebuilt.
7926
7927 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7928
7929         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7930         a single configuration.
7931
7932 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7933
7934         * java/util/TimeZone.java (getDSTSavings): New method.
7935         Fixes PR libgcj/7786.
7936
7937 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7938
7939         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7940         to see if `the_method == 0' before looking up vtable index.
7941         Fixes PR libgcj/7709.
7942
7943 2002-09-25  Tom Tromey  <tromey@redhat.com>
7944
7945         * java/lang/natClassLoader.cc:
7946         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7947         * resolve.cc: Include NoClassDefFoundError.h, not
7948         ClassNotFoundException.h.
7949         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7950
7951         * defineclass.cc: Don't include ClassNotFoundException.h.
7952
7953         * resolve.cc: Include StringBuffer.
7954         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7955
7956         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7957         allocated but not initialized.
7958
7959 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7960
7961         Fix for PR libgcj/7766:
7962         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7963         (getNextEntry): Set it.
7964         (closeEntry): Likewise.
7965         (read): Likewise.
7966         (close): Likewise.
7967         (available): Use it.
7968
7969 2002-09-25  Michael Koch  <konqueror@gmx.de>
7970
7971         * java/net/DatagramSocket.java
7972         (DatagramSocket): Initialize new instance variables.
7973         (close): Reset new instance variables.
7974         (getLocalAddress): Remove unneeded SecurityManager usage.
7975         (getLocalPort): Check if socket is already bound.
7976         (isConnected): New method.
7977         (getInetAddress): Implemented.
7978         (getPort): Better Implementation, documentation fixed.
7979         (getRemoteSocketAddress): New method.
7980         * java/net/JarURLConnection.java
7981         (element): Typo fixed.
7982         (getMainAttributes): New method.
7983         (getAttributes): New method (stub only).
7984         (getManifest): New method (stub only).
7985         * java/net/NetPermission.java: Added serialVersionsUID.
7986         * java/net/Socket.java
7987         (connect): Check blocking mode of associated channel,
7988         documentation added.
7989         (getLocalSocketAddress): Better implementation.
7990         (getRemoteSocketAddress): Implemented.
7991         (isBound): New method.
7992         (setSendBufferSize): Documentation added.
7993         * java/net/SocketAddress.java: Added serialVersionsUID.
7994         * java/net/SocketPermission.java: Added serialVersionsUID.
7995         * java/net/URL.java
7996         (URL): Wrap for shorter lines, initialize new instance variables,
7997         documentation added.
7998         (equals): Check new instance variables too.
7999         (getContent): Documentation added.
8000         (getPath): Documentation added.
8001         (getAuthority): New method.
8002         (getHost): Documentation added.
8003         (getPort): Documentation added.
8004         (getDefaultPort): New method.
8005         (getProtocol): Documentation added.
8006         (getUserInfo): Documentation added.
8007         (set): Initialize new instance variables, documentation added.
8008         * java/net/URLStreamHandler.java
8009         (setURL): New method.
8010         * java/net/natPlainDatagramSocketImpl.cc
8011         (connect): Fix exception name.
8012         (disconnect): Fix exception name.
8013
8014 2002-09-25  Michael Koch  <konqueror@gmx.de>
8015
8016         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8017         * java/nio/channels/DatagramChannel.java:
8018         extends AbstractSelectableChannel
8019         * java/nio/channels/ServerSocketChannel.java:
8020         extends AbstractSelectableChannel
8021         * java/nio/channels/SocketChannel.java:
8022         extends AbstractSelectableChannel
8023         * Makefile.am (ordinary_java_source_files):
8024         java/nio/channels/spi/AbstractSelectableChannel.java added.
8025         * Makefile.in: Regenerated.
8026
8027 2002-09-25  Michael Koch  <konqueror@gmx.de>
8028
8029         * java/net/DatagramSocket.java
8030         (DatagramSocket): Exception documentation added.
8031         (bind): Exception documentation added, addded SecurityManager check,
8032         added SocketAddress type check.
8033         (getSoTimeout): Check impl.
8034         (receive): Fix SecurityManager check, check impl, documentation added.
8035         (send): Check channel mode, documentation added.
8036         (connect): New method.
8037         (disconnect): Implemented.
8038         (getLocalSocketAddress): New method.
8039         (getReceiveBufferSize): Check impl.
8040         (setReuseAddress): Check impl.
8041         (getReuseAddress): Check impl.
8042         (setBroadcast): Check impl.
8043         (getBroadcast): Check impl.
8044         (setTrafficClass): Check impl, Documentation cleared.
8045         (getTrafficClass): Check impl.
8046         (getSendBufferSize): Check impl.
8047         (setReceiveBufferSize): Check impl, documentation added.
8048         (setSendBufferSize): Documentation added.
8049         (setDatagramSocketImplFactory): New method.
8050         * java/net/HttpURLConnection.java
8051         (HTTP_INTERNAL_ERROR): The correct code is 500.
8052         (HTTP_NOT_IMPLEMENTED): Added new constant.
8053         (setFollowRedirects): Documentation added.
8054         (getInstanceFollowRedirects): New method.
8055         (setInstanceFollowRedirects): New method.
8056         (setRequestMethod): Documentation added.
8057         (getResponseCode): Documentation added.
8058         (getResponseMessage): Documentation added.
8059         * java/net/JarURLConnection.java
8060         (JarURLConnection): protected since JDK 1.4.
8061         (getJarEntry): java.io.IOException to IOException, documentation added.
8062         (getJarFile): Documentation added.
8063         * java/net/ServerSocket.java
8064         (ServerSocket): Private to public, exception added.
8065         (ServerSocket): java.io.IOException to IOException, documentation added.
8066         (bind): Check socket address type, documentation added.
8067         (bind): java.io.IOException to IOException, documentation added.
8068         (accept): Documentation added.
8069         (implAccept): Check ch is not non-blocking, documentation added.
8070         (setSoTimeout): Documentation fixed.
8071         (setReceiveBufferSize): Documentation added.
8072         * java/net/Socket.java
8073         (Socket): Documentation added.
8074         (bind): Documentation added.
8075         (connect): Check socket address type, documentation added.
8076         (getRemoteSocketAddress): New method.
8077         (getLocalSocketAddress): New method.
8078         (setSoLinger): Documentation added.
8079         (getReuseAddress): New method.
8080         (setReuseAddress): New method.
8081         (getTrafficClass): New method.
8082         (setTrafficClass): New method.
8083         * java/net/URLStreamHandler.java
8084         (openConnection): java.io.IOException to IOException.
8085         (parseURL): Documentation added.
8086         (sameFile): public to protected, documentation added.
8087         (setURL): Documentation added.
8088         * java/nio/IllegalBlockingModeException.java: New file.
8089         * Makefile.am (ordinary_java_source_files):
8090         added java/nio/IllegalBlockingModeException.java
8091         * Makefile.in: Regenerated.
8092
8093 2002-09-25  Michael Koch  <konqueror@gmx.de>
8094
8095         * java/net/DatagramPacket
8096         (DatagramPacket): Exception documentation added.
8097         (setData): Likewise.
8098         (setSocketAddress): Likewise.
8099         * java/net/DatagramSocketImpl.java
8100         (peek): Documentation addded.
8101         (peekData): Documentation addded.
8102         (send): Documentation addded.
8103         (receive): Documentation addded.
8104         (connect): New method.
8105         (disconnect): New method.
8106         (joinGroup): New abstract method.
8107         (leaveGroup): New abstract method.
8108         * java/net/InetSocketAddress.java
8109         (InetSocketAddress): Documentation added.
8110         (equals): final keyword added.
8111         (getAddress): final keyword added.
8112         (getHostName): final keyword added.
8113         (getPort): final keyword added.
8114         (hashCode): final keyword added.
8115         (isUnresolved): final keyword added.
8116         * java/net/MulticastSocket.java
8117         (MulticastSocket): Documentation added.
8118         (MulticastSocket): New method.
8119         (joinGroup): Documentation added.
8120         (joinGroup): New method.
8121         (leaveGroup): Documentation added.
8122         (leaveGroup): New method.
8123         (send): Documentation added.
8124         * java/net/NetworkInterface.java
8125         (getByName): Documentation added.
8126         (getByInetAddress): Documentation added.
8127         (getNetworkInterfaces): Documentation added.
8128         * java/net/PlainDatagramSocketImpl.java
8129         (connect): New method.
8130         (disconnect): New method.
8131         * java/net/SocketImpl.java
8132         (create): Documentation added.
8133         (shutdownInput): Convert public to protected, as it always was.
8134         (shutdownOutput): Convert public to protected, as it always was.
8135         * java/net/SocketOptions.java
8136         (whole file): Reintented.
8137         * java/net/URLClassLoader.java
8138         (URLClassLoader): SecurityManager check added, documentation added.
8139         (findResources): Documentation added.
8140         (findClass): Documentation added.
8141         (newInstance): More correct method arguments.
8142         * java/net/URLConnection.java
8143         (connect): Documentation added.
8144         (getContent): Documentation added.
8145         (getPermission): Documentation added.
8146         (getInputStream): Documentation added.
8147         (getOutputStream): Documentation added.
8148         (setDoInput): Throw correct exception, documentation added.
8149         (setDoOutput): Throw correct exception, documentation added.
8150         (setAllowUserInteraction): Throw correct exception, documentation added.
8151         (setUseCaches): Throw correct exception, documentation added.
8152         (setIfModifiedSince): Throw correct exception, documentation added.
8153         (setRequestProperty): Throw exception, documentation added.
8154         (addRequestProperty): Throw exception, documentation added.
8155         (getRequestProperty): Throw exception, documentation added.
8156         (getRequestProperties): Documentation added.
8157         (setContentHandlerFactory): Documentation added.
8158         (guessContentTypeFromName): protected to public.
8159         (setFileNameMap): Documentation added.
8160         * java/net/URLDecoder.java
8161         (URLDecoder): New method.
8162         (decode): Documentation added.
8163         (whole file): Reindented.
8164         * java/net/URLEncoder.java
8165         (encode): Documentation added.
8166         * java/net/natPlainDatagramSocketImpl.cc
8167         (connect): New method.
8168         (disconnect): New method.
8169         * javax/naming/RefAddr:
8170         (addrType): addrType was never final.
8171         (equals): Fix typo in method name.
8172         * javax/naming/BinaryRefAddr:
8173         (equals): Fix typo in method name.
8174
8175 2002-09-22  Tom Tromey  <tromey@redhat.com>
8176
8177         Fix for PR libgcj/6576:
8178         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8179         didn't find a given bundle.
8180         (getBundle): Don't require base bundle.
8181         (setParent): Removed old comment.
8182         (tryLocalBundle): Try components even if preceding components were
8183         empty.
8184
8185 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8186
8187         * Makefile.am (all-multi): Fix multilib parallel build.
8188
8189 2002-09-21  Michael Koch  <konqueror@gmx.de>
8190
8191         * java/net/Socket.java
8192         (sendUrgentData): New method.
8193         (getChannel): New method.
8194         * java/net/ServerSocket.java
8195         (getChannel): New method.
8196         (isBound): New method.
8197         * java/net/DatagramSocket.java
8198         (DatagramSocket): Two new methods.
8199         (bind): New method.
8200         (getChannel): New method.
8201         (isBound): New method.
8202         (send): Added newline to to make shorter lines.
8203         * java/net/PlainDatagramSocketImpl.java
8204         (mcastGrp): Added argument.
8205         (join): Use new mcastGrp.
8206         (leave): Use new mcastGrp.
8207         (joinGroup): New method.
8208         (leaveGroup): New method.
8209         * java/net/natPlainDatagramSocketImpl.cc
8210         (mcastGrp): Added argument, no yet really implemented.
8211         (getOption): Added newline for shorter lines.
8212         * java/net/natPlainSocketImpl.cc
8213         (read, setOption, getOption): Added newline for shorter lines.
8214
8215 2002-09-19  Tom Tromey  <tromey@redhat.com>
8216
8217        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8218        newly-created exception.
8219
8220 2002-09-18  Michael Koch  <konqueror@gmx.de>
8221
8222         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8223         java/util/regex/PatternSyntaxException.java:
8224         Merge with classpath, new files.
8225         * Makefile.am (core_java_source_files):
8226         Added java/util/regex/Matcher.java,
8227         java/util/regex/Pattern.java,
8228         java/util/regex/PatternSyntaxException.java
8229         * Makefile.in: Regenerated.
8230         * include/config.h.in: Added HAVE_NET_IF_H.
8231         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8232         Removed #if 0 ... #endif.
8233
8234 2002-09-17  Michael Koch  <konqueror@gmx.de>
8235
8236         * java/net/natNetworkInterface.cc:
8237         Removed unneed and yet wrong includes.
8238
8239 2002-09-17  Michael Koch  <konqueror@gmx.de>
8240
8241         * java/net/NetworkInterface.java: New file.
8242         * java/net/natNetworkInterface.java: New file.
8243         * configure.in: Added check for net/if.h.
8244         * configure: Regenerated.
8245         * Makefile.am
8246         (ordinary_java_source_files): Added NetworkInterface.java.
8247         (nat_source_files): Added natNetworkInterface.cc.
8248         * Makefile.in: Regenerated.
8249
8250 2002-09-16  Tom Tromey  <tromey@redhat.com>
8251
8252         * java/net/URLClassLoader.java (findClass): Code source for a
8253         class from a jar is not necessarily a jar: URL.
8254
8255 2002-09-16  Michael Koch  <konqueror@gmx.de>
8256
8257         * java/lang/AssertionError.java:
8258         Merge with classpath, fixes HTML.
8259         * java/rmi/server/LogStream.java:
8260         Merge with classpath, fixes some constants.
8261         * java/net/server/RemoteServer.java:
8262         Merge with classpath, adds serialVersionUID.
8263         * javax/naming/BinaryRefAddr.java:
8264         Merge with classpath, s/equal/equals/.
8265         * javax/naming/NamingException.java:
8266         Merge with classpath, fixed typo.
8267         * javax/naming/RefAddr.java:
8268         Merge with classpath, s/equal/equals/.
8269         * java/awt/Toolkit.java:
8270         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8271         and typo fixed.
8272
8273 2002-09-15  Adam Megacz <adam@xwt.org>
8274
8275         * java/net/natPlainSocketImpl.cc: fixed typo.
8276
8277 2002-09-15  Adam Megacz <adam@xwt.org>
8278
8279         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8280         which don't work on Win32 (yet).
8281
8282 2002-09-14  Adam Megacz <adam@xwt.org>
8283
8284         * java/net/natPlainDatagramSocket.cc: removed #include
8285         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8286         * include/win32.h: included definition for IP_TOS to satisfy
8287         natPlainDatagramSocket.cc
8288
8289 2002-09-13  Michael Koch  <konqueror@gmx.de>
8290
8291         * java/net/DatagramPacket.java (DatagramPacket):
8292         Added linebreak for 80 chars per line.
8293         * java/net/JarURLConection.java
8294         (getInputStreami, getJarEntry): Likewise.
8295         * java/net/SocketPErmission.java
8296         (SocketPermission class docu, implies): Likewise.
8297         * java/net/URLClassLoader.java (findResources): Likewise.
8298         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8299
8300 2002-09-13  Michael Koch  <konqueror@gmx.de>
8301
8302         * java/nio/channels/DatagramChannel.java,
8303         java/nio/channels/ServerSocketChannel.java
8304         java/nio/channels/SocketChannel.java:
8305         New dummy files to make java.net fully JDK 1.4 compatible
8306         * Makefile.am (ordinary_java_source_files): Added
8307         java/net/DatagramSocketImplFactory.java (long forgotten),
8308         java/nio/SocketChannel.java,
8309         java/nio/ServerSocketChannel.java,
8310         java/nio/DatagramChannel.java
8311         * Makefile.in: Regenrated.
8312
8313 2002-09-12  Michael Koch  <konqueror@gmx.de>
8314
8315         * java/net/DatagramSocketImpl.java
8316         (peekData): New method.
8317         * java/net/PlainDatagramSocketImpl.java
8318         (peekData): New method.
8319         * java/net/natPlainDatagramSocketImpl.cc
8320         (peekData): New method.
8321         * java/net/URLConnection
8322         (getPermission): New method.
8323         (addRequestProperty): New method.
8324         (getRequestProperties): New method.
8325         (guessContentTypeFromStream): New method, not really implemented.
8326         (URLConnection): Added/updated documentation.
8327         (connect): Added/updated documentation.
8328         (getURL): Added/updated documentation.
8329         (getContentLength): Added/updated documentation.
8330         (getContentType: Added/updated documentation.
8331         (getContentEncoding): Added/updated documentation.
8332         (getExpiration): Added/updated documentation.
8333         (getDate): Added/updated documentation.
8334         (getLastModified): Added/updated documentation.
8335         (getHeaderField): Added/updated documentation.
8336         (getHeaderFields): Added/updated documentation.
8337         (getHeaderFieldInt): Added/updated documentation.
8338         (getHeaderFieldDate): Added/updated documentation.
8339         (getHeaderFieldKey): Added/updated documentation.
8340         (getContent): Added/updated documentation.
8341         (getInputStream): Added/updated documentation.
8342         (getOutputStream): Added/updated documentation.
8343         (toString): Added/updated documentation.
8344         (setDoInput): Added/updated documentation.
8345         (getDoInput): Added/updated documentation.
8346         (setDoOutput): Added/updated documentation.
8347         (getDoOutput): Added/updated documentation.
8348         (setAllowUserInteraction): Added/updated documentation.
8349         (getAllowUserInteraction): Added/updated documentation.
8350         (setDefaultAllowUserInteraction): Added/updated documentation.
8351         (getDefaultAllowUserInteraction): Added/updated documentation.
8352         (setUseCaches): Added/updated documentation.
8353         (getUseCaches): Added/updated documentation.
8354         (setIfModifiedSince): Added/updated documentation.
8355         (getIfModifiedSince): Added/updated documentation.
8356         (getDefaultUseCaches): Added/updated documentation.
8357         (setDefaultUseCaches): Added/updated documentation.
8358         (setRequestProperty): Added/updated documentation.
8359         (getRequestProperty): Added/updated documentation.
8360         (setDefaultRequestProperty): Added/updated documentation.
8361         (getDefaultRequestProperty): Added/updated documentation.
8362         (setContentHandlerFactory): Added/updated documentation.
8363         (guessContentTypeFromName): Added/updated documentation.
8364         (getFileNameMap): Added/updated documentation.
8365         (setFileNameMap): Added/updated documentation.
8366
8367 2002-09-11  Michael Koch  <konqueror@gmx.de>
8368
8369         * java/net/Socket.java
8370         (Socket): protected to public (since JDK 1.4). Added @specnote.
8371         (bind): New method.
8372         (connect): Two new methods.
8373         (getKeepalive): Get correct socket option.
8374         (setKeepalive): Set correct socket option.
8375         (getOOBInline): New method.
8376         (setOOBInline): New method.
8377         * java/net/ServerSocket.java
8378         (bind): Two new methods.
8379         (getInetAddress): Reimplemented, catch exception.
8380         (getLocalSocketAddress): New method.
8381         (setReuseAddress): New method.
8382         (getReuseAdress): New method.
8383         (setReceiveBufferSize): New method.
8384         (getReceiveBufferSize): New method.
8385         (toString): Made string JDK 1.4 compliant.
8386
8387 2002-09-10  Michael Koch  <konqueror@gmx.de>
8388
8389         * java/net/SocketImpl.java
8390         (connect): New method.
8391         (supportsUrgentData): New method.
8392         (sendUrgentData): New method.
8393         * java/net/PlainSocketImpl.java
8394         (connect): One new method and two new implementation.
8395         (sendUrgentData): New method.
8396         * java/natPlainSocketImpl.cc
8397         (connect): Arguments changed, added support for timeouts.
8398         (getOption): Another __java_boolean to jboolean.
8399
8400 2002-09-07  Adam Megacz <adam@xwt.org>
8401
8402         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8403         definition of IP_TOS.
8404
8405 2002-09-04  Michael Koch  <konqueror@gmx.de>
8406
8407         * java/net/DatagramSocket.java
8408         (DatagramSocket): Added documentation.
8409         (close): Likewise.
8410         (getLocalAddress): Likewise.
8411         (getLocalPort): Likewise.
8412         (receive): Likewise.
8413         (send): Likewise.
8414         (setSoTimeout): Likewise.
8415         (connect): New method.
8416         (disconnect): New method.
8417         (getInetAddress): New method (FIXME)
8418         (getPort): New method.
8419         (setReuseAddress): New method.
8420         (getReuseAddress): New method.
8421         (setBroadcast): New method.
8422         (getBroadcast): New method.
8423         (setTrafficClass): New method.
8424         (getTrafficClass): New method.
8425         * java/net/MulticastSocket.java):
8426         (getTTL): Added @see in documentation.
8427         (setTTL): Added @see in documentation.
8428         (setLoopbackMode): New method.
8429         (getLoopbackMode): New method.
8430         * java/net/PlainSocketImpl.java:
8431         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8432         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8433         * java/net/PlainDatagramSocketImpl.java
8434         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8435         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8436         * java/net/natPlainSocketImpl.cc
8437         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8438         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8439         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8440         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8441         This should also fix SO_KEEPALIVE
8442         * java/net/natPlainDatagramSocketImpl.cc
8443         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8444         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8445         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8446         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8447
8448 2002-09-04  Michael Koch  <konqueror@gmx.de>
8449
8450         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8451         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8452         IP_MULTICAST_LOOP, IP_TOS
8453
8454 2002-09-03  Tom Tromey  <tromey@redhat.com>
8455
8456         * java/lang/Class.h (_getDeclaredMethod): Declare.
8457         (_getMethod): Now private.
8458         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8459         getDeclaredMethod.  Now returns NULL on failure.
8460         * java/lang/Class.java (_getDeclaredMethod): Declare.
8461         (getDeclaredMethod): No longer native; implements access checks.
8462
8463 2002-09-01  Mark Wielaard  <mark@klomp.org>
8464
8465         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8466         (sanitizeStack): Correctly reset unknown and interpreter counters,
8467         detect interpreter runtime frames.
8468         (demangleInterpreterMethod): New method.
8469         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8470         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8471         filling in addrs[].
8472
8473 2002-09-02  Michael Koch  <konqueror@gmx.de>
8474
8475         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8476         re-indented documentation.
8477
8478 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8479
8480         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8481         public, per 1.4 spec.  Fixes PR libgcj/7785.
8482
8483 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8484
8485         * Makefile.in: Rebuilt.
8486         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8487
8488 2002-08-29  Tom Tromey  <tromey@redhat.com>
8489
8490         * java/net/JarURLConnection.java (getCertificates): New method
8491         from Classpath.
8492         * java/net/URLClassLoader.java (URLClassLoader): Extends
8493         SecureClassLoader.
8494         (definePackage): New method from Classpath.
8495         (getPermissions): Likewise.
8496         (newInstance): Likewise.
8497         (findClass): Construct CodeSource for new class (from Classpath).
8498         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8499         methods.
8500         * java/net/URL.java (getUserInfo): New method.
8501         (set(String,String,int,String,String,String,String,String)): New
8502         method.
8503         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8504         (shutdownInput, shutdownOutput): Declare.
8505         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8506         Define.
8507         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8508         (getOption): Likewise.
8509         (shutdownInput): New method.
8510         (shutdownOutput): Likewise.
8511         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8512         keepalive.
8513         (getOption): Likewise.
8514         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8515         * java/net/Socket.java (setKeepAlive): New method.
8516         (getKeepAlive): Likewise.
8517         (shutdownInput, shutdownOutput): New methods.
8518
8519 2002-08-29  Michael Koch  <konqueror@gmx.de>
8520
8521         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8522         new methods are:
8523         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8524           address),
8525         DatagramPacket(byte[] buf, int length, SocketAddress address),
8526         void setSocketAddress(SocketAddress address)
8527         public SocketAddress getSocketAddress()
8528
8529 2002-08-29  Tom Tromey  <tromey@redhat.com>
8530
8531         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8532         ftruncate is missing.
8533         * configure, include/config.h.in: Rebuilt.
8534         * acconfig.h (HAVE_FTRUNCATE): Mention.
8535         * configure.in: Check for ftruncate.
8536
8537 2002-08-29  Tom Tromey  <tromey@redhat.com>
8538
8539         * include/jvm.h (struct _Jv_frame_info): New structure.
8540         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8541         java-interp.h.
8542         (lookupInterp): New method.
8543         (getAddrAsString): Use _Jv_frame_info.
8544         (dladdrLookup): Likewise.
8545         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8546         interpreted frame.
8547         (lookupInterp): Declare.
8548         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8549         (fillInStackTrace): Collect information on interpreted frames.
8550         Use _Jv_frame_info.
8551         * interpret.cc: Include Thread.h.
8552         (run): Create and push _Jv_MethodChain object.
8553         (_Jv_EndOfInterpreter): New global.
8554         * java/lang/Thread.java (interp_frame): New field.
8555         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8556         Include NameFinder.h.
8557
8558 2002-08-28  Tom Tromey  <tromey@redhat.com>
8559
8560         * java/lang/Class.h: Include Package.h.
8561         (Class::getProtectionDomain): Declare.
8562         (Class::getPackage): Declare.
8563
8564 2002-08-28  Michael Koch <konqueror@gmx.de>
8565
8566         * java/net/InetSocketAddress.java: Added some documentation and argument
8567         checks for the port numbers.
8568         * java/net/DatagramSocketImplFactory.java: New file.
8569
8570 2002-08-28  Michael Koch <konqueror@gmx.de>
8571
8572         * java/net/Authenticator.java: added some documentation.
8573
8574 2002-08-27  Tom Tromey  <tromey@redhat.com>
8575
8576         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8577         class.
8578         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8579
8580 2002-08-27  Michael Koch <konqueror@gmx.de>
8581
8582         * java/net/BindException.java,
8583         java/net/JarURLConnection.java,
8584         java/net/FileNameMap.java,
8585         java/net/HttpURLConnection.java,
8586         java/net/InetSocketAddress.java,
8587         java/net/DatagramPacket.java,
8588         java/net/DatagramSocket.java,
8589         java/net/DatagramSocketImpl.java,
8590         java/net/MulticastSocket.java,
8591         java/net/PasswordAuthentication.java,
8592         java/net/ServerSocket.java,
8593         java/net/Socket.java,
8594         java/net/URLClassLoader.java,
8595         java/net/URLConnection.java: add/update of some @since/@deprecated
8596
8597 2002-08-27  Tony Kimball <alk@pobox.com>
8598             Tom Tromey  <tromey@redhat.com>
8599
8600         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8601         define.
8602         (::close): Removed.
8603         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8604         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8605         (::close): Removed.
8606         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8607         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8608
8609 2002-08-25  Adam Megacz <adam@xwt.org>
8610
8611         * include/win32.h (getcwd): copied function declaration as
8612         temporary fix for header confusion.
8613
8614 2002-08-24  Mark Wielaard <mark@klomp.org>
8615
8616         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8617         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8618         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8619         and natNameFinder.cc.
8620         * Makefile.in: Regenerate.
8621         * prims.cc: Use trace_enabled from VMThrowable.
8622         * name-finder.cc: Removed.
8623         * gcj/javaprims.h: Add class VMThrowable.
8624         * gnu/gcj/runtime/NameFinder.java: New file.
8625         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8626         * include/name-finder.h: Removed.
8627         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8628         method stackTraceString().
8629         (printStackTrace (PrintWriter)): Likewise.
8630         (stackTraceString): Complete rewrite of old printStackTrace using
8631         StringBuffer.
8632         (stackTraceStringBuffer): New helper method for stackTraceString().
8633         (fillInStackTrace): Delegate to VMTrowable.
8634         (getStackTrace): Likewise.
8635         (getStackTrace0): Removed.
8636         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8637         (setStackTrace): Copy given array.
8638         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8639         * java/lang/VMThrowable.java: New class.
8640         * java/lang/natVMThrowable.cc: New file.
8641
8642 2003-08-23  Michael Koch  <konqueror@gmx.de>
8643
8644         * java/net/URLConnection.java,
8645         java/netJarURLConnection.java,
8646         gnu/gcj/protocol/core/Connection.java,
8647         gnu/gcj/protocol/file/Connection.java,
8648         gnu/gcj/protocol/http/Connection.java: Added implementation of
8649         getHeaderFields().
8650
8651 2002-08-22  Tom Tromey  <tromey@redhat.com>
8652
8653         * gij.cc (help): Document -cp and -classpath.
8654         (main): Handle -classpath.
8655
8656 2002-08-21  Tom Tromey  <tromey@redhat.com>
8657
8658         * Makefile.in: Rebuilt.
8659         * Makefile.am (ordinary_java_source_files): Added
8660         SocketAddress.java, InetSocketAddress.java.
8661         * java/net/PortUnreachableException.java: Merged with Classpath.
8662         * java/net/SocketTimeoutException.java: Likewise.
8663         * java/net/URISyntaxException.java: Likewise.
8664         * java/net/SocketAddress.java: New class from Classpath.
8665         * java/net/InetSocketAddress.java: Likewise.
8666
8667 2003-08-21  Michael Koch  <konqueror@gmx.de>
8668
8669         * java/net/Authenticator.java: updated JDK 1.4
8670         * java/net/ContentHandler.java: updated JDK 1.4
8671
8672 2002-08-20  Michael Koch  <konqueror@gmx.de>
8673
8674         * java/net/URISyntaxException.java: New file.
8675         * java/net/SocketTimeoutException.java: New file.
8676         * java/net/PortUnreachableException.java: New file.
8677         * Makefile.am: Updated.
8678         * Makefile.in: Rebuilt.
8679
8680 2002-08-18  Mark Wielaard  <mark@klomp.org>
8681
8682         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8683         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8684         MessageDigestSpi (fixes Classpath bug #783).
8685
8686 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8687
8688         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8689         (startProcess): Allocate path for chdir in async-signal-safe way.
8690
8691 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8692
8693         Fix for PR libgcj/7570 and PR libgcj/7578:
8694         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8695         (startProcess): Handle new `dir' argument.
8696         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8697         argument.
8698         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8699         argument.
8700         (startProcess): Likewise.
8701         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8702         argument.
8703         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8704         (exec): Don't create new environment if ENV==null.  Pass DIR to
8705         execInternal.
8706         * java/lang/natRuntime.cc: Include java/io/File.h.
8707         (execInternal): Added `dir' argument.
8708
8709 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8710
8711         * java/io/RandomAccessFile.java (skipBytes): Return number of
8712         bytes skipped.
8713
8714 2002-08-01  Mark Wielaard  <mark@klomp.org>
8715
8716         Reenable patch since shared library troubles on powerpc are solved:
8717         * gnu/java/security/provider/Gnu.java: Reference all implementation
8718         classes by using Class.getName().
8719         * gnu/java/security/der/DEREncodingException.java,
8720         gnu/java/security/provider/DERReader.java,
8721         gnu/java/security/provider/DERWriter.java,
8722         gnu/java/security/provider/DSAKeyPairGenerator.java,
8723         gnu/java/security/provider/DSAParameterGenerator.java,
8724         gnu/java/security/provider/DSAParameters.java,
8725         gnu/java/security/provider/DSASignature.java,
8726         gnu/java/security/provider/GnuDSAPrivateKey.java,
8727         gnu/java/security/provider/GnuDSAPublicKey.java,
8728         gnu/java/security/provider/MD5.java,
8729         gnu/java/security/util/Prime.java: New classes
8730         * Makefile.am (ordinary_java_source_files): Add above files.
8731         * Makefile.in: Regenerate.
8732         * gnu/java/security/provider/DefaultPolicy.java
8733         (getPermissions): Don't maintain static class variable of Permissions.
8734         * gnu/java/security/provider/SHA.java
8735         (engineUpdate): algorithm change.
8736         (engineDigest): algorithm change.
8737
8738 2002-08-09  Mark Wielaard  <mark@klomp.org>
8739
8740         * java/awt/image/MemoryImageSource.java: Change constructor to take
8741         int[] not byte[].
8742         * java/awt/Graphics2D.java: Uncomment methods that can now be
8743         compiled.
8744         * java/awt/GridBagLayout.java: New stub implementation.
8745         * javax/swing/text/html/HTML.java: Stub implementation.
8746         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8747         implementation.
8748
8749         * Makefile.am: Add new files.
8750         * Makefile.in: Rebuilt.
8751
8752 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8753
8754         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8755         methods in Graphics2D.
8756
8757 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8758
8759         AWT/Swing merge from GNU Classpath.
8760
8761         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8762         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8763         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8764         java/awt/color/ProfileDataException.java,
8765         java/awt/CompositeContext.java, java/awt/Composite.java,
8766         java/awt/ContainerOrderFocusTraversalPolicy.java,
8767         java/awt/datatransfer/FlavorTable.java,
8768         java/awt/DefaultFocusTraversalPolicy.java,
8769         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8770         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8771         java/awt/dnd/DragGestureListener.java,
8772         java/awt/dnd/DragGestureRecognizer.java,
8773         java/awt/dnd/DragSourceAdapter.java,
8774         java/awt/dnd/DragSourceContext.java,
8775         java/awt/dnd/DragSourceDragEvent.java,
8776         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8777         java/awt/dnd/DragSourceListener.java,
8778         java/awt/dnd/DragSourceMotionListener.java,
8779         java/awt/dnd/DropTarget.java,
8780         java/awt/dnd/InvalidDnDOperationException.java,
8781         java/awt/dnd/peer/DragSourceContextPeer.java,
8782         java/awt/event/AWTEventListenerProxy.java,
8783         java/awt/event/MouseWheelEvent.java,
8784         java/awt/event/MouseWheelListener.java,
8785         java/awt/event/WindowFocusListener.java,
8786         java/awt/event/WindowStateListener.java,
8787         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8788         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8789         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8790         java/awt/geom/FlatteningPathIterator.java,
8791         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8792         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8793         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8794         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8795         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8796         java/awt/image/ImagingOpException.java,
8797         java/awt/image/RasterFormatException.java,
8798         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8799         java/awt/image/VolatileImage.java,
8800         java/awt/image/WritableRenderedImage.java,
8801         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8802         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8803         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8804         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8805         java/awt/PageAttributes.java, java/awt/print/Book.java,
8806         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8807         java/awt/print/Paper.java, java/awt/print/Printable.java,
8808         java/awt/print/PrinterAbortException.java,
8809         java/awt/print/PrinterException.java,
8810         java/awt/print/PrinterGraphics.java,
8811         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8812         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8813         java/awt/Stroke.java, java/awt/TexturePaint.java,
8814         javax/accessibility/AccessibleAction.java,
8815         javax/accessibility/AccessibleBundle.java,
8816         javax/accessibility/AccessibleComponent.java,
8817         javax/accessibility/AccessibleContext.java,
8818         javax/accessibility/AccessibleEditableText.java,
8819         javax/accessibility/AccessibleExtendedComponent.java,
8820         javax/accessibility/AccessibleExtendedTable.java,
8821         javax/accessibility/AccessibleHyperlink.java,
8822         javax/accessibility/AccessibleHypertext.java,
8823         javax/accessibility/AccessibleIcon.java,
8824         javax/accessibility/Accessible.java,
8825         javax/accessibility/AccessibleKeyBinding.java,
8826         javax/accessibility/AccessibleRelation.java,
8827         javax/accessibility/AccessibleRelationSet.java,
8828         javax/accessibility/AccessibleResourceBundle.java,
8829         javax/accessibility/AccessibleRole.java,
8830         javax/accessibility/AccessibleSelection.java,
8831         javax/accessibility/AccessibleState.java,
8832         javax/accessibility/AccessibleStateSet.java,
8833         javax/accessibility/AccessibleTable.java,
8834         javax/accessibility/AccessibleTableModelChange.java,
8835         javax/accessibility/AccessibleText.java,
8836         javax/accessibility/AccessibleValue.java,
8837         javax/swing/AbstractAction.java,
8838         javax/swing/AbstractButton.java,
8839         javax/swing/AbstractCellEditor.java,
8840         javax/swing/AbstractListModel.java,
8841         javax/swing/AbstractSet.java, javax/swing/Action.java,
8842         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8843         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8844         javax/swing/border/CompoundBorder.java,
8845         javax/swing/border/EmptyBorder.java,
8846         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8847         javax/swing/border/LineBorder.java,
8848         javax/swing/border/MatteBorder.java,
8849         javax/swing/border/TitledBorder.java,
8850         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8851         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8852         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8853         javax/swing/CellRendererPane.java,
8854         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8855         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8856         javax/swing/colorchooser/ColorSelectionModel.java,
8857         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8858         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8859         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8860         javax/swing/DefaultBoundedRangeModel.java,
8861         javax/swing/DefaultButtonModel.java,
8862         javax/swing/DefaultCellEditor.java,
8863         javax/swing/DefaultCellRenderer.java,
8864         javax/swing/DefaultComboBoxModel.java,
8865         javax/swing/DefaultDesktopManager.java,
8866         javax/swing/DefaultFocusManager.java,
8867         javax/swing/DefaultListCellRenderer.java,
8868         javax/swing/DefaultListModel.java,
8869         javax/swing/DefaultListSelectionModel.java,
8870         javax/swing/DefaultSingleSelectionModel.java,
8871         javax/swing/DesktopManager.java,
8872         javax/swing/event/AncestorEvent.java,
8873         javax/swing/event/AncestorListener.java,
8874         javax/swing/event/CaretEvent.java,
8875         javax/swing/event/CaretListener.java,
8876         javax/swing/event/CellEditorListener.java,
8877         javax/swing/event/ChangeEvent.java,
8878         javax/swing/event/ChangeListener.java,
8879         javax/swing/event/DocumentEvent.java,
8880         javax/swing/event/DocumentListener.java,
8881         javax/swing/event/EventListenerList.java,
8882         javax/swing/event/HyperlinkEvent.java,
8883         javax/swing/event/HyperlinkListener.java,
8884         javax/swing/event/InternalFrameAdapter.java,
8885         javax/swing/event/InternalFrameEvent.java,
8886         javax/swing/event/InternalFrameListener.java,
8887         javax/swing/event/ListDataEvent.java,
8888         javax/swing/event/ListDataListener.java,
8889         javax/swing/event/ListSelectionEvent.java,
8890         javax/swing/event/ListSelectionListener.java,
8891         javax/swing/event/MenuDragMouseEvent.java,
8892         javax/swing/event/MenuDragMouseListener.java,
8893         javax/swing/event/MenuEvent.java,
8894         javax/swing/event/MenuKeyEvent.java,
8895         javax/swing/event/MenuKeyListener.java,
8896         javax/swing/event/MenuListener.java,
8897         javax/swing/event/MouseInputAdapter.java,
8898         javax/swing/event/MouseInputListener.java,
8899         javax/swing/event/PopupMenuEvent.java,
8900         javax/swing/event/PopupMenuListener.java,
8901         javax/swing/event/SwingPropertyChangeSupport.java,
8902         javax/swing/event/TableColumnModelEvent.java,
8903         javax/swing/event/TableColumnModelListener.java,
8904         javax/swing/event/TableModelEvent.java,
8905         javax/swing/event/TableModelListener.java,
8906         javax/swing/event/TreeExpansionEvent.java,
8907         javax/swing/event/TreeExpansionListener.java,
8908         javax/swing/event/TreeModelEvent.java,
8909         javax/swing/event/TreeModelListener.java,
8910         javax/swing/event/TreeSelectionEvent.java,
8911         javax/swing/event/TreeSelectionListener.java,
8912         javax/swing/event/TreeWillExpandListener.java,
8913         javax/swing/event/UndoableEditEvent.java,
8914         javax/swing/event/UndoableEditListener.java,
8915         javax/swing/filechooser/FileFilter.java,
8916         javax/swing/filechooser/FileSystemView.java,
8917         javax/swing/filechooser/FileView.java,
8918         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8919         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8920         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8921         javax/swing/JApplet.java, javax/swing/JButton.java,
8922         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8923         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8924         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8925         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8926         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8927         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8928         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8929         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8930         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8931         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8932         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8933         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8934         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8935         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8936         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8937         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8938         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8939         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8940         javax/swing/JToolTip.java, javax/swing/JTree.java,
8941         javax/swing/JViewport.java, javax/swing/JWindow.java,
8942         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8943         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8944         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8945         javax/swing/MenuSelectionManager.java,
8946         javax/swing/MutableComboBoxModel.java,
8947         javax/swing/OverlayLayout.java,
8948         javax/swing/plaf/ActionMapUIResource.java,
8949         javax/swing/plaf/basic/BasicBorders.java,
8950         javax/swing/plaf/basic/BasicButtonUI.java,
8951         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8952         javax/swing/plaf/basic/BasicDefaults.java,
8953         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8954         javax/swing/plaf/basic/BasicIconFactory.java,
8955         javax/swing/plaf/basic/BasicLabelUI.java,
8956         javax/swing/plaf/basic/BasicListUI.java,
8957         javax/swing/plaf/basic/BasicLookAndFeel.java,
8958         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8959         javax/swing/plaf/basic/BasicPanelUI.java,
8960         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8961         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8962         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8963         javax/swing/plaf/basic/BasicTextUI.java,
8964         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8965         javax/swing/plaf/basic/BasicTreeUI.java,
8966         javax/swing/plaf/basic/BasicViewportUI.java,
8967         javax/swing/plaf/BorderUIResource.java,
8968         javax/swing/plaf/ButtonUI.java,
8969         javax/swing/plaf/ColorChooserUI.java,
8970         javax/swing/plaf/ColorUIResource.java,
8971         javax/swing/plaf/ComboBoxUI.java,
8972         javax/swing/plaf/ComponentInputMapUIResource.java,
8973         javax/swing/plaf/ComponentUI.java,
8974         javax/swing/plaf/DesktopIconUI.java,
8975         javax/swing/plaf/DesktopPaneUI.java,
8976         javax/swing/plaf/DimensionUIResource.java,
8977         javax/swing/plaf/FileChooserUI.java,
8978         javax/swing/plaf/FontUIResource.java,
8979         javax/swing/plaf/IconUIResource.java,
8980         javax/swing/plaf/InputMapUIResource.java,
8981         javax/swing/plaf/InsetsUIResource.java,
8982         javax/swing/plaf/InternalFrameUI.java,
8983         javax/swing/plaf/LabelUI.java,
8984         javax/swing/plaf/ListUI.java,
8985         javax/swing/plaf/MenuBarUI.java,
8986         javax/swing/plaf/MenuItemUI.java,
8987         javax/swing/plaf/OptionPaneUI.java,
8988         javax/swing/plaf/PanelUI.java,
8989         javax/swing/plaf/PopupMenuUI.java,
8990         javax/swing/plaf/ProgressBarUI.java,
8991         javax/swing/plaf/RootPaneUI.java,
8992         javax/swing/plaf/ScrollBarUI.java,
8993         javax/swing/plaf/ScrollPaneUI.java,
8994         javax/swing/plaf/SeparatorUI.java,
8995         javax/swing/plaf/SliderUI.java,
8996         javax/swing/plaf/SplitPaneUI.java,
8997         javax/swing/plaf/TabbedPaneUI.java,
8998         javax/swing/plaf/TableHeaderUI.java,
8999         javax/swing/plaf/TableUI.java,
9000         javax/swing/plaf/TextUI.java,
9001         javax/swing/plaf/ToolBarUI.java,
9002         javax/swing/plaf/ToolTipUI.java,
9003         javax/swing/plaf/TreeUI.java,
9004         javax/swing/plaf/UIResource.java,
9005         javax/swing/plaf/ViewportUI.java,
9006         javax/swing/ProgressMonitorInputStream.java,
9007         javax/swing/ProgressMonitor.java,
9008         javax/swing/Renderer.java,
9009         javax/swing/RepaintManager.java,
9010         javax/swing/RootPaneContainer.java,
9011         javax/swing/Scrollable.java,
9012         javax/swing/ScrollPaneConstants.java,
9013         javax/swing/ScrollPaneLayout.java,
9014         javax/swing/SingleSelectionModel.java,
9015         javax/swing/SizeRequirements.java,
9016         javax/swing/SizeSequence.java,
9017         javax/swing/SwingConstants.java,
9018         javax/swing/SwingUtilities.java,
9019         javax/swing/table/AbstractTableModel.java,
9020         javax/swing/table/DefaultTableCellRenderer.java,
9021         javax/swing/table/DefaultTableColumnModel.java,
9022         javax/swing/table/DefaultTableModel.java,
9023         javax/swing/table/TableCellEditor.java,
9024         javax/swing/table/TableCellRenderer.java,
9025         javax/swing/table/TableColumn.java,
9026         javax/swing/table/TableColumnModel.java,
9027         javax/swing/table/TableModel.java,
9028         javax/swing/text/AbstractDocument.java,
9029         javax/swing/text/AttributeSet.java,
9030         javax/swing/text/BadLocationException.java,
9031         javax/swing/text/Caret.java,
9032         javax/swing/text/CharacterIterator.java,
9033         javax/swing/text/ComponentView.java,
9034         javax/swing/text/DefaultCaret.java,
9035         javax/swing/text/DefaultEditorKit.java,
9036         javax/swing/text/Document.java,
9037         javax/swing/text/EditorKit.java,
9038         javax/swing/text/Element.java,
9039         javax/swing/text/GapContent.java,
9040         javax/swing/text/JTextComponent.java,
9041         javax/swing/text/Keymap.java,
9042         javax/swing/text/MutableAttributeSet.java,
9043         javax/swing/text/PlainDocument.java,
9044         javax/swing/text/PlainEditorKit.java,
9045         javax/swing/text/Position.java,
9046         javax/swing/text/Segment.java,
9047         javax/swing/text/StyledDocument.java,
9048         javax/swing/text/StyledEditorKit.java,
9049         javax/swing/text/Style.java,
9050         javax/swing/text/TextAction.java,
9051         javax/swing/text/ViewFactory.java,
9052         javax/swing/text/View.java,
9053         javax/swing/Timer.java,
9054         javax/swing/ToggleButtonModel.java,
9055         javax/swing/ToolTipManager.java,
9056         javax/swing/tree/AbstractLayoutCache.java,
9057         javax/swing/tree/DefaultMutableTreeNode.java,
9058         javax/swing/tree/DefaultTreeCellEditor.java,
9059         javax/swing/tree/DefaultTreeCellRenderer.java,
9060         javax/swing/tree/DefaultTreeModel.java,
9061         javax/swing/tree/DefaultTreeSelectionModel.java,
9062         javax/swing/tree/ExpandVetoException.java,
9063         javax/swing/tree/FixedHeightLayoutCache.java,
9064         javax/swing/tree/MutableTreeNode.java,
9065         javax/swing/tree/RowMapper.java,
9066         javax/swing/tree/TreeCellEditor.java,
9067         javax/swing/tree/TreeCellRenderer.java,
9068         javax/swing/tree/TreeModel.java,
9069         javax/swing/tree/TreeNode.java,
9070         javax/swing/tree/TreePath.java,
9071         javax/swing/tree/TreeSelectionModel.java,
9072         javax/swing/tree/VariableHeightLayoutCache.java,
9073         javax/swing/UIDefaults.java,
9074         javax/swing/UIManager.java,
9075         javax/swing/undo/AbstractUndoableEdit.java,
9076         javax/swing/undo/CannotRedoException.java,
9077         javax/swing/undo/CannotUndoException.java,
9078         javax/swing/undo/CompoundEdit.java,
9079         javax/swing/undo/StateEditable.java,
9080         javax/swing/undo/StateEdit.java,
9081         javax/swing/undo/UndoableEdit.java,
9082         javax/swing/undo/UndoableEditSupport.java,
9083         javax/swing/undo/UndoManager.java,
9084         javax/swing/UnsupportedLookAndFeelException.java,
9085         javax/swing/ViewportLayout.java,
9086         javax/swing/WindowConstants.java: New files, from GNU Classpath.
9087
9088         * java/awt/ActiveEvent.java,
9089         java/awt/Adjustable.java, java/awt/AWTError.java,
9090         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9091         java/awt/AWTException.java, java/awt/AWTPermission.java,
9092         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9093         java/awt/Color.java, java/awt/Component.java,
9094         java/awt/ComponentOrientation.java, java/awt/Container.java,
9095         java/awt/datatransfer/MimeTypeParseException.java,
9096         java/awt/datatransfer/Transferable.java,
9097         java/awt/datatransfer/UnsupportedFlavorException.java,
9098         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9099         java/awt/event/ActionListener.java,
9100         java/awt/event/AdjustmentEvent.java,
9101         java/awt/event/AdjustmentListener.java,
9102         java/awt/event/AWTEventListener.java,
9103         java/awt/event/ComponentAdapter.java,
9104         java/awt/event/ComponentEvent.java,
9105         java/awt/event/ComponentListener.java,
9106         java/awt/event/ContainerAdapter.java,
9107         java/awt/event/ContainerEvent.java,
9108         java/awt/event/ContainerListener.java,
9109         java/awt/event/FocusAdapter.java,
9110         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9111         java/awt/event/HierarchyBoundsAdapter.java,
9112         java/awt/event/HierarchyBoundsListener.java,
9113         java/awt/event/HierarchyEvent.java,
9114         java/awt/event/HierarchyListener.java,
9115         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9116         java/awt/event/InputMethodListener.java,
9117         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9118         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9119         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9120         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9121         java/awt/event/MouseListener.java,
9122         java/awt/event/MouseMotionAdapter.java,
9123         java/awt/event/MouseMotionListener.java,
9124         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9125         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9126         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9127         java/awt/event/WindowListener.java, java/awt/Font.java,
9128         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9129         java/awt/geom/Ellipse2D.java,
9130         java/awt/geom/IllegalPathStateException.java,
9131         java/awt/geom/Line2D.java,
9132         java/awt/geom/NoninvertibleTransformException.java,
9133         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9134         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9135         java/awt/geom/RoundRectangle2D.java,
9136         java/awt/GraphicsConfiguration.java,
9137         java/awt/IllegalComponentStateException.java,
9138         java/awt/image/IndexColorModel.java,
9139         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9140         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9141         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9142         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9143         java/awt/MenuItem.java, java/awt/PaintContext.java,
9144         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9145         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9146         java/awt/PrintJob.java, java/awt/Rectangle.java,
9147         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9148         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9149         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9150
9151         * java/awt/im/spi/InputMethod.java,
9152         java/awt/im/spi/InputMethodContext.java,
9153         java/awt/im/spi/InputMethodDescriptor.java,
9154         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9155         java/awt/image/renderable/ParameterBlock.java,
9156         java/awt/image/renderable/RenderContext.java,
9157         java/awt/image/renderable/RenderableImage.java,
9158         java/awt/image/renderable/RenderableImageOp.java,
9159         java/awt/image/renderable/RenderableImageProducer.java,
9160         java/awt/image/renderable/RenderedImageFactory.java: New files from
9161         classpath.
9162
9163         * gnu/java/awt/EventModifier.java,
9164         gnu/java/awt/image/ImageDecoder.java,
9165         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9166
9167         * gnu/awt/xlib/XGraphicsConfiguration.java,
9168         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9169         API.
9170
9171         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9172         GNU Classpath.
9173
9174         * Makefile.am: Add new files.
9175         * Makefile.in: Rebuilt.
9176
9177 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9178
9179         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9180         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9181         findResource, getResources, findResources): Add javadoc from classpath.
9182         (getSystemResources): Implemented.
9183
9184 2002-08-01  Mark Wielaard  <mark@klomp.org>
9185
9186         Revert patch that breaks libgcj shared library on powerpc:
9187         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9188         implementation classes by using Class.getName(). Uses Strings again.
9189         * gnu/java/security/der/DEREncodingException.java,
9190         gnu/java/security/provider/DERReader.java,
9191         gnu/java/security/provider/DERWriter.java,
9192         gnu/java/security/provider/DSAKeyPairGenerator.java,
9193         gnu/java/security/provider/DSAParameterGenerator.java,
9194         gnu/java/security/provider/DSAParameters.java,
9195         gnu/java/security/provider/DSASignature.java,
9196         gnu/java/security/provider/GnuDSAPrivateKey.java,
9197         gnu/java/security/provider/GnuDSAPublicKey.java,
9198         gnu/java/security/provider/MD5.java,
9199         gnu/java/security/util/Prime.java: Removed.
9200         * Makefile.am (ordinary_java_source_files): Remove above files.
9201         * Makefile.in: Regenerate.
9202         * gnu/java/security/provider/DefaultPolicy.java
9203         (getPermissions): Revert to maintaining static class variable of
9204         Permissions.
9205         * gnu/java/security/provider/SHA.java
9206         (engineUpdate): Revert algorithm change.
9207         (engineDigest): Revert algorithm change.
9208
9209 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9210
9211         * configure.host: Add SH support.
9212         * sysdep/sh/locks.h: New file.
9213
9214 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9215
9216         * java/awt/Frame.java (Frame): Remove println calls.
9217
9218 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9219
9220         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9221         * configure: Rebuilt.
9222
9223 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9224
9225         * sysdep/powerpc/locks.h: Formatting.
9226         (_LARX): Define.
9227         (_STCX): Define.
9228         (compare_and_swap): Use _LARX and _STCX.
9229         (compare_and_swap_release): Likewise.
9230
9231 2002-07-26  Tom Tromey  <tromey@redhat.com>
9232
9233         * java/net/Authenticator.java: New version from Classpath.
9234         * java/net/DatagramSocketImpl.java: New version from Classpath.
9235
9236 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9237
9238         * configure.host: Add powerpc64*-* entry.
9239
9240 2002-07-26  Tom Tromey  <tromey@redhat.com>
9241
9242         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9243         fcntl.h.
9244
9245 2002-07-24  Tom Tromey  <tromey@redhat.com>
9246
9247         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9248         argument to _load.
9249
9250 2002-07-24  Tom Tromey  <tromey@redhat.com>
9251             Tony Kimball <alk@pobox.com>
9252
9253         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9254         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9255         * java/io/RandomAccessFile.java (setLength): New method.
9256         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9257         * java/io/FileDescriptor.java (setLength): New method.
9258
9259 2002-07-24  Mark Wielaard  <mark@klomp.org>
9260
9261         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9262         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9263         field call setAccessible(true).
9264         (setByteField): Likewise.
9265         (setCharField): Likewise.
9266         (setDoubleField): Likewise.
9267         (setFloatField): Likewise.
9268         (setIntField): Likewise.
9269         (setLongField): Likewise.
9270         (setShortField): Likewise.
9271         (setObjectField): Likewise.
9272
9273 2002-07-24  Tom Tromey  <tromey@redhat.com>
9274
9275         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9276         use toString() to format array element.
9277
9278 2002-07-23  Mark Wielaard  <mark@klomp.org>
9279
9280         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9281         MessageDigestSpi (fixes Classpath bug #783).
9282
9283 2002-07-21  Mark Wielaard  <mark@klomp.org>
9284
9285         * gnu/java/security/provider/Gnu.java: Reference all implementation
9286         classes by using Class.getName().
9287
9288 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9289
9290         * java/lang/ieeefp.h: Add x86-64 support.
9291         * configure.in: Likewise.
9292         * configure.host: Likewise.
9293         * configure: Regenerated.
9294         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9295
9296 2002-07-16  Mark Wielaard  <mark@klomp.org>
9297
9298         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9299         (whitespaceChars): call resetChar().
9300
9301 2002-07-15  Tom Tromey  <tromey@redhat.com>
9302
9303         * Makefile.in: Rebuilt.
9304         * Makefile.am (awt_java_source_files): Added new files.
9305         * java/beans/ExceptionListener.java: Merged with Classpath.
9306         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9307         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9308         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9309         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9310         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9311         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9312         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9313
9314 2002-07-14  Mark Wielaard  <mark@klomp.org>
9315
9316         * gnu/java/security/der/DEREncodingException.java,
9317         gnu/java/security/provider/DERReader.java,
9318         gnu/java/security/provider/DERWriter.java,
9319         gnu/java/security/provider/DSAKeyPairGenerator.java,
9320         gnu/java/security/provider/DSAParameterGenerator.java,
9321         gnu/java/security/provider/DSAParameters.java,
9322         gnu/java/security/provider/DSASignature.java,
9323         gnu/java/security/provider/GnuDSAPrivateKey.java,
9324         gnu/java/security/provider/GnuDSAPublicKey.java,
9325         gnu/java/security/provider/MD5.java,
9326         gnu/java/security/util/Prime.java: New files from Classpath.
9327         * Makefile.am (ordinary_java_source_files): Add new files.
9328         * Makefile.in: Regenerate.
9329
9330 2002-07-14  C. Brian Jones <cbj@gnu.org>
9331
9332         * gnu/java/security/provider/DefaultPolicy.java
9333         (getPermissions): do not maintain static class variable of
9334         Permissions
9335         * gnu/java/security/provider/SHA.java
9336         (engineUpdate): algorithm change
9337         (engineDigest): algorithm change
9338
9339 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9340
9341         For PR libgcj/7292:
9342         * java/lang/Character.java (toString(char)): Now static.
9343
9344 2002-07-12  Mark Wielaard  <mark@klomp.org>
9345
9346         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9347         (getStackTrace0): new method.
9348         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9349         (printStackTrace(PrintWriter)): replace with pure java implementation.
9350         (printRawStackTrace): removed.
9351         (getStackTrace0): new method.
9352         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9353         * gcj/javaprims.h: regenerate class list.
9354         * include/name-finder.h (lookup): new returns StackTraceElement*.
9355         (method_name, file_name): fields removed.
9356         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9357         (~_Jv_name_finder): close new descriptors.
9358         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9359         (createStackTraceElement): new method.
9360         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9361
9362 2002-07-10  Tom Tromey  <tromey@redhat.com>
9363
9364         * configure: Rebuilt.
9365         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9366
9367 2002-07-08  Mark Wielaard  <mark@klomp.org>
9368
9369         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9370         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9371         java.sql.DatabaseMetaData.TestJdbc20
9372
9373 2002-07-05  Tony Kimball  <alk@pobox.com>
9374
9375         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9376
9377 2002-07-04  Tom Tromey  <tromey@redhat.com>
9378             Jeff Sturm  <jsturm@one-point.com>
9379
9380         Fix for PR libgcj/7060:
9381         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9382         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9383         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9384         * java/lang/Class.java (getMethod): New Java implementation;
9385         complies with spec.
9386         (_getMethod): New native method.
9387
9388 2002-07-02  Tom Tromey  <tromey@redhat.com>
9389             David Hovemeyer  <daveho@cs.umd.edu>
9390
9391         * java/text/ChoiceFormat.java
9392         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9393         in check loop.
9394         * java/text/MessageFormat.java
9395         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9396         to MessageFormat.
9397
9398 2002-07-01  Tom Tromey  <tromey@redhat.com>
9399
9400         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9401         StringTokenizer on null string.  For PR libgcj/7180.
9402         From daveho@cs.umd.edu.
9403
9404 2002-06-24  Tom Tromey  <tromey@redhat.com>
9405
9406         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9407         (IntegerClass): Likewise.
9408         * java/lang/natClass.cc (CloneableClass): Removed.
9409         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9410         ConstructorClass): Likewise.
9411         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9412         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9413         SerializableClass): Likewise.
9414         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9415         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9416         LongClass, FloatClass, DoubleClass): Likewise.
9417
9418         * verify.cc (branch_prepass): Updated for change to exception
9419         handler type.
9420         (verify_instructions_0): Likewise.
9421         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9422         (handleExceptionTableEntry): Updated for change to exception
9423         handler type.
9424         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9425         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9426         (union _Jv_InterpPC): New.
9427         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9428         (class _Jv_InterpMethod): Added new `prepared' field.
9429         (class _Jv_InterpMethod): Added `compile' method.  Removed
9430         `continue1' and `find_exception'.  Changed arguments to `run'.
9431         * interpret.cc (union insn_slot): New.
9432         (find_exception): Removed.
9433         (run_normal): Removed most logic.
9434         (run_synch_object): Likewise; also, use JvSynchronize.
9435         (run_synch_class): Likewise.
9436         (run): Removed.
9437         (continue1): Renamed as `run'.  Compile bytecode if required.
9438         Add new code to allow refinement of direct-threaded code at
9439         runtime.  Handle exceptions.
9440         (SAVE_PC): Removed.
9441         (compile): New method.
9442         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9443         (NULLARRAYCHECK): Don't use SAVE_PC.
9444         (pc_t): New typedef.
9445         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9446         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9447
9448 2002-06-23  Tom Tromey  <tromey@redhat.com>
9449
9450         * configure: Rebuilt.
9451         * configure.in (INTERPRETER): New subst.
9452         (AM_RUNTESTFLAGS): Don't subst.
9453
9454         * Makefile.in: Rebuilt.
9455         * Makefile.am ($(srcdir)/java/lang/Object.h,
9456         $(srcdir)/java/lang/Class.h): Added dummy targets.
9457
9458 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9459
9460         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9461
9462         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9463         java/sql/Savepoint.java: New files.
9464         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9465         java/sql/Blob.java, java/sql/CallableStatement.java,
9466         java/sql/Clob.java, java/sql/Connection.java,
9467         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9468         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9469         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9470         java/sql/Ref.java, java/sql/ResultSet.java,
9471         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9472         java/sql/SQLException.java, java/sql/SQLInput.java,
9473         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9474         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9475         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9476         (JDK 1.4) specification.
9477         * javax/sql/ConnectionEvent.java,
9478         javax/sql/ConnectionEventListener.java,
9479         javax/sql/ConnectionPoolDataSource.java,
9480         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9481         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9482         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9483         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9484         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9485         javax/sql/XADataSource.java: New files.
9486         * Makefile.am: Add new files.
9487         * Makefile.in: Rebuilt.
9488
9489 2002-06-20  Tom Tromey  <tromey@redhat.com>
9490
9491         For PR libgcj/7073:
9492         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9493         exists.
9494         * defineclass.cc (handleClassBegin): Superclass for interface is
9495         `null'.
9496
9497 2002-06-18  Tom Tromey  <tromey@redhat.com>
9498
9499         * gcj/javaprims.h: Updated class declaration list.
9500         * Makefile.in: Rebuilt.
9501         * Makefile.am (core_java_source_files): Removed
9502         BasicMapEntry.java.
9503         * java/util/BasicMapEntry.java: Removed.
9504
9505 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9506
9507         * java/net/natPlainDatagramSocketImpl.cc (receive):
9508         Check bounds of argument to FD_SET.
9509         (setOption): Throw exception if socket is closed.
9510
9511         * java/net/natPlainSocketImpl.cc (accept, read):
9512         Check bounds of argument to FD_SET.
9513         (setOption): Throw exception if socket is closed.
9514
9515 2002-06-18  Tom Tromey  <tromey@redhat.com>
9516
9517         * gcj/javaprims.h: Updated class declaration list.
9518         * Makefile.in: Rebuilt.
9519         * Makefile.am (core_java_source_files): Added
9520         PropertyPermissionCollection.java.
9521         * java/lang/Thread.java (group, name): Now package-private.
9522         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9523         * java/util/AbstractList.java: Likewise.
9524         * java/util/AbstractMap.java: Likewise.
9525         * java/util/Calendar.java: Likewise.
9526         * java/util/Collections.java: Likewise.
9527         * java/util/HashMap.java: Likewise.
9528         * java/util/Hashtable.java: Likewise.
9529         * java/util/LinkedHashMap.java: Likewise.
9530         * java/util/LinkedList.java: Likewise.
9531         * java/util/List.java: Likewise.
9532         * java/util/ListResourceBundle.java: Likewise.
9533         * java/util/Map.java: Likewise.
9534         * java/util/Observable.java: Likewise.
9535         * java/util/Properties.java: Likewise.
9536         * java/util/PropertyPermission.java: Likewise.
9537         * java/util/PropertyPermissionCollection.java: Likewise.
9538         * java/util/PropertyResourceBundle.java: Likewise.
9539         * java/util/Random.java: Likewise.
9540         * java/util/SimpleTimeZone.java: Likewise.
9541         * java/util/StringTokenizer.java: Likewise.
9542         * java/util/TimerTask.java: Likewise.
9543         * java/util/TreeMap.java: Likewise.
9544         * java/util/WeakHashMap.java: Likewise.
9545         * java/util/jar/Attributes.java: Likewise.
9546         * java/util/jar/JarException.java: Likewise.
9547         * java/util/jar/Manifest.java: Likewise.
9548
9549 2002-06-17  Tom Tromey  <tromey@redhat.com>
9550
9551         * gcj/javaprims.h: Updated class declaration list.
9552         * Makefile.in: Rebuilt.
9553         * Makefile.am (core_java_source_files): Added new file.
9554         * java/util/EventListenerProxy.java: New file.
9555         * java/util/EventListener.java: Re-merge with Classpath.
9556         * java/util/EventObject.java: Re-merge with Classpath.
9557
9558 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9559
9560         * java/lang/ClassNotFoundException.java: New Classpath version.
9561
9562 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9563
9564         * java/rmi/activation/ActivateFailedException.java: Remerge from
9565         Classpath version.
9566         * java/rmi/activation/ActivationException.java: Ditto.
9567         * java/rmi/activation/UnknownGroupException.java: Ditto.
9568         * java/rmi/activation/UnknownObjectException.java: Ditto.
9569         * java/rmi/server/ExportException: Ditto.
9570         * java/rmi/server/ServerCloneException: Ditto.
9571         * java/rmi/server/ServerNotActiveException: Ditto.
9572         * java/rmi/server/SkeletonMismatchException: Ditto.
9573         * java/rmi/server/SkeletonNotFoundException: Ditto.
9574         * java/rmi/server/SocketSecurityException: Ditto.
9575
9576 2002-06-16  Tom Tromey  <tromey@redhat.com>
9577
9578         * gcj/javaprims.h: Updated class declaration list.
9579
9580         * java/io/LineNumberInputStream.java: Merged with Classpath.
9581
9582         * java/lang/RuntimeException.java: Re-merge with Classpath.
9583         * java/util/ArrayList.java: Likewise.
9584         * java/util/Arrays.java: Likewise.
9585         * java/util/BitSet.java: Likewise.
9586         * java/util/Dictionary.java: Likewise.
9587         * java/util/IdentityHashMap.java: Likewise.
9588         * java/util/MissingResourceException.java: Likewise.
9589         * java/util/Observer.java: Likewise.
9590         * java/util/TooManyListenersException.java: Likewise.
9591         * java/util/zip/DataFormatException.java: Likewise.
9592         * java/util/zip/ZipException.java: Likewise.
9593
9594 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9595
9596         * java/rmi/AccessException.java: Remerge from Classpath.
9597         * java/rmi/AlreadyBoundException.java: Ditto.
9598         * java/rmi/ConnectException.java: Ditto.
9599         * java/rmi/ConnectIOException.java: Ditto.
9600         * java/rmi/MarshalException.java: Ditto.
9601         * java/rmi/NoSuchObjectException.java: Ditto.
9602         * java/rmi/NotBoundException.java: Ditto.
9603         * java/rmi/RemoteException.java: Ditto.
9604         * java/rmi/RMISecurityException.java: Ditto.
9605         * java/rmi/ServerError.java: Ditto.
9606         * java/rmi/ServerException.java: Ditto.
9607         * java/rmi/ServerRuntimeException.java: Ditto.
9608         * java/rmi/StubNotFoundException.java: Ditto.
9609         * java/rmi/UnexpectedExcpetion.java: Ditto.
9610         * java/rmi/UnknownHostException.java: Ditto.
9611         * java/rmi/UnmarshalException.java: Ditto.
9612
9613 2002-06-15  Tom Tromey  <tromey@redhat.com>
9614
9615         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9616         * java/lang/ArithmeticException.java: Likewise.
9617         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9618         * java/lang/ArrayStoreException.java: Likewise.
9619         * java/lang/Byte.java: Likewise.
9620         * java/lang/CharSequence.java: Likewise.
9621         * java/lang/ClassCastException.java: Likewise.
9622         * java/lang/ClassCircularityError.java: Likewise.
9623         * java/lang/ClassFormatError.java: Likewise.
9624         * java/lang/CloneNotSupportedException.java: Likewise.
9625         * java/lang/Cloneable.java: Likewise.
9626         * java/lang/Comparable.java: Likewise.
9627         * java/lang/Compiler.java: Likewise.
9628         * java/lang/Error.java: Likewise.
9629         * java/lang/ExceptionInInitializerError.java: Likewise.
9630         * java/lang/IllegalAccessError.java: Likewise.
9631         * java/lang/IllegalAccessException.java: Likewise.
9632         * java/lang/IllegalArgumentException.java: Likewise.
9633         * java/lang/IllegalMonitorStateException.java: Likewise.
9634         * java/lang/IllegalStateException.java: Likewise.
9635         * java/lang/IllegalThreadStateException.java: Likewise.
9636         * java/lang/IncompatibleClassChangeError.java: Likewise.
9637         * java/lang/IndexOutOfBoundsException.java: Likewise.
9638         * java/lang/InheritableThreadLocal.java: Likewise.
9639         * java/lang/InstantiationError.java: Likewise.
9640         * java/lang/InstantiationException.java: Likewise.
9641         * java/lang/InternalError.java: Likewise.
9642         * java/lang/InterruptedException.java: Likewise.
9643         * java/lang/LinkageError.java: Likewise.
9644         * java/lang/NegativeArraySizeException.java: Likewise.
9645         * java/lang/NoClassDefFoundError.java: Likewise.
9646         * java/lang/NoSuchFieldError.java: Likewise.
9647         * java/lang/NoSuchFieldException.java: Likewise.
9648         * java/lang/NoSuchMethodError.java: Likewise.
9649         * java/lang/NoSuchMethodException.java: Likewise.
9650         * java/lang/NullPointerException.java: Likewise.
9651         * java/lang/NumberFormatException.java: Likewise.
9652         * java/lang/OutOfMemoryError.java: Likewise.
9653         * java/lang/Process.java: Likewise.
9654         * java/lang/Runnable.java: Likewise.
9655         * java/lang/RuntimePermission.java: Likewise.
9656         * java/lang/SecurityException.java: Likewise.
9657         * java/lang/Short.java: Likewise.
9658         * java/lang/StackOverflowError.java: Likewise.
9659         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9660         * java/lang/ThreadDeath.java: Likewise.
9661         * java/lang/ThreadLocal.java: Likewise.
9662         * java/lang/UnknownError.java: Likewise.
9663         * java/lang/UnsatisfiedLinkError.java: Likewise.
9664         * java/lang/UnsupportedClassVersionError.java: Likewise.
9665         * java/lang/UnsupportedOperationException.java: Likewise.
9666         * java/lang/VerifyError.java: Likewise.
9667         * java/lang/VirtualMachineError.java: Likewise.
9668         * java/lang/reflect/InvocationTargetException.java: Likewise.
9669         * java/net/BindException.java: Likewise.
9670         * java/net/ConnectException.java: Likewise.
9671         * java/net/MalformedURLException.java: Likewise.
9672         * java/net/NoRouteToHostException.java: Likewise.
9673         * java/net/ProtocolException.java: Likewise.
9674         * java/net/SocketException.java: Likewise.
9675         * java/net/UnknownHostException.java: Likewise.
9676         * java/net/UnknownServiceException.java: Likewise.
9677
9678         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9679         * java/io/CharConversionException.java: Likewise.
9680         * java/io/EOFException.java: Likewise.
9681         * java/io/FileNotFoundException.java: Likewise.
9682         * java/io/IOException.java: Likewise.
9683         * java/io/InterruptedIOException.java: Likewise.
9684         * java/io/InvalidClassException.java: Likewise.
9685         * java/io/InvalidObjectException.java: Likewise.
9686         * java/io/NotActiveException.java: Likewise.
9687         * java/io/NotSerializableException.java: Likewise.
9688         * java/io/ObjectStreamException.java: Likewise.
9689         * java/io/ObjectStreamConstants.java: Likewise.
9690         * java/io/OptionalDataException.java: Likewise.
9691         * java/io/PipedInputStream.java: Likewise.
9692         * java/io/PushbackInputStream.java: Likewise.
9693         * java/io/StreamCorruptedException.java: Likewise.
9694         * java/io/SyncFailedException.java: Likewise.
9695         * java/io/UTFDataFormatException.java: Likewise.
9696         * java/io/UnsupportedEncodingException.java: Likewise.
9697         * java/io/WriteAbortedException.java: Likewise.
9698
9699 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9700
9701         * java/text/ChoiceFormat.java: Update comments from Classpath.
9702         * java/text/ParseException.java (serialVersionUID): New
9703         field from Classpath.
9704         * java/text/ParseException.java: Update formatting & comments
9705         from Classpath.
9706
9707 2002-06-15  Tom Tromey  <tromey@redhat.com>
9708
9709         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9710         been read but none output by inflater.
9711         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9712         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9713         is_finished.
9714         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9715         version.
9716         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9717         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9718         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9719         version.
9720         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9721
9722 2002-06-13  Tom Tromey  <tromey@redhat.com>
9723
9724         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9725         true and OFFSET!=0.
9726         * java/lang/String.java (String(char[],int,int,boolean): New
9727         constructor.
9728         * java/lang/Long.java: Imported new version from Classpath.
9729         * java/lang/Number.java: Likewise.
9730         * java/lang/Integer.java: Likewise.
9731         * java/lang/Long.java: Likewise.
9732         * java/lang/Float.java: Likewise.
9733         * java/lang/Boolean.java: Likewise.
9734         * java/lang/Double.java: Likewise.
9735         * java/lang/Void.java: Likewise.
9736
9737 2002-06-12  Tom Tromey  <tromey@redhat.com>
9738
9739         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9740         Fixes PR libgcj/6652.
9741
9742 2002-06-10  Tom Tromey  <tromey@redhat.com>
9743
9744         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9745         (Class::getPackagePortion): Likewise.
9746         * java/lang/Class.java (desiredAssertionStatus): New method from
9747         Classpath.
9748         (getPackagePortion): Likewise.
9749         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9750         packageAssertionStatus, classAssertionStatus): New methods from
9751         Classpath.
9752         * java/lang/ClassLoader.java (defaultAssertionStatus,
9753         systemPackageAssertionStatus, packageAssertionStatus,
9754         systemClassAssertionStatus, classAssertionStatus): New fields from
9755         Classpath.
9756         (setDefaultAssertionStatus, setPackageAssertionStatus,
9757         setClassAssertionStatus, clearAssertionStatus): New methods from
9758         Classpath.
9759         * Makefile.in: Rebuilt.
9760         * Makefile.am (core_java_source_files): Added AssertionError.java.
9761         * java/lang/AssertionError.java: New from Classpath.
9762
9763 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9764
9765         * configure.host: Disable hash synchronization and slow_pthread_self
9766         for cygwin.
9767
9768 2002-06-06  Adam Megacz <adam@xwt.org>
9769
9770         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9771         locking, just like the Sun JVM does.
9772
9773 2002-06-05  H.J. Lu  (hjl@gnu.org)
9774
9775         * Makefile.am (libgcj_convenience.la): Revert the last change.
9776         (libgcj.la): Likewise.
9777         * Makefile.in: Regenerated.
9778
9779 2002-06-04  H.J. Lu  (hjl@gnu.org)
9780
9781         * Makefile.am (libgcj_convenience.la): New target.
9782         (libgcj.la): Depend on libgcj_convenience.la.
9783         * Makefile.in: Regenerated.
9784
9785 2002-06-04  H.J. Lu  (hjl@gnu.org)
9786
9787         * configure.in (--with-newlib): New option:
9788         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9789         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9790         Linux.
9791         * configure: Regenerated.
9792
9793 2002-06-04  Tom Tromey  <tromey@redhat.com>
9794
9795         * java/util/natTimeZone.cc: Include <stdio.h>.
9796
9797 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9798
9799         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9800         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9801         Set SIGNAL_HANDLER=include/s390-linux.h.
9802         * configure: Regenerate.
9803         * include/s390-linux.h: New file.
9804
9805 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9806
9807         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9808         not "stackTrace".
9809
9810 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9811
9812         Merge JDK 1.4 java.security changes from classpath.
9813
9814         * java/security/AccessControlException.java: Merge from Classpath.
9815         * java/security/AccessController.java: Likewise.
9816         * java/security/AllPermission.java: Likewise.
9817         * java/security/BasicPermission.java: Likewise.
9818         * java/security/Certificate.java: Likewise.
9819         * java/security/CodeSource.java: Likewise.
9820         * java/security/DigestException.java: Likewise.
9821         * java/security/DigestOutputStream.java: Likewise.
9822         * java/security/DomainCombiner.java: Likewise.
9823         * java/security/GeneralSecurityException.java: Likewise.
9824         * java/security/Guard.java: Likewise.
9825         * java/security/GuardedObject.java: Likewise.
9826         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9827         * java/security/InvalidKeyException.java: Likewise.
9828         * java/security/InvalidParameterException.java: Likewise.
9829         * java/security/Key.java: Likewise.
9830         * java/security/KeyException.java: Likewise.
9831         * java/security/KeyManagementException.java: Likewise.
9832         * java/security/KeyStoreException.java: Likewise.
9833         * java/security/MessageDigest.java: Likewise.
9834         * java/security/NoSuchAlgorithmException.java: Likewise.
9835         * java/security/NoSuchProviderException.java: Likewise.
9836         * java/security/Permission.java: Likewise.
9837         * java/security/PermissionCollection.java: Likewise.
9838         * java/security/Permissions.java: Likewise.
9839         * java/security/Policy.java: Likewise.
9840         * java/security/Principal.java: Likewise.
9841         * java/security/PrivateKey.java: Likewise.
9842         * java/security/PrivilegedAction.java: Likewise.
9843         * java/security/PrivilegedActionException.java: Likewise.
9844         * java/security/PrivilegedExceptionAction.java: Likewise.
9845         * java/security/ProtectionDomain.java: Likewise.
9846         * java/security/ProviderException.java: Likewise.
9847         * java/security/PublicKey.java: Likewise.
9848         * java/security/SecureClassLoader.java: Likewise.
9849         * java/security/SecurityPermission.java: Likewise.
9850         * java/security/SignatureException.java: Likewise.
9851         * java/security/UnrecoverableKeyException.java: Likewise.
9852         * java/security/UnresolvedPermission.java: Likewise.
9853         * java/security/acl/AclNotFoundException.java: Likewise.
9854         * java/security/acl/LastOwnerException.java: Likewise.
9855         * java/security/acl/NotOwnerException.java: Likewise.
9856         * java/security/cert/CRLException.java: Likewise.
9857         * java/security/cert/CertificateEncodingException.java: Likewise.
9858         * java/security/cert/CertificateException.java: Likewise.
9859         * java/security/cert/CertificateExpiredException.java: Likewise.
9860         * java/security/cert/CertificateFactory.java: Likewise.
9861         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9862         * java/security/cert/CertificateParsingException.java: Likewise.
9863         * java/security/spec/InvalidKeySpecException.java: Likewise.
9864         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9865
9866         * java/security/cert/CertPath.java: New file.
9867         * java/security/cert/CertPathBuilderException.java: New file.
9868         * java/security/cert/CertPathValidatorException.java: New file.
9869         * java/security/cert/CertStoreException.java: New file.
9870
9871         * Makefile.am: Add new CertPath classes.
9872         * Makefile.in: Rebuilt.
9873
9874         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9875
9876 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9877
9878         Merge JDK 1.4 exception chaining support from classpath.
9879
9880         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9881         (stackTraceBytes): Rename from stackTrace.
9882         * java/lang/Exception.java: Merge from classpath.
9883         * java/lang/StackTraceElement: New file from classpath.
9884         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9885         * Makefile.am: Add StackTraceElement.
9886         * Makefile.in: Rebuilt.
9887
9888 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9889
9890         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9891         they build first.
9892         * Makefile.in: Rebuilt.
9893
9894 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9895
9896         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9897         * configure.in: Likewise.
9898         * aclocal.m4: Regenerate.
9899         * configure: Regenerate.
9900
9901 2002-05-13  Tom Tromey  <tromey@redhat.com>
9902
9903         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9904         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9905         Include platform.h.
9906
9907         Fixes PR libgcj/6389:
9908         * Makefile.in: Rebuilt.
9909         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9910         * java/util/natTimeZone.cc: New file.
9911         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9912         * java/lang/System.java: Merged with Classpath.
9913         * java/lang/Runtime.java: Merged with Classpath.
9914         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9915         security check.
9916         (setIn0): Renamed from setIn; don't run security check.
9917         (setOut0): Renamed from setOut; don't run security check.
9918         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9919         init_properties): Moved to natRuntime.cc.
9920         Moved many includes to natRuntime.cc.
9921         (isWordsBigEndian): New method.
9922         * java/lang/natRuntime.cc: Include Long.h, also other includes
9923         previously in natSystem.cc.
9924         (maxMemory): New function.
9925         (exitInternal): Renamed from `_exit'.
9926         (exit): Removed.
9927         (init): Don't set finalize_on_exit.
9928         (exitInternal): Use `finalizeOnExit'.
9929         (file_encoding, getpwuid_adaptor): New functions from
9930         natSystem.cc.
9931         (insertSystemProperties): New method, renamed from
9932         System::init_properties.  Don't set user.timezone.
9933         (_load): Don't call checkLink.
9934         (execInternal): New method.
9935         (availableProcessors): Likewise.
9936         (nativeGetLibname): Likewise.
9937
9938 2002-05-11  Mark Wielaard  <mark@klomp.org>
9939
9940         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9941         space characters.
9942         (previous_internal): Likewise.
9943
9944 2002-05-09  Tom Tromey  <tromey@redhat.com>
9945
9946         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9947
9948         * java/util/ResourceBundle.java: New version from Classpath.
9949         * java/util/Locale.java: Likewise.
9950
9951 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9952
9953         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9954         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9955         LD_LIBRARY_PATH.
9956
9957 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9958
9959         * libjava/Makefile.am (all_java_source_files): New variable.
9960         (all_java_class_files): Likewise.
9961         .java.class: New rule.
9962         (CLEANFILES): Remove tmp-list.
9963         * libjava/Makefile.in: Regenerated.
9964
9965 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9966
9967         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9968         Append .exe to executable names.  Fix for cygwin.
9969
9970 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9971
9972         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9973         script entry, and set LD to it when configuring multilibs.
9974         * configure: Rebuilt.
9975
9976 2002-05-07  Tom Tromey  <tromey@redhat.com>
9977
9978         * java/lang/natString.cc (unintern): Fixed typo.
9979
9980 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9981
9982         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9983         with -no-install on *-*-cygwin*.
9984
9985 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9986
9987         * testsuite/lib/libjava.exp (test_libjava_from_source):
9988         Add comment explaining last patch
9989
9990 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9991
9992         * testsuite/lib/libjava.exp (test_libjava_from_source):
9993         Append .exe to executable names.  If no suffix is present,
9994         then ".exe" is added by default on win32.  Harmless
9995         elsewhere so always do it.
9996
9997 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9998             Tom Tromey  <tromey@redhat.com>
9999
10000         * java/lang/natSystem.cc (getSystemTimeZone): Use
10001         HAVE_UNDERSCORE_TIMEZONE.
10002         * include/config.h.in: Rebuilt.
10003         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10004         * aclocal.m4, configure: Rebuilt.
10005         * acinclude.m4: Run AC_EXEEXT.
10006         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10007         Add test for `_timezone'.
10008
10009 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
10010
10011         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10012         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10013         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10014         * Makefile.in: Rebuilt.
10015
10016 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
10017
10018         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10019         use sigaction instead of __libc_sigaction.
10020
10021 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10022
10023         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10024         (libjava_init): Use it to find libgcj.spec.
10025         (libjava_arguments): Likewise.
10026
10027 2002-05-02  David S. Miller  <davem@redhat.com>
10028
10029         PR bootstrap/6525
10030         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10031         __libc_sigaction on Sparc.
10032
10033 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
10034
10035         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10036         sys/filio.h, if present.
10037
10038 2002-04-30  Tom Tromey  <tromey@redhat.com>
10039
10040         * java/io/BufferedReader.java (fill): Handle case where markPos
10041         point to ignored \n.  Fixes PR libgcj/6301.
10042
10043 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
10044
10045         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10046
10047 2002-04-29  Adam King <aking@dreammechanics.com>
10048
10049         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10050         of file in APPEND mode.
10051
10052 2002-04-25  David S. Miller  <davem@redhat.com>
10053
10054         PR target/6422
10055         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10056         program counter to next program counter minus 8.  Update
10057         comments in this macro to explain why.
10058
10059 2002-04-26  Tom Tromey  <tromey@redhat.com>
10060
10061         * verify.cc (construct_primitive_array_type) [void_type]: New
10062         case.
10063         (branch_prepass): Added dummy entries for unused instruction
10064         values.
10065         (verify_instructions_0): Likewise.
10066         * interpret.cc (continue1): Comment fix.
10067         * include/java-insns.h (op_xxxunusedxxx1): Removed.
10068         * Makefile.in: Rebuilt.
10069         * Makefile.am: Added -Wswitch-enum.
10070
10071 2002-04-24  Tom Tromey  <tromey@redhat.com>
10072
10073         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10074         correct length of UTF-8 encoded name.  Strip leading `/'.
10075         (_Jv_RegisterResource): Use _Jv_Malloc.
10076
10077 2002-04-23  Adam Megacz <adam@xwt.org>
10078
10079         * win32.cc, include/win32.cc (backtrace): Added this function
10080         because Win32 does not supply it.
10081
10082 2002-04-21  David S. Miller  <davem@redhat.com>
10083
10084         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10085         magic instruction reading sequence.
10086
10087 2002-04-21  Mark Wielaard  <mark@klomp.org>
10088
10089         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10090
10091 2002-04-19  David S. Miller  <davem@redhat.com>
10092
10093         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10094         arg.
10095         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10096         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10097         on Sparc too.
10098         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10099         for 64-bit sparc.
10100         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10101         * sysdeps/sparc/locks.h: New file.
10102         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10103         on all sparc Solaris configurations.  Set to
10104         include/dwarf2-signal.h on sparc Linux.
10105         * configure: Regenerate
10106         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10107
10108 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
10109
10110         * configure: Rebuilt.
10111         * configure.in (backtrace): Function doesn't work on IA-64.
10112
10113 2002-04-17  Adam King <aking@dreammechanics.com>
10114
10115         * java/io/File.java (normalizePath): Add Win32 support for auto
10116         conversion of a '/' path separator to Win32's '\' separator.
10117
10118 2002-04-16  Tom Tromey  <tromey@redhat.com>
10119
10120         Fix for PR libgcj/6081:
10121         * Makefile.in: Rebuilt.
10122         * Makefile.am (install-data-local): Use GNU make trick to avoid
10123         shell limit.
10124
10125 2002-04-16  Adam King <aking@dreammechanics.com>
10126             Tom Tromey  <tromey@redhat.com>
10127
10128         * java/io/natFileWin32.cc (performList): Return the correct array
10129         type.  Don't duplicate the creation of a File since it's already
10130         done earlier in the method and the existing code would cause a
10131         ArrayStoreException.  Don't use fixed-size array.
10132         (_access, _stat, attr, getCanonicalPath, performMkdir,
10133         performRenameTo): Don't use fixed-size array.
10134         (getCanonicalPath): Use throw, not _Jv_Throw.
10135
10136 2002-04-15  DJ Delorie  <dj@redhat.com>
10137
10138         * configure.in: Allow building in $srcdir.
10139         * configure: Regenerated.
10140
10141 2002-04-14  Mark Wielaard <mark@klomp.org>
10142
10143         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10144         * java/net/natSocketImpl.cc (close): Likewise.
10145
10146 2002-04-14  Mark Wielaard <mark@klomp.org>
10147
10148         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10149
10150 2002-04-13  Adam King <aking@dreammechanics.com>
10151
10152         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10153         the f/F/d/D modifiers.
10154
10155 2002-04-12  Anthony Green  <green@redhat.com>
10156
10157         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10158         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10159         * Makefile.in: Rebuilt.
10160         * configure.in: Substitute gcc_version.
10161         * configure: Rebuilt.
10162
10163 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10164
10165         * configure.host: Set can_unwind_signal on hosts which support it.
10166         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10167         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10168         exceptions and can_unwind_signal isn't set.
10169         * configure: Rebuilt.
10170
10171 2002-04-11  Tom Tromey  <tromey@redhat.com>
10172
10173         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10174
10175 2002-04-11  Adam King <aking@dreammechanics.com>
10176             Tom Tromey  <tromey@redhat.com>
10177
10178         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10179         _Jv_ThrowNullPointerException): Mark as noreturn.
10180         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10181         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10182         fixes.
10183
10184 2002-04-10  Tom Tromey  <tromey@redhat.com>
10185
10186         * Makefile.in: Rebuilt.
10187         * Makefile.am (java/lang/Thread.h): Mark
10188         _Jv_AttachCurrentThreadAsDaemon as friend.
10189         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10190         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10191         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10192         function.
10193         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10194         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10195         (_Jv_JNI_InvokeFunctions): Added
10196         _Jv_JNI_AttachCurrentThreadAsDaemon.
10197         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10198         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10199         (JNI_CreateJavaVM): Likewise.
10200         (_Jv_JNI_AttachCurrentThread): Likewise.
10201         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10202         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10203         (_Jv_JNIFunctions): Initialize new fields.
10204         (_Jv_JNI_NewDirectByteBuffer): New function.
10205         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10206         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10207         * include/jni.h (JNI_VERSION_1_4): New macro.
10208         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10209         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10210         (JNINativeInterface::NewDirectByteBuffer): New field.
10211         (JNINativeInterface::GetDirectBufferAddress): New field.
10212         (JNINativeInterface::GetDirectBufferCapacity): New field.
10213         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10214         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10215         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10216
10217 2002-04-09  Tom Tromey  <tromey@redhat.com>
10218
10219         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10220
10221 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10222
10223         Fix for PR libgcj/6187:
10224         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10225         distance.
10226
10227 2002-04-07  Mark Wielaard <mark@klomp.org>
10228
10229         * java/util/AbstractMap.java (putAll): Use entrySet size.
10230         (toString): Explicitly use getKey() and getValue().
10231
10232 2002-04-07  Mark Wielaard <mark@klomp.org>
10233
10234         * java/util/Hashtable.java (contains): Remove NullPointer check.
10235         (containsValue): Add NullPointer check.
10236         (remove): Always throw NullPointerException when key
10237         is null.
10238
10239 2002-04-07  Adam King <aking@dreammechanics.com>
10240
10241         * java/lang/natSystem.cc (init_properties): Call new function
10242         _Jv_platform_initProperties.
10243         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10244         support for the System properties os.name, os.arch, os.version,
10245         user.name, user.home, and user.dir.
10246         * include/posix.h, include/win32.h, posix.cc: New function
10247         _Jv_platform_initProperties.
10248
10249 2002-04-06  Mark Wielaard <mark@klomp.org>
10250
10251         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10252
10253 2002-04-06  Mark Wielaard <mark@klomp.org>
10254
10255         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10256         all of the remaining elements.
10257         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10258         (removeRange): If toIndex == fromIndex do
10259         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10260         (removeAll): Always throw NullPointerException when collection is
10261         null.
10262         (retrainAll): Likewise.
10263
10264 2002-04-05  Mark Wielaard <mark@klomp.org>
10265
10266         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10267         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10268
10269 2002-04-05  Adam Megacz <adam@xwt.org>
10270
10271         * exception.cc (abort): added static modifier
10272
10273 2002-04-04  Adam Megacz <adam@xwt.org>
10274
10275         * include/win32.h (_Jv_platform_close_on_exec): added inline
10276         modifier.
10277
10278 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10279
10280         * configure.host: Add case statement to support generic port
10281         properties.  Add *-*-freebsd* section.
10282
10283 2002-04-04  Mark Wielaard  <mark@klomp.org>
10284
10285         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10286         test.
10287         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10288         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10289         that depend on awt code and BufferedByteOutputStream.interrupt.
10290
10291 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10292
10293         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10294         incorrect "hi" value when count > 40.
10295
10296 2002-04-03  Mark Wielaard  <mark@klomp.org>
10297
10298         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10299         ordering.
10300
10301 2002-04-02  Tom Tromey  <tromey@redhat.com>
10302
10303         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10304         not `0'.
10305
10306 2002-04-02  Mark Wielaard  <mark@klomp.org>
10307
10308         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10309         list of testsuite crashers.
10310
10311 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10312
10313         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10314         when resizing table.
10315
10316 2002-04-01  Mark Wielaard  <mark@klomp.org>
10317
10318         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10319         NegativeArraySizeException
10320         (clear(int)): Use sign extended shift.
10321         (flip(int)): Likewise.
10322         (get(int)): Likewise.
10323         (nextClearBit(int)): Likewise.
10324         (nextSetBit(int)): Likewise.
10325         (set(int)): Likewise.
10326
10327 2002-04-01  Mark Wielaard  <mark@klomp.org>
10328
10329         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10330         that can be compiled now and add testsuite crashers to ignore list.
10331
10332 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10333
10334         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10335
10336         * libgcj.spec.in: Override libgcc, not lib.
10337         * libgcj-test.spec.in: Likewise.
10338
10339 2002-03-29  Tom Tromey  <tromey@redhat.com>
10340
10341         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10342         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10343
10344 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10345
10346         * java/net/PlainDatagramSocketImpl.java
10347         (close): Use native implementation.
10348         (finalize): New method.
10349
10350         * java/net/PlainSocketImpl.java (finalize): New method.
10351
10352         * java/net/natPlainDatagramSocketImpl.cc
10353         (java/io/FileDescriptor.h): Don't include.
10354         (close): Implement method here.
10355         (create): Don't assign fd.
10356
10357         * java/net/natPlainSocketImpl.cc
10358         (java/io/FileDescriptor.h): Don't include.
10359         (create): Don't assign fd.
10360         (accept): Likewise.
10361         (close): Synchronize.
10362
10363 2002-03-27  Richard Henderson  <rth@redhat.com>
10364
10365         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10366
10367 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10368
10369         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10370         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10371         instead of syscall on IA-64.
10372         Add FIXME comment.
10373
10374 2002-03-27  Anthony Green  <green@redhat.com>
10375
10376         * libgcj.spec.in: Add CHECKREFSPEC.
10377         * configure.in: Ditto.
10378         * configure.host: Ditto.  Check references for xscale-elf.
10379         * configure: Rebuilt.
10380
10381 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10382
10383         * include/dwarf2-signal.h: Temporarily back out last change.
10384
10385 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10386
10387         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10388
10389 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10390
10391         * configure.in, configure: enable dwarf2-exception-style
10392         exception handling on IA-64.
10393         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10394         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10395         Add FIXME comment.
10396
10397 2002-03-25  Tom Tromey  <tromey@redhat.com>
10398
10399         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10400         (jv_convert_LDFLAGS): Likewise.
10401         (gij_LDFLAGS): Likewise.
10402         (rmic_LDFLAGS): Likewise.
10403         (rmiregistry_LDFLAGS): Likewise.
10404         * configure.in (THREADLDFLAGS): New subst; set correctly for
10405         *BSD.
10406
10407 2002-03-25  Tom Tromey  <tromey@redhat.com>
10408
10409         For PR libgcj/5303:
10410         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10411         and --version.
10412         (help): New method.
10413         (version): Likewise.
10414         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10415         "GNU".
10416         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10417         "GNU".
10418
10419 2002-03-25  Tom Tromey  <tromey@redhat.com>
10420
10421         * java/awt/Component.java (processEvent): Check ComponentEvent
10422         after KeyEvent.
10423
10424 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10425
10426         * java/io/PushbackReader.java: Reformat.
10427
10428         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10429         calculate correct number of bytes skipped.
10430
10431         Based on patch from Intel's ORP team:
10432         * java/io/PushbackInputStream.java (available): Calculate correct
10433         number of bytes in buffer.
10434         (read): Remove redundant bound check. Return bytes from both the
10435         buffer and the stream.
10436
10437 2002-03-24  Tom Tromey  <tromey@redhat.com>
10438
10439         * java/awt/TextComponent.java (TextComponent): Editable by
10440         default.
10441
10442         * java/awt/MenuItem.java (eventMask): No longer private.
10443         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10444         superclass if we didn't handle event.
10445         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10446         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10447         * java/awt/Choice.java (dispatchEventImpl): New method.
10448         * java/awt/List.java (dispatchEventImpl): New method.
10449         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10450         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10451         * java/awt/TextField.java (dispatchEventImpl): New method.
10452
10453 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10454
10455         * java/beans/IntrospectionException.java: Update to 1.4.
10456         * java/beans/PropertyVetoException.java: Ditto.
10457
10458 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10459
10460         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10461         Arrays.equals instead of ArrayHelper.equalsArray.
10462
10463 2002-03-24  C. Brian Jones <cbj@gnu.org>
10464
10465         * java/beans/Introspector.java: added new static final fields
10466         introduced in 1.2, lots of other updates remain to be done
10467
10468 2002-03-24  C. Brian Jones <cbj@gnu.org>
10469
10470         * java/beans/Introspector.java: reformatting
10471
10472 2002-03-24  C. Brian Jones <cbj@gnu.org>
10473
10474         * java/beans/Introspector.java: default beanInfoSearchPath will
10475         not include sun.beans.infos given we provide no such package and
10476         the API doesn't really require it; gnu.java.beans.info is the
10477         default.
10478
10479 2002-03-24  Mark Wielaard  <mark@klomp.org>
10480
10481         Thanks to Orp developers
10482         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10483         switch TRUE and FALSE return values.
10484
10485 2002-03-23  Tom Tromey  <tromey@redhat.com>
10486
10487         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10488         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10489
10490 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10491
10492         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10493         MONTH entry.  Fixes PR libgcj/6045.
10494
10495 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10496
10497         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10498
10499 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10500
10501         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10502         not release_set.
10503         * sysdep/powerpc/locks.h (write_barrier): New function.
10504         * sysdep/i386/locks.h (write_barrier): New function.
10505
10506 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10507
10508         * include/jni.h Use correct C comments.
10509
10510 2002-03-18  Tom Tromey  <tromey@redhat.com>
10511
10512         * include/jni.h (JNIIMPORT): New macro.
10513         (JNIEXPORT): Likewise.
10514         (JNICALL): Likewise.
10515
10516 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10517
10518         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10519         systems.
10520
10521 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10522
10523         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10524         INIT_SEGV: Use old_i386_kernel_sigaction.
10525         INIT_FP: Likewise.
10526
10527 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10528
10529         * java/lang/natSystem.cc (init_properties): Update VM version
10530         properties.
10531         * configure.in: Set GCJVERSION.
10532         * acconfig.h: Add GCJVERSION.
10533         * configure: Rebuilt.
10534         * include/config.h.in: Rebuilt.
10535
10536 2002-03-17  Anthony Green  <green@redhat.com>
10537
10538         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10539
10540 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10541
10542         Build a single libgcj.so, without separate gc and zlib libraries.
10543         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10544         SYS_ZLIBS if system zlib is used.
10545         * configure: Rebuilt.
10546         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10547         * Makefile.in: Rebuilt.
10548         * libtool-version: Increment .so version number.
10549
10550         * Makefile.am: Escape quotes in echo.
10551         * Makefile.in: Rebuilt.
10552
10553 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10554
10555         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10556         * Makefile.in: Rebuilt.
10557
10558 2002-03-15  Anthony Green  <green@redhat.com>
10559
10560         * configure.host (FILE): New macro for specifing File
10561         implementation.
10562         * configure: Rebuilt.
10563         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10564
10565 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10566
10567         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10568         already implicitly brought in from libgcj.la.
10569         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10570         * Makefile.in: Rebuilt.
10571
10572 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10573
10574         * THANKS: Fix punctuation, alphabetization.
10575
10576 2002-03-15  Tom Tromey  <tromey@redhat.com>
10577             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10578
10579         Fix for PR libgcj/5944.
10580         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10581
10582 2002-03-15  Anthony Green  <green@redhat.com>
10583
10584         * configure.in (tool_include_dir): Define.
10585         * configure: Rebuilt.
10586         * gcj/Makefile.am: Install libgcj-config.h relative to
10587         tool_include_dir.
10588         * gcj/Makefile: Rebuilt.
10589         * gcj/libgcj-config.h: Add warning comment.
10590
10591 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10592
10593         * configure.host (powerpc*-darwin*): Enable interpreter.
10594
10595 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10596
10597         * include/posix.h: Add multiple include header protection.
10598         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10599
10600 2002-03-10  Adam Megacz <adam@xwt.org>
10601
10602         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10603
10604 2002-03-10  Tom Tromey  <tromey@redhat.com>
10605
10606         * java/awt/GridLayout.java (layoutContainer): Handle case where
10607         there are no items in container.
10608
10609         * java/lang/Win32Process.java: Added comment.
10610         * include/posix.h (_Jv_platform_close_on_exec): New function.
10611         Include fcntl.h.
10612         * include/win32.h (_Jv_platform_close_on_exec): New function.
10613         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10614         flag.
10615         (accept): Likewise.
10616         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10617         close-on-exec flag.
10618         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10619         flag.
10620
10621 2002-03-09  Tom Tromey  <tromey@redhat.com>
10622
10623         * verify.cc (state::NO_STACK): New constant.
10624         (state::is_unmerged_ret_state): Handle case where stacktop is
10625         NO_STACK.
10626         (state::merge): Handle NO_STACK merges.
10627         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10628         for instruction following jsr.
10629         (stacktop, stackdepth): Removed unused variables.
10630         (pop_jump): Ignore case where all remaining states are skipped.
10631
10632 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10633
10634         * java/awt/ImageMediaEntry: Removed.
10635         * java/awt/MediaEntry: Removed.
10636
10637 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10638
10639         Hashtable synchronization for PowerPC.
10640         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10641         slow_pthread_self. Set up symlink for sysdeps directory.
10642         * configure: Rebuild.
10643         * configure.host: Document more shell variables. Set sysdeps_dir
10644         for most platforms. Set slow_pthread_self for i686. Set
10645         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10646         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10647         that memory barrier is emitted where required.
10648         * prims.cc: 64-bit align static primitive class instances.
10649         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10650         read_barrier() to enforce ordering of reads.
10651         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10652         primitives for PowerPC.
10653         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10654         moved from natObject.cc.
10655         * sysdep/alpha/locks.h: Likewise.
10656         * sysdep/ia64/locks.h: Likewise.
10657         * sysdep/generic/locks.h: Likewise.
10658         * java/lang/natObject.cc: Move thread synchronization primitives to
10659         system-dependent headers.
10660
10661 2002-03-09  Adam Megacz  <adam@xwt.org>
10662
10663         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10664         bytes read and no failure code returned.
10665
10666 2002-03-09  Adam Megacz  <adam@xwt.org>
10667
10668         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10669         definitions to simulate -mthreads.
10670
10671 2002-03-09  Adam Megacz  <adam@xwt.org>
10672
10673         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10674         avoid precision loss.
10675
10676 2002-03-09  Per Bothner  <per@bothner.com>
10677
10678         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10679         * gnu/gcj/xlib/XImage.java:  Likewise.
10680         * gnu/gcj/xlib/XColor.java:  Likewise.
10681
10682 2002-03-09  Adam Megacz  <adam@xwt.org>
10683
10684         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10685         IOException so that Throwable.printStackTrace fails correctly.
10686
10687 2002-03-08  Adam Megacz  <adam@xwt.org>
10688
10689         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10690         fixed.
10691
10692 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10693
10694         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10695         truncated to int.
10696
10697 2002-03-08  Tom Tromey  <tromey@redhat.com>
10698
10699         * include/jni.h: Include stdio.h.
10700
10701 2002-03-08  Tom Tromey  <tromey@redhat.com>
10702
10703         * posix.cc (internal_gettimeofday): New function.
10704         (_Jv_select): Use it.
10705
10706 2002-03-07  Adam Megacz  <adam@xwt.org>
10707
10708         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10709         WIN32, and added thunks for read(), write(), and close().
10710         * java/net/natPlainSocketImpl.cc (accept, read, read):
10711         Disabled timeouts on WIN32 pending discussion.
10712
10713 2002-03-07  Adam Megacz  <adam@xwt.org>
10714
10715         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10716         returns jlong. Added implementation
10717         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10718         returns jlong.
10719         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10720         returns jlong.
10721         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10722         returns jlong.
10723         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10724         _Jv_platform_gettimeofday signature.
10725
10726 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10727
10728         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10729         (read): Call recv() directly, not _Jv_recv().
10730
10731 2002-03-06  Tom Tromey  <tromey@redhat.com>
10732
10733         * java/io/natFileDescriptorEcos.cc (init): Don't use
10734         GetStdHandle.
10735         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10736         is negative.
10737         (init): Don't use GetStdHandle.
10738
10739         * include/config.h.in: Rebuilt.
10740         * configure: Rebuilt.
10741         * Makefile.in: Rebuilt.
10742
10743 2002-03-06  Adam Megacz  <adam@xwt.org>
10744
10745         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10746         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10747         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10748         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10749
10750 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10751
10752         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10753         the code for generating include/java-chartables.h.
10754         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10755         merge with Classpath.
10756         * scripts/unicode-muncher.pl: Copy from Classpath.
10757         * scritps/MakeCharTables.java: New file.
10758         * gnu/gcj/convert/Blocks-3.txt: New file.
10759         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10760         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10761         * gnu/java/lang/CharData.java: Copy from Classpath.
10762         * Makefile.am (ordinary_java_source_files): Add
10763         gnu/java/lang/CharData.java.
10764         * configure.in: Remove --enable-fast-character option.
10765         * java/lang/Character.java: Merge algorithms and Javadoc with
10766         Classpath.
10767         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10768         efficiently.
10769         * include/java-chardecomp.h: Regenerate.
10770         * include/java-chartables.h: Regenerate.
10771
10772 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10773
10774         * java/awt/MediaTracker.java: Implemented.
10775         * Makefile.am: Add MediaTracker.
10776         * Makefile.in: Rebuilt.
10777
10778 2002-03-05  Tom Tromey  <tromey@redhat.com>
10779
10780         * java/lang/natPosixProcess.cc (fail): Removed.
10781         (startProcess): Simplified error-handling.  Preserve
10782         LD_LIBRARY_PATH across exec.
10783
10784         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10785         AbstractMethodError.
10786
10787 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10788
10789         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10790         * Makefile.in: Rebuilt.
10791
10792 2002-03-03 Mark Wielaard <mark@klomp.org>
10793
10794         * java/util/Timer (TaskQueue.stop): set elements to zero.
10795
10796 2002-02-28  Anthony Green  <green@redhat.com>
10797
10798         * java/lang/reflect/natMethod.cc (result): Add void* element.
10799         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10800         constructor test.
10801
10802 2002-02-27  Adam Megacz <adam@xwt.org>
10803
10804         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10805         '#undef STRICT'.
10806
10807 2002-02-26  Tom Tromey  <tromey@redhat.com>
10808
10809         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10810         * gij.cc (version): Use __VERSION__.
10811         * include/config.h.in: Rebuilt.
10812         * acconfig.h (GCJVERSION): Removed.
10813         * configure: Rebuilt.
10814         * configure.in (GCJVERSION): Removed.
10815
10816 2002-02-26  Andreas Schwab  <schwab@suse.de>
10817
10818         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10819         glibcpp_CXX, since libjava uses even another CXX.
10820         * aclocal.m4, configure: Regenerated.
10821
10822 2002-02-26  Tom Tromey  <tromey@redhat.com>
10823
10824         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10825         `1'.
10826
10827 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10828
10829         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10830         dependency tracking for .java files.
10831         * Makefile.in: Rebuilt.
10832
10833 2002-02-24  Adam Megacz  <adam@xwt.org>
10834
10835         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10836         typo. Sorry.
10837
10838 2002-02-24  Adam Megacz  <adam@xwt.org>
10839
10840         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10841         for Win32, changed #ifdefs to check WIN32 instead of the
10842         (now-obsolete) USE_WINSOCK, and removed support for socket
10843         timeouts on Win32 pending further discussion.
10844
10845 2002-02-24  Adam Megacz  <adam@xwt.org>
10846
10847         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10848         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10849         delete
10850
10851 2002-02-24  Adam Megacz  <adam@xwt.org>
10852
10853         * java/lang/Win32Process.java: Created a dummy class to allow
10854         build process to run to completion.
10855
10856 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10857
10858         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10859         Define ffi_result union for ffi_call result.  Cast
10860         ffi_result members to jvalue.
10861
10862 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10863
10864         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10865         * testsuite/Makefile.in: Likewise.
10866
10867 2002-02-20  Per Bothner  <per@bothner.com>
10868
10869         * java/net/URL.java (getPath):  New JDK 1.3 method.
10870
10871         * java/net/URLStreamHandler.java (parseURL):
10872         It is wrong to prepend '/' to the file part of a relative url.
10873
10874         * java/net/URLStreamHandler.java (parseURL):
10875         Minor optizations - append '/' rather than "/".
10876
10877         * java/net/URLStreamHandler.java (parseURL):
10878         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10879         We probably should canonicalize for a context-relative url, though.
10880         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10881         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10882         (sameFile):  New method.  Uses canonicalizeFilename.
10883
10884 2002-02-22  Tom Tromey  <tromey@redhat.com>
10885
10886         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10887         java.vendor and java.vm.vendor.
10888         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10889         recent copyright date.
10890         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10891         * gij.cc (version): Print `Inc'.
10892
10893 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10894
10895         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10896         * aclocal.m4, configure: Rebuilt.
10897
10898 2002-02-20  Per Bothner  <per@bothner.com>
10899
10900         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10901         and/or output streams immediately here, instead of using File.exists.
10902         (inputStream, outputStream):  New fields to save open streams.
10903         (getInputStream, getOutputStream):  Use already-opened streams.
10904
10905 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10906
10907         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10908         Use it.
10909         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10910         * aclocal.m4, configure, Makefile.in: Rebuilt.
10911
10912 2002-02-19  Tom Tromey  <tromey@redhat.com>
10913
10914         Fix for PR libgcj/5696:
10915         * verify.cc (is_assignable_from_slow): Never call
10916         _Jv_IsAssignableFrom.
10917         (verify_instructions_0): Added new debug statement.
10918         (state::print): Print information about whether local has
10919         changed.
10920         (state::merge): Don't call note_variable when merging locals.
10921         (state::set_exception): Removed old FIXME comment.
10922
10923 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10924
10925         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10926         enable SO_BROADCAST.
10927
10928 2002-02-18  Jason Merrill  <jason@redhat.com>
10929
10930         * name-finder.cc (toHex): Use word mode, not long long.
10931
10932         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10933
10934 2002-02-15  Tom Tromey  <tromey@redhat.com>
10935
10936         Fix for PR libgcj/5695:
10937         * verify.cc (is_assignable_from_slow): Check to see if target is
10938         an Object before checking to see if source is an interface.
10939         (verify_instructions_0) [op_invokeinterface]: Handle case where
10940         we're making an interface call on Object.
10941
10942 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10943
10944         * Makefile.in: Rebuilt with Eric's change below.
10945
10946         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10947         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10948         Removed functions which are now implemented in Math.java.
10949
10950 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10951
10952         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10953         * Makefile.am (core_java_source_files): Add
10954         java/lang/StrictMath.java.
10955         * java/lang/Math.java: Merge with Classpath.
10956         * java/lang/StrictMath.java: New file - merge with Classpath.
10957
10958 2002-02-14  Mark Wielaard  <mark@klomp.org>
10959
10960         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10961         package as a workaround for gcj 3.0.x
10962
10963 2002-02-14  Mark Wielaard <mark@klomp.org>
10964
10965         * java/security/BasicPermission.java: extends with fully qualified
10966         classname as workaround for gcj 3.0.4.
10967
10968 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10969
10970         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10971         around gcj bug of wrong emitted qualifier for inherited method.
10972         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10973         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10974         constructor to reduce amount of emitted bytecode. While this
10975         happens to work around a jikes 1.15 bug, it is still a useful
10976         patch even for correct compilers.
10977         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10978         * gnu/java/rmi/server/UnicastRemoteCall.java
10979         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10980
10981 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10982
10983         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10984         * java/net/SocketImpl.java: Ditto.
10985         * java/rmi/server/RMIClassLoader.java: Ditto.
10986         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10987
10988 2002-02-14  Mark Wielaard <mark@klomp.org>
10989
10990         Thanks to Takashi Okamoto
10991         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10992         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10993         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10994
10995 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10996
10997         Fix for PR libgcj/5670:
10998         * verify.cc (is_assignable_from_slow): If `source' is interface,
10999         recursively look for merge with `target'.
11000
11001 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
11002
11003         * include/jni.h: Fix typo.
11004
11005 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
11006
11007         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11008         correctly.
11009
11010 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11011
11012         Fix for PR libgcj/5671:
11013         * verify.cc (state::merge): Handle case where we're merging
11014         against an interface.
11015
11016 2002-02-12  Tom Tromey  <tromey@redhat.com>
11017
11018         * exception.cc (std::abort): Mark as noreturn.
11019
11020 2002-02-12  Adam Megacz <adam@xwt.org>
11021
11022         * java/lang/Win32Process.java: Filled in a placeholder
11023         implementation so Win32 will build.
11024
11025 2002-02-12  Adam Megacz <adam@xwt.org>
11026
11027         * java/io/natFilePosix.cc: Copied this from natFile.cc.
11028         * java/io/natFile.cc: Removed from repository.
11029         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11030
11031 2002-02-12  Adam Megacz <adam@xwt.org>
11032
11033         * win32.cc: Added two #includes to make win32.cc compile.
11034
11035 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11036
11037         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11038         declarations.
11039         (_Jv_InitGC): Don't bother locking, as this is always called from a
11040         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11041
11042 2002-02-11  Adam Megacz <adam@xwt.org>
11043
11044         * include/win32.h: Added _Jv_platform_gettimeofday.
11045         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11046
11047 2002-02-11  Adam Megacz <adam@xwt.org>
11048
11049         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11050         Added #undef STRICT to make windows.h and
11051         java/lang/reflect/Modifier.h cooperate.
11052
11053 2002-02-11  Adam Megacz <adam@xwt.org>
11054
11055         * java/io/natFileWin32.cc: Created a placeholder class with lots
11056         of FIXMEs.
11057
11058 2002-02-11  Adam Megacz <adam@xwt.org>
11059
11060         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11061         std::abort() to simply abort(). Also added "fake" std::abort() so
11062         we can #include unwind-pe.h without having to link against
11063         libstdc++-v3.
11064
11065 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
11066
11067         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11068
11069 2002-02-08  Tom Tromey  <tromey@redhat.com>
11070
11071         * interpret.cc (convert): New function.
11072         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11073         convert.
11074         Include Long.h.
11075
11076 2002-02-08  Anthony Green  <green@redhat.com>
11077
11078         * configure.host: Add support for xscale-elf embedded target.
11079
11080 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
11081
11082         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11083         dereferenced.
11084         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11085         frame.
11086
11087 2002-02-07  Tom Tromey  <tromey@redhat.com>
11088
11089         * java/io/natFile.cc (_access): Use __builtin_alloca.
11090         (_stat): Likewise.
11091         (attr): Likewise.
11092         (getCanonicalPath): Likewise.
11093         (performList): Likewise.
11094         (performMkdir): Likewise.
11095         (performSetReadOnly): Likewise.
11096         (performRenameTo): Likewise.
11097         (performSetLastModified): Likewise.
11098         (performCreate): Likewise.
11099         (performDelete): Likewise.
11100
11101 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11102
11103         * HACKING: Fix URL for the automake-gcj.
11104
11105 2002-02-07  Tom Tromey  <tromey@redhat.com>
11106
11107         * java/lang/natThrowable.cc: Updated copyright.
11108         * java/io/natFileWin32.cc: Updated copyright.
11109         * java/io/natFileDescriptorWin32.cc: Updated copyright.
11110         * win32-threads.cc: Updated copyright.
11111         * name-finder.cc: Updated copyright.
11112         * include/name-finder.h: Updated copyright.
11113
11114         * include/name-finder.h: Conditionally include sys/wait.h.
11115         * include/config.h.in: Rebuilt.
11116
11117         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11118         Size buffer based on real size of string.
11119         (_stat): Likewise.
11120         (attr): Likewise.
11121         (getCanonicalPath): Likewise.
11122         (performList): Likewise.
11123         (performMkdir): Likewise.
11124         (performSetReadOnly): Likewise.
11125         (unixroot): Removed.
11126         (performRenameTo): Likewise.
11127         (performSetLastModified): Likewise.
11128         (performCreate): Likewise.
11129         (performDelete): Likewise.
11130         (performListRoots): Always return new array.
11131
11132         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11133         * win32.cc (win32_exception_handler): Now static.
11134         * include/win32.h (_Jv_platform_initialize): Declare.
11135         (win32_exception_handler): Don't declare.
11136         * java/lang/natSystem.cc (currentTimeMillis): Use
11137         _Jv_platform_gettimeofday.
11138         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11139         (_Jv_select): Use new name.
11140         (_Jv_platform_initialize): New function.
11141         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11142         _Jv_gettimeofday.
11143         (_Jv_platform_initialize): Declare.
11144
11145         * configure: Rebuilt.
11146         * configure.in: Removed unnecessary parens.
11147
11148 2002-02-06  Adam Megacz <adam@xwt.org>
11149
11150        * configure.in: Changed mingw) to *mingw*).
11151        * win32.cc: Created this file.
11152        * win32.h: Created this file.
11153        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11154        win32_exception_handler from prims.cc to win32.cc, added
11155        header in win32.h.
11156        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11157        longer needed now that we have platform.h
11158
11159 2002-02-06  Adam Megacz <adam@xwt.org>
11160
11161         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11162         use uint<n>_t instead of LONG and BYTE
11163
11164 2002-02-06  Adam Megacz <adam@xwt.org>
11165
11166         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11167
11168 2002-02-06  Anthony Green  <green@redhat.com>
11169
11170         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11171         Implement missing method stubs.
11172         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11173         targets.
11174         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11175         concept of timezones.
11176         (init_properties): Don't refer to _Jv_Environment_Properties
11177         when this feature is not available.
11178         * include/config.h.in: Rebuilt.
11179         * acconfig.h: Add DISABLE_MAIN_ARGS.
11180         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11181         * configure: Rebuilt.
11182         * configure.in: Add --disable-main-args option.  Test for
11183           opendir function.  Replace AC_CHECK_SIZEOF with
11184           AC_COMPILE_CHECK_SIZEOF.
11185         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11186         * aclocal.m4: Rebuilt.
11187         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11188
11189 2002-02-06  Tom Tromey  <tromey@redhat.com>
11190
11191         * verify.cc (require_array_type): If argument is a null array of
11192         references, return null as the element type.
11193
11194 2002-02-06  Mark Wielaard  <mark@klomp.org>
11195
11196         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11197         duplicate of a wide type.
11198
11199 2002-02-06  Tom Tromey  <tromey@redhat.com>
11200
11201         * verify.cc (type::isnull): New method.
11202         (require_array_type): Handle case where array is null.
11203         (verify_instructions_0) [op_arraylength]: Likewise.
11204
11205 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11206
11207         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11208         Symlink PLATFORMH to platform.h.
11209         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11210         PLATFORMOBJS.
11211         * java/lang/natSystem.cc: #include platform.h not posix.h.
11212         * Makefile.in: Rebuilt with libgcj automake.
11213         * configure: Rebuilt.
11214
11215 2002-02-05  Richard Henderson  <rth@redhat.com>
11216
11217         * Makefile.in: Undo munging last change.
11218
11219 2002-02-04  Adam Megacz <adam@xwt.org>
11220
11221         * win32.cc: Created it.
11222         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11223         which is set to posix.cc or win32.cc.
11224         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11225
11226 2002-02-04  Adam Megacz <adam@xwt.org>
11227
11228         * configure.in: Corrected mingw case branches; added * before
11229         and after.
11230
11231 2002-02-04  Adam Megacz <adam@xwt.org>
11232
11233         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11234         if compiling for win32
11235
11236 2002-02-04  Adam Megacz <adam@xwt.org>
11237
11238         * win32-threads.cc: #undef STRICT after gc.h inclusion
11239
11240 2002-02-02  Tom Tromey  <tromey@redhat.com>
11241
11242         * Makefile.in: Rebuilt.
11243
11244 2002-02-02  Jason Merrill  <jason@redhat.com>
11245
11246         * Makefile.am (clean-nat): New target.
11247
11248 2002-02-02  Tom Tromey  <tromey@redhat.com>
11249
11250         * java/io/natFile.cc: Removed old "FIXME" comments.
11251
11252 2002-02-01  Tom Tromey  <tromey@redhat.com>
11253
11254         * java/lang/natPosixProcess.cc (myclose): New function.
11255         (fail): Use it.
11256         (startProcess): Likewise.
11257
11258 2002-02-01  Adam Megacz <adam@xwt.org>
11259
11260         * prims.cc: Added #undef STRICT after #include<windows.h>.
11261
11262 2002-02-01  Adam Megacz <adam@xwt.org>
11263
11264         * prims.cc
11265         (_Jv_CreateJavaVM): We now use WIN32 instead of
11266         USE_WIN32_SIGNALLING and USE_WINSOCK.
11267         (win32_exception_handler): Now throws an exception out of
11268         the signal handler; assumes SJLJ.
11269
11270 2002-02-01  Adam Megacz <adam@xwt.org>
11271
11272         * win32-threads.cc:
11273         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11274         wait() algorithm to make it safe.
11275         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11276         Added lazy creation of Win32 Events for better performance
11277         (really_start): This now uses GC_CreateThread so boehm-gc
11278         knows about new threads even when statically linked.
11279
11280 2002-02-01  Adam Megacz <adam@xwt.org>
11281
11282         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11283         enable safer wait() algorithm.
11284         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11285         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11286         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11287         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11288         instead of mutex.
11289         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11290
11291 2002-02-01  Adam Megacz <adam@xwt.org>
11292
11293         * configure.in: Added support for mingw.
11294         * java/lang/Win32Process.java: Created as empty file.
11295         * java/lang/natWin32Process.cc: Created as empty file.
11296
11297 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11298
11299         PR java/4972
11300         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11301         for libiconv in LIBICONV variable.
11302         * configure: Regenerated.
11303
11304 2002-01-31  Tom Tromey  <tromey@redhat.com>
11305
11306         * verify.cc (state::enter_subroutine): New method.
11307         (handle_jsr_insn): Use it.
11308         (state::merge): When processing a `ret', correctly use
11309         subroutine's state to determine which local variables have
11310         changed.
11311         (push_exception_jump): Don't let stack overflow.
11312
11313 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11314
11315         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11316         --version output.
11317
11318 2002-01-30  Tom Tromey  <tromey@redhat.com>
11319
11320         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11321         parameter for `recv' return type.
11322
11323         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11324         (state::merge): ... not here.
11325         (subr_entry_info): New structure.
11326         (entry_points): New field.
11327         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11328         entry_points.
11329
11330 2002-01-29  Tom Tromey  <tromey@redhat.com>
11331
11332         * java/awt/List.java (addNotify): Correctly check to see if peer
11333         does not exist.
11334
11335         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11336         to compute height of each cell, and number of columns to compute
11337         width of each cell.
11338         * java/awt/Window.java (getOwnedWindows): Don't return null.
11339         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11340         of component.  Increment x using horizontal gap, not vertical
11341         gap.
11342
11343 2002-01-28  Tom Tromey  <tromey@redhat.com>
11344
11345         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11346         `nargs' byte is number of words, not number of arguments.
11347
11348 2002-01-27  Tom Tromey  <tromey@redhat.com>
11349
11350         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11351         (when): Likewise.
11352         * java/awt/event/InputEvent.java (modifiers, when): Now
11353         package-private.
11354
11355         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11356         and to-do list.
11357         (state::merge): Use current class' class loader.
11358         (state::print): Print subroutine.
11359         (state::merge): Don't look at subroutine of unmerged `ret'.
11360
11361 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11362
11363         * nogc.cc: Remove warnings.
11364         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11365         New functions.
11366
11367 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11368
11369         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11370         int, int):  Remove empty "if" statement to work around compiler bug.
11371         (newPixels(int[], ColorModel, int, int): Likewise.
11372
11373 2002-01-25  Per Bothner  <per@bothner.com>
11374
11375         * verify.cc (verify_fail):  Change from being a top-level function
11376         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11377         Pass the current verifier to type: and state: methods as needed,
11378         for better error messages, and for resolve.
11379         (resolve):  Pass current class's loader for Class.forName and
11380         _Jv_FindClassFromSignature, rather than using the default loader.
11381         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11382         (get_type_val_for_signature):  Make non-static.
11383         (various methods):  Pass start_PC implicitly, not explicitly.
11384
11385 2002-01-25  Tom Tromey  <tromey@redhat.com>
11386
11387         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11388         loop termination condition.
11389         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11390         width.
11391
11392 2002-01-24  Tom Tromey  <tromey@redhat.com>
11393
11394         * java/awt/Shape.java: Merged with Classpath.
11395         * java/awt/Scrollbar.java: Merged with Classpath.
11396
11397         * java/awt/Container.java (addNotify): Unconditionally call
11398         addNotifyContainerChildren and superclass addNotify.
11399
11400         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11401         getAlpha, not getBlue.
11402
11403 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11404
11405         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11406
11407         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11408         (grabPixels(long)): Wait to be notified that the ImageProducer has
11409         completed.
11410
11411 2002-01-24  Per Bothner  <per@bothner.com>
11412
11413         * verify.cc (is_assignable_from_slow): If target is an interface,
11414         we must still check the source's superclass before giving up.
11415
11416 2002-01-24  Tom Tromey  <tromey@redhat.com>
11417
11418         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11419
11420 2002-01-23  Tom Tromey  <tromey@redhat.com>
11421
11422         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11423         `else'.
11424
11425         * Makefile.in: Rebuilt.
11426         * Makefile.am (awt_java_source_files): Added new files.
11427         * java/awt/Toolkit.java: Merged with Classpath.
11428         * java/awt/PrintGraphics.java: New file from Classpath.
11429         * java/awt/PrintJob.java: New file from Classpath.
11430         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11431         * java/awt/datatransfer/ClipboardOwner.java: New file from
11432         Classpath.
11433         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11434         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11435         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11436         Classpath.
11437         * java/awt/datatransfer/StringSelection.java: New file from
11438         Classpath.
11439         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11440         Classpath.
11441         * java/awt/datatransfer/Transferable.java: New file from
11442         Classpath.
11443         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11444         from Classpath.
11445
11446         * Makefile.in: Rebuilt.
11447         * Makefile.am (awt_java_source_files): Added new files.
11448         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11449         Classpath.
11450         * java/awt/image/CropImageFilter.java: New file from Classpath.
11451         * java/awt/image/FilteredImageSource.java: New file from
11452         Classpath.
11453         * java/awt/image/ImageFilter.java: New file from Classpath.
11454         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11455         * java/awt/image/PixelGrabber.java: New file from Classpath.
11456         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11457         * java/awt/image/ReplicateScaleFilter.java: New file from
11458         Classpath.
11459         * java/awt/image/ImageProducer.java: Replaced with Classpath
11460         version.
11461         * java/awt/image/ImageObserver.java: Replaced with Classpath
11462         version.
11463         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11464         version.
11465         * java/awt/GridBagConstraints.java (clone): Catch
11466         CloneNotSupportedException.
11467
11468 2002-01-23  Per Bothner  <per@bothner.com>
11469
11470         * java/lang/reflect/natField.cc (setAddr):  New function.
11471         Calls getAddr and then checks that the field isn't final.
11472         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11473         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11474         (set):  Call setAddr before check that new value has right type,
11475         to better match specified semantics.
11476
11477 2002-01-22  Tom Tromey  <tromey@redhat.com>
11478
11479         * java/awt/TextField.java: Replaced with Classpath version.
11480         * java/awt/TextArea.java: Replaced with Classpath version.
11481         * java/awt/TextComponent.java: Replaced with Classpath version.
11482
11483         * java/awt/GridBagConstraints.java: Updated copyright.
11484
11485 2002-01-22  Mark Wielaard <mark@klomp.org>
11486
11487         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11488         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11489         java/awt/Dialog.java java/awt/FileDialog.java
11490         java/awt/Font.java java/awt/FontMetrics.java
11491         java/awt/Image.java java/awt/ImageMediaEntry.java
11492         java/awt/Insets.java java/awt/List.java
11493         java/awt/MediaEntry.java java/awt/MediaTracker.java
11494         java/awt/Menu.java java/awt/MenuBar.java
11495         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11496         java/awt/PaintContext.java java/awt/Panel.java
11497         java/awt/PopupMenu.java java/awt/SystemColor.java
11498         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11499         java/awt/peer/CheckboxMenuItemPeer.java
11500         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11501         java/awt/peer/ComponentPeer.java
11502         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11503         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11504         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11505         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11506         java/awt/peer/MenuBarPeer.java
11507         java/awt/peer/MenuComponentPeer.java
11508         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11509         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11510         java/awt/peer/ScrollPanePeer.java
11511         java/awt/peer/ScrollbarPeer.java
11512         java/awt/peer/TextAreaPeer.java
11513         java/awt/peer/TextComponentPeer.java
11514         java/awt/peer/TextFieldPeer.java
11515         java/awt/peer/WindowPeer.java: Add license clarification.
11516
11517 2002-01-22  Mark Wielaard <mark@klomp.org>
11518
11519         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11520         gnu/gcj/runtime/StringBuffer.java
11521         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11522         gnu/java/awt/ComponentDataBlitOp.java
11523         gnu/java/awt/GLightweightPeer.java
11524         gnu/java/beans/BeanInfoEmbryo.java
11525         gnu/java/beans/EmptyBeanInfo.java
11526         gnu/java/beans/ExplicitBeanInfo.java
11527         gnu/java/beans/IntrospectionIncubator.java
11528         gnu/java/beans/editors/ColorEditor.java
11529         gnu/java/beans/editors/FontEditor.java
11530         gnu/java/beans/editors/NativeBooleanEditor.java
11531         gnu/java/beans/editors/NativeByteEditor.java
11532         gnu/java/beans/editors/NativeDoubleEditor.java
11533         gnu/java/beans/editors/NativeFloatEditor.java
11534         gnu/java/beans/editors/NativeIntEditor.java
11535         gnu/java/beans/editors/NativeLongEditor.java
11536         gnu/java/beans/editors/NativeShortEditor.java
11537         gnu/java/beans/editors/StringEditor.java
11538         gnu/java/beans/info/ComponentBeanInfo.java
11539         gnu/java/io/ClassLoaderObjectInputStream.java
11540         gnu/java/io/NullOutputStream.java
11541         gnu/java/io/ObjectIdentityWrapper.java
11542         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11543         gnu/java/lang/reflect/TypeSignature.java
11544         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11545         gnu/java/locale/Calendar_en.java
11546         gnu/java/locale/Calendar_nl.java
11547         gnu/java/locale/LocaleInformation.java
11548         gnu/java/locale/LocaleInformation_de.java
11549         gnu/java/locale/LocaleInformation_en.java
11550         gnu/java/locale/LocaleInformation_nl.java
11551         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11552         gnu/java/rmi/registry/RegistryImpl.java
11553         gnu/java/rmi/rmic/Compile_gcj.java
11554         gnu/java/rmi/rmic/Compiler.java
11555         gnu/java/rmi/rmic/CompilerProcess.java
11556         gnu/java/rmi/rmic/RMIC.java
11557         gnu/java/rmi/rmic/TabbedWriter.java
11558         gnu/java/rmi/server/ProtocolConstants.java
11559         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11560         gnu/java/rmi/server/RMIHashes.java
11561         gnu/java/rmi/server/RMIObjectInputStream.java
11562         gnu/java/rmi/server/RMIObjectOutputStream.java
11563         gnu/java/rmi/server/UnicastConnection.java
11564         gnu/java/rmi/server/UnicastConnectionManager.java
11565         gnu/java/rmi/server/UnicastRef.java
11566         gnu/java/rmi/server/UnicastRemoteCall.java
11567         gnu/java/rmi/server/UnicastRemoteStub.java
11568         gnu/java/rmi/server/UnicastServer.java
11569         gnu/java/rmi/server/UnicastServerRef.java
11570         gnu/java/security/provider/DefaultPolicy.java
11571         gnu/java/security/provider/Gnu.java
11572         gnu/java/security/provider/SHA.java
11573         gnu/java/security/provider/SHA1PRNG.java
11574         gnu/java/text/BaseBreakIterator.java
11575         gnu/java/text/CharacterBreakIterator.java
11576         gnu/java/text/LineBreakIterator.java
11577         gnu/java/text/SentenceBreakIterator.java
11578         gnu/java/text/WordBreakIterator.java
11579         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11580         java/applet/AppletContext.java java/applet/AppletStub.java
11581         java/applet/AudioClip.java java/awt/AWTError.java
11582         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11583         java/awt/AWTException.java java/awt/AWTPermission.java
11584         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11585         java/awt/Button.java java/awt/Canvas.java
11586         java/awt/CardLayout.java java/awt/Checkbox.java
11587         java/awt/CheckboxGroup.java java/awt/Component.java
11588         java/awt/ComponentOrientation.java java/awt/Container.java
11589         java/awt/Dimension.java java/awt/Event.java
11590         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11591         java/awt/FlowLayout.java java/awt/Frame.java
11592         java/awt/Graphics.java java/awt/Graphics2D.java
11593         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11594         java/awt/IllegalComponentStateException.java
11595         java/awt/ItemSelectable.java java/awt/Label.java
11596         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11597         java/awt/MenuComponent.java java/awt/MenuItem.java
11598         java/awt/Paint.java java/awt/Point.java
11599         java/awt/Rectangle.java java/awt/RenderingHints.java
11600         java/awt/Transparency.java java/awt/Window.java
11601         java/awt/color/ColorSpace.java
11602         java/awt/color/ICC_ColorSpace.java
11603         java/awt/color/ICC_Profile.java
11604         java/awt/event/HierarchyBoundsAdapter.java
11605         java/awt/event/HierarchyBoundsListener.java
11606         java/awt/event/HierarchyEvent.java
11607         java/awt/event/HierarchyListener.java
11608         java/awt/geom/AffineTransform.java
11609         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11610         java/awt/geom/IllegalPathStateException.java
11611         java/awt/geom/Line2D.java
11612         java/awt/geom/NoninvertibleTransformException.java
11613         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11614         java/awt/geom/Rectangle2D.java
11615         java/awt/geom/RectangularShape.java
11616         java/awt/geom/RoundRectangle2D.java
11617         java/awt/image/BufferedImage.java
11618         java/awt/image/ColorModel.java
11619         java/awt/image/ComponentColorModel.java
11620         java/awt/image/ComponentSampleModel.java
11621         java/awt/image/DataBuffer.java
11622         java/awt/image/DataBufferByte.java
11623         java/awt/image/DataBufferInt.java
11624         java/awt/image/DataBufferUShort.java
11625         java/awt/image/DirectColorModel.java
11626         java/awt/image/PackedColorModel.java
11627         java/awt/image/Raster.java java/awt/image/RasterOp.java
11628         java/awt/image/SampleModel.java
11629         java/awt/image/SinglePixelPackedSampleModel.java
11630         java/awt/image/WritableRaster.java
11631         java/beans/AppletInitializer.java
11632         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11633         java/beans/Beans.java java/beans/Customizer.java
11634         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11635         java/beans/FeatureDescriptor.java
11636         java/beans/IndexedPropertyDescriptor.java
11637         java/beans/IntrospectionException.java
11638         java/beans/Introspector.java java/beans/MethodDescriptor.java
11639         java/beans/ParameterDescriptor.java
11640         java/beans/PropertyChangeEvent.java
11641         java/beans/PropertyChangeListener.java
11642         java/beans/PropertyChangeSupport.java
11643         java/beans/PropertyDescriptor.java
11644         java/beans/PropertyEditor.java
11645         java/beans/PropertyEditorManager.java
11646         java/beans/PropertyEditorSupport.java
11647         java/beans/PropertyVetoException.java
11648         java/beans/SimpleBeanInfo.java
11649         java/beans/VetoableChangeListener.java
11650         java/beans/VetoableChangeSupport.java
11651         java/beans/Visibility.java
11652         java/beans/beancontext/BeanContext.java
11653         java/beans/beancontext/BeanContextChild.java
11654         java/beans/beancontext/BeanContextChildComponentProxy.java
11655         java/beans/beancontext/BeanContextChildSupport.java
11656         java/beans/beancontext/BeanContextContainerProxy.java
11657         java/beans/beancontext/BeanContextEvent.java
11658         java/beans/beancontext/BeanContextMembershipEvent.java
11659         java/beans/beancontext/BeanContextMembershipListener.java
11660         java/beans/beancontext/BeanContextProxy.java
11661         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11662         java/beans/beancontext/BeanContextServiceProvider.java
11663         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11664         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11665         java/beans/beancontext/BeanContextServiceRevokedListener.java
11666         java/beans/beancontext/BeanContextServices.java
11667         java/beans/beancontext/BeanContextServicesListener.java
11668         java/io/BufferedInputStream.java
11669         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11670         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11671         java/io/ByteArrayOutputStream.java
11672         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11673         java/io/CharConversionException.java java/io/DataInput.java
11674         java/io/DataInputStream.java java/io/DataOutput.java
11675         java/io/EOFException.java java/io/Externalizable.java
11676         java/io/FileFilter.java java/io/FileNotFoundException.java
11677         java/io/FilePermission.java java/io/FileReader.java
11678         java/io/FileWriter.java java/io/FilenameFilter.java
11679         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11680         java/io/FilterReader.java java/io/FilterWriter.java
11681         java/io/IOException.java java/io/InputStream.java
11682         java/io/InterruptedIOException.java
11683         java/io/InvalidClassException.java
11684         java/io/InvalidObjectException.java
11685         java/io/NotActiveException.java
11686         java/io/NotSerializableException.java java/io/ObjectInput.java
11687         java/io/ObjectInputStream.java
11688         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11689         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11690         java/io/ObjectStreamConstants.java
11691         java/io/ObjectStreamException.java
11692         java/io/ObjectStreamField.java
11693         java/io/OptionalDataException.java java/io/OutputStream.java
11694         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11695         java/io/PipedReader.java java/io/PipedWriter.java
11696         java/io/PrintWriter.java java/io/PushbackInputStream.java
11697         java/io/PushbackReader.java java/io/Reader.java
11698         java/io/SequenceInputStream.java java/io/Serializable.java
11699         java/io/SerializablePermission.java
11700         java/io/StreamCorruptedException.java
11701         java/io/StreamTokenizer.java
11702         java/io/StringBufferInputStream.java java/io/StringReader.java
11703         java/io/StringWriter.java java/io/SyncFailedException.java
11704         java/io/UTFDataFormatException.java
11705         java/io/UnsupportedEncodingException.java
11706         java/io/WriteAbortedException.java java/io/Writer.java
11707         java/lang/AbstractMethodError.java
11708         java/lang/ArithmeticException.java
11709         java/lang/ArrayIndexOutOfBoundsException.java
11710         java/lang/ArrayStoreException.java java/lang/Boolean.java
11711         java/lang/Byte.java java/lang/CharSequence.java
11712         java/lang/ClassCastException.java
11713         java/lang/ClassCircularityError.java
11714         java/lang/ClassFormatError.java
11715         java/lang/ClassNotFoundException.java
11716         java/lang/CloneNotSupportedException.java
11717         java/lang/Cloneable.java java/lang/Comparable.java
11718         java/lang/Compiler.java java/lang/Double.java
11719         java/lang/Error.java java/lang/Exception.java
11720         java/lang/ExceptionInInitializerError.java
11721         java/lang/Float.java java/lang/IllegalAccessError.java
11722         java/lang/IllegalAccessException.java
11723         java/lang/IllegalArgumentException.java
11724         java/lang/IllegalMonitorStateException.java
11725         java/lang/IllegalStateException.java
11726         java/lang/IllegalThreadStateException.java
11727         java/lang/IncompatibleClassChangeError.java
11728         java/lang/IndexOutOfBoundsException.java
11729         java/lang/InheritableThreadLocal.java
11730         java/lang/InstantiationError.java
11731         java/lang/InstantiationException.java java/lang/Integer.java
11732         java/lang/InternalError.java
11733         java/lang/InterruptedException.java
11734         java/lang/LinkageError.java java/lang/Long.java
11735         java/lang/NegativeArraySizeException.java
11736         java/lang/NoClassDefFoundError.java
11737         java/lang/NoSuchFieldError.java
11738         java/lang/NoSuchFieldException.java
11739         java/lang/NoSuchMethodError.java
11740         java/lang/NoSuchMethodException.java
11741         java/lang/NullPointerException.java java/lang/Number.java
11742         java/lang/NumberFormatException.java
11743         java/lang/OutOfMemoryError.java java/lang/Package.java
11744         java/lang/Process.java java/lang/Runnable.java
11745         java/lang/RuntimeException.java
11746         java/lang/RuntimePermission.java
11747         java/lang/SecurityException.java
11748         java/lang/SecurityManager.java java/lang/Short.java
11749         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11750         java/lang/StringIndexOutOfBoundsException.java
11751         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11752         java/lang/ThreadLocal.java java/lang/UnknownError.java
11753         java/lang/UnsatisfiedLinkError.java
11754         java/lang/UnsupportedClassVersionError.java
11755         java/lang/UnsupportedOperationException.java
11756         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11757         java/lang/Void.java java/lang/ref/PhantomReference.java
11758         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11759         java/lang/ref/SoftReference.java
11760         java/lang/ref/WeakReference.java
11761         java/lang/reflect/AccessibleObject.java
11762         java/lang/reflect/InvocationTargetException.java
11763         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11764         java/lang/reflect/ReflectPermission.java
11765         java/math/BigDecimal.java java/math/BigInteger.java
11766         java/net/Authenticator.java java/net/BindException.java
11767         java/net/ConnectException.java java/net/ContentHandler.java
11768         java/net/ContentHandlerFactory.java
11769         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11770         java/net/FileNameMap.java java/net/MalformedURLException.java
11771         java/net/MulticastSocket.java java/net/NetPermission.java
11772         java/net/NoRouteToHostException.java
11773         java/net/PasswordAuthentication.java
11774         java/net/ProtocolException.java java/net/ServerSocket.java
11775         java/net/Socket.java java/net/SocketException.java
11776         java/net/SocketImpl.java java/net/SocketImplFactory.java
11777         java/net/SocketOptions.java java/net/SocketPermission.java
11778         java/net/URLDecoder.java java/net/URLEncoder.java
11779         java/net/URLStreamHandlerFactory.java
11780         java/net/UnknownHostException.java
11781         java/net/UnknownServiceException.java
11782         java/rmi/AccessException.java
11783         java/rmi/AlreadyBoundException.java
11784         java/rmi/ConnectException.java
11785         java/rmi/ConnectIOException.java
11786         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11787         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11788         java/rmi/NotBoundException.java
11789         java/rmi/RMISecurityException.java
11790         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11791         java/rmi/RemoteException.java java/rmi/ServerError.java
11792         java/rmi/ServerException.java
11793         java/rmi/ServerRuntimeException.java
11794         java/rmi/StubNotFoundException.java
11795         java/rmi/UnexpectedException.java
11796         java/rmi/UnknownHostException.java
11797         java/rmi/UnmarshalException.java
11798         java/rmi/activation/Activatable.java
11799         java/rmi/activation/ActivateFailedException.java
11800         java/rmi/activation/ActivationDesc.java
11801         java/rmi/activation/ActivationException.java
11802         java/rmi/activation/ActivationGroup.java
11803         java/rmi/activation/ActivationGroupDesc.java
11804         java/rmi/activation/ActivationGroupID.java
11805         java/rmi/activation/ActivationID.java
11806         java/rmi/activation/ActivationInstantiator.java
11807         java/rmi/activation/ActivationMonitor.java
11808         java/rmi/activation/ActivationSystem.java
11809         java/rmi/activation/Activator.java
11810         java/rmi/activation/UnknownGroupException.java
11811         java/rmi/activation/UnknownObjectException.java
11812         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11813         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11814         java/rmi/registry/Registry.java
11815         java/rmi/registry/RegistryHandler.java
11816         java/rmi/server/ExportException.java
11817         java/rmi/server/LoaderHandler.java
11818         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11819         java/rmi/server/Operation.java
11820         java/rmi/server/RMIClassLoader.java
11821         java/rmi/server/RMIClientSocketFactory.java
11822         java/rmi/server/RMIFailureHandler.java
11823         java/rmi/server/RMIServerSocketFactory.java
11824         java/rmi/server/RMISocketFactory.java
11825         java/rmi/server/RemoteCall.java
11826         java/rmi/server/RemoteObject.java
11827         java/rmi/server/RemoteRef.java
11828         java/rmi/server/RemoteServer.java
11829         java/rmi/server/RemoteStub.java
11830         java/rmi/server/ServerCloneException.java
11831         java/rmi/server/ServerNotActiveException.java
11832         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11833         java/rmi/server/SkeletonMismatchException.java
11834         java/rmi/server/SkeletonNotFoundException.java
11835         java/rmi/server/SocketSecurityException.java
11836         java/rmi/server/UID.java
11837         java/rmi/server/UnicastRemoteObject.java
11838         java/rmi/server/Unreferenced.java
11839         java/security/AccessControlContext.java
11840         java/security/AccessControlException.java
11841         java/security/AccessController.java
11842         java/security/AlgorithmParameterGenerator.java
11843         java/security/AlgorithmParameterGeneratorSpi.java
11844         java/security/AlgorithmParameters.java
11845         java/security/AlgorithmParametersSpi.java
11846         java/security/AllPermission.java
11847         java/security/BasicPermission.java
11848         java/security/Certificate.java java/security/CodeSource.java
11849         java/security/DigestException.java
11850         java/security/DigestInputStream.java
11851         java/security/DigestOutputStream.java
11852         java/security/DomainCombiner.java
11853         java/security/DummyKeyPairGenerator.java
11854         java/security/DummyMessageDigest.java
11855         java/security/DummySignature.java
11856         java/security/GeneralSecurityException.java
11857         java/security/Guard.java java/security/GuardedObject.java
11858         java/security/Identity.java java/security/IdentityScope.java
11859         java/security/InvalidAlgorithmParameterException.java
11860         java/security/InvalidKeyException.java
11861         java/security/InvalidParameterException.java
11862         java/security/Key.java java/security/KeyException.java
11863         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11864         java/security/KeyManagementException.java
11865         java/security/KeyPair.java java/security/KeyPairGenerator.java
11866         java/security/KeyPairGeneratorSpi.java
11867         java/security/KeyStore.java
11868         java/security/KeyStoreException.java
11869         java/security/KeyStoreSpi.java
11870         java/security/MessageDigest.java
11871         java/security/MessageDigestSpi.java
11872         java/security/NoSuchAlgorithmException.java
11873         java/security/NoSuchProviderException.java
11874         java/security/Permission.java
11875         java/security/PermissionCollection.java
11876         java/security/Permissions.java java/security/Policy.java
11877         java/security/Principal.java java/security/PrivateKey.java
11878         java/security/PrivilegedAction.java
11879         java/security/PrivilegedActionException.java
11880         java/security/PrivilegedExceptionAction.java
11881         java/security/ProtectionDomain.java
11882         java/security/Provider.java
11883         java/security/ProviderException.java
11884         java/security/PublicKey.java
11885         java/security/SecureClassLoader.java
11886         java/security/SecureRandom.java
11887         java/security/SecureRandomSpi.java java/security/Security.java
11888         java/security/SecurityPermission.java
11889         java/security/Signature.java
11890         java/security/SignatureException.java
11891         java/security/SignatureSpi.java
11892         java/security/SignedObject.java java/security/Signer.java
11893         java/security/UnrecoverableKeyException.java
11894         java/security/UnresolvedPermission.java
11895         java/security/acl/Acl.java java/security/acl/AclEntry.java
11896         java/security/acl/AclNotFoundException.java
11897         java/security/acl/Group.java
11898         java/security/acl/LastOwnerException.java
11899         java/security/acl/NotOwnerException.java
11900         java/security/acl/Owner.java java/security/acl/Permission.java
11901         java/security/cert/CRL.java
11902         java/security/cert/CRLException.java
11903         java/security/cert/Certificate.java
11904         java/security/cert/CertificateEncodingException.java
11905         java/security/cert/CertificateException.java
11906         java/security/cert/CertificateExpiredException.java
11907         java/security/cert/CertificateFactory.java
11908         java/security/cert/CertificateFactorySpi.java
11909         java/security/cert/CertificateNotYetValidException.java
11910         java/security/cert/CertificateParsingException.java
11911         java/security/cert/X509CRL.java
11912         java/security/cert/X509CRLEntry.java
11913         java/security/cert/X509Certificate.java
11914         java/security/cert/X509Extension.java
11915         java/security/interfaces/DSAKey.java
11916         java/security/interfaces/DSAKeyPairGenerator.java
11917         java/security/interfaces/DSAParams.java
11918         java/security/interfaces/DSAPrivateKey.java
11919         java/security/interfaces/DSAPublicKey.java
11920         java/security/interfaces/RSAKey.java
11921         java/security/interfaces/RSAPrivateCrtKey.java
11922         java/security/interfaces/RSAPrivateKey.java
11923         java/security/interfaces/RSAPublicKey.java
11924         java/security/spec/AlgorithmParameterSpec.java
11925         java/security/spec/DSAParameterSpec.java
11926         java/security/spec/DSAPrivateKeySpec.java
11927         java/security/spec/DSAPublicKeySpec.java
11928         java/security/spec/EncodedKeySpec.java
11929         java/security/spec/InvalidKeySpecException.java
11930         java/security/spec/InvalidParameterSpecException.java
11931         java/security/spec/KeySpec.java
11932         java/security/spec/PKCS8EncodedKeySpec.java
11933         java/security/spec/RSAKeyGenParameterSpec.java
11934         java/security/spec/RSAPrivateCrtKeySpec.java
11935         java/security/spec/RSAPrivateKeySpec.java
11936         java/security/spec/RSAPublicKeySpec.java
11937         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11938         java/sql/BatchUpdateException.java java/sql/Blob.java
11939         java/sql/CallableStatement.java java/sql/Clob.java
11940         java/sql/Connection.java java/sql/DataTruncation.java
11941         java/sql/DatabaseMetaData.java java/sql/Date.java
11942         java/sql/Driver.java java/sql/DriverManager.java
11943         java/sql/DriverPropertyInfo.java
11944         java/sql/PreparedStatement.java java/sql/Ref.java
11945         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11946         java/sql/SQLData.java java/sql/SQLException.java
11947         java/sql/SQLInput.java java/sql/SQLOutput.java
11948         java/sql/SQLWarning.java java/sql/Statement.java
11949         java/sql/Struct.java java/sql/Time.java
11950         java/sql/Timestamp.java java/sql/Types.java
11951         java/text/Annotation.java
11952         java/text/AttributedCharacterIterator.java
11953         java/text/AttributedString.java
11954         java/text/AttributedStringIterator.java
11955         java/text/BreakIterator.java java/text/CharacterIterator.java
11956         java/text/ChoiceFormat.java java/text/Collator.java
11957         java/text/DateFormat.java java/text/DateFormatSymbols.java
11958         java/text/DecimalFormat.java
11959         java/text/DecimalFormatSymbols.java
11960         java/text/FieldPosition.java java/text/Format.java
11961         java/text/MessageFormat.java java/text/NumberFormat.java
11962         java/text/ParseException.java java/text/ParsePosition.java
11963         java/text/SimpleDateFormat.java
11964         java/text/StringCharacterIterator.java
11965         java/util/AbstractCollection.java java/util/AbstractList.java
11966         java/util/AbstractMap.java
11967         java/util/AbstractSequentialList.java
11968         java/util/AbstractSet.java java/util/ArrayList.java
11969         java/util/Arrays.java java/util/BasicMapEntry.java
11970         java/util/BitSet.java java/util/Calendar.java
11971         java/util/Collection.java java/util/Collections.java
11972         java/util/Comparator.java
11973         java/util/ConcurrentModificationException.java
11974         java/util/Date.java java/util/Dictionary.java
11975         java/util/EmptyStackException.java java/util/Enumeration.java
11976         java/util/EventListener.java java/util/EventObject.java
11977         java/util/GregorianCalendar.java java/util/HashMap.java
11978         java/util/HashSet.java java/util/Hashtable.java
11979         java/util/IdentityHashMap.java java/util/Iterator.java
11980         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11981         java/util/LinkedList.java java/util/List.java
11982         java/util/ListIterator.java java/util/ListResourceBundle.java
11983         java/util/Locale.java java/util/Map.java
11984         java/util/MissingResourceException.java
11985         java/util/NoSuchElementException.java
11986         java/util/Observable.java java/util/Observer.java
11987         java/util/Properties.java java/util/PropertyPermission.java
11988         java/util/PropertyResourceBundle.java java/util/Random.java
11989         java/util/RandomAccess.java java/util/ResourceBundle.java
11990         java/util/Set.java java/util/SimpleTimeZone.java
11991         java/util/SortedMap.java java/util/SortedSet.java
11992         java/util/Stack.java java/util/StringTokenizer.java
11993         java/util/TimeZone.java java/util/Timer.java
11994         java/util/TimerTask.java
11995         java/util/TooManyListenersException.java
11996         java/util/TreeMap.java java/util/TreeSet.java
11997         java/util/Vector.java java/util/WeakHashMap.java
11998         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11999         java/util/jar/JarException.java java/util/jar/JarFile.java
12000         java/util/jar/JarInputStream.java
12001         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12002         java/util/zip/Adler32.java java/util/zip/CRC32.java
12003         java/util/zip/CheckedInputStream.java
12004         java/util/zip/CheckedOutputStream.java
12005         java/util/zip/Checksum.java
12006         java/util/zip/DataFormatException.java
12007         java/util/zip/Deflater.java
12008         java/util/zip/DeflaterOutputStream.java
12009         java/util/zip/GZIPInputStream.java
12010         java/util/zip/GZIPOutputStream.java
12011         java/util/zip/Inflater.java
12012         java/util/zip/InflaterInputStream.java
12013         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12014         java/util/zip/ZipException.java java/util/zip/ZipFile.java
12015         java/util/zip/ZipInputStream.java
12016         java/util/zip/ZipOutputStream.java
12017         javax/naming/BinaryRefAddr.java
12018         javax/naming/InvalidNameException.java javax/naming/Name.java
12019         javax/naming/NamingException.java javax/naming/RefAddr.java
12020         javax/naming/StringRefAddr.java: Add license clarification.
12021
12022 2002-01-22  Tom Tromey  <tromey@redhat.com>
12023
12024         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12025         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12026         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12027         version.
12028         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12029         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12030         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12031         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12032         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12033         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12034         * java/awt/peer/FontPeer.java: Replace with Classpath version.
12035         * java/awt/peer/FramePeer.java: Replace with Classpath version.
12036         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12037         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12038         * java/awt/peer/ListPeer.java: Replace with Classpath version.
12039         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12040         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12041         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12042         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12043         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12044         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12045         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12046         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12047         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12048         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12049         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12050         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12051         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12052         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12053         (minimumSize, preferredSize, reshape): Likewise.
12054         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12055         getColorModel): New methods.
12056         * java/awt/PopupMenu.java: Merged with Classpath.
12057         * java/awt/MenuBar.java: Merged with Classpath.
12058         * java/awt/SystemColor.java: Replace with Classpath version.
12059         * java/awt/Panel.java: Merged with Classpath.
12060         * java/awt/PaintContext.java: Updated copyright.
12061         * java/awt/MenuShortcut.java: Merged with Classpath.
12062         * java/awt/MenuContainer.java: Merged with Classpath.
12063         * java/awt/Menu.java: Merged with Classpath.
12064         * java/awt/MediaEntry.java: New file from Classpath.
12065         * java/awt/MediaTracker.java: New file from Classpath.
12066         * java/awt/List.java: Merged with Classpath version.
12067         * java/awt/Insets.java: Merged with Classpath version.
12068         * java/awt/ImageMediaEntry.java: New file from Classpath.
12069         * java/awt/Image.java: Replaced with Classpath version.
12070         * java/awt/FontMetrics.java: Merged with Classpath version.
12071         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12072         constant.
12073         * java/awt/Font.java: Merged with Classpath version.
12074         * java/awt/Dialog.java: Merged with Classpath version.
12075         * java/awt/Color.java: Merged with Classpath version.
12076         * java/awt/Choice.java: Merged with Classpath version.
12077         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12078         * java/awt/Adjustable.java: Replace with Classpath version.
12079         * java/awt/MenuItem.java (paramString): Don't include class name
12080         or brackets.  Call superclass paramString.
12081         * java/awt/MenuComponent.java (toString): Call paramString.
12082         (paramString): Compute string; don't call toString.
12083         * java/awt/Label.java (paramString): Don't include class name
12084         or brackets.  Call superclass paramString.
12085         * java/awt/Checkbox.java (paramString): Don't include class name
12086         or brackets.  Call superclass paramString.
12087         * java/awt/Button.java (paramString): Don't include class name or
12088         brackets.  Call superclass paramString.
12089         * java/awt/MenuComponent.java (getTreeLock): Now protected.
12090
12091 2002-01-20  Andreas Schwab  <schwab@suse.de>
12092
12093         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12094         function and of parameter recv_func to ssize_t, as specified by
12095         POSIX.
12096
12097 2002-01-19  Per Bothner  <per@bothner.com>
12098
12099         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
12100         uncompressed_size in readiness for next entry.
12101
12102 2002-01-18  Tom Tromey  <tromey@redhat.com>
12103
12104         * java/net/natPlainSocketImpl.cc: Include
12105         IllegalArgumentException.h.
12106         (_Jv_recv): New template function.
12107         (BooleanClass): Removed.
12108         (read): Use _Jv_recv.
12109         (setOption): Use Boolean::class$.  Throw exception if object is
12110         not Boolean or Integer.
12111
12112 2002-01-17  Tom Tromey  <tromey@redhat.com>
12113
12114         * java/awt/MenuComponent.java: Merged with Classpath.
12115         * java/awt/MenuItem.java: Merged with Classpath.
12116         * java/awt/Button.java: Merged with Classpath.
12117
12118         * java/awt/ActiveEvent.java: Updated copyright.
12119
12120         * java/awt/AWTError.java: Replaced with Classpath version.
12121         * java/awt/AWTException.java: Replaced with Classpath version.
12122         * java/awt/IllegalComponentStateException.java: Replaced with
12123         Classpath version.
12124
12125 2002-01-16  Tom Tromey  <tromey@redhat.com>
12126
12127         * java/awt/Canvas.java (serialVersionUID): New constant.
12128         Updated copyright.  Added javadoc from Classpath.
12129         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12130
12131         * java/awt/CheckboxGroup.java: Merged with Classpath.
12132         * java/awt/Checkbox.java: Merged with Classpath.
12133
12134         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12135         Classpath.
12136         * java/awt/Point.java: Updated copyright.
12137
12138         * java/awt/Point.java (toString): Use getClass().getName().
12139         Added javadoc.
12140
12141         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12142         commented code.
12143         (hash): Correctly compute initial value for `h'.
12144
12145         * java/awt/Label.java: Merged with Classpath.
12146
12147 2002-01-15  Tom Tromey  <tromey@redhat.com>
12148
12149         * java/awt/AWTPermission.java: Updated copyright.
12150
12151         * java/awt/LayoutManager2.java: Merged with Classpath.
12152         * java/awt/LayoutManager.java: Merged with Classpath.
12153         * java/awt/GridLayout.java: Updated copyright and javadoc.
12154         (getSize): Use `parent.ncomponents'.  Handle insets.
12155         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12156         there are fewer children than columns.  Correctly compute size of
12157         each cell in the grid.  Handle case where there isn't enough
12158         space.
12159         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12160         all users.
12161         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12162         before calling setVisible() on it.  Last item is `num - 1', not
12163         `num'.
12164         (layoutContainer): Hoist invariants out of loop.
12165
12166         Start of AWT merge with Classpath:
12167         * Makefile.in: Rebuilt.
12168         * Makefile.am (awt_java_source_files): Reference files in
12169         gnu/java/awt, not gnu/gcj/awt.
12170         * java/awt/image/BufferedImage.java: Updated copyright.
12171         * java/awt/image/ComponentColorModel.java: Updated copyright.
12172         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12173         * java/awt/image/DataBuffer.java: Updated copyright.
12174         * java/awt/image/DataBufferByte.java: Updated copyright.
12175         * java/awt/image/DataBufferInt.java: Updated copyright.
12176         * java/awt/image/DataBufferUShort.java: Updated copyright.
12177         * java/awt/image/IndexColorModel.java: Updated copyright.
12178         * java/awt/image/PackedColorModel.java: Updated copyright.
12179         * java/awt/image/Raster.java: Updated copyright.
12180         * java/awt/image/RasterOp.java: Updated copyright.
12181         * java/awt/image/SampleModel.java: Updated copyright.
12182         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12183         * java/awt/image/WritableRaster.java: Updated copyright.
12184         * java/awt/color/ColorSpace.java: Updated copyright.
12185         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12186         * java/awt/color/ICC_Profile.java: Updated copyright.
12187         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12188         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12189         * java/awt/event/HierarchyEvent.java: Updated copyright.
12190         * java/awt/event/HierarchyListener.java: Updated copyright.
12191         * java/awt/geom/AffineTransform.java: Updated copyright.
12192         * java/awt/geom/Dimension2D.java: Updated copyright.
12193         * java/awt/geom/Ellipse2D.java: Updated copyright.
12194         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12195         * java/awt/geom/Line2D.java: Updated copyright.
12196         * java/awt/geom/NoninvertibleTransformException.java: Updated
12197         copyright.
12198         * java/awt/geom/PathIterator.java: Updated copyright.
12199         * java/awt/geom/Point2D.java: Updated copyright.
12200         * java/awt/geom/Rectangle2D.java: Updated copyright.
12201         * java/awt/geom/RectangularShape.java: Updated copyright.
12202         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12203         * java/awt/Toolkit.java: Updated import for file moves.
12204         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12205         Classpath.
12206         (hashCode): New method from Classpath.
12207         * java/awt/Graphics2D.java: Updated copyright.
12208         * java/awt/Transparency.java: Updated copyright.
12209         * java/awt/Paint.java: Updated copyright.
12210         * java/awt/Graphics.java: New version from Classpath.
12211         * java/awt/EventDispatchThread.java: Updated copyright.
12212         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12213         children.
12214         (gotoComponent): Wrap around on next/previous.
12215         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12216         * gnu/gcj/awt/Buffers.java: Removed.
12217         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12218         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12219         * gnu/java/awt/BitMaskExtent.java: Added.
12220         * gnu/java/awt/Buffers.java: Added.
12221         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12222         * gnu/java/awt/GLightweightPeer.java: Added.
12223         * java/awt/geom/Line2D.java (clone): Ignore
12224         CloneNotSupportedException.
12225         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12226         * java/awt/Frame.java: Merged with Classpath.
12227         * java/awt/RenderingHints.java: Copyright update.
12228         * java/awt/Paint.java: Copyright update.
12229         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12230         * java/awt/image/ColorModel.java: Merged with Classpath.
12231         * java/awt/Window.java (show): New Implementation from Classpath.
12232         (isShowing): Use super.isShowing().
12233         * java/awt/EventQueue.java: Merged with Classpath.
12234         * java/awt/AWTEventMulticaster.java (save): Throw
12235         RuntimeException.
12236         (saveInternal): Likewise.
12237         * java/awt/AWTEvent.java: Now implements Serializable.
12238         * java/awt/Event.java: Copyright update.
12239         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12240         * java/awt/image/BufferedImage.java: Copyright update.
12241         * java/awt/GraphicsConfiguration.java: Copyright update.
12242         * java/awt/Component.java: (addNotify): Don't call
12243         addNotifyContainerChildren().
12244         (addNotifyContainerChildren): Removed.
12245         (setPeer): New method from Classpath.
12246         (setTreeLock): Likewise.
12247         (setVisible): Rewrote.
12248         (show): Use it.
12249         (hide): Likewise.
12250         (validate): Set `valid'.
12251         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12252         (createImage(ImageProducer)): Likewise.
12253         (prepareImage): Likewise.
12254         * java/awt/Container.java (addImpl): Handle case where constraint
12255         is not a String.  Post event via system event queue.
12256         (remove): Post event via system event queue.
12257         (validateTree): Only validate child if it is invalid.
12258         (getAlignmentX): Call super method as default.
12259         (getAlignmentY): Likewise.
12260         (addContainerListener): Now synchronized.
12261         (removeContainerListener): Likewise.
12262         (addNotifyContainerChildren): Now private.
12263         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12264         @author.
12265         * java/awt/FlowLayout.java (serialVersionUID): New field.
12266         (setAlignment): Better exception message.
12267         (layoutContainer): Don't compute component's preferred size unless
12268         we're going to use it.
12269         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12270         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12271         (firstLine, lastLine, firstItem, lastItem): New fields.
12272         (addLayoutComponent): Handle case where constraints is null.
12273         Also, handle relative locations.
12274         (removeLayoutComponent): Handle relative locations.
12275         (MIN, MAX, PREF): New constants.
12276         (calcCompSize): New method.
12277         (calcSize): New method.
12278         (minimumLayoutSize): Use it.
12279         (preferredLayoutSize): Likewise.
12280         (maximumLayoutSize): Likewise.
12281         (toString): Include more information.
12282         (setBounds): New method.
12283         (layoutContainer): Use libgcj implementation; extended to handle
12284         relative locations.
12285
12286 2002-01-15  Tom Tromey  <tromey@redhat.com>
12287
12288         * java/lang/Float.java (equals): Preserve old code.
12289         * java/lang/Double.java (equals): Preserve old code.
12290
12291 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12292
12293         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12294         * java/lang/Float.java (equals, compare): Ditto.
12295
12296 2002-01-13  Mark Wielaard  <mark@klomp.org>
12297
12298         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12299         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12300         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12301         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12302
12303 2002-01-11  Mark Wielaard  <mark@klomp.org>
12304
12305         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12306         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12307         InetAddress.
12308         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12309         * java/net/Socket.java: Merge with Classpath.
12310         * java/net/ServerSocket.java: Likewise.
12311
12312 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12313
12314         * interpret.cc (NULLARRAYCHECK): New macro.
12315         (SAVE_PC): Just store `pc'.
12316         (find_exception): Subtract one from `pc' here.
12317         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12318         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12319         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12320         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12321         don't call SAVE_PC.
12322         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12323         call SAVE_PC.
12324
12325 2002-01-11  Tom Tromey  <tromey@redhat.com>
12326
12327         * java/lang/natSystem.cc (init_properties): Only look for default
12328         locale if LC_MESSAGES is defined.
12329         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12330         * configure.in: Call AM_LC_MESSAGES.
12331         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12332
12333 2002-01-10  Tom Tromey  <tromey@redhat.com>
12334
12335         For PR libgcj/5303:
12336         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12337         --version.  Recognize GNU-style long options.  Print GNU-style
12338         error messages.
12339         (usage): Print GNU-style help.  Exit with status 0.
12340         (error): New method.
12341         (run): Print error message if no class names found.
12342         (main): Don't print usage on error.
12343
12344 2002-01-09  Tom Tromey  <tromey@redhat.com>
12345
12346         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12347         property.
12348         (help, version): Use println(), not println("").
12349
12350         For PR libgcj/5303:
12351         * gnu/gcj/convert/Convert.java (error): Program is called
12352         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12353         -1.
12354         (main): Handle --help and --version.
12355         (help): New method.
12356         (version): Likewise.
12357
12358 2002-01-08  Tom Tromey  <tromey@redhat.com>
12359
12360         * Makefile.in: Rebuilt.
12361         * Makefile.am (ordinary_java_source_files): Added new files.
12362         * gnu/java/locale/LocaleInformation.java: Extend
12363         LocaleInformation_en.
12364         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12365         and time/date formats.
12366         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12367         generated.
12368         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12369         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12370         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12371         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12372         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12373         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12374         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12375         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12376         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12377         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12378         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12379         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12380         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12381         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12382         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12383         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12384         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12385         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12386         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12387         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12388         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12389         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12390         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12391         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12392         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12393         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12394         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12395         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12396         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12397         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12398         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12399         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12400         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12401         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12402         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12403         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12404         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12405         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12406         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12407         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12408         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12409         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12410         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12411         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12412         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12413         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12414         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12415         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12416         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12417         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12418         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12419         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12420         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12421         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12422         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12423         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12424         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12425         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12426         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12427         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12428         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12429         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12430         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12431         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12432         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12433         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12434         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12435         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12436         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12437         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12438         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12439         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12440         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12441         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12442         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12443         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12444         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12445         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12446         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12447         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12448         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12449         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12450         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12451         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12452         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12453         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12454         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12455         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12456         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12457         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12458         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12459         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12460         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12461         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12462         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12463         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12464         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12465         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12466         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12467         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12468         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12469         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12470         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12471         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12472         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12473         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12474         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12475         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12476         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12477         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12478         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12479         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12480         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12481         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12482         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12483         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12484         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12485         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12486         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12487         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12488         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12489         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12490         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12491         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12492         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12493         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12494         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12495         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12496         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12497         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12498
12499         For PR libgcj/5031:
12500         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12501         choose default locale.
12502
12503         * Makefile.in: Rebuilt.
12504         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12505
12506 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12507
12508         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12509         sockets.
12510         (close): New function closes the socket.
12511         (write): New functions for output to socket.
12512         (read): New functions for reading from socket.
12513         * java/net/PlainSocketImpl.java: Glue for new timeout
12514         implementation.
12515         (write): Call the native impl.
12516         (read): Likewise.
12517         (getInputStream): Get a stream to read from the socket.
12518         (getOutputStream): Get a stream to write to the socket.
12519
12520 2002-01-08  Tom Tromey  <tromey@redhat.com>
12521
12522         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12523
12524 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12525
12526         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12527         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12528
12529 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12530
12531         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12532         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12533         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12534         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12535         insn_bastore, insn_castore, insn_sastore]: Use it.
12536         (continue1) [insn_arraylength]: Check for null array.
12537
12538 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12539
12540         * configure, include/config.h.in: Rebuilt.
12541         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12542         * configure.in: Call AC_STRUCT_TIMEZONE.
12543
12544 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12545
12546         * configure.host: Disable the interpreter for Darwin.
12547
12548 2002-01-04  Tom Tromey  <tromey@redhat.com>
12549
12550         * java/lang/Thread.java (stop): No longer synchronized.
12551         (start): Likewise.
12552
12553 2002-01-02  Tom Tromey  <tromey@redhat.com>
12554
12555         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12556         patch.
12557
12558 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12559
12560         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12561         PPC Darwin, not for all of Darwin.