URLEncoder.java (encode(String)): Use platform default encoding.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-22  Tom Tromey  <tromey@redhat.com>
2
3         * java/net/URLEncoder.java (encode(String)): Use platform default
4         encoding.
5         (encode(String,String)): Convert to 2-digit upper-case hex
6         number.
7         (hex): New field.
8
9 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
10
11         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12         (create): Remove unused method implementation.
13         (connectHooks): Remove debug messages.
14
15 2003-07-20  Anthony Green  <green@redhat.com>
16
17         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
18         CloneNotSupportedException.
19         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
20         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
21         * gnu/gcj/xlib/GC.java (clone): Ditto.
22         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
23         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
24
25         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
26         handler.
27         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
28
29 2003-07-20  Steve Pribyl <steve@netfuel.com.>
30
31         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
32         String.  Put dlerror() message into exception.
33         Include UnsatisfiedLinkError.
34         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
35         String.  Now native.
36
37 2003-07-20  Tom Tromey  <tromey@redhat.com>
38
39         * java/lang/Runtime.java: Comment fix.
40         * java/lang/ClassLoader.java (isAncestorOf): New method.
41         (getParent): Uncommented security check.  Use isAncestorOf.
42         * include/jvm.h (_Jv_CheckAccess): Declare.
43         * java/lang/reflect/natConstructor.cc (newInstance): Perform
44         access check.
45         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
46         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
47         class loader to _Jv_GetArrayClass.
48         Include ArrayIndexOutOfBoundsException.h.
49         * java/lang/reflect/Field.java: Update comment to reflect status.
50         (equals): Fixed indentation.
51         * java/lang/Class.h (Class): Declare memberAccessCheck, not
52         checkMemberAccess.  Make _Jv_CheckAccess a friend.
53         * java/lang/Class.java (memberAccessCheck): New method from
54         Classpath.
55         (checkMemberAccess): Removed.
56         (getDeclaredMethod): Use memberAccessCheck.
57         (getField): Likewise.
58         (getMethod): Likewise.
59         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
60         (_Jv_SearchMethodInClass): Likewise.
61         * prims.cc (_Jv_CheckAccess): New function.
62         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
63         (_Jv_JNI_GetAnyFieldID): Likewise.
64         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
65         (getClassLoader): Added security check.
66         (getConstructor): Call memberAccessCheck.
67         (getDeclaredClasses): Likewise.
68         (getDeclaredField): Likewise.
69         (getDeclaredFields): Likewise.
70         (_getConstructors): Likewise.
71         (getDeclaredConstructor): Likewise.
72         (getDeclaredMethods): Likewise.
73         (getFields): Likewise.
74         (getMethods): Likewise.
75         (newInstance): Likewise.
76         (_Jv_MakeVTable): Put method name in exception.
77         * java/lang/reflect/natMethod.cc (getType): Use
78         getClassLoaderInternal.
79         (_Jv_GetTypesFromSignature): Likewise.
80         (invoke): Perform access check.
81         (_Jv_CallAnyMethodA): Removed old FIXME comments.
82         Include ArrayIndexOutOfBoundsException.h.
83         * java/lang/reflect/natField.cc (getType): Use
84         getClassLoaderInternal.
85         (_Jv_CheckFieldAccessibility): Removed.
86         (getAddr): Use _Jv_CheckAccess; find caller.
87         Include ArrayIndexOutOfBoundsException.h.
88
89 2003-07-20  Michael Koch  <konqueror@gmx.de>
90
91         * java/net/URL.java
92         (URL): Fixed documentation to name an argument correcty, Reformatted
93         one method declaration.
94         (getURLStreamHandler): Added documentation from classpath.
95
96 2003-07-19  Tom Tromey  <tromey@redhat.com>
97
98         * mauve-libgcj: Don't run CollationElementIterator tests.
99
100 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
101
102         * java/net/URLClassLoader.java (addURL): Moved implementation to
103         private addURLImpl() to avoid calling addURL from the constructor.
104         (addURLImpl): Contains the code that was previously in addURL.
105         (addURLs): Call addURLImpl(), not addURL().
106
107 2003-07-18  Graydon Hoare  <graydon@redhat.com>
108
109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
110         Handle missing event cases, connect to "value-changed" signal.
111
112 2003-07-18  Graydon Hoare  <graydon@redhat.com>
113
114         * java/awt/geom/CubicCurve2D.java,
115         java/awt/geom/Line2D.java,
116         java/awt/geom/QuadCurve2D.java,
117         java/awt/geom/Rectangle2D.java: 
118         Fix path some calculations, make path iterators follow
119         a consistent style.
120
121 2003-07-18  Mark Wielaard  <mark@klomp.org>
122
123         * java/util/logging/Handler.java (isLoggable): Check record level
124         smaller or equal.
125
126 2003-07-17  Michael Koch  <konqueror@gmx.de>
127
128         * gnu/java/awt/peer/gtk/GtkToolkit.java:
129         Reworked imports.
130
131 2003-07-14  Michael Koch  <konqueror@gmx.de>
132
133         * gnu/java/rmi/server/UnicastServerRef.java:
134         New version from classpath.
135
136 2003-07-14  Michael Koch  <konqueror@gmx.de>
137
138         * java/awt/image/MemoryImageSource.java,
139         java/beans/PropertyEditorManager.java,
140         javax/naming/CompoundName.java,
141         javax/naming/spi/NamingManager.java,
142         javax/swing/AbstractButton.java,
143         javax/swing/ButtonModel.java,
144         javax/swing/SwingUtilities.java,
145         javax/swing/UIManager.java,
146         javax/swing/colorchooser/DefaultColorSelectionModel.java,
147         javax/swing/event/AncestorEvent.java,
148         javax/swing/event/InternalFrameEvent.java,
149         java/util/zip/ZipFile.java:
150         New versions from classpath.
151
152 2003-07-13  Michael Koch  <konqueror@gmx.de>
153
154         * gnu/java/nio/FileChannelImpl.java,
155         gnu/java/nio/natFileChannelImpl.cc: Removed.
156         * java/io/FileInputStream.java,
157         java/io/FileOutputStream.java,
158         java/io/RandomAccessFile.java,
159         java/nio/MappedByteBufferImpl.java:
160         Import java.nio.channels.FileChannelImpl instead of
161         gnu.java.nio.FileChannelImpl.
162         * java/nio/channels/FileChannelImpl.java,
163         java/nio/channels/natFileChannelImpl.cc:
164         New files.
165         * Makefile.am
166         (ordinary_java_source_files):
167         Removed gnu/java/nio/FileChannelImpl.java and added
168         java/nio/channels/FileChannelImpl.java.
169         (nat source_files):
170         Removed gnu/java/nio/natFileChannelImpl.cc and added
171         java/nio/channels/natFileChannelImpl.cc.
172         * Makefile.in: Regenerated.
173
174 2003-07-13  Michael Koch  <konqueror@gmx.de>
175
176         * javax/swing/plaf/basic/BasicBorders.java,
177         javax/swing/plaf/basic/BasicLabelUI.java,
178         javax/swing/plaf/basic/BasicLookAndFeel.java,
179         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
180         javax/swing/plaf/basic/BasicTextUI.java,
181         javax/swing/plaf/metal/MetalLookAndFeel.java:
182         New versions from classpath.
183
184 2003-07-13  Michael Koch  <konqueror@gmx.de>
185
186         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
187         * gnu/java/awt/peer/gtk/GdkGraphics.java
188         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
189         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
190         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
191         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
192         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
193         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
194         * gnu/java/awt/peer/gtk/GtkClipboard.java
195         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
196         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
197         * gnu/java/awt/peer/gtk/GtkFramePeer.java
198         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
199         * gnu/java/awt/peer/gtk/GtkImage.java
200         * gnu/java/awt/peer/gtk/GtkImagePainter.java
201         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
202         * gnu/java/awt/peer/gtk/GtkListPeer.java
203         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
204         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
205         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
206         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
207         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
208         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
209         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
210         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
211         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
212         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
213         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
214         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
215
216 2003-07-13  Michael Koch  <konqueror@gmx.de>
217
218         * gnu/java/locale/LocaleInformation_de.java
219         * gnu/java/locale/LocaleInformation_en.java
220         * gnu/java/locale/LocaleInformation_nl.java
221
222 2003-07-13  Michael Koch  <konqueror@gmx.de>
223
224         * gnu/java/awt/EmbeddedWindow.java,
225         gnu/java/awt/EmbeddedWindowSupport.java,
226         gnu/java/awt/natEmbeddedWindow.cc:
227         New files.
228         * java/awt/Window.java
229         (Window): New constructor to support embedded windows.
230         * Makefile.am
231         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
232         gnu/java/awt/EmbeddedWindowSupport.java.
233         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
234         * Makefile.in: Regenerated.
235
236 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
237
238         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
239         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
240         * java/awt/im/InputContext.java: Remove a redundant
241         partial line.
242
243 2003-07-09  Tom Tromey  <tromey@redhat.com>
244
245         * Makefile.in: Rebuilt.
246         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
247
248 2003-07-09  Mark Wielaard  <mark@klomp.org>
249
250         * java/io/ObjectOutputStream.java (writeObject): break after
251         calling writeClassDescriptor().
252
253 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
254
255         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
256
257 2003-07-09  Michael Koch  <konqueror@gmx.de>
258
259         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
260         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
261         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
262         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
263         Explicitly import used classes.
264         * java/awt/Container.java: New version from classpath.
265
266 2003-07-09  Michael Koch  <konqueror@gmx.de>
267
268         * libgcj.pc.in: New file.
269         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
270         * Makefile.in: Regenerated.
271         * configure: Regenrated.
272         * configure.in: Create libgcj.pc from libgcj.pc.in.
273
274 2003-07-08  Mark Wielaard <mark@klomp.org>
275
276         * gcj/cni.h: CNI now expands to Compiled Native Interface.
277
278         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
279         * java/lang/fdlibm.h: Likewise.
280
281 2003-07-07  Adam Megacz <adam@xwt.org>
282
283         * posix.cc: added #include<stdio.h>
284                 
285 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
286
287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
288         formatting.
289
290         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
291         (setCaretPosition, setEditable): Rely entirely on native
292         implementation.
293         (getArgs): Remove.
294         (postTextEvent): New method.
295         (handleEvent): New method.
296         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
297         method.
298         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
300         (keysym_to_awt_keycode): Fix range checks.
301         (generates_key_typed_event): New function.
302         (awt_event_handler): Post AWT_KEY_RELEASED events to event
303         queue.
304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
305         (gtkInit): Store TextComponent's postTextEvent method ID.
306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
307         (setText): Post TEXT_VALUE_CHANGED event to event queue.
308
309 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
310
311         * configure.in: Check for usleep declaration.
312         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
313         * configure: Regenerate.
314         * include/config.h.in: Likewise.
315         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
316
317 2003-07-01  Michael Koch  <konqueror@gmx.de>
318
319         * gnu/gcj/convert/natIconv.cc
320         (iconv_init): Fixed possible memory leak by releasing allocated iconv
321         handle.
322
323 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
324
325         * glib-2.0.m4: New file.
326         * gtk-2.0.m4: New file.
327         * glib.m4: Remove.
328         * gtk.m4: Remove.
329         * configure.in: Update AM_PATH_GTK macro call to
330         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
332         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
333         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
334         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
335         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
337         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
339         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
342         jni/gtk-peer/gthread-jni.c,
343         jni/gtk-peer/gthread-jni.h:
344         New versions from classpath.
345         * aclocal.m4: Regenerate.
346         * configure: Regenerate.
347         * Makefile.in: Regenerate.
348         * gcj/Makefile.in: Regenerate.
349         * include/Makefile.in: Regenerate.
350         * testsuite/Makefile.in: Regenerate.
351
352 2003-06-30  Gary Benson  <gbenson@redhat.com>
353
354         For PR libgcj/11349:
355         * javax/naming/spi/NamingManager.java (getURLContext): Use
356         correct name for factory class.
357
358 2003-06-28  Michael Koch  <konqueror@gmx.de>
359
360         * java/io/PrintStream.java
361         (checkError): Call flush() instead of direct flushing of the Writer
362         object.
363         (print): Call print(String) instead of direct print method of the
364         Writer Object.
365         (println): Call println(String) instead of direct println method of the
366         Writer Object.
367         (write): Simplified.
368
369 2003-06-28  Michael Koch  <konqueror@gmx.de>
370
371         * java/net/ServerSocket.java
372         (setChannel): New method.
373         * java/net/Socket.java
374         (setChannel): New method.
375
376 2003-06-27  Michael Koch  <konqueror@gmx.de>
377
378         * java/beans/beancontext/BeanContextSupport.java:
379         New version from classpath.
380
381 2003-06-27  Michael Koch  <konqueror@gmx.de>
382
383         * java/awt/Window.java,
384         java/awt/font/GraphicAttribute.java,
385         java/awt/font/ImageGraphicAttribute.java,
386         java/awt/image/DataBufferByte.java,
387         java/awt/image/DataBufferInt.java,
388         java/awt/image/DataBufferUShort.java,
389         java/awt/image/DirectColorModel.java,
390         java/awt/image/PixelGrabber.java:
391         New versions from classpath.
392
393 2003-06-27  Michael Koch  <konqueror@gmx.de>
394
395         * java/security/Certificate.java
396         (getGuarantor): Removed wrong @deprecated tag.
397         (getPrincipal): Likewise.
398         (getPublicKey): Likewise.
399         (encode): Likewise.
400         (decode): Likewise.
401         (getFormat): Likewise.
402         (toString): Likewise.
403         * java/security/cert/PolicyQualifierInfo.java
404         (PolicyQualifierInfo): Made final.
405         * javax/security/auth/x500/X500Principal.java
406         (serialVersionUID): New member variable.
407
408 2003-06-27  Michael Koch  <konqueror@gmx.de>
409
410         * java/text/Format.java
411         (serialVersionUID): Fixed value.
412
413 2003-06-27  Michael Koch  <konqueror@gmx.de>
414
415         * java/net/Inet4Address.java
416         (Inet4Address): Made package-private.
417         * java/net/Inet6Address.java
418         (Inet4Address): Made package-private.
419
420 2003-06-27  Michael Koch  <konqueror@gmx.de>
421
422         * java/io/RandomAccessFile.java
423         (readLine): Removed wrong @deprecated tag.
424         (getChannel): Made final.
425
426 2003-06-27  Michael Koch  <konqueror@gmx.de>
427
428         * gnu/java/nio/FileChannelImpl.java
429         (write): Removed.
430
431 2003-06-27  Michael Koch  <konqueror@gmx.de>
432
433         * java/nio/ByteBufferImpl.java
434         (ByteBufferImpl): Made it a package-private class
435         * java/nio/CharBufferImpl.java
436         (CharBufferImpl): Made it a package-private class
437         * java/nio/DirectByteBufferImpl.java
438         (DirectByteBufferImpl): Made it a package-private class
439         * java/nio/DoubleBufferImpl.java
440         (DoubleBufferImpl): Made it a package-private class
441         * java/nio/FloatBufferImpl.java
442         (FloatBufferImpl): Made it a package-private class
443         * java/nio/IntBufferImpl.java
444         (IntBufferImpl): Made it a package-private class
445         * java/nio/LongBufferImpl.java
446         (LongBufferImpl): Made it a package-private class
447         * java/nio/ShortBufferImpl.java
448         (ShortBufferImpl): Made it a package-private class
449         * java/nio/channels/FileChannel.java
450         (write): Made final.
451         * java/nio/channels/ServerSocketChannel.java
452         (ServerSocketChanne): Made protected.
453
454 2003-06-27  Michael Koch  <konqueror@gmx.de>
455
456         * javax/naming/CompositeName.java
457         (serialVersionUID): New member variable.
458         * javax/naming/CompoundName.java
459         (serialVersionUID): New member variable.
460         * javax/naming/InitialContext.java
461         (InitialContext): Throws NamingException.
462         (init): Likewise.
463         * javax/naming/LinkRef.java
464         (serialVersionUID): New member variable.
465         (gteLinkName): Throws NamingException.
466         * javax/naming/NamingException.java
467         (serialVersionUID): New member variable.
468         * javax/naming/NamingSecurityException.java
469         (NamingSecurityException): Made abstract.
470         (serialVersionUID): New member variable.
471         * javax/naming/ReferralException.java
472         (serialVersionUID): New member variable.
473         * javax/naming/StringRefAddr.java
474         (serialVersionUID): New member variable.
475         * javax/naming/directory/BasicAttribute.java:
476         Reworked imports.
477         (serialVersionUID): New member variable.
478         (get): Throws NamingException.
479         (getAll): Throws NamingException.
480         * javax/naming/directory/BasicAttributes.java:
481         Reworked imports.
482         (serialVersionUID): New member variable.
483         * javax/naming/ldap/UnsolicitedNotificationEvent.java
484         (serialVersionUID): New member variable.
485
486 2003-06-27  Michael Koch  <konqueror@gmx.de>
487
488         * Makefile.am
489         (awt_java_source_files): Added new files:
490         javax/swing/Popup.java,
491         javax/swing/PopupFactory.java
492         * Makefile.in: Regenerated.
493
494 2003-06-27  Michael Koch  <konqueror@gmx.de>
495
496         * javax/swing/JWindow.java,
497         javax/swing/event/AncestorEvent.java,
498         javax/swing/event/HyperlinkEvent.java,
499         javax/swing/event/InternalFrameEvent.java,
500         javax/swing/event/ListDataEvent.java,
501         javax/swing/event/TableModelEvent.java,
502         javax/swing/plaf/PopupMenuUI.java,
503         javax/swing/plaf/SplitPaneUI.java,
504         javax/swing/plaf/TabbedPaneUI.java,
505         javax/swing/plaf/TextUI.java,
506         javax/swing/plaf/TreeUI.java,
507         javax/swing/plaf/basic/BasicTextUI.java,
508         javax/swing/plaf/basic/BasicTreeUI.java:
509         New versions from classpath.
510         * javax/swing/Popup.java,
511         javax/swing/PopupFactory.jav:
512         New source files from classpath.
513         * javax/swing/plaf/doc-files/TreeUI-1.png:
514         New binary files from classpath.
515
516 2003-06-25  Michael Koch  <konqueror@gmx.de>
517
518         * Makefile.am
519         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
520         * Makefile.in: Regenerated.
521
522 2003-06-25  Michael Koch  <konqueror@gmx.de>
523
524         * javax/swing/plaf/ActionMapUIResource.java,
525         javax/swing/plaf/BorderUIResource.java,
526         javax/swing/plaf/ButtonUI.java,
527         javax/swing/plaf/ColorChooserUI.java,
528         javax/swing/plaf/ColorUIResource.java,
529         javax/swing/plaf/ComboBoxUI.java,
530         javax/swing/plaf/ComponentInputMapUIResource.java,
531         javax/swing/plaf/ComponentUI.java,
532         javax/swing/plaf/DesktopIconUI.java,
533         javax/swing/plaf/DesktopPaneUI.java,
534         javax/swing/plaf/DimensionUIResource.java,
535         javax/swing/plaf/FileChooserUI.java,
536         javax/swing/plaf/FontUIResource.java,
537         javax/swing/plaf/IconUIResource.java,
538         javax/swing/plaf/InputMapUIResource.java,
539         javax/swing/plaf/InsetsUIResource.java,
540         javax/swing/plaf/InternalFrameUI.java,
541         javax/swing/plaf/LabelUI.java,
542         javax/swing/plaf/ListUI.java,
543         javax/swing/plaf/MenuBarUI.java,
544         javax/swing/plaf/MenuItemUI.java,
545         javax/swing/plaf/OptionPaneUI.java,
546         javax/swing/plaf/PanelUI.java,
547         javax/swing/plaf/ProgressBarUI.java,
548         javax/swing/plaf/RootPaneUI.java,
549         javax/swing/plaf/ScrollBarUI.java,
550         javax/swing/plaf/ScrollPaneUI.java,
551         javax/swing/plaf/SeparatorUI.java,
552         javax/swing/plaf/SliderUI.java,
553         javax/swing/plaf/TableHeaderUI.java,
554         javax/swing/plaf/TableUI.java,
555         javax/swing/plaf/ToolBarUI.java,
556         javax/swing/plaf/ToolTipUI.java,
557         javax/swing/plaf/ViewportUI.java:
558         New versions from classpath.
559         * javax/swing/plaf/SpinnerUI.java: 
560         New file from classpath
561
562 2003-06-25  Michael Koch  <konqueror@gmx.de>
563
564         * java/awt/image/ColorModel.java:
565         New version from classpath.
566
567 2003-06-25  Michael Koch  <konqueror@gmx.de>
568
569         * java/net/PlainDatagramSocketImpl.java:
570         Partly merged with classpath, this mainly adds documentation.
571
572 2003-06-25  Michael Koch  <konqueror@gmx.de>
573
574         * java/io/ObjectInputStream.java
575         (readClassDescriptor): New method.
576         (readObject): Moved functionality to readClassDescriptor().
577         * java/io/ObjectOutputStream.java
578         (writeClassDescriptor): New method.
579         (writeObject): Moved functionality to writeClassDescriptor().
580
581 2003-06-25  Michael Koch  <konqueror@gmx.de>
582
583         * javax/swing/plaf/basic/BasicListUI.java,
584         javax/swing/plaf/basic/BasicOptionPaneUI.java:
585         Added missing methods.
586
587 2003-06-25  Michael Koch  <konqueror@gmx.de>
588
589         * javax/swing/event/AncestorEvent.java
590         javax/swing/event/HyperlinkEvent.java
591         javax/swing/event/InternalFrameEvent.java
592         javax/swing/event/ListDataEvent.java
593         javax/swing/event/TableModelEvent.java:
594         Compile fixes.
595
596 2003-06-24  Michael Koch  <konqueror@gmx.de>
597
598         * java/net/URL.java:
599         Renamed "handler" to "ph" in the whole file to match classpaths
600         version.
601         * java/net/URLStreamHandler.java:
602         (equals): Renamed "handler" to "ph".
603
604 2003-06-24  Michael Koch  <konqueror@gmx.de>
605
606         * javax/swing/event/AncestorEvent.java,
607         javax/swing/event/HyperlinkEvent.java,
608         javax/swing/event/InternalFrameEvent.java,
609         javax/swing/event/ListDataEvent.java,
610         javax/swing/event/TableModelEvent.java,
611         javax/swing/event/TreeWillExpandListener.java,
612         javax/swing/plaf/ComponentUI.java,
613         javax/swing/plaf/DesktopIconUI.java,
614         javax/swing/plaf/DesktopPaneUI.java,
615         javax/swing/plaf/DimensionUIResource.java,
616         javax/swing/plaf/FileChooserUI.java,
617         javax/swing/plaf/FontUIResource.java,
618         javax/swing/plaf/IconUIResource.java,
619         javax/swing/plaf/InputMapUIResource.java,
620         javax/swing/plaf/InsetsUIResource.java,
621         javax/swing/plaf/InternalFrameUI.java,
622         javax/swing/plaf/LabelUI.java,
623         javax/swing/plaf/ListUI.java,
624         javax/swing/plaf/MenuBarUI.java,
625         javax/swing/plaf/MenuItemUI.java,
626         javax/swing/plaf/OptionPaneUI.java,
627         javax/swing/plaf/PanelUI.java,
628         javax/swing/plaf/ProgressBarUI.java,
629         javax/swing/plaf/doc-files/ComponentUI-1.dia,
630         javax/swing/plaf/doc-files/ComponentUI-1.png:
631         New versions from classpath.
632
633 2003-06-24  Michael Koch  <konqueror@gmx.de>
634
635         * java/nio/Buffer.java
636         (cap): Made package-private.
637         (pos): Likewise.
638         (limit): Likewise.
639         (mark): Likewise.
640
641 2003-06-24  Michael Koch  <konqueror@gmx.de>
642
643         * java/net/SocketImpl.java
644         (shutdownInput): Made it non-abstract method throwing an exception
645         like in SUNs JRE.
646         (shutdownOutput): Likewise.
647         * java/net/SocketInputStream.java,
648         java/net/SocketOutputStream.java:
649         New files from classpath.
650
651 2003-06-24  Michael Koch  <konqueror@gmx.de>
652
653         * java/awt/Font.java,
654         java/awt/Window.java,
655         java/awt/color/ColorSpace.java,
656         java/awt/datatransfer/StringSelection.java,
657         java/awt/image/ColorModel.java:
658         New versions from classpath.
659
660 2003-06-24  Michael Koch  <konqueror@gmx.de>
661
662         * Makefile.am
663         (awt_java_source_files): Added new files:
664         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
665         javax/swing/plaf/basic/BasicSplitPaneUI.java
666         * Makefile.in: Regenerated.
667
668 2003-06-24  Michael Koch  <konqueror@gmx.de>
669
670         * javax/swing/text/JTextComponent.java:
671         New version from classpath.
672
673 2003-06-24  Michael Koch  <konqueror@gmx.de>
674
675         * javax/swing/Timer.java,
676         javax/swing/plaf/ActionMapUIResource.java,
677         javax/swing/plaf/ButtonUI.java,
678         javax/swing/plaf/ColorChooserUI.java,
679         javax/swing/plaf/ColorUIResource.java,
680         javax/swing/plaf/ComboBoxUI.java,
681         javax/swing/plaf/ComponentInputMapUIResource.java,
682         javax/swing/plaf/basic/BasicBorders.java:
683         New versions from classpath.
684         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
685         javax/swing/plaf/basic/BasicSplitPaneUI.java:
686         New file from classpath.
687         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
688         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
689         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
690         javax/swing/plaf/doc-files/ComponentUI-1.dia,
691         javax/swing/plaf/doc-files/ComponentUI-1.png:
692         New binary files from classpath.
693
694 2003-06-24  Michael Koch  <konqueror@gmx.de>
695
696         * java/io/LineNumberReader.java
697         (skip): Dont do line number accounting here as this is already done in
698         read(), simplified.
699
700 2003-06-21  Michael Koch  <konqueror@gmx.de>
701
702         * java/io/File.java
703         (static): Load javaio lib if existing (only in classpath).
704         (File): Revised documentation to show the correct argument name.
705         (createTempFile): Partly merged with classpath.
706         (compareTo): Simplified.
707         (lastModified): Throw exception if time < 0.
708         (deleteOnExit): Revised documentation.
709
710 2003-06-21  Michael Koch  <konqueror@gmx.de>
711
712         * java/net/PlainSocketImpl.java:
713         Reformatted.
714         (PlainSocketImpl): Merged class documentaion with classpath.
715         (in): Moved.
716         (out): Moved.
717         (PlainSocketImpl): New empty constructor.
718         (finalize): Moved.
719         (setOption): Merged documentation from classpath.
720         (getOption): Likewise.
721         (create): Likewise.
722         (connect): Likewise.
723         (bind): Likewise.
724         (listen): Likewise.
725         (accept): Likewise.
726         (available): Likewise.
727         (close): Likewise.
728         (read): Likewise.
729         (write): Likewise.
730         (getInputStream): Made synchronozed to get sure that only one stream
731         object can be created for this socket, merged documentation from
732         classpath.
733         (getOutputStream): Likewise.
734
735 2003-06-21  Michael Koch  <konqueror@gmx.de>
736
737         * java/net/PlainSocketImpl.java:
738         Reformatting.
739         (static): New implicit method.
740         (read): Made package private.
741         (write): Likewise.
742
743 2003-06-21  Michael Koch  <konqueror@gmx.de>
744
745         * java/util/SimpleTimeZone.java:
746         Removed unneeded import, reformatting.
747
748 2003-06-21  Michael Koch  <konqueror@gmx.de>
749
750         * java/text/DateFormat.java,
751         java/text/SimpleDateFormat.java,
752         java/util/Locale.java:
753         New versions from classpath.
754
755 2003-06-21  Michael Koch  <konqueror@gmx.de>
756
757         * javax/swing/SpinnerModel.java:
758         New file from classpath.
759         * javax/swing/border/LineBorder.java,
760         javax/swing/border/SoftBevelBorder.java,
761         javax/swing/plaf/BorderUIResource.java,
762         javax/swing/plaf/basic/BasicBorders.java:
763         New versions from classpath.
764         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
765         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
766         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
767         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
768         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
769         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
770         New binary files from classpath.
771
772 2003-06-21  Michael Koch  <konqueror@gmx.de>
773
774         * java/util/logging/LogRecord.java,
775         java/util/logging/Logger.java,
776         java/util/logging/SocketHandler.java,
777         java/util/logging/SimpleFormatter.java,
778         java/util/logging/Formatter.java,
779         java/util/logging/ErrorManager.java,
780         java/util/logging/Handler.java,
781         java/util/logging/FileHandler.java,
782         java/util/logging/LogManager.java,
783         java/util/logging/Level.java,
784         java/util/logging/ConsoleHandler.java,
785         java/util/logging/StreamHandler.java,
786         java/util/logging/LoggingPermission.java,
787         java/util/logging/Filter.java,
788         java/util/logging/MemoryHandler.java,
789         java/util/logging/XMLFormatter.java:
790         New files from classpath.
791
792 2003-06-20  Michael Koch  <konqueror@gmx.de>
793
794         * java/io/ObjectStreamField.java
795         (unshared): new member variable.
796         (ObjectStreamField): New constructor.
797         (isUnshared): New method.
798
799 2003-06-20  Michael Koch  <konqueror@gmx.de>
800
801         * java/net/URLStreamHandler.java
802         (hostsEqual): Rewritten.
803
804 2003-06-20  Michael Koch  <konqueror@gmx.de>
805
806         * gnu/java/nio/MappedByteFileBuffer.java,
807         gnu/java/nio/natMappedByteFileBuffer.cc:
808         Removed
809         * java/nio/MappedByteBufferImpl.java:
810         New file.
811         * gnu/java/nio/FileChannelImpl.java:
812         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
813         * Makefile.am
814         (ordinary_java_source_files): Removed
815         gnu/java/nio/MappedByteFileBuffer.java and added
816         java/nio/MappedByteBufferImpl.java.
817         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
818         * Makefile.in: Regenerated.
819
820 2003-06-19  Michael Koch  <konqueror@gmx.de>
821
822         * gnu/java/nio/DatagramChannelImpl.java
823         (fd): Removed.
824         (blocking): New member variable.
825         (socket): Likewise.
826         (DatagramChannelImpl): Throws IOException, initialize socket.
827         (socket):Implemented.
828         (implCloseSelectableChannel): Throws IOException, implemented.
829         (implConfigureBlocking): Likewise.
830         (connect): Likewise.
831         (disconnect): Likewise.
832         (isConnected): Likewise.
833         (write): Likewise.
834         (read): Likewise.
835         (receive): Throws IOException.
836         (send): Likewise.
837         * gnu/java/nio/SocketChannelImpl.java
838         (read): Implemented.
839         (write): Implemented.
840
841 2003-06-19  Michael Koch  <konqueror@gmx.de>
842
843         * javax/swing/JComponent.java,
844         javax/swing/JInternalFrame.java,
845         javax/swing/MenuSelectionManager.java,
846         javax/swing/SwingUtilities.java,
847         javax/swing/ToggleButtonModel.java:
848         New versions from classpath.
849
850 2003-06-19  Michael Koch  <konqueror@gmx.de>
851
852         * java/text/CollationElementIterator.java
853         (NULLORDER): Initialize with -1 as JDK documentation says.
854
855 2003-06-19  Michael Koch  <konqueror@gmx.de>
856
857         * java/net/HttpURLConnection.java,
858         java/net/Inet4Address.java,
859         java/net/Inet6Address.java,
860         java/net/SocketImpl.java,
861         java/net/URLClassLoader.java:
862         Reworked import statements.
863         * java/net/InetAddress.java
864         (getByAddress): Simplified.
865         * java/net/ServerSocket.java
866         (ServerSocket): Moved special handling during bind operation to
867         bind().
868         (bind): Handle different cases when trying to bind a socket.
869         * java/net/URLConnection.java
870         (getHeaderFieldDate): Merged with classpath.
871         (getHeaderFieldInt): Likewise.
872
873 2003-06-19  Michael Koch  <konqueror@gmx.de>
874
875         * java/util/zip/InflaterInputStream.java
876         (InflaterInputStream): Throw NullPointerException if in is null (as
877         JDK does).
878
879 2003-06-19  Michael Koch  <konqueror@gmx.de>
880
881         * java/awt/Font.java
882         javax/swing/UIManager.java
883         javax/swing/border/AbstractBorder.java
884         javax/swing/border/BevelBorder.java
885         javax/swing/border/Border.java
886         javax/swing/border/CompoundBorder.java
887         javax/swing/border/EmptyBorder.java
888         javax/swing/border/EtchedBorder.java
889         javax/swing/border/LineBorder.java
890         javax/swing/border/MatteBorder.java
891         javax/swing/border/TitledBorder.java
892         javax/swing/plaf/BorderUIResource.java
893         javax/swing/plaf/basic/BasicBorders.java
894         javax/swing/plaf/basic/BasicButtonUI.java
895         javax/swing/plaf/basic/BasicCheckBoxUI.java
896         javax/swing/plaf/basic/BasicGraphicsUtils.java
897         javax/swing/plaf/basic/BasicLabelUI.java
898         javax/swing/plaf/basic/BasicRadioButtonUI.java
899         javax/swing/plaf/basic/BasicToggleButtonUI.java:
900         New versions from classpath.
901         * javax/swing/border/SoftBevelBorder.java:
902         New file from classpath.
903         * javax/swing/border/doc-files/LineBorder-1.png,
904         javax/swing/border/doc-files/BevelBorder-1.png,
905         javax/swing/border/doc-files/BevelBorder-2.png,
906         javax/swing/border/doc-files/BevelBorder-3.png,
907         javax/swing/border/doc-files/EmptyBorder-1.png,
908         javax/swing/border/doc-files/EtchedBorder-1.png,
909         javax/swing/border/doc-files/EtchedBorder-2.png,
910         javax/swing/border/doc-files/MatteBorder-1.png,
911         javax/swing/border/doc-files/MatteBorder-2.png,
912         javax/swing/border/doc-files/MatteBorder-3.png,
913         javax/swing/border/doc-files/MatteBorder-4.png,
914         javax/swing/border/doc-files/MatteBorder-5.png,
915         javax/swing/border/doc-files/MatteBorder-6.png,
916         javax/swing/border/doc-files/SoftBevelBorder-1.png,
917         javax/swing/border/doc-files/SoftBevelBorder-2.png,
918         javax/swing/border/doc-files/SoftBevelBorder-3.png,
919         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
920         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
921         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
922         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
923         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
924         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
925         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
926         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
927         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
928         New binary files from classpath.
929         * Makefile.am
930         (awt_java_source_files): Added
931         javax/swing/border/SoftBevelBorder.java.
932         * Makefile.in: Regenerated.
933
934 2003-06-19  Michael Koch  <konqueror@gmx.de>
935
936         * gnu/java/security/x509/X509Certificate.java
937         (writeReplace): Merged from classpath.
938
939 2003-06-19  Michael Koch  <konqueror@gmx.de>
940
941         * gnu/java/nio/FileChannelImpl.java
942         (map_address): Made public.
943         (FileChannelImpl): Merged with classpath.
944         * gnu/java/nio/natFileChannelImpl.cc
945         (nio_mmap_file): Commented out unused arguments.
946         (nio_unmmap_file): Likewise.
947         (niu_msync): Likewise.
948
949 2003-06-19  Michael Koch  <konqueror@gmx.de>
950
951         * java/awt/image/IndexColorModel.java:
952         New version from classpath.
953
954 2003-06-18  Tom Tromey  <tromey@redhat.com>
955
956         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
957         on arrays.
958         (isLoopbackAddress): Likewise.
959         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
960         on arrays.
961
962 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
963
964         * java/lang/natVMSecurityManager.cc (getClassContext):
965         Use maxlen instead of len for loop bound.
966
967 2003-06-18  Michael Koch  <konqueror@gmx.de>
968
969         * gnu/java/nio/SelectorImpl.java
970         (register): Use fd with value 0 for now, will be fixed later.
971         * gnu/java/nio/ServerSocketChannelImpl.java
972         (fd): Removed.
973         (local_port): Removed.
974         (InetSocketAddress): Removed.
975         (ServerSocketChannelImpl): Just initialize internal socket object.
976         (implCloseSelectableChannel): Close internal socket object.
977         (implConfigureBlocking): Added comment.
978         (accept): Use jaba.net stuff to accept socket.
979         * gnu/java/nio/SocketChannelImpl.java
980         (fd): Removed.
981         (local_port): Removed.
982         (InetSocketAddress): Removed.
983         (SocketCreate): Removed.
984         (SocketConnect): Removed.
985         (SocketBind): Removed.
986         (SocketListen): Removed.
987         (SocketAvailable): Removed.
988         (SocketClose): Removed.
989         (SocketRead): Removed.
990         (SocketWrite): Removed.
991         (SocketChannelImpl): Just initialize internal socket object.
992         (implCloseSelectableChannel): Close internal socket object.
993         (implConfigureBlocking): Fixed implementation, added comment.
994         (connect): Use internal socket object to connect.
995         (socket): No need for sanity checks.
996         (read): Comment out some stuff, this will be reimplemented in the next
997         commit.
998         (write): Likewise.
999         * gnu/java/nio/natFileChannelImpl.cc
1000         (nio_mmap_file): Line wrapped.
1001         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1002         * Makefile.am
1003         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1004         * Makefile.in: Regenerated.
1005
1006 2003-06-18  Michael Koch  <konqueror@gmx.de>
1007
1008         * java/util/Locale.java
1009         (equals): Merged from classpath.
1010
1011 2003-06-18  Michael Koch  <konqueror@gmx.de>
1012
1013         * java/net/InetAddress.java:
1014         Reformatted to better match classpath's version.
1015         * java/net/URL.java
1016         (equals): Simplified.
1017         * java/net/URLConnection.java
1018         (setDoInput): Revised documentation.
1019         (getDefaultUseCaches): Likewise.
1020         (setRequestProperty): Added @since tag.
1021
1022 2003-06-17  Michael Koch  <konqueror@gmx.de>
1023
1024         * java/net/InetSocketAddress.java
1025         (InetSocketAddress): Use wildcard address if addr is null.
1026         (InetSocketAddress): Dont duplicate implementation.
1027         (InetSocketAddress): Throw exception when hostname is null.
1028         * java/net/Socket.java:
1029         Reworked imports.
1030         (Socket): Throw exception when raddr is null, handle case when laddr
1031         is null.
1032
1033 2003-06-17  Michael Koch  <konqueror@gmx.de>
1034
1035         * java/nio/DirectByteBufferImpl.java
1036         (address): Made package private.
1037         (DirectByteBufferImpl): New constructor.
1038         * java/nio/natDirectByteBufferImpl.cc
1039         (allocateImpl): Moved to java.nio namespace, implemented.
1040         (freeImpl): Likewise.
1041         (getImpl): Likewise.
1042         (putImpl): Likewise.
1043         * jni.cc
1044         (_Jv_JNI_NewDirectByteBuffer): Implemented.
1045         (_Jv_JNI_GetDirectBufferAddress): Implemented.
1046         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1047
1048 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1049
1050         * include/powerpc-signal.h: New File.
1051         * configure.in: Use it.
1052         * configure: Regenerated.
1053
1054 2003-06-17  Michael Koch  <konqueror@gmx.de>
1055
1056         * java/util/Locale.java
1057         (getDisplayLanguage): Made it final.
1058         (getDisplayCountry): Likewise.
1059         (getDisplayVariant): Likewise.
1060         (getDisplayName): Likewise.
1061
1062 2003-06-17  Michael Koch  <konqueror@gmx.de>
1063
1064         * java/util/PropertyResourceBundle.java:
1065         Removed unneeded import.
1066
1067 2003-06-17  Michael Koch  <konqueror@gmx.de>
1068
1069         * java/util/prefs/AbstractPreferences.java,
1070         java/util/prefs/PreferencesFactory.java:
1071         Reworked imports, removed unused imports.
1072         * java/util/prefs/Preferences.java
1073         (systemNodeForPackage): Method takes a Class not an Object.
1074         (userNodeForPackage): Likewise.
1075         (nodeForPackage): Likewise.
1076
1077 2003-06-17  Michael Koch  <konqueror@gmx.de>
1078
1079         * gnu/java/security/x509/X509Certificate.java:
1080         Explicitely import used classes.
1081
1082 2003-06-17  Michael Koch  <konqueror@gmx.de>
1083
1084         * java/util/zip/ZipEntry.java,
1085         java/util/zip/ZipFile.java,
1086         java/util/zip/ZipInputStream.java,
1087         java/util/zip/ZipOutputStream.java:
1088         Reworked imports, only import used classes.
1089
1090 2003-06-17  Michael Koch  <konqueror@gmx.de>
1091
1092         * gnu/java/lang/ArrayHelper.java,
1093         gnu/java/lang/ClassHelper.java:
1094         Reformatted to match classpath's versions.
1095
1096 2003-06-14  Michael Koch  <konqueror@gmx.de>
1097
1098         * gnu/java/nio/FileChannelImpl.java
1099         (map_address): Removed incorrect comment.        
1100         * gnu/java/nio/SelectorImpl.java
1101         (register): Remove code duplication and code for file channel handling.        
1102         * gnu/java/nio/ServerSocketChannelImpl.java
1103         (serverSocket): Renamed from sock_object.
1104         (ServerSocketChannel): Initialize serverSocket.
1105         (socket): Return serverSocket.
1106         * gnu/java/nio/SocketChannelImpl.java
1107         (socket): Renamed from sock_object.
1108         (isConnectionPenging): Simplified.
1109         (socket): Return socket.
1110 2003-06-14  Michael Koch  <konqueror@gmx.de>
1111
1112         * java/security/BasicPermission.java:
1113         New version from classpath.
1114
1115 2003-06-14  Michael Koch  <konqueror@gmx.de>
1116
1117         * javax/naming/directory/Attribute.java:
1118         New version from classpath.
1119
1120 2003-06-14  Michael Koch  <konqueror@gmx.de>
1121
1122         * java/io/BufferedReader.java,
1123         java/io/FileOutputStream.java:
1124         New versions from classpath.
1125
1126 2003-06-12  Andrew Haley  <aph@redhat.com>
1127
1128         * prims.cc (catch_segv): Create exception in handler.
1129         (catch_fpe): Likewise.  
1130         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1131         (_Jv_ThrowSignal): Remove.
1132
1133         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1134         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1135         to nullp and arithexception.
1136         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1137         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1138         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1139         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1140         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1141
1142 2003-06-11  Andrew Haley  <aph@redhat.com>
1143
1144         * jni.cc (_Jv_JNI_check_types): New.
1145         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1146         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1147         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1148         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1149         
1150         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1151         infinite loop.
1152
1153 2003-06-11  Tom Tromey  <tromey@redhat.com>
1154
1155         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1156         * java/io/PrintStream.java: Not deprecated.
1157
1158 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1159
1160         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1161         (fillOval): implemented
1162         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1163         (fillArc): implemented.
1164         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1165         (fillArc): added native method.
1166         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1167         (fillArc): added native method.
1168
1169 2003-06-11  Michael Koch  <konqueror@gmx.de>
1170
1171         * java/awt/im/InputSubset.java:
1172         New version from classpath.
1173
1174 2003-06-11  Michael Koch  <konqueror@gmx.de>
1175
1176         * javax/swing/AbstractAction.java,
1177         javax/swing/AbstractButton.java,
1178         javax/swing/AbstractCellEditor.java,
1179         javax/swing/AbstractListModel.java,
1180         javax/swing/BorderFactory.java,
1181         javax/swing/Box.java,
1182         javax/swing/BoxLayout.java,
1183         javax/swing/ButtonGroup.java,
1184         javax/swing/DefaultButtonModel.java,
1185         javax/swing/DefaultListModel.java,
1186         javax/swing/DefaultListSelectionModel.java,
1187         javax/swing/FocusManager.java,
1188         javax/swing/ImageIcon.java,
1189         javax/swing/InputMap.java,
1190         javax/swing/JApplet.java,
1191         javax/swing/JButton.java,
1192         javax/swing/JCheckBox.java,
1193         javax/swing/JCheckBoxMenuItem.java,
1194         javax/swing/JColorChooser.java,
1195         javax/swing/JComboBox.java,
1196         javax/swing/JComponent.java,
1197         javax/swing/JDesktopPane.java,
1198         javax/swing/JDialog.java,
1199         javax/swing/JEditorPane.java,
1200         javax/swing/JFileChooser.java,
1201         javax/swing/JFormattedTextField.java,
1202         javax/swing/JFrame.java,
1203         javax/swing/JLabel.java,
1204         javax/swing/JLayeredPane.java,
1205         javax/swing/JList.java,
1206         javax/swing/JMenuBar.java,
1207         javax/swing/JMenuItem.java,
1208         javax/swing/JOptionPane.java,
1209         javax/swing/JPanel.java,
1210         javax/swing/JPasswordField.java,
1211         javax/swing/JPopupMenu.java,
1212         javax/swing/JProgressBar.java,
1213         javax/swing/JRadioButton.java,
1214         javax/swing/JRadioButtonMenuItem.java,
1215         javax/swing/JRootPane.java,
1216         javax/swing/JScrollBar.java,
1217         javax/swing/JScrollPane.java,
1218         javax/swing/JSeparator.java,
1219         javax/swing/JSlider.java,
1220         javax/swing/JTabbedPane.java,
1221         javax/swing/JTable.java,
1222         javax/swing/JTextField.java,
1223         javax/swing/JToggleButton.java,
1224         javax/swing/JToolBar.java,
1225         javax/swing/JToolTip.java,
1226         javax/swing/JTree.java,
1227         javax/swing/JViewport.java,
1228         javax/swing/JWindow.java,
1229         javax/swing/KeyStroke.java,
1230         javax/swing/ListSelectionModel.java,
1231         javax/swing/LookAndFeel.java,
1232         javax/swing/RepaintManager.java,
1233         javax/swing/ScrollPaneLayout.java,
1234         javax/swing/SizeRequirements.java,
1235         javax/swing/SwingConstants.java,
1236         javax/swing/Timer.java,
1237         javax/swing/UIDefaults.java,
1238         javax/swing/UIManager.java,
1239         javax/swing/border/AbstractBorder.java,
1240         javax/swing/border/CompoundBorder.java,
1241         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1242         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1243         javax/swing/colorchooser/ColorSelectionModel.java,
1244         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1245         javax/swing/event/AncestorEvent.java,
1246         javax/swing/event/HyperlinkEvent.java,
1247         javax/swing/event/InternalFrameAdapter.java,
1248         javax/swing/event/InternalFrameEvent.java,
1249         javax/swing/event/ListDataEvent.java,
1250         javax/swing/event/MouseInputAdapter.java,
1251         javax/swing/event/SwingPropertyChangeSupport.java,
1252         javax/swing/event/TableModelEvent.java,
1253         javax/swing/event/TreeWillExpandListener.java,
1254         javax/swing/event/UndoableEditEvent.java,
1255         javax/swing/filechooser/FileFilter.java,
1256         javax/swing/filechooser/FileSystemView.java,
1257         javax/swing/filechooser/FileView.java,
1258         javax/swing/plaf/BorderUIResource.java,
1259         javax/swing/plaf/basic/BasicDefaults.java,
1260         javax/swing/table/AbstractTableModel.java,
1261         javax/swing/table/DefaultTableCellRenderer.java,
1262         javax/swing/table/DefaultTableColumnModel.java,
1263         javax/swing/table/DefaultTableModel.java,
1264         javax/swing/table/TableColumn.java,
1265         javax/swing/text/JTextComponent.java,
1266         javax/swing/tree/AbstractLayoutCache.java,
1267         javax/swing/tree/DefaultMutableTreeNode.java,
1268         javax/swing/tree/DefaultTreeCellEditor.java,
1269         javax/swing/tree/DefaultTreeCellRenderer.java,
1270         javax/swing/tree/DefaultTreeModel.java,
1271         javax/swing/tree/DefaultTreeSelectionModel.java,
1272         javax/swing/tree/FixedHeightLayoutCache.java,
1273         javax/swing/tree/TreeCellEditor.java,
1274         javax/swing/tree/TreeModel.java,
1275         javax/swing/tree/TreeNode.java,
1276         javax/swing/tree/TreePath.java,
1277         javax/swing/tree/TreeSelectionModel.java,
1278         javax/swing/tree/VariableHeightLayoutCache.java,
1279         javax/swing/undo/AbstractUndoableEdit.java,
1280         javax/swing/undo/CompoundEdit.java,
1281         javax/swing/undo/StateEdit.java,
1282         javax/swing/undo/UndoManager.java,
1283         javax/swing/undo/UndoableEditSupport.java:
1284         New versions from classpath.
1285         * javax/swing/table/JTableHeader.java:
1286         New file from classpath.
1287         * Makefile.am
1288         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1289         * Makefile.in: Regenerated.
1290
1291 2003-06-11  Michael Koch  <konqueror@gmx.de>
1292
1293         * java/nio/MappedByteBuffer.java,
1294         java/nio/channels/Channels.java,
1295         java/nio/channels/ServerSocketChannel.java,
1296         java/nio/channels/spi/AbstractSelector.java:
1297         Removed unneeded imports.
1298
1299 2003-06-11  Michael Koch  <konqueror@gmx.de>
1300
1301         * java/net/DatagramSocket.java:
1302         Partly merged with classpath.
1303
1304 2003-06-11  Michael Koch  <konqueror@gmx.de>
1305
1306         * java/awt/Frame.java,
1307         java/awt/Graphics.java,
1308         java/awt/Menu.java,
1309         java/awt/Robot.java,
1310         java/awt/image/ColorModel.java:
1311         New versions from classpath.
1312
1313 2003-06-10  Michael Koch  <konqueror@gmx.de>
1314
1315         * java/io/PrintStream.java:
1316         Merged version from classpath.
1317         (close): Removed sychronized keyword. This class is not garantied to
1318         be thread-safe.
1319         (write): Likewise.
1320
1321 2003-06-09  Tom Tromey  <tromey@redhat.com>
1322
1323         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1324         field.
1325         (getDescent): Likewise, for "descent".
1326
1327 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1328
1329         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1330         (getMaxDescent): adjusted return value.
1331         (getAscent): modified to use metrics for 'O'.
1332         (getDescent): modified to use metrics for 'y'.
1333
1334 2003-06-08  Anthony Green  <green@redhat.com>
1335
1336         * java/net/URLStreamHandler.java (sameFile): Fix port value
1337         comparison.
1338         * java/net/URL.java (handler): Make package private.
1339         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1340
1341 2003-06-07  Tom Tromey  <tromey@redhat.com>
1342
1343         For PR libgcj/11085:
1344         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1345         Limit number of characters in numeric field when required.
1346         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1347         Respect maximumIntegerDigits.
1348
1349 2003-06-08  Michael Koch  <konqueror@gmx.de>
1350
1351         * java/net/Socket.java
1352         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1353         call bind() and connect() to actually do the bind and connect tasks.
1354         (bind): Connect to canonical address if bindpoint is null, create
1355         socket and bind it to bindpoint.
1356         (connect): Check for exceptions.
1357
1358 2003-06-08  Michael Koch  <konqueror@gmx.de>
1359
1360         * java/net/DatagramSocket.java
1361         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1362         into the Multicast constructors.
1363         * java/net/DatagramSocketImpl.java
1364         (getOption): Removed.
1365         (setOption): Removed.
1366         * java/net/MulticastSocket.java
1367         (MulticastSocket): Call setReuseAddress (true).
1368         * java/net/SocketImpl.java
1369         (getOption): Removed.
1370         (setOption): Removed.
1371
1372 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1373
1374         PR libgcj/10886:
1375         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1376         Test for empty vector.
1377
1378 2003-06-06  Mark Wielaard  <mark@klomp.org>
1379
1380         * java/security/Security.java (secprops): Initialize.
1381         (loadProviders): Return boolean.
1382         (static): Check result of loadProvider calls. If necessary
1383         display WARNING and fallback to Gnu provider.
1384
1385 2002-06-06  James Clark  <jjc@jclark.com>
1386
1387         Fix for PR libgcj/8738:
1388         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1389         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1390         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1391         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1392         (write): Always decrease avail when count is increased.
1393         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1394         and whether output buffer is full before increasing size.
1395
1396 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1397
1398         * java/io/PrintStream.java (writeChars(char[],int, int)):
1399         Check converter.havePendingBytes().
1400         (writeChars(String,int,int)): Likewise.
1401         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1402         Check converter.havePendingBytes() and flush buffer when stalled.
1403
1404 2003-06-07  Michael Koch  <konqueror@gmx.de>
1405
1406         * include/posix.h
1407         (O_DSYNC): Define O_DSYNC on platforms not
1408         supporting O_FSYNC (newlib).
1409
1410 2003-06-06  Mark Wielaard  <mark@klomp.org>
1411
1412         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1413         AWTError.
1414
1415 2003-06-06  Michael Koch  <konqueror@gmx.de>
1416
1417         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1418         More compile fixes from my stupid work yesterday.
1419
1420 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1421
1422         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1423         if _IEEE_LIBM is undefined.
1424
1425 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1426
1427         * libjava/include/posix.h (O_SYNC): Define if not available
1428         and a reasonable, perhaps more conservative, replacement exists.
1429         (O_DSYNC): Likewise.
1430         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1431
1432 2003-06-05  Michael Koch  <konqueror@gmx.de>
1433
1434         * javax/swing/plaf/BorderUIResource.java,
1435         javax/swing/plaf/basic/BasicDefaults.java,
1436         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1437         More compile fixes for latest Border commit. I should not commit
1438         something in this heat here ...
1439
1440 2003-06-05  Michael Koch  <konqueror@gmx.de>
1441
1442         * javax/swing/border/BevelBorder.java
1443         (BevelBorder): Removed.
1444         * javax/swing/border/EmptyBorder.java:
1445         Reformatted.
1446         (EmptyBorder): Removed.
1447         (getBorderInsets): Dont use l, r, t and b.
1448         * javax/swing/border/EtchedBorder.java
1449         (EtchedBorder): Removed.
1450         * javax/swing/border/LineBorder.java
1451         (LineBorder): Removed.
1452         * javax/swing/border/MatteBorder.java
1453         (MatteBorder): Removed.
1454         * javax/swing/border/TitledBorder.java
1455         (defaultBorder): Use other default for now.
1456         (defaultFont): Likewise.
1457         (defaultColor): Likewise.
1458
1459 2003-06-05  Michael Koch  <konqueror@gmx.de>
1460
1461         * javax/swing/border/Border.java:
1462         New version from classpath.
1463
1464 2003-06-05  Michael Koch  <konqueror@gmx.de>
1465
1466         * javax/swing/border/AbstractBorder.java,
1467         javax/swing/border/BevelBorder.java,
1468         javax/swing/border/CompoundBorder.java,
1469         javax/swing/border/EmptyBorder.java,
1470         javax/swing/border/EtchedBorder.java,
1471         javax/swing/border/LineBorder.java,
1472         javax/swing/border/MatteBorder.java,
1473         javax/swing/border/TitledBorder.java:
1474         New versions from Classpath.
1475
1476 2003-06-05  Michael Koch  <konqueror@gmx.de>
1477
1478         * java/awt/Button.java,
1479         java/awt/Checkbox.java,
1480         java/awt/CheckboxMenuItem.java,
1481         java/awt/Choice.java,
1482         java/awt/Container.java,
1483         java/awt/Dialog.java,
1484         java/awt/EventQueue.java,
1485         java/awt/FileDialog.java,
1486         java/awt/Frame.java,
1487         java/awt/Label.java,
1488         java/awt/List.java,
1489         java/awt/Menu.java,
1490         java/awt/MenuItem.java,
1491         java/awt/Panel.java,
1492         java/awt/PopupMenu.java,
1493         java/awt/Rectangle.java,
1494         java/awt/ScrollPane.java,
1495         java/awt/Scrollbar.java,
1496         java/awt/TextArea.java,
1497         java/awt/TextField.java,
1498         java/awt/Window.java,
1499         java/awt/datatransfer/DataFlavor.java,
1500         java/awt/dnd/DragSource.java,
1501         java/awt/dnd/DragSourceContext.java,
1502         java/awt/event/HierarchyEvent.java,
1503         java/awt/event/MouseWheelEvent.java,
1504         java/awt/im/InputContext.java,
1505         java/awt/image/BufferedImage.java,
1506         java/awt/image/ComponentColorModel.java,
1507         java/awt/image/Raster.java,
1508         java/awt/image/WritableRaster.java,
1509         java/awt/peer/ComponentPeer.java,
1510         java/awt/print/PageFormat.java,
1511         java/awt/print/PrinterJob.java:
1512         New versions from Classpath.
1513
1514 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1515
1516         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1517         numberFormat.setParseIntegerOnly(true).
1518
1519 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1520
1521         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1522
1523 2003-06-03  Andrew Haley  <aph@redhat.com>
1524
1525         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1526         stack volatile to prevent optimization from removing it.
1527
1528 2003-05-27  Michael Koch  <konqueror@gmx.de>
1529
1530         * java/util/zip/Deflater.java
1531         (FILTERED): Merged documentation from classpath.
1532         * java/util/zip/DeflaterOutputStream.java
1533         (DeflaterOutputStream): Merged documentation and argument validity
1534         check from classpath.
1535         (deflate): Merged documentation from classpath.
1536         (finish): Likewise.
1537         * java/util/zip/Inflater.java
1538         (Inflater): Merged class documentation from classpath.
1539         (zstream): Reordered.
1540         (is_finished): Reordered.
1541         (dict_needed): Reordered.
1542         (Inflater): Reordered, merged documentation from classpath.
1543         (end): Likewise.
1544         (finalize): Merged documentation from classpath.
1545         (finished): Likewise.
1546         (getAdler): Likewise.
1547         (getRemaining): Likewise.
1548         (getTotalIn): Likewise.
1549         (getTotalOut): Likewise.
1550         (inflate): Likewise.
1551         (needsDictionary): Likewise.
1552         (needsInput): Likewise.
1553         (reset): Likewise.
1554         (setDictionary): Likewise.
1555         (setInput): Likewise.
1556
1557 2003-05-27  Michael Koch  <konqueror@gmx.de>
1558
1559         * java/net/URLConnection.java
1560         (getHeaderFieldInt): Merged with classpath.
1561
1562 2003-05-27  Michael Koch  <konqueror@gmx.de>
1563
1564         * java/io/PrintStream.java
1565         (PrintStream): Reformatted.
1566         (PrintStream): New method, merged from classpath.
1567         (write): Reformatted.
1568
1569 2003-05-27  Michael Koch  <konqueror@gmx.de>
1570
1571         * java/lang/System.java:
1572         Explicitely import needed classes.
1573
1574 2003-05-26  Michael Koch  <konqueror@gmx.de>
1575
1576         * java/net/NetPermission.java,
1577         java/net/NetworkInterface.java,
1578         java/net/PasswordAuthentication.java,
1579         java/net/SocketPermission.java:
1580         New versions from classpath.
1581
1582 2003-05-25  Michael Koch  <konqueror@gmx.de>
1583
1584         * java/io/PushbackInputStream.java,
1585         java/net/Authenticator.java,
1586         java/net/ContentHandler.java,
1587         java/net/ContentHandlerFactory.java,
1588         java/net/DatagramSocket.java,
1589         java/net/DatagramSocketImpl.java,
1590         java/net/DatagramSocketImplFactory.java,
1591         java/net/FileNameMap.java,
1592         java/net/SocketImplFactory.java,
1593         java/net/SocketOptions.java,
1594         java/net/URLStreamHandlerFactory.java:
1595         Merged new versions from classpath.
1596
1597 2003-05-25  Michael Koch  <konqueror@gmx.de>
1598
1599         * java/awt/Checkbox.java,
1600         java/awt/Dialog.java,
1601         java/awt/Font.java,
1602         java/awt/Frame.java,
1603         java/awt/ScrollPaneAdjustable.java,
1604         java/awt/Scrollbar.java,
1605         java/awt/Window.java:
1606         New versions from classpath.
1607
1608 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1609
1610         PR libgcj/10838:
1611         * java/io/ObjectInputStream (enableResolveObject):
1612         Fixed spelling of permission name.
1613
1614 2003-05-20  Michael Koch  <konqueror@gmx.de>
1615
1616         * java/io/DataInputStream.java
1617         (convertFromUTF): Merged comment from classpath.
1618         * java/io/PrintStream.java
1619         (error_occured): Renamed from error, merged comment from classpath.
1620         (PrintStream): No need to initialized error.
1621         (checkError): Replace error with error_occurred.
1622         (setError): Likewise.
1623
1624 2003-05-20  Michael Koch  <konqueror@gmx.de>
1625
1626         * java/io/DataInputStream.java:
1627         Reformatted, Replaced < and & with html entitites in documentation.
1628         * java/io/File.java:
1629         Reformatted.
1630         * java/io/PrintWriter.java:
1631         Moved class documentation.
1632
1633 2003-05-20  Michael Koch  <konqueror@gmx.de>
1634
1635         * gnu/java/nio/ByteBufferImpl.java,
1636         gnu/java/nio/CharBufferImpl.java,
1637         gnu/java/nio/CharViewBufferImpl.java,
1638         gnu/java/nio/DirectByteBufferImpl.java,
1639         gnu/java/nio/DoubleBufferImpl.java,
1640         gnu/java/nio/DoubleViewBufferImpl.java,
1641         gnu/java/nio/FloatBufferImpl.java,
1642         gnu/java/nio/FloatViewBufferImpl.java,
1643         gnu/java/nio/IntBufferImpl.java,
1644         gnu/java/nio/IntViewBufferImpl.java,
1645         gnu/java/nio/LongBufferImpl.java,
1646         gnu/java/nio/LongViewBufferImpl.java,
1647         gnu/java/nio/natDirectByteBufferImpl.cc,
1648         gnu/java/nio/ShortBufferImpl.java,
1649         gnu/java/nio/ShortViewBufferImpl.java:
1650         Moved files to java/nio.
1651         * gnu/java/nio/SocketChannelImpl.java
1652         
1653         * java/nio/ByteBuffer.java,
1654         java/nio/CharBuffer.java,
1655         java/nio/DoubleBuffer.java,
1656         java/nio/FloatBuffer.java,
1657         java/nio/IntBuffer.java,
1658         java/nio/LongBuffer.java,
1659         java/nio/ShortBuffer.java:
1660         Dont import anything.
1661         * java/nio/ByteBufferImpl.java,
1662         java/nio/CharBufferImpl.java,
1663         java/nio/CharViewBufferImpl.java,
1664         java/nio/DirectByteBufferImpl.java,
1665         java/nio/DoubleBufferImpl.java,
1666         java/nio/DoubleViewBufferImpl.java,
1667         java/nio/FloatBufferImpl.java,
1668         java/nio/FloatViewBufferImpl.java,
1669         java/nio/IntBufferImpl.java,
1670         java/nio/IntViewBufferImpl.java,
1671         java/nio/LongBufferImpl.java,
1672         java/nio/LongViewBufferImpl.java,
1673         java/nio/natDirectByteBufferImpl.cc,
1674         java/nio/ShortBufferImpl.java,
1675         java/nio/ShortViewBufferImpl.java:
1676         Moved from gnu/java/nio.
1677         * Makefile.am
1678         (ordinary_java_source_files): Moved files from gnu/java/nio to
1679         java/nio.
1680         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1681         to java/nio.
1682         * Makefile.in: Regenerated.
1683
1684 2003-05-19  Michael Koch  <konqueror@gmx.de>
1685
1686         * java/util/Calendar.java
1687         (get): Not final anymore since JDK 1.4
1688         (set): Likewise.
1689
1690 2003-05-19  Michael Koch  <konqueror@gmx.de>
1691
1692         * java/text/CollationKey.java:
1693         Merged copyright and dat from classpath.
1694         * java/text/RuleBasedCollator.java:
1695         Merged class documentation from classpath.
1696
1697 2003-05-19  Michael Koch  <konqueror@gmx.de>
1698
1699         * java/nio/CharBuffer.java
1700         (toString): Compile fix.
1701
1702 2003-05-19  Michael Koch  <konqueror@gmx.de>
1703
1704         * gnu/java/nio/ByteBufferImpl.java
1705         (putLong): Fixed conversion to bytes.
1706         (putDouble): Fixed conversion to bytes.
1707         * gnu/java/nio/DirectByteBufferImpl.java
1708         (putLong): Fixed conversion to bytes.
1709         (putDouble): Fixed conversion to bytes.
1710         * gnu/java/nio/FileLockImpl.java
1711         (isValid): Reformatted.
1712         * java/nio/Buffer.java
1713         (Buffer): Fixed off-by-one bug in handling mark.
1714         * java/nio/ByteBuffer.java:
1715         Added newline.
1716         * java/nio/CharBuffer.java
1717         (toString): Don't use relative get to get string data.
1718
1719 2003-05-16  Michael Koch  <konqueror@gmx.de>
1720
1721         * java/io/natFileDescriptorPosix.cc
1722         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1723         tested.
1724
1725 2003-05-14  Michael Koch  <konqueror@gmx.de>
1726
1727         * gnu/java/nio/FileLockImpl.java
1728         (released): New member variable.
1729         (FileLockImpl): Initialize released.
1730         (releaseImpl): New native method.
1731         (release): Implemented.
1732         * gnu/java/nio/SelectorImpl.java: Reformatted.
1733         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1734         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1735         (accept): Throws IOException.
1736         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1737         (implConfigureBlocking): Throws IOException.
1738         (connect): Likewise.
1739         (read): Likewise.
1740         (write): Likewise.
1741         * gnu/java/nio/natFileLockImpl.cc: New file.
1742         * java/nio/channels/FileLock.java: Reformatted.
1743         * Makefile.am:
1744         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1745         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1746         * Makefile.in: Regenerated.
1747
1748 2003-05-13  Michael Koch  <konqueror@gmx.de>
1749
1750         * gnu/java/nio/CharViewBufferImpl.java
1751         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1752         (get): Shift bits to the right direction.
1753         (put): Likewise.
1754         * gnu/java/nio/DoubleViewBufferImpl.java
1755         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1756         (get): Shift bits to the right direction.
1757         (put): Likewise.
1758         * gnu/java/nio/FloatViewBufferImpl.java
1759         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1760         (get): Shift bits to the right direction.
1761         (put): Likewise.
1762         * gnu/java/nio/IntViewBufferImpl.java
1763         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1764         (get): Shift bits to the right direction.
1765         (put): Likewise.
1766         * gnu/java/nio/LongViewBufferImpl.java
1767         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1768         (get): Shift bits to the right direction.
1769         (put): Likewise.
1770         * gnu/java/nio/ShortViewBufferImpl.java
1771         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1772         (get): Shift bits to the right direction.
1773         (put): Likewise.
1774
1775 2003-05-13  Michael Koch  <konqueror@gmx.de>
1776
1777         * gnu/java/nio/natDirectByteBufferImpl.cc
1778         (allocateImpl): jlong -> RawData*.
1779         (freeImpl): Likewise.
1780
1781 2003-05-13  Michael Koch  <konqueror@gmx.de>
1782
1783         * java/nio/channels/FileChannel.java
1784         (MapMode.m): Made it package-private to match JDK 1.4.
1785         * java/nio/charset/Charset.java
1786         (decode): Made it final to match JDK 1.4.
1787
1788 2003-05-13  Michael Koch  <konqueror@gmx.de>
1789
1790        * java/io/FileDescriptor.java
1791        (SYNC): New constant.
1792        (DSYNC): Likewise.
1793        (getLength): Renamed from lenght() to match classpath's
1794        FileDescriptor.java.
1795        * java/io/RandomAccessFile.java
1796        (RandomAccessFile): Removed unneeded mode check, implemented mode
1797        "rws" and "rwd", merged documentation from classpath.
1798        (setLength): Reformatted.
1799        (length): Use new getLength() of FileDescriptor.
1800        * java/io/natFileDescriptorEcos.cc
1801        (getLength): Renamed from length().
1802        * java/io/natFileDescriptorPosix.cc
1803        (open): Implemented support for SYNC and DSYNC.
1804        (seek): Use getLength() instead of length().
1805        (getLength): Renamed from length().
1806        * java/io/natFileDescriptorWin32.cc
1807        (getLength): Renamed from length().
1808        (seek): Use getLength() instead of length().
1809        (available): Likewise.
1810        * gnu/java/nio/natFileChannelImpl.cc
1811        (size): Use getLength() instead of length().
1812
1813 2003-05-13  Michael Koch  <konqueror@gmx.de>
1814
1815         * gnu/java/nio/ByteBufferImpl.java
1816         (ByteBufferImpl): All constructors revised.
1817         (slice): Reimplemented.
1818         (duplicate): Reimplemented.
1819         (asReadOnlyBuffer): Reimplemented.
1820         * java/nio/ByteBuffer.java:
1821         Reformatted.
1822         (array_offset): Renamed from "offset" to match all other buffer
1823         classes.
1824         (ByteBuffer): All constructors revised.
1825         (allocateDirect): Implemented.
1826         (allocate): New implementation, documentation reworked.
1827         (wrap): Likewise.
1828         (get): Documentation reworked.
1829         (put): New implementation, documentation reworked.
1830         (hasArray): Documentation reworked.
1831         (arrayOffset): Likewise.
1832         (hashCode): Likewise.
1833         (equals): Likewise.
1834         (compareTo): Likewise.
1835         (order): Likewise.
1836         (compact): Likewise.
1837         (isDirect): Likewise.
1838         (slice): Likewise.
1839         (duplicate): Likewise.
1840         (asReadOnlyBuffer): Likewise.
1841         * Makefile.am
1842         (ordinary_java_source_files):
1843         Added gnu/java/nio/DirectByteBufferImpl.java.
1844         (nat_source_files):
1845         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1846         * Makefile.in: Regenerated.
1847
1848 2003-05-12  Michael Koch  <konqueror@gmx.de>
1849
1850         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1851         (nio_get_*): Removed.
1852         (nio_put_*): Removed.
1853         (as*Buffer): Implemented.
1854         (compact): Implemented.
1855         (get): Documentation added.
1856         (put): Documentation added.
1857         (get*): Newly implemented.
1858         (put*): Newly implemented.
1859         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1860         (CharBufferImpl): Revised.
1861         (slice): New implementation.
1862         (duplicate): New implementation.
1863         (compact): New implementation.
1864         (asReadOnlyBuffer): New implementation.
1865         (get): Documentation revised.
1866         (order): Return native byte order.
1867         * gnu/java/nio/DirectByteBufferImpl.java
1868         (allocateDirect): objects can be null not 0.
1869         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1870         (DoubleBufferImpl): Revised.
1871         (slice): New implementation.
1872         (duplicate): New implementation.
1873         (compact): New implementation.
1874         (asReadOnlyBuffer): New implementation.
1875         (get): Documentation revised.
1876         (order): Return native byte order.
1877         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1878         (FloatBufferImpl): Revised.
1879         (slice): New implementation.
1880         (duplicate): New implementation.
1881         (compact): New implementation.
1882         (asReadOnlyBuffer): New implementation.
1883         (get): Documentation revised.
1884         (order): Return native byte order.
1885         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1886         (IntBufferImpl): Revised.
1887         (slice): New implementation.
1888         (duplicate): New implementation.
1889         (compact): New implementation.
1890         (asReadOnlyBuffer): New implementation.
1891         (get): Documentation revised.
1892         (order): Return native byte order.
1893         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1894         (LongBufferImpl): Revised.
1895         (slice): New implementation.
1896         (duplicate): New implementation.
1897         (compact): New implementation.
1898         (asReadOnlyBuffer): New implementation.
1899         (get): Documentation revised.
1900         (order): Return native byte order.
1901         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1902         (ShortBufferImpl): Revised.
1903         (slice): New implementation.
1904         (duplicate): New implementation.
1905         (compact): New implementation.
1906         (asReadOnlyBuffer): New implementation.
1907         (get): Documentation revised.
1908         (order): Return native byte order.
1909         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1910         (CharBuffer): Revised.
1911         (order): Removed.
1912         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1913         (DoubleBuffer): Revised.
1914         (allocateDirect): Removed.
1915         (order): Removed.
1916         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1917         (FloatBuffer): Revised.
1918         (allocateDirect): Removed.
1919         (order): Removed.
1920         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1921         (IntBuffer): Revised.
1922         (allocateDirect): Removed.
1923         (order): Removed.
1924         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1925         (LongBuffer): Revised.
1926         (allocateDirect): Removed.
1927         (order): Removed.
1928         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1929         (ShortBuffer): Revised.
1930         (allocateDirect): Removed.
1931         (order): Removed.
1932         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1933         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1934         * Makefile.am
1935         (ordinary_java_source_files): Added the following files:
1936         gnu/java/nio/CharViewBufferImpl.java,
1937         gnu/java/nio/DoubleViewBufferImpl.java,
1938         gnu/java/nio/FloatViewBufferImpl.java,
1939         gnu/java/nio/IntViewBufferImpl.java,
1940         gnu/java/nio/LongViewBufferImpl.java,
1941         gnu/java/nio/ShortViewBufferImpl.java
1942         (nat_source_files): Removed the following files:
1943         gnu/java/nio/natByteBufferImpl.cc,
1944         gnu/java/nio/natCharBufferImpl.cc
1945         * Makefile.in: Regenerated.
1946
1947 2003-05-12  Michael Koch  <konqueror@gmx.de>
1948
1949         * gnu/java/nio/CharViewBufferImpl.java,
1950         gnu/java/nio/DirectByteBufferImpl.java,
1951         gnu/java/nio/DoubleViewBufferImpl.java,
1952         gnu/java/nio/FloatViewBufferImpl.java,
1953         gnu/java/nio/IntViewBufferImpl.java,
1954         gnu/java/nio/LongViewBufferImpl.java,
1955         gnu/java/nio/ShortViewBufferImpl.java,
1956         gnu/java/nio/natDirectByteBufferImpl.cc:
1957         New files, not yet to be compiled.
1958
1959 2003-05-10  Michael Koch  <konqueror@gmx.de>
1960
1961         * javax/swing/plaf/ButtonUI.java,
1962         javax/swing/plaf/ColorUIResource.java,
1963         javax/swing/plaf/ComponentUI.java,
1964         javax/swing/plaf/DimensionUIResource.java,
1965         javax/swing/plaf/FontUIResource.java,
1966         javax/swing/plaf/IconUIResource.java,
1967         javax/swing/plaf/InsetsUIResource.java,
1968         javax/swing/plaf/LabelUI.java,
1969         javax/swing/plaf/ListUI.java,
1970         javax/swing/plaf/OptionPaneUI.java,
1971         javax/swing/plaf/PanelUI.java,
1972         javax/swing/plaf/TabbedPaneUI.java,
1973         javax/swing/plaf/TextUI.java,
1974         javax/swing/plaf/TreeUI.java,
1975         javax/swing/plaf/ViewportUI.java,
1976         javax/swing/plaf/basic/BasicBorders.java,
1977         javax/swing/plaf/basic/BasicButtonUI.java,
1978         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1979         javax/swing/plaf/basic/BasicDefaults.java,
1980         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1981         javax/swing/plaf/basic/BasicIconFactory.java,
1982         javax/swing/plaf/basic/BasicLabelUI.java,
1983         javax/swing/plaf/basic/BasicListUI.java,
1984         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1985         javax/swing/plaf/basic/BasicPanelUI.java,
1986         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1987         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1988         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1989         javax/swing/plaf/basic/BasicTextUI.java,
1990         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1991         javax/swing/plaf/basic/BasicTreeUI.java,
1992         javax/swing/plaf/basic/BasicViewportUI.java,
1993         javax/swing/plaf/metal/MetalLookAndFeel.java:
1994         New versions from classpath. This adds copyrights to all files and
1995         some serialVersionUIDs.
1996
1997 2003-05-10  Michael Koch  <konqueror@gmx.de>
1998
1999         * java/nio/CharBuffer.java
2000         (offset): Make it package-private.
2001         (backing_buffer): Likewise.
2002         * java/nio/DoubleBuffer.java
2003         (offset): Make it package-private.
2004         (backing_buffer): Likewise.
2005         (put): Reformatted.
2006         * java/nio/FloatBuffer.java
2007         (offset): Make it package-private.
2008         (backing_buffer): Likewise.
2009         * java/nio/IntBuffer.java
2010         (offset): Make it package-private.
2011         (backing_buffer): Likewise.
2012         * java/nio/LongBuffer.java
2013         (offset): Make it package-private.
2014         (backing_buffer): Likewise.
2015         * java/nio/ShortBuffer.java
2016         (offset): Make it package-private.
2017         (backing_buffer): Likewise.
2018
2019 2003-05-10  Michael Koch  <konqueror@gmx.de>
2020
2021         * java/nio/CharBuffer.java
2022         (put): Fixed precondtion check.
2023         (toString): Make it work without backing array.
2024         (put): Skip one level of method calling.
2025
2026 2003-05-10  Michael Koch  <konqueror@gmx.de>
2027
2028         * java/security/Identity.java,
2029         java/security/IdentityScope.java,
2030         java/security/Key.java,
2031         java/security/KeyPair.java,
2032         java/security/PrivateKey.java,
2033         java/security/Provider.java,
2034         java/security/PublicKey.java,
2035         java/security/SecureRandom.java,
2036         java/security/SecureRandomSpi.java,
2037         java/security/SignedObject.java,
2038         java/security/Signer.java,
2039         java/security/cert/Certificate.java,
2040         java/security/cert/PKIXCertPathBuilderResult.java,
2041         java/security/cert/X509Certificate.java:
2042         New versions from classpath.
2043
2044 2003-05-09  Tom Tromey  <tromey@redhat.com>
2045
2046         * Makefile.in: Rebuilt.
2047         * Makefile.am (nat_source_files): Removed old files.
2048         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2049         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2050         * gnu/java/nio/natIntBufferImpl.cc: Removed.
2051         * gnu/java/nio/natLongBufferImpl.cc: Removed.
2052         * gnu/java/nio/natShortBufferImpl.cc: Removed.
2053
2054 2003-05-09  Michael Koch  <konqueror@gmx.de>
2055
2056         * gnu/java/nio/ByteBufferImpl.java
2057         (nio_cast): Removed.
2058         (ByteBufferImpl): Removed.
2059         (nio_get_Byte): Removed.
2060         (nio_put_Byte): Removed.
2061         (asByteBuffer): Removed.
2062         (asCharBuffer): Removed implementation and throw exception.
2063         (asShortBuffer): Likewise.
2064         (asIntBuffer): Likewise.
2065         (asLongBuffer): Likewise.
2066         (asFloatBuffer): Likewise.
2067         (asDoubleBuffer): Likewise.
2068         * gnu/java/nio/CharBufferImpl.java
2069         (CharBufferImpl): Removed.
2070         (nio_get_Byte): Removed.
2071         (nio_put_Byte): Removed.
2072         (asByteBuffer): Removed.
2073         * gnu/java/nio/DoubleBufferImpl.java
2074         (DoubleBufferImpl): Removed.
2075         (nio_get_Byte): Removed.
2076         (nio_put_Byte): Removed.
2077         (asByteBuffer): Removed.
2078         * gnu/java/nio/FloatBufferImpl.java
2079         (FloatBufferImpl): Removed.
2080         (nio_get_Byte): Removed.
2081         (nio_put_Byte): Removed.
2082         (asByteBuffer): Removed.
2083         * gnu/java/nio/IntBufferImpl.java
2084         (IntBufferImpl): Removed.
2085         (nio_get_Byte): Removed.
2086         (nio_put_Byte): Removed.
2087         (asByteBuffer): Removed.
2088         * gnu/java/nio/LongBufferImpl.java
2089         (LongBufferImpl): Removed.
2090         (nio_get_Byte): Removed.
2091         (nio_put_Byte): Removed.
2092         (asByteBuffer): Removed.
2093         * gnu/java/nio/ShortBufferImpl.java
2094         (ShortBufferImpl): Removed.
2095         (nio_get_Byte): Removed.
2096         (nio_put_Byte): Removed.
2097         (asByteBuffer): Removed.
2098         * gnu/java/nio/natByteBufferImpl.cc
2099         (nio_cast): Removed.
2100         (nio_get_Byte): Removed.
2101         (nio_put_Byte): Removed.
2102         * gnu/java/nio/natCharBufferImpl.cc
2103         (nio_get_Byte): Removed.
2104         (nio_put_Byte): Removed.
2105
2106 2003-05-09  Michael Koch  <konqueror@gmx.de>
2107
2108         * java/net/JarURLConnection.java
2109         (getJarEntry): Merged documentation from classpath.
2110         (getJarFile): Likewise.
2111         (getMainAttributes): Likewise.
2112         (getAttributes): Likewise.
2113         (getManifest): Likewise.
2114         (getCertificates): Reformatted.
2115         * java/net/URLConnection.java:
2116         Little classpath merge.
2117
2118 2003-05-09  Michael Koch  <konqueror@gmx.de>
2119
2120         * java/io/DataOutputStream.java
2121         (writeShort): Made it synchronized.
2122         (writeChar): Likewise.
2123         (writeInt): Likewise.
2124         (writeLong): Liekwise.
2125         (writeUTF): Made it synchronized, renamed argument to match classpath.
2126         * java/io/InputStreamReader.java
2127         (converter): Added documentation.
2128         (read): Merged documentation from classpath.
2129         * java/io/OutputStreamWriter.java
2130         (OutputStreamWriter): Merged documentation from classpath.
2131         (close): Reformatted.
2132         (getEncoding): Likewise.
2133         (flush): Likewise.
2134         (write): Merged documentation from classpath, reformatted.
2135
2136 2003-05-08  Tom Tromey  <tromey@redhat.com>
2137
2138         * configure.host <powerpc64*-*>: Set with_libffi_default and
2139         libgcj_interpreter to "yes".
2140
2141 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
2142
2143         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2144         
2145 2003-05-06  Tom Tromey  <tromey@redhat.com>
2146
2147         * verify.cc: Reverted previous patch.
2148
2149 2003-05-06  Michael Koch  <konqueror@gmx.de>
2150
2151         * java/io/DataOutputStream.java
2152         (write): Renamed argument to "value", merged documentation from
2153         classpath.
2154         (writeBoolean): Likewise.
2155         (writeByte): Likewise.
2156         (writeShort): Likewise.
2157         (writeChar): Likewise.
2158         (writeInt): Likewise.
2159         (writeLong): Likewise.
2160         (writeFloat): Likewise.
2161         (writeDouble): Likewise.
2162         (writeBytes): Likewise.
2163         (writeChars): Likewise.
2164         (writeUTF): Likewise.
2165         * java/io/File.java
2166         (performDelete): Added documentation.
2167         (performList): Likewise.
2168         (performMkdir): Likewise.
2169         (performSetReadOnly): Likewise.
2170         (performRenameTo): Likewise.
2171         (performSetLastModified): Likewise.
2172         (delete): Made it sychronized.
2173         (renameTo): Made it sychronized.
2174         (equals): Reformatted.
2175         (isHidden): Likewise.
2176         (listFiles): Likewise.
2177         (setReadOnly): Likewise.
2178         (listRoots): Likewise.
2179         (setLastModified): Likewise.
2180         (checkRead): Likewise.
2181         (checkWrite): Likewise.
2182         * java/io/FileInputStream.java
2183         (skip): Made it sychronized, merged from classpath.
2184         * java/io/FileOutputStream.java
2185         (write): Merged from classpath.
2186         * java/io/InputStreamReader.java:
2187         (InputStreamReader): Merged documentation from classpath.
2188
2189 2003-05-05  Michael Koch  <konqueror@gmx.de>
2190
2191         * java/net/NetworkInterface.java
2192         (networkInterfaces): Removed.
2193         (getByName): Use getRealNetworkInterfaces() instead of
2194         networkInterfaces.
2195         (getByInetAddress): Likewise.
2196         (getNetworkInterfaces): Likewise.
2197         (toString): Fix output of addresses of an interface.
2198
2199 2003-05-05  Michael Koch  <konqueror@gmx.de>
2200
2201         * java/io/DataInputStream.java:
2202         Merged new documentation from classpath.
2203
2204 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2205
2206         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2207         "version".
2208         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2209         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2210         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2211         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2212         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2213         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2214         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2215         * java/security/Key.java: Likewise.
2216         * java/security/PrivateKey.java: Likewise.
2217         * java/security/Provider.java: Likewise.
2218         * java/security/PublicKey.java: Likewise.
2219
2220 2003-05-02  Michael Koch  <konqueror@gmx.de>
2221
2222         * java/net/URI.java
2223         (create): Doesnt throws any exceptions.
2224         * java/net/URLConnection.java
2225         (URLConnection): Commend added.
2226         (getExpiration): The header field is called "expires" not
2227         "expiration".
2228         (getHeaderField): Merged documentation with classpath.
2229         (getHeaderFieldInt): Likewise.
2230         (getHeaderFieldDate): Likewise.
2231         (getHeaderFieldKey): Likewise.
2232         (getPermission): Likewise.
2233         (setDefaultUseCaches): Likewise.
2234         (setRequestProperty): Likewise.
2235         (addRequestProperty): Likewise.
2236         (getRequestProperty): Likewise.
2237         (getRequestProperties): Likewise.
2238         (setDefaultRequestProperty): Likewise.
2239         (getDefaultRequestProperty): Likewise.
2240         (guessContentTypeFromStream): Likewise.
2241         (getFileNameMap): Likewise.
2242         (setFileNameMap): Likewise.
2243         (setDoInput): Merged implementation and documentation with classpath.
2244         (setDoOutput): Likewise.
2245         (setAllowUserInteraction): Likewise.
2246         (setDefaultAllowUserInteraction): Likewise.
2247         (setContentHandlerFactory): Made it synchronized, merged documentation
2248         with classpath.
2249         (guessContentTypeFromName): Renamed argument fname to filename to
2250         match classpath, merged documentation with classpath.
2251
2252 2003-05-02  Michael Koch  <konqueror@gmx.de>
2253
2254         * java/net/JarURLConnection.java
2255         (JarURLConnection): Class documentation merged with classpath.
2256         (getJarFileURL): Moved and documentation merged with classpath.
2257         (getEntryName): Likewise.
2258         (JarURLConnection): Documentation merged with classpath.
2259         (getJarEntry): Likewise.
2260         (getJarFile): Likewise.
2261         * java/net/PlainDatagramSocketImpl.java:
2262         Class documentation moved.
2263         * java/net/URLConnection.java
2264         (fileNameMap): Moved and documentation merged with classpath.
2265         (factory): Likewise.
2266         (defaultAllowUserInteraction): Likewis.
2267         (defaultUseCaches): Likewise.
2268         (allowUserInteraction): Likewise.
2269         (connected): Likewise.
2270         (url): Likewise.
2271         (connect): Documentation merged with classpath.
2272         (getURL): Likewise.
2273         (getContentLength): Likewise.
2274         (getContentType): Likewise.
2275         (getContentEncoding): Likewise.
2276         (getExpiration): Likewise.
2277         (getDate): Likewise.
2278         (getLastModified): Likewise.
2279         (getHeaderField): Likewise.
2280         (getContent): Likewise.
2281         (getPermission): Likewise.
2282         (getInputStream): Likewise.
2283         (getOutputStream): Likewise.
2284         (toString): Likewise.
2285         (getDoInput): Likewise.
2286         (getDoOutput): Likewise.
2287         (setAllowUserInteraction): Likewise.
2288         (getAllowUserInteraction): Likewise.
2289         (setDefaultAllowUserInteraction): Likewise.
2290         (getDefaultAllowUserInteraction): Likewise.
2291         (setUseCaches): Likewise.
2292         (getUseCaches): Likewise.
2293         (setIfModifiedSince): Likewise.
2294         (getIfModifiedSince): Likewise.
2295         (setDefaultRequestProperty): Likewise.
2296         (getDefaultRequestProperty): Likewise.
2297         (setContentHandlerFactory): Likewise.
2298         (setFileNameMap): Likewise.
2299
2300 2003-05-02  Michael Koch  <konqueror@gmx.de>
2301
2302         * java/net/InetAddress.java:
2303         Merged class documentation with classpath.
2304         * java/net/JarURLConnection.java:
2305         Explicitely import all used classes.
2306         * java/net/URL.java:
2307         Reformatting.
2308         * java/net/ServerSocket.java,
2309         java/net/Socket.java:
2310         New versions from classpath.
2311
2312 2003-05-02  Michael Koch  <konqueror@gmx.de>
2313
2314         * gnu/java/nio/FileChannelImpl.java
2315         (read): New implementation.
2316         (implRead): New methods.
2317         (write): New implementation, call other write insteal of read method.
2318         (implWrite): New methods.
2319         (map): Added comment.
2320         (transferFrom): Implemented.
2321         (transferTo): Implemented.
2322         (lock): Added checks to throw exceptions.
2323         (truncate): Added check to throw exception.
2324         * gnu/java/nio/natFileChannelImpl.cc
2325         (implRead): New method.
2326         (implWrite): New method.
2327         * java/nio/ByteBuffer.java
2328         (hashCode): Fixed comment.
2329         (get): Fixed exception documentation.
2330         (put): Fixed exception documentation.
2331         * java/nio/CharBuffer.java:
2332         Added comment for later optimizations.
2333
2334 2003-04-30  Tom Tromey  <tromey@redhat.com>
2335
2336         PR libgcj/10582:
2337         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2338         Removed.
2339         (type::compatible): Use _Jv_IsAssignableFrom.
2340         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2341         (_Jv_IsAssignableFrom): Work even when source or target class is
2342         not prepared.
2343
2344 2003-04-30  Michael Koch  <konqueror@gmx.de>
2345
2346         * java/text/BreakIterator.java
2347         (clone): New method.
2348
2349 2003-04-30  Michael Koch  <konqueror@gmx.de>
2350
2351         * java/text/CollationElementIterator.java,
2352         java/text/CollationKey.java,
2353         java/text/RuleBasedCollator.java:
2354         Merged copyright and documentation from classpath and
2355         rearranged some code. No code changes done.
2356
2357 2003-04-30  Michael Koch  <konqueror@gmx.de>
2358
2359         * java/util/regex/Matcher.java
2360         (pattern): New member variable.
2361         (appendReplacement): New method.
2362         (appendTail): New method.
2363         (end): New method.
2364         (find): New method.
2365         (group): New method.
2366         (replaceFirst): Added documentation.
2367         (replaceAll): Added documentation.
2368         (groupCount): New method.
2369         (lookingAt): New method.
2370         (matches): New method.
2371         (reset): New method.
2372         (start): New method.
2373         * java/util/regex/Pattern.java
2374         (serialVersionUID): New constant.
2375         (CANON_EQ): New constant.
2376         (CASE_INSENSITIVE): New constant.
2377         (COMMENTS): New constant.
2378         (DOTALL): New constant.
2379         (MULTILINE): New constant.
2380         (UNICODE_CASE): New constant.
2381         (UNIX_LINES): New constant.
2382         (regex): New member variable.
2383         (flags): New member variable.
2384         (Pattern): New method.
2385         (compile): Documentation added.
2386         (flags): New method.
2387         (matches): Documentation added.
2388         (matcher): Documentation added.
2389         (split): Documentation added.
2390         (pattern): New method.
2391
2392 2003-04-30  Michael Koch  <konqueror@gmx.de>
2393
2394         * gnu/java/security/Engine.java,
2395         gnu/java/security/OID.java,
2396         gnu/java/security/der/BitString.java,
2397         gnu/java/security/der/DER.java,
2398         gnu/java/security/der/DERReader.java,
2399         gnu/java/security/der/DERValue.java,
2400         gnu/java/security/der/DERWriter.java,
2401         gnu/java/security/provider/DSAKeyFactory.java,
2402         gnu/java/security/provider/X509CertificateFactory.java,
2403         gnu/java/security/x509/X500DistinguishedName.java,
2404         gnu/java/security/x509/X509CRL.java,
2405         gnu/java/security/x509/X509CRLEntry.java,
2406         gnu/java/security/x509/X509Certificate.java,
2407         java/security/cert/CRLSelector.java,
2408         java/security/cert/CertPathBuilder.java,
2409         java/security/cert/CertPathBuilderResult.java,
2410         java/security/cert/CertPathBuilderSpi.java,
2411         java/security/cert/CertPathParameters.java,
2412         java/security/cert/CertPathValidator.java,
2413         java/security/cert/CertPathValidatorResult.java,
2414         java/security/cert/CertPathValidatorSpi.java,
2415         java/security/cert/CertSelector.java,
2416         java/security/cert/CertStore.java,
2417         java/security/cert/CertStoreParameters.java,
2418         java/security/cert/CertStoreSpi.java,
2419         java/security/cert/CollectionCertStoreParameters.java,
2420         java/security/cert/LDAPCertStoreParameters.java,
2421         java/security/cert/PKIXBuilderParameters.java,
2422         java/security/cert/PKIXCertPathBuilderResult.java,
2423         java/security/cert/PKIXCertPathChecker.java,
2424         java/security/cert/PKIXCertPathValidatorResult.java,
2425         java/security/cert/PKIXParameters.java,
2426         java/security/cert/PolicyNode.java,
2427         java/security/cert/PolicyQualifierInfo.java,
2428         java/security/cert/TrustAnchor.java,
2429         javax/security/auth/x500/X500Principal.java:
2430         New files from classpath.
2431         * gnu/java/io/ASN1ParsingException.java,
2432         gnu/java/io/Base64InputStream.java,
2433         gnu/java/security/der/DEREncodingException.java,
2434         gnu/java/security/provider/DSAParameters.java,
2435         gnu/java/security/provider/DSASignature.java,
2436         gnu/java/security/provider/Gnu.java,
2437         gnu/java/security/provider/GnuDSAPrivateKey.java,
2438         gnu/java/security/provider/GnuDSAPublicKey.java,
2439         java/security/AlgorithmParameterGenerator.java,
2440         java/security/AlgorithmParameters.java,
2441         java/security/KeyFactory.java,
2442         java/security/KeyPairGenerator.java,
2443         java/security/KeyStore.java,
2444         java/security/MessageDigest.java,
2445         java/security/SecureClassLoader.java,
2446         java/security/SecureRandom.java,
2447         java/security/Security.java,
2448         java/security/Signature.java,
2449         java/security/cert/Certificate.java,
2450         java/security/cert/CertificateFactory.java,
2451         java/security/cert/CertificateFactorySpi.java,
2452         java/security/cert/X509CRL.java,
2453         java/security/cert/X509Certificate.java,
2454         java/security/spec/DSAPublicKeySpec.java:
2455         New versions from classpath.
2456         * gnu/java/security/provider/DERReader.java,
2457         gnu/java/security/provider/DERWriter.java,
2458         java/security/Engine.java: Removed.
2459         * Makefile.am
2460         (java_source_files, javax_source_files): Added new files.
2461         * Makefile.in: Regenerated.
2462
2463 2003-04-29  Michael Koch  <konqueror@gmx.de>
2464
2465         * javax/swing/JTable.java
2466         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2467         (AUTO_RESIZE_LAST_COLUMN): New constant.
2468         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2469         (AUTO_RESIZE_OFF): New constant.
2470         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2471         (JTable): New method.
2472         (columnAdded): New method.
2473         (columnMarginChanged): New method.
2474         (columnMoved): New method.
2475         (columnRemoved): New method.
2476         (columnSelectionChanged): New method.
2477         (editingCanceled): New method.
2478         (editingStopped): New method.
2479         (getColumnModel): New method.
2480         (getPreferredScrollableViewportSize): New method.
2481         (getScrollableBlockIncrement): New method.
2482         (getScrollableTracksViewportHeight): New method.
2483         (getScrollableTracksViewportWidth): New method.
2484         (getScrollableUnitIncrement): New method.
2485         (getSelectedRow): New method.
2486         (getSelectionModel): New method.
2487         (tableChanged): New method.
2488         (setModel): New method.
2489         (setSelectionMode): New method.
2490         (setSelectionModel): New method.
2491         (setShowGrid): New method.
2492         (valueChanged): New method.
2493         * javax/swing/text/DefaultEditorKit.java
2494         (backwardAction): New constant.
2495         (beepAction): New constant.
2496         (beginAction): New constant.
2497         (beginLineAction): New constant.
2498         (beginParagraphAction): New constant.
2499         (beginWordAction): New constant.
2500         (copyAction): New constant.
2501         (cutAction): New constant.
2502         (defaultKeyTypedAction): New constant.
2503         (deleteNextCharAction): New constant.
2504         (deletePrevCharAction): New constant.
2505         (downAction): New constant.
2506         (endAction): New constant.
2507         (endLineAction): New constant.
2508         (endOfLineStringProperty): New constant.
2509         (endParagraphAction): New constant.
2510         (endWordAction): New constant.
2511         (forwardAction): New constant.
2512         (insertBreakAction): New constant.
2513         (insertContentAction): New constant.
2514         (insertTabAction): New constant.
2515         (nextWordAction): New constant.
2516         (pageDownAction): New constant.
2517         (pageUpAction): New constant.
2518         (pasteAction): New constant.
2519         (previousWordAction): New constant.
2520         (readOnlyAction): New constant.
2521         (selectAllAction): New constant.
2522         (selectionBackwardAction): New constant.
2523         (selectionBeginAction): New constant.
2524         (selectionBeginLineAction): New constant.
2525         (selectionBeginParagraphAction): New constant.
2526         (selectionBeginWordAction): New constant.
2527         (selectionDownAction): New constant.
2528         (selectionEndAction): New constant.
2529         (selectionEndLineAction): New constant.
2530         (selectionEndParagraphAction): New constant.
2531         (selectionEndWordAction): New constant.
2532         (selectionForwardAction): New constant.
2533         (selectionNextWordAction): New constant.
2534         (selectionPreviousWordAction): New constant.
2535         (selectionUpAction): New constant.
2536         (selectLineAction): New constant.
2537         (selectParagraphAction): New constant.
2538         (selectWordAction): New constant.
2539         (upAction): New constant.
2540         (writableAction): New constant.
2541
2542 2003-04-29  Michael Koch  <konqueror@gmx.de>
2543
2544         * java/util/PropertyPermission.java:
2545         New version from classpath
2546         * java/util/ResourceBundle.java:
2547         Partly merged from classpath
2548         (getObject): Reformated.
2549         (tryBundle): Set foundBundle = null if no bundle found.
2550
2551 2003-04-29  Michael Koch  <konqueror@gmx.de>
2552
2553         * javax/swing/AbstractListModel.java,
2554         javax/swing/DefaultBoundedRangeModel.java,
2555         javax/swing/DefaultSingleSelectionModel.java:
2556         New Versions from classpath.
2557
2558 2003-04-29  Michael Koch  <konqueror@gmx.de>
2559
2560         * java/awt/Window.java
2561         (show): Call super.show() instead of setVisible() to avoid endless
2562         loop.
2563         (hide): Call super.hide() instead of setVisible() to avoid endless
2564         loop.
2565
2566 2003-04-29  Michael Koch  <konqueror@gmx.de>
2567
2568         * java/util/zip/Deflater.java,
2569         java/util/zip/DeflaterOutputStream.java:
2570         Partly merged with classpath.
2571
2572 2003-04-27  Tom Tromey  <tromey@redhat.com>
2573
2574         * java/lang/natString.cc (_Jv_AllocString): Initialize
2575         cachedHashCode.
2576         (init): Likewise.
2577         (_Jv_NewStringUtf8Const): Likewise.
2578
2579 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2580
2581         * include/jvm.h: (_Jv_GetNbArgs) added
2582         (_Jv_GetSafeArg) added
2583         (_Jv_SetArgs) added
2584         * prims.cc: (_Jv_GetNbArgs) implemented
2585         (_Jv_GetSafeArg) implemented
2586         (_Jv_SetArgs) implemented
2587         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2588         setting _Jv_argc and _Jv_argv
2589         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2590         instead of _Jv_argv
2591         * java/lang/natRuntime.cc: (insertSystemProperties) use
2592         _Jv_GetSafeArg() instead of _Jv_argv
2593
2594 2003-04-23  Tom Tromey  <tromey@redhat.com>
2595
2596         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2597         required by this object.  Search superclasses to find required
2598         alignment.
2599         (get_alignment_from_class): Use alignment of type as it appears
2600         in a struct.
2601         (ALIGNOF): New macro.
2602         (struct aligner): New helper structure.
2603
2604 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2605
2606         * java/awt/Container.java (addImpl): Enable paint events if adding
2607         a lightweight to a heavyweight.
2608         (addNotify): Ensure that peer is created before
2609         addNotifyContainerChildren.
2610         (addNotifyContainerChildren): Enable paint events if a heavyweight
2611         container contains a lightweight.
2612
2613 2003-04-20  Tom Tromey  <tromey@redhat.com>
2614
2615         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2616         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2617         Classpath.
2618
2619 2003-04-19  Tom Tromey  <tromey@redhat.com>
2620
2621         * java/sql/Date.java, java/sql/DriverManager.java,
2622         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2623         Classpath.
2624
2625         * Makefile.in: Rebuilt.
2626         * Makefile.am (ordinary_java_source_files): Added new files.
2627         * java/security/AlgorithmParameterGenerator.java,
2628         java/security/AlgorithmParameters.java, java/security/Engine.java,
2629         java/security/Identity.java, java/security/IdentityScope.java,
2630         java/security/KeyFactory.java,
2631         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2632         java/security/MessageDigest.java, java/security/Policy.java,
2633         java/security/ProtectionDomain.java,
2634         java/security/SecureRandom.java, java/security/Security.java,
2635         java/security/Signature.java, java/security/SignatureSpi.java,
2636         java/security/SignedObject.java, java/security/Signer.java,
2637         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2638         java/security/spec/PSSParameterSpec.java,
2639         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2640         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2641         Classpath.
2642
2643 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2644
2645         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2646         (dispose): Null metrics.
2647         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2648         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2649         finalize.
2650         (finalize): Call dispose.
2651         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2652         (gcCachedCount): New field.
2653         (finalize): New method.
2654         (putGCInCache): New method.
2655         (getGCFromCache): New method.
2656         * gnu/gcj/xlib/GC.java (GC): Make protected.
2657         (clone): Get new GC from cache if possible.
2658         (create): New static method.
2659         (dispose): Save old GC in cache.
2660         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2661         deleting.
2662         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2663         is null.
2664         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2665         * java/awt/Container.java (visitChild): Dispose gfx2 when
2666         finished.
2667
2668 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2669
2670         * java/math/BigInteger.java (probablePrime): New.
2671         * java/math/BigDecimal.java (unscaledValue): New.
2672
2673 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2674
2675         * java/io/File.java (getAbsolutePath): On Windows, take care
2676         of paths like "C:", "G:foo\bar", etc.
2677         (getName): Make it work correctly on Windows.
2678         (getParent): Make it work correctly on Windows. For UNIX,
2679         fix bug that causes "/" to be returned as the parent of "/",
2680         instead of null as returned by Sun's JRE.
2681
2682         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2683
2684 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2685
2686         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2687         inner class.
2688         (CACHE_SIZE_PER_DISPLAY): New field
2689         (fontMetricsCache): New field
2690         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2691         loading ISO10646-1 fonts.
2692
2693 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2694
2695         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2696         characters.
2697         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2698         characters.
2699
2700 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2701
2702         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2703         floating point.
2704
2705 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2706
2707         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2708         installed libpthread is either linuxthreads with floating stacks or
2709         NPTL.
2710
2711 2003-04-14  Tom Tromey  <tromey@redhat.com>
2712
2713         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2714         of alignment.
2715
2716 2003-04-10  Tom Tromey  <tromey@redhat.com>
2717
2718         * verify.cc (pop64): Removed.
2719         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2720         exception if top-of-stack is narrow.
2721         (initialize_stack): Check to ensure that <init> is not static and
2722         <clinit> is.
2723
2724 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2725
2726         * java/io/ObjectStreamException
2727         * java/io/FileFilter
2728         * java/io/FilenameFilter
2729         * java/io/ObjectInput
2730         * java/io/ObjectOutput
2731         * java/io/ObjectStreamConstants
2732         Minor doc fixes, format fixes, spelling corrections, etc.
2733         * java/io/DataInput
2734         Corrected code samples in Javadocs to match reality
2735         * java/io/DataOutput
2736         * java/io/ObjectInputValidation
2737         Major documentation fixes - all Javadocs re-written or updated
2738
2739 2003-04-06  Michael Koch  <konqueror@gmx.de>
2740
2741         * java/net/URLConnection.java:
2742         Import classes directly.
2743         (URLConnection): Merged class documentation with classpath.
2744         (url): Moved, documentation from classpath added.
2745         (doInput): Moved, documentation from classpath added.
2746         (doOutput): Moved, documentation from classpath added.
2747         (allowUserInteraction): Moved.
2748         (useCaches): Moved, documentation from classpath added.
2749         (ifModifiedSince): Moved, documentation from classpath added.
2750         (connected): Moved, documentation from classpath added.
2751
2752 2003-04-06  Michael Koch  <konqueror@gmx.de>
2753
2754         * java/io/FileInputStream.java
2755         (skip): Renamed some variables to match classpath, added
2756         checks from classpath.
2757
2758 2003-03-31  Michael Koch  <konqueror@gmx.de>
2759
2760         * javax/swing/AbstractAction.java
2761         (AbstractAction): Reformatted.
2762         (serialVersionUID): New private member variable.
2763         * javax/swing/plaf/BorderUIResource.java
2764         (serialVersionUID): New private member variable.
2765         * javax/swing/plaf/basic/BasicLookAndFeel.java
2766         (serialVersionUID): New private member variable.
2767
2768 2003-03-31  Michael Koch  <konqueror@gmx.de>
2769
2770         * java/sql/Date.java
2771         (valueOf): Deprecated, reformatted.
2772         (toString): Deprecated, reformatted.
2773         * java/sql/Time.java
2774         (valueOf): Deprecated, reformatted.
2775         (toString): Deprecated, reformatted.
2776
2777 2003-03-31  Michael Koch  <konqueror@gmx.de>
2778
2779         * java/rmi/dgc/VMID.java
2780         (isUnique): Deprecated.
2781
2782 2003-03-31  Michael Koch  <konqueror@gmx.de>
2783
2784         * java/io/File.java
2785         (separator): Merged documentation from classpath.
2786         (separatorChar): Merged documentation from classpath.
2787         (pathSeparator): Merged documentation from classpath.
2788         (pathSeparatorChar): Merged documentation from classpath.
2789         (path): Merged documentation from classpath.
2790         (canRead): Merged documentation from classpath.
2791         (canWrite): Merged documentation from classpath.
2792         (createNewFile): Merged documentation from classpath.
2793         (delete): Merged documentation from classpath.
2794         (equals): Merged documentation from classpath.
2795         (exists): Merged documentation from classpath.
2796         (File): Renamed p to name to match classpath, merged documentation
2797         from classpath.
2798         (getAbsolutePath): Merged documentation from classpath.
2799         (getCanonicalPath): Merged documentation from classpath.
2800         (getCanonicalFile): Merged documentation from classpath.
2801         (getName): Merged documentation from classpath.
2802         (getParent): Merged documentation from classpath.
2803         (getParentFile): Merged documentation from classpath.
2804         (getPath): Merged documentation from classpath.
2805         (hashCode): Merged documentation from classpath.
2806         (isAbsolute): Merged documentation from classpath.
2807         (isDirectory): Merged documentation from classpath.
2808         (isFile): Merged documentation from classpath.
2809         (isHidden): Merged documentation from classpath.
2810         (lastModified): Merged documentation from classpath.
2811         (length): Merged documentation from classpath.
2812         (list): Merged documentation from classpath.
2813         (listFiles): Merged documentation from classpath.
2814         (toString): Merged documentation from classpath.
2815         (toURL): Merged documentation from classpath.
2816         (mkdir): Merged documentation from classpath.
2817         (mkdirs): Merged documentation from classpath.
2818         (createTempFile): Merged documentation from classpath.
2819         (setReadOnly): Merged documentation from classpath.
2820         (listRoots): Merged documentation from classpath.
2821         (compareTo): Merged documentation from classpath.
2822         (renameTo): Merged documentation from classpath.
2823         (setLastModified): Merged documentation from classpath.
2824         * java/io/PrintStream.java
2825         (auto_flush): Merged documentation from classpath.
2826         (PrintStream): Merged documentation from classpath.
2827         (checkError): Merged documentation from classpath.
2828         (setError): Merged documentation from classpath.
2829         (close): Merged documentation from classpath.
2830         (flush): Merged documentation from classpath.
2831         (print): Merged documentation from classpath.
2832         (println):  Merged documentation from classpath.
2833         (write): Renamed count to len to match classpath,
2834         merged documentation from classpath.
2835         * java/io/RandomAccessFile.java
2836         (readShort): Merged documentation from classpath.
2837         (readUnsignedByte): Merged documentation from classpath.
2838         (readUnsignedShort): Merged documentation from classpath.
2839         (readUTF): Merged documentation from classpath.
2840         (seek): Reformatted, merged documentation from classpath.
2841         (skipBytes): Renamed some variables to match classpath, reformatted,
2842         merged documentation from classpath.
2843         (write): Merged documentation from classpath.
2844         (writeBoolean): Merged documentation from classpath.
2845         (writeByte): Merged documentation from classpath.
2846         (writeShort): Merged documentation from classpath.
2847         (writeChar): Merged documentation from classpath.
2848         (writeInt): Merged documentation from classpath.
2849         (writeLong): Merged documentation from classpath.
2850         (writeFloat): Merged documentation from classpath.
2851         (writeDouble): Merged documentation from classpath.
2852         (writeBytes): Merged documentation from classpath.
2853         (writeChars): Merged documentation from classpath.
2854         (writeUTF): Reformatted.
2855         (getChannel): Reformatted.
2856
2857 2003-03-31  Michael Koch  <konqueror@gmx.de>
2858
2859         * java/awt/font/TextAttribute.java
2860         (readResolve): Throws java.io.InvalidObjectException.
2861
2862 2003-03-31  Michael Koch  <konqueror@gmx.de>
2863
2864         * java/rmi/server/LoaderHandler.java
2865         (loadClass): Deprecated.
2866         (getSecurityContext): Deprecated.
2867         * java/rmi/server/LogStream.java
2868         (getDefaultStream): Deprecated.
2869         (setDefaultStream): Deprecated.
2870         (getOutputStream): Deprecated.
2871         (setOutputStream): Deprecated.
2872         (write): Deprecated.
2873         (toString): Deprecated.
2874         (parseLevel): Deprecated.
2875         * java/rmi/server/Operation.java
2876         (Operation): Deprecated.
2877         (getOperation): Deprecated.
2878         (toString): Deprecated.
2879         * java/rmi/server/RemoteCall.java
2880         (getOutputStream): Deprecated.
2881         (releaseOutputStream): Deprecated.
2882         (getInputStream): Deprecated.
2883         (releaseInputStream): Deprecated.
2884         (getResultStream): Deprecated.
2885         (executeCall): Deprecated.
2886         (done): Deprecated.
2887         * java/rmi/server/RemoteRef.java
2888         (invoke): Deprecated.
2889         (newCall): Deprecated.
2890         (done): Deprecated.
2891         * java/rmi/server/RemoteStub.java
2892         (setRef): Deprecated.
2893         * java/rmi/server/Skeleton.java:
2894         No need to import java.lang.Exception explicitly.
2895         (dispatch): Deprecated.
2896         (getOperations): Deprecated.
2897
2898 2003-03-31  Michael Koch  <konqueror@gmx.de>
2899
2900         * java/rmi/dgc/VMID.java,
2901         java/rmi/registry/RegistryHandler.java,
2902         java/rmi/server/LogStream.java,
2903         java/rmi/server/Operation.java,
2904         java/rmi/server/RemoteCall.java,
2905         java/rmi/server/RemoteRef.java,
2906         java/rmi/server/RemoteStub.java:
2907         Reformatted.
2908
2909 2003-03-31  Michael Koch  <konqueror@gmx.de>
2910
2911         * javax/swing/AbstractCellEditor.java,
2912         javax/swing/AbstractListModel.java,
2913         javax/swing/ActionMap.java,
2914         javax/swing/BorderFactory.java,
2915         javax/swing/ButtonGroup.java,
2916         javax/swing/DefaultBoundedRangeModel.java,
2917         javax/swing/DefaultButtonModel.java,
2918         javax/swing/DefaultCellEditor.java,
2919         javax/swing/DefaultComboBoxModel.java,
2920         javax/swing/DefaultDesktopManager.java,
2921         javax/swing/DefaultListCellRenderer.java,
2922         javax/swing/DefaultSingleSelectionModel.java,
2923         javax/swing/InputMap.java,
2924         javax/swing/JComponent.java,
2925         javax/swing/JMenu.java,
2926         javax/swing/JSlider.java,
2927         javax/swing/KeyStroke.java,
2928         javax/swing/OverlayLayout.java,
2929         javax/swing/ScrollPaneLayout.java,
2930         javax/swing/SizeRequirements.java,
2931         javax/swing/UIManager.java,
2932         javax/swing/ViewportLayout.java,
2933         javax/swing/border/AbstractBorder.java,
2934         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2935         javax/swing/event/EventListenerList.java,
2936         javax/swing/table/AbstractTableModel.java,
2937         javax/swing/table/DefaultTableCellRenderer.java,
2938         javax/swing/table/DefaultTableColumnModel.java,
2939         javax/swing/table/DefaultTableModel.java,
2940         javax/swing/table/TableColumn.java,
2941         javax/swing/text/StyledEditorKit.java,
2942         javax/swing/tree/DefaultMutableTreeNode.java,
2943         javax/swing/tree/DefaultTreeModel.java,
2944         javax/swing/tree/DefaultTreeSelectionModel.java,
2945         javax/swing/tree/TreePath.java,
2946         javax/swing/undo/AbstractUndoableEdit.java,
2947         javax/swing/undo/StateEdit.java,
2948         javax/swing/undo/StateEditable.java,
2949         javax/swing/undo/UndoableEditSupport.java:
2950         Merges from classpath.
2951
2952 2003-03-30  Tom Tromey  <tromey@redhat.com>
2953
2954         * java/lang/String.java (data, boffset, count): Documented.
2955         (String(byte[],String)): Reformatted.
2956         (String(byte[])): Likewise.
2957         (lastIndexOf(int)): Likewise.
2958         (lastIndexOf(String)): Likewise.
2959         (substring(int)): Renamed argument to match Classpath.
2960         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2961
2962         * java/lang/String.java: Miscellaneous minor formatting changes
2963         to match Classpath more closely.
2964
2965 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2966             Tom Tromey  <tromey@redhat.com>
2967
2968         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2969         (init()): Removed.
2970         (charAt): Put index in exception.
2971         (contentEquals): New method.
2972         Include StringBuffer.h.
2973         * java/lang/String.java (cachedHashCode): New field.
2974         (String()): Follow classpath implementation.
2975         (init()): Removed.
2976         (contentEquals): Declare.
2977         (subSequence): Don't declare IndexOutIfBoundsException in throws
2978         clause.
2979         (matches, replaceFirst, replaceAll, split): New methods from
2980         Classpath.
2981
2982 2003-03-29  Tom Tromey  <tromey@redhat.com>
2983
2984         * java/lang/String.java: Reordered to follow Classpath; merged in
2985         javadoc.
2986
2987         * java/text/MessageFormat.java: Removed some whitespace.
2988
2989         * Makefile.in: Rebuilt.
2990         * Makefile.am (awt_java_source_files): Added new files.
2991         * gnu/javax/rmi/PortableServer.java,
2992         gnu/javax/rmi/CORBA/DelegateFactory.java,
2993         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2994         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2995         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2996         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2997         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2998         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2999         javax/rmi/PortableRemoteObject.java,
3000         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3001         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3002         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3003         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3004         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3005         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3006
3007         * java/lang/natClass.cc (newInstance): Put method name in
3008         exception.
3009         (getConstructor): Likewise.
3010         (getDeclaredConstructor): Likewise.
3011         (getPrivateMethod): Likewise.
3012
3013 2003-03-28  Tom Tromey  <tromey@redhat.com>
3014
3015         * java/lang/reflect/Proxy.java: New version from Classpath.
3016         * java/lang/Package.java: New version from Classpath.
3017
3018 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
3019
3020         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3021         * configure: Regenerate.
3022
3023 2003-03-28  Michael Koch  <konqueror@gmx.de>
3024
3025         * java/io/File.java:
3026         Import needed classes instead of whole packages, merged class
3027         documentation with classpath, moved constants and variables to top of
3028         class.
3029         * java/io/PrintStream.java:
3030         Merged class documentation with classpath, moved constants and
3031         variables to top of class.
3032         * java/io/RandomAccessFile.java
3033         (RandomAccessFile): Merged with classpath.
3034         (read): Merged with classpath).
3035         (read*): Reformatted.
3036
3037 2003-03-28  Michael Koch  <konqueror@gmx.de>
3038
3039         * java/io/FileDescriptor.java
3040         (finalize): Throws Throwable, not IOException.
3041         * java/io/ObjectOutputStream.java
3042         (PutField.put): Doesnt throws anything.
3043
3044 2003­03-28  Michael Koch  <konqueror@gmx.de>
3045
3046         * java/io/FileOutputStream.java:
3047         Merged class documentation and authors with classpath.
3048         (FileOutputStream): Partly merged with classpath.
3049         (write): Merged with classpath.
3050         (getChannel): Make it synchronized instead of explicit block in this
3051         method.
3052         * java/io/RandomAccessFile.java:
3053         Merged class documentation and authors with classpath.
3054
3055 2003-03-26  Tom Tromey  <tromey@redhat.com>
3056
3057         * java/lang/natRuntime.cc (insertSystemProperties): Set
3058         gnu.classpath.home.url.
3059         * Makefile.in: Rebuilt.
3060         * Makefile.am: Define LIBDIR.
3061
3062 2003-03-25  Michael Koch  <konqueror@gmx.de>
3063
3064         * java/io/FileInputStream.java
3065         (read): Renamed b to buf and off to offset.
3066         * java/io/FileOutputStream.java
3067         (ch): Documentation added.
3068         (FileOutputStream): Documentation added.
3069         (getFD): Documentation added.
3070         (write): Documentation added.
3071         (close): Documentation added.
3072         (getChannel): Documentation added.
3073
3074 2003-03-24  Michael Koch  <konqueror@gmx.de>
3075
3076         * java/io/DataOutputStream.java
3077         (write): Merged from classpath.
3078         * java/io/File.java:
3079         Merged copyrigth with classpath.
3080         * java/io/FileInputStream.java
3081         (getChannel): Made it synchronized instead of using a synchronized
3082         block.
3083         * java/io/FileOutputStream.java: Reformatted.
3084         * java/io/InputStreamReader.java
3085         (InputStreamReader): Renamed enc to encoding_name.
3086         (close): Merged documentation from classpath.
3087         (getEncoding): Merged documentation from classpath.
3088         (ready): Merged documentation from classpath.
3089         (read): Merged documentation from classpath.
3090         * java/io/LineNumberReader.java
3091         (lineNumber): Made it private.
3092         (LineNumberReader): Use Constant instead of a direct value.
3093         * java/io/OutputStreamWriter.java
3094         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3095         documentation from classpath.
3096         (close): Merged documentation from classpath.
3097         (flush): Merged documentation from classpath.
3098         (write): Merged documentation from classpath.
3099         * java/io/PrintStream.java: Reformatted.
3100
3101 2003-03-24  Michael Koch  <konqueror@gmx.de>
3102
3103         * javax/swing/text/ComponentView.java
3104         (getComponent): Must be final.
3105         * javax/swing/tree/DefaultTreeCellRenderer.java:
3106         Reformatted.
3107         * javax/swing/undo/StateEditable.java:
3108         Reformatted.
3109
3110 2003-03-24  Michael Koch  <konqueror@gmx.de>
3111
3112         * java/rmi/activation/ActivationInstantiator.java:
3113         Reformatted.
3114         * java/rmi/activation/Activator.java:
3115         Reformatted.
3116         * java/rmi/registry/RegistryHandler.java:
3117         Remerged from classpath.
3118
3119 2003-03-24  Michael Koch  <konqueror@gmx.de>
3120
3121         * java/util/Date.java:
3122         Fixed documentation starting tag to make javadoc happy.
3123         * java/util/regex/Pattern.java
3124         (Pattern): Implements Serializable.
3125         * java/util/PatternSyntaxException.java
3126         (serialVersionUID): New member variable.
3127
3128 2003-03-24  Michael Koch  <koqnueror@gmx.de>
3129
3130         * java/awt/ContainerOrderFocusTraversalPolicy.java
3131         (getFirstComponent): Implemented.
3132         (getLastComponent): Implemented.
3133         (getDefaultComponent): Implemented.
3134         (setImplicitDownCycleTraversal): Fixed implementation.
3135         * java/awt/Robot.java
3136         (Robot): Added documentation.
3137         * java/awt/Toolkit.java
3138         (getFontList): Deprecated.
3139         (getFontMetrics): Deprecated.
3140         (getPrintJob): Added documentation.
3141         (getSystemSelection): Added documentation.
3142         (getLockingKeyState): Added documentation.
3143         (setLockingKeyState): Added documentation.
3144         (createCustomCursor): Added documentation.
3145         (getBestCursorSize): Added documentation.
3146         (getMaximumCursorColors): Added documentation.
3147         (isFrameStateSupported): Added documentation.
3148
3149 2003-03-24  Michael Koch  <konqueror@gmx.de>
3150
3151         * java/io/RandomAccessFile.java:
3152         More little merges with classpath. No code changes.
3153
3154 2003-03-24  Michael Koch  <konqueror@gmx.de>
3155
3156         * java/net/natInetAddressNoNet.cc:
3157         Include stddef.h.
3158         * java/net/natPlainDatagramSocketImplNoNet.cc:
3159         Fixed inlcude of java/net/DatagramPacket.h.
3160         * java/net/natPlainSocketImplNoNet.cc:
3161         Include some missing classes.
3162
3163 2003-03-24  Michael Koch  <konqueror@gmx.de>
3164
3165         * java/awt/dnd/DropTarget.java
3166         (DropTargetAutoScroller): According to the online documentation, this
3167         is protected, but in reality it is public.
3168         * java/awt/dnd/DropTargetContext.java
3169         (TransferableProxy): According to the online documentation, this
3170         is protected, but in reality it is public.
3171
3172 2003-03-24  Michael Koch  <konqueror@gmx.de>
3173
3174         * java/io/DataInputStream.java
3175         (): Wrapped documentation line.
3176         (): Fixed @return tag.
3177         * java/io/DataOutputStream.java
3178         (written): Moved to top of class.
3179         (all methods): Merged documentation from classpath.
3180         * java/io/File.java:
3181         Merged copyright year with classpath.
3182         * java/io/FileInputStream.java
3183         (all methods): Merged documentation from classpath.
3184         * java/io/LineNumberReader.java
3185         (getLineNumber): Fixed @return tag.
3186         * java/io/ObjectInputStream.java.
3187         Reformatted.
3188         * java/io/ObjectOutputStream.java:
3189         Reformatted, fixed some @see tags.
3190         * java/io/OutputStreamWriter.java:
3191         Deleted empty line.
3192         * java/io/Writer.java:
3193         Reformatted.
3194
3195 2003-03-24  Michael Koch  <konqueror@gmx.de>
3196
3197         * java/awt/Frame.java
3198         (DEFAULT_CURSOR): Fixed @deprecated tag.
3199         (setCursor): Fixed @deprecated tag.
3200
3201 2003-03-24  Michael Koch  <konqueror@gmx.de>
3202
3203         * java/beans/beancontext/BeanContextEvent.java:
3204         Reformated.
3205
3206 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3207
3208         * java/lang/natStringBuffer.cc (regionMatches): New function.
3209         * java/lang/String.java (count): Now package-private.
3210         * java/lang/StringBuffer.java: Merged with Classpath.
3211
3212 2003-03-23  Michael Koch  <konqueror@gmx.de>
3213
3214         * java/io/BufferedOutputStream.java:
3215         Reformated.
3216         * java/io/BufferedReader.java:
3217         Reformated.
3218         * java/io/ByteArrayOutputStream.java
3219         (size): Fixed @see tag.
3220         * java/io/CharArrayWriter.java
3221         (size): Fixed @see tag.
3222         * java/io/DataInput.java:
3223         Reformated.
3224         * java/io/DataOutput.java:
3225         Reformated.
3226         * java/io/DataOutputStream.java:
3227         Merged copyright years with classpath.
3228         * java/io/Externalizable.java:
3229         Reformated.
3230         * java/io/FileFilter.java:
3231         Reformated.
3232         * java/io/FileInputStream.java:
3233         Merged copyright years with classpath.
3234         * java/io/FileOutputStream.java:
3235         Merged copyright years with classpath.
3236         * java/io/FilePermission.java
3237         (FilePermission): Replaced @XXX with FIXME:.
3238         * java/io/FileWriter.java:
3239         Reformated.
3240         * java/io/FilenameFilter.java:
3241         Reformated.
3242         * java/io/FilterInputStream.java:
3243         Reformated.
3244         * java/io/FilterOutputStream.java:
3245         Reformated.
3246         * java/io/FilterReader.java:
3247         Reformated.
3248         * java/io/FilterWriter.java:
3249         Reformated.
3250         * java/io/LineNumberInputStream.java
3251         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3252         happy.
3253         (getLineNumber): Fixed @return tag.
3254         * java/io/ObjectInput.java:
3255         Reformated.
3256         * java/io/ObjectOutput.java:
3257         Reformated.
3258         * java/io/ObjectStreamClass.java:
3259         Reformated.
3260         * java/io/PrintStream.java:
3261         Merged copyright years with classpath.
3262         * java/io/PushbackReader.java
3263         (PushbackReader): Replaced @code with @param.
3264         * java/io/SerializablePermission.java:
3265         Reformated.
3266         * java/io/StreamTokenizer.java
3267         (resetSyntax): Fixed @see tag.
3268
3269 2003-03-22  Richard Henderson  <rth@redhat.com>
3270
3271         * sysdep/ia64/locks.h: Include ia64intrin.h.
3272         (compare_and_swap): Use __sync_bool_compare_and_swap.
3273         (compare_and_swap_release): Expose ar.ccv assignment.
3274
3275 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3276
3277         * include/posix.h: Add suffix for darwin dynamic libraries.
3278
3279 2003-03-21  Michael Koch  <konqueror@gmx.de>
3280
3281         * javax/swing/Action.java
3282         (ACCELERATOR_KEY): New constant.
3283         (ACTION_COMMAND_KEY): Likewise.
3284         (MNEMONIC_KEY): Likewise.
3285         * javax/swing/UnsupportedLookAndFeelException.java
3286         (UnsupportedLookAndFeelException): Must be public.
3287         * javax/swing/WindowConstants.java
3288         (EXIT_ON_CLOSE): New constant.
3289         * javax/swing/text/BadLocationException.java
3290         (offset): New member variable.
3291         (BadLocationException): New implementation, documentation added.
3292         (offsetRequested): New method.
3293         * javax/swing/text/Caret.java:
3294         Reformated.
3295         * javax/swing/text/Document.java:
3296         Reformated.
3297
3298 2003-03-21  Michael Koch  <konqueror@gmx.de>
3299
3300         * java/rmi/activation/Activatable.java
3301         (serialVersionUID): New member variable.
3302         * java/rmi/activation/ActivationGroup.java
3303         (serialVersionUID): New member variable.
3304         * java/rmi/activation/ActivationGroupDesc.java
3305         (serialVersionUID): New member variable.
3306         * java/rmi/registry/Registry.java:
3307         Reformated.
3308         (Registry): Deprecated.
3309         * java/rmi/server/LoaderHandler.java
3310         Reformated.
3311         (LoaderHandler): Deprecated.
3312         * java/rmi/server/LogStream.java
3313         Reformated.
3314         (LogStream): Deprecated.
3315         * java/rmi/server/Operation.java
3316         (Operation): Deprecated.
3317         * java/rmi/server/RMIFailureHandler.java:
3318         Reformated.
3319         * java/rmi/server/RMISocketFactory.java:
3320         Reformated.
3321         * java/rmi/server/RemoteCall.java
3322         (RemoteCall): Deprecated.
3323         * java/rmi/server/RemoteStub.java:
3324         Reformated.
3325         * java/rmi/server/Skeleton.java
3326         Reformated.
3327         (Skeleton): Deprecated.
3328
3329 2003-03-21  Michael Koch  <konqueror@gmx.de>
3330
3331         * java/io/LineNumberReader.java
3332         (LineNumberReader): Merged documentation with classpath.
3333         (getLineNumber): Likewise.
3334         (setLineNumber): Likewise.
3335         (mark): Likewise.
3336         (reset): Likewise.
3337         (read): Likewise.
3338         (readLine): Likewise.
3339         (skip): Likewise.
3340
3341 2003-03-21  Michael Koch  <konqueror@gmx.de>
3342
3343         * java/rmi/RMISecurityManager.java
3344         (checkAccept): Removed.
3345         (checkAccess): Likewise.
3346         (checkAccess): Likewise.
3347         (checkAwtEventQueueAccess): Likewise.
3348         (checkConnect): Likewise.
3349         (checkCreateClassLoader): Likewise.
3350         (checkDelete): Likewise.
3351         (checkExec): Likewise.
3352         (checkExit): Likewise.
3353         (checkLink): Likewise.
3354         (checkListen): Likewise.
3355         (checkMemberAccess): Likewise.
3356         (checkMulticast): Likewise.
3357         (checkPackageAccess): Likewise.
3358         (checkPackageDefinition): Likewise.
3359         (checkPermission): Likewise.
3360         (checkPrintJobAccess): Likewise.
3361         (checkPropertiesAccess): Likewise.
3362         (checkPropertyAccess): Likewise.
3363         (checkRead): Likewise.
3364         (checkSecurityAccess): Likewise.
3365         (checkSetFactory): Likewise.
3366         (checkSystemClipboardAccess): Likewise.
3367         (checkTopLevelWindow): Likewise.
3368         (checkWrite): Likewise.
3369
3370 2003-03-20  Michael Koch  <konqueror@gmx.de>
3371
3372         * gnu/java/nio/FileChannelImpl.java
3373         (address): Removed.
3374         (map_address): New member variable.
3375         (length): Make it package private.
3376         (fd): Make it package private.
3377         (buf): Make it package private.
3378         (file_obj): Make it package private.
3379         (FileChannelImpl): New constructor.
3380         (nio_mmap_file): Use RawData instead of long.
3381         (nio_munmap_file): Use RawData instead of long.
3382         (nio_msync): Use RawData instead of long.
3383         (implCloseChannel): New implementation using map_address.
3384         (read): Reformated.
3385         (map): Implemented.
3386         (create_direct_mapped_buffer): Implemented, use RawData, throws
3387         IOException.
3388         (force): Use map_address instead of address.
3389         * gnu/java/nio/MappedByteFileBuffer.java
3390         (address): Removed.
3391         (map_address): New member variable.
3392         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3393         (several methods): Use map_address instead of address, replaced long
3394         with RawData where appropriate.
3395         * gnu/java/nio/natFileChannelImpl.cc
3396         (nio_mmap_file): Replaced long with RawData.
3397         (nio_munmap_file): Replaced long with RawData.
3398         (nio_msync): Replaced long with RawData.
3399         * gnu/java/nio/natMappedByteFileBuffer.cc
3400         (several methods): Replaced long with RawData where appropriate.
3401
3402 2003-03-20  Michael Koch  <konqueror@gmx.de>
3403
3404         * java/net/InetAddress.java,
3405         java/net/JarURLConnection.java,
3406         java/net/PlainDatagramSocketImpl.java,
3407         java/net/PlainSocketImpl.java,
3408         java/net/URLConnection.java:
3409         Merged copyright statements with classpath for easier merging.
3410
3411 2003-03-20  Michael Koch  <konqueror@gmx.de>
3412
3413         * java/io/FileInputStream.java
3414         (getChannel): New implementation.
3415         * java/io/FileOutputStream.java
3416         (ch): New member variable.
3417         (getChannel): Implemented.
3418         * java/io/RandomAccessFile.java
3419         (RandomAccessFile): Throws FileNotFoundException instead of
3420         IOException.
3421         (getChannel): New method.
3422         (ch): New member variable.
3423
3424 2003-03-20  Michael Koch  <konqueror@gmx.de>
3425
3426         * java/io/DataOutputStream.java,
3427         java/io/File.java,
3428         java/io/FileInputStream.java,
3429         java/io/FileOutputStream.java,
3430         java/io/InputStreamReader.java,
3431         java/io/LineNumberReader.java,
3432         java/io/OutputStreamWriter.java,
3433         java/io/PrintStream.java,
3434         java/io/RandomAccessFile.java:
3435         Merged copyright statements with classpath for easier merging.
3436
3437 2003-03-19  Michael Koch  <konqueror@gmx.de>
3438
3439         * java/lang/Process.java:
3440         Merged from classpath.
3441
3442 2003-03-19  Michael Koch  <konqueror@gmx.de>
3443
3444         * java/io/FileOutputStream.java
3445         (FileOutputStream): New constructor, merged from classpath.
3446         * java/io/FileWriter.java
3447         (FileWriter): New constructor, merged from classpath.
3448
3449 2003-03-18  Michael Koch  <konqueror@gmx.de>
3450
3451         * java/awt/ScrollPane.java
3452         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3453         (getViewportSize): Likewise.
3454         (addNotify): Likewise.
3455         (removeNotify): Likewise.
3456         * java/awt/ScrollPaneAdjustable.java
3457         (ScrollPaneAdjustable): No longer extends Scrollbar.
3458         * java/beans/beancontext/BeanContextServices.java:
3459         Reformated.
3460         (getService): Added throws TooManyListenersException;
3461         * java/beans/beancontext/BeanContextServicesSupport.java:
3462         Reformated.
3463
3464 2003-03-18  Michael Koch  <konqueror@gmx.de>
3465
3466         * java/io/BufferedOutputStream.java,
3467         java/io/DataInput.java,
3468         java/io/DataInputStream.java,
3469         java/io/DataOutput.java,
3470         java/io/Externalizable.java:
3471         More merges from classpath.
3472
3473 2003-03-18  Michael Koch  <konqueror@gmx.de>
3474
3475         * configure.in: Fixed links to platform dependant java.net files.
3476         * configure: Regenerated.
3477         * java/net/natInetAddress.cc,
3478         java/net/natNetworkInterface.cc,
3479         java/net/natPlainDatagramSocketImpl.cc,
3480         java/net/natPlainSocketImpl.cc:
3481         Removed.
3482
3483 2003-03-18  Michael Koch  <konqueror@gmx.de>
3484
3485         * configure.in: Create links to architecture dependent files,
3486         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3487         * configure: Regenerated.
3488         * java/net/natInetAddressNoNet.cc,
3489         java/net/natInetAddressPosix.cc,
3490         java/net/natInetAddressWin32.cc,
3491         java/net/natNetworkInterfaceNoNet.cc,
3492         java/net/natNetworkInterfacePosix.cc,
3493         java/net/natNetworkInterfaceWin32.cc,
3494         java/net/natPlainDatagramSocketImplNoNet.cc,
3495         java/net/natPlainDatagramSocketImplPosix.cc,
3496         java/net/natPlainDatagramSocketImplWin32.cc,
3497         java/net/natPlainSocketImplNoNet.cc,
3498         java/net/natPlainSocketImplPosix.cc,
3499         java/net/natPlainSocketImplWin32.cc: New files.
3500
3501 2003-03-18  Michael Koch  <konqueror@gmx.de>
3502
3503         * java/io/BufferedReader.java,
3504         java/io/BufferedWriter.java,
3505         java/io/ByteArrayOutputStream.java,
3506         java/io/FileFilter.java,
3507         java/io/FilePermission.java,
3508         java/io/FileReader.java,
3509         java/io/FileWriter.java,
3510         java/io/FilenameFilter.java,
3511         java/io/FilterInputStream.java,
3512         java/io/FilterOutputStream.java,
3513         java/io/FilterReader.java,
3514         java/io/FilterWriter.java,
3515         java/io/ObjectInput.java,
3516         java/io/ObjectInputValidation.java,
3517         java/io/ObjectOutput.java,
3518         java/io/ObjectStreamField.java,
3519         java/io/PipedInputStream.java,
3520         java/io/PipedReader.java,
3521         java/io/PrintWriter.java,
3522         java/io/PushbackReader.java,
3523         java/io/Reader.java,
3524         java/io/SerializablePermission.java,
3525         java/io/StringReader.java,
3526         java/io/Writer.java:
3527         Merged from classpath.
3528
3529 2003-03-17  Michael Koch  <konqueror@gmx.de>
3530
3531         * java/awt/ScrollPaneAdjustable.java:
3532         Compile fixes.
3533         
3534 2003-03-17  Michael Koch  <konqueror@gmx.de>
3535
3536         * java/net/DatagramSocket.java
3537         (connect): Fixed comment.
3538         * java/nio/ByteBuffer.java
3539         (hasArray): Fixed comment.
3540
3541 2003-03-17  Michael Koch  <konqueror@gmx.de>
3542
3543         * java/beans/Beans.java:
3544         Explicitely import classes not packages.
3545         * java/beans/FeatureDescriptor.java
3546         (preferred): New member variable.
3547         (isPreferred): New method.
3548         (setPreferred): New method.
3549         * java/beans/PropertyEditorManager.java:
3550         Explicitely import used classes.
3551         * java/beans/beancontext/BeanContextChild.java:
3552         Added line wrapping.
3553         * java/beans/beancontext/BeanContextChildSupport.java:
3554         Reindented.
3555         * java/beans/beancontext/BeanContextEvent.java:
3556         Reindented.
3557
3558 2003-03-17  Michael Koch  <konqueror@gmx.de>
3559
3560         * java/awt/Dialog.java
3561         (Dialog): New constructor, changed implementations, added
3562         documentation.
3563         * java/awt/ScrollPaneAdjustable.java
3564         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3565         Serializable.
3566         (serialVersionUID): New member variable.
3567         (sp): New member variable.
3568         (orientation): New member variable.
3569         (value): New member variable.
3570         (minimum): New member variable.
3571         (maximum): New member variable.
3572         (visibleAmount): New member variable.
3573         (unitIncrement): New member variable.
3574         (blockIncrement): New member variable.
3575         (AdjustmentListener): New member variable.
3576         (ScrollPaneAdjustable): New implementation.
3577         (addAdjustmentListener): New method.
3578         (removeAdjustmentListener): New method.
3579         (getAdjustmentListeners): New method.
3580         (getBlockIncrement): New method.
3581         (getMaximum): New method.
3582         (getMinimum): New method.
3583         (getOrientation): New method.
3584         (getUnitIncrement): New method.
3585         (getValue): New method.
3586         (getVisibleAmount): New method.
3587         (setBlockIncrement): New method.
3588         (setMaximum): Implemented.
3589         (setMinimum): Implemented.
3590         (setUnitIncrement): New method.
3591         (setValue): New method.
3592         (setVisibleAmount): Implemented. 
3593         (paramString): New stubbed method.
3594         * java/awt/Window.java
3595         (show): Call setVisible().
3596         (hide): Call setVisible().
3597         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3598         and WINDOW_STATE_CHANGED.
3599         (processWindowFocusEvent): New method.
3600         (processWindowStateEvent): New method.
3601         (postEvent): Deprecated.
3602         (applyResourceBundle): Deprecated.
3603         * java/awt/datatransfer/DataFlavor.java
3604         (DataFlavor): Doesn't thow ClassNotFoundException.
3605
3606 2003-03-17  Michael Koch
3607
3608         * javax/print/attribute/Attribute.java,
3609         javax/print/attribute/AttributeSet.java,
3610         javax/print/attribute/PrintRequestAttributeSet.java:
3611         New files.
3612         * Makefile.am
3613         (javax_source_files): Added new files:
3614         javax/print/attribute/Attribute.java
3615         javax/print/attribute/AttributeSet.java
3616         javax/print/attribute/PrintRequestAttributeSet.java
3617         * Makefile.in: Regenerated.
3618
3619 2003-03-17  Michael Koch
3620
3621         * javax/print/attribute/Attribute.java,
3622         javax/print/attribute/AttributeSet.java,
3623         javax/print/attribute/PrintRequestAttributeSet.java:
3624         New files.
3625         * Makefile.am
3626         (awt_java_source_files): Added new files:
3627         javax/print/attribute/Attribute.java
3628         javax/print/attribute/AttributeSet.java
3629         javax/print/attribute/PrintRequestAttributeSet.java
3630         * Makefile.in: Regenerated.
3631
3632 2003-03-16  Tom Tromey  <tromey@redhat.com>
3633
3634         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3635         Include platform.h.
3636         * java/lang/natRuntime.cc (insertSystemProperties): Use
3637         _Jv_platform_path_separator.
3638         (nativeGetLibname): Use _Jv_platform_file_separator.
3639         (_load): Use _Jv_platform_onload_names.
3640         (onload_names): New global.
3641         * include/win32.h (_Jv_platform_file_separator): New define.
3642         (_Jv_platform_path_separator): Likewise.
3643         (_Jv_platform_onload_names): Likewise.
3644         (_Jv_platform_ffi_abi): Likewise.
3645         * include/posix.h (_Jv_platform_file_separator): New define.
3646         (_Jv_platform_path_separator): Likewise.
3647         (_Jv_platform_onload_names): Likewise.
3648         (_Jv_platform_ffi_abi): Likewise.
3649
3650 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3651
3652         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3653
3654 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3655
3656         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3657         hierarchy loop.
3658         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3659         list to Object,ObjectStreamClass, moved callReadMethod code up into
3660         readObject and added Class argument to all setXxxField calls.
3661         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3662         consistent with ObjectOutputStream and to facilitate caching the
3663         Method in the future.
3664         (setBooleanField): Added Class argument.
3665         (setByteField): Likewise.
3666         (setCharField): Likewise.
3667         (setDoubleField): Likewise.
3668         (setFloatField): Likewise.
3669         (setIntField): Likewise.
3670         (setLongField): Likewise.
3671         (setShortField): Likewise.
3672         (setObjectField): Likewise.
3673         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3674         class hierarchy loop.
3675         (defaultWriteObject): Call writeFields with new argument list.
3676         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3677         list to Object,ObjectStreamClass, moved callWriteMethod up into
3678         writeObject and added Class argument to all getXxxField calls.
3679         (callWriteMethod): Added ObjectStreamClass argument to be able to
3680         get the proper class to call getMethod on (each class can have (or
3681         not have) its own writeObject method).
3682         (getBooleanField): Added Class argument.
3683         (getByteField): Likewise.
3684         (getCharField): Likewise.
3685         (getDoubleField): Likewise.
3686         (getFloatField): Likewise.
3687         (getIntField): Likewise.
3688         (getLongField): Likewise.
3689         (getShortField): Likewise.
3690         (getObjectField): Likewise.
3691         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3692         facilitate caching the Method object in the future.
3693
3694 2003-03-12  Andreas Schwab  <schwab@suse.de>
3695
3696         * configure.in: Avoid trailing /. in toolexeclibdir.
3697         * configure: Rebuilt.
3698
3699 2003-03-11  Michael Koch  <konqueror@gmx.de>
3700
3701         * gnu/java/nio/ByteBufferImpl.java
3702         (putInt): Use limit() instead of limit.
3703         * gnu/java/nio/CharBufferImpl.java
3704         (slice): Fixed implementation.
3705         (subSequence): Better bounds checking.
3706         * gnu/java/nio/MappedByteFileBuffer.java:
3707         Import all needed classes directly.
3708         * java/nio/ByteBuffer.java
3709         (hashCode): New dummy method.
3710         * java/nio/CharBuffer.java
3711         (array_offset): New member variable.
3712         (hasArray): Fixed documentation.
3713         (arrayOffset): Return array_offset.
3714
3715 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3716
3717         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3718         setter; made return value of getter const char* instead of char*
3719         * prims.cc: removed all references to _Jv_ThisExecutable().
3720         These are in the platform-specific sections now.
3721         * posix.cc: define platform-specific _Jv_ThisExecutable().
3722         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3723         * win32.cc: define platform-specific _Jv_ThisExecutable()
3724         using GetModuleFilename()
3725         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3726         to argv[0] instead of _Jv_ThisExecutable()
3727
3728 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3729
3730         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3731         that is set if we are using addr2name.awk instead of addr2line.
3732         (NameFinder): Set usingAddr2name if using addr2name.awk.
3733         (getExternalLabel): New native method to convert a method 
3734         name to an external label.
3735         (lookup): Convert name given by addr2line to an external label
3736         before demangling.
3737
3738         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3739         constant representing the prefix attached to method names to
3740         convert them to an external label.
3741         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3742         using LABEL_PREFIX.
3743
3744 2003-03-10  Tom Tromey  <tromey@redhat.com>
3745
3746         * Makefile.in: Rebuilt.
3747         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3748         (JC1FLAGS): Removed -Wno-deprecated.
3749
3750 2003-03-10  Michael Koch  <konqueror@gmx.de>
3751
3752         * java/nio/ByteOrder.java
3753         (nativeOrder): Working implementation, added documentation.
3754         (toString): Added documentation.
3755
3756 2003-03-10  Michael Koch  <konqueror@gmx.de>
3757
3758         * java/net/DatagramSocket.java,
3759         java/net/MulticastSocket.java,
3760         java/net/Socket.java,
3761         java/net/URL.java,
3762         java/net/URLConnection.java:
3763         Fixed some documentation tags to make javadoc and friends happy.
3764
3765 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3766
3767         * java/beans/beancontext/BeanContextServicesSupport.java,
3768         java/beans/beancontext/BeanContextSupport.java: New files.
3769         * Makefile.am
3770         (awt_source_files): Added new files.
3771         * Makefile.in: Regenerated.
3772
3773 2003-03-10  Michael Koch  <konqueror@gmx.de>
3774
3775         * java/awt/FocusTraversalPolicy.java
3776         (FocusTraversalPolicy): Documentation added.
3777         (getComponentAfter): Documentation added.
3778         (getComponentBefore): Documentation added.
3779         (getFirstComponent): Documentation added.
3780         (getLastComponent): Documentation added.
3781         (getDefaultComponent): Documentation added.
3782         (getInitialComponent): Documentation added.
3783         * java/awt/ScrollPaneAdjustable.java
3784         (sp): New member variable.
3785         (orientation): New member variable.
3786         (value): New member variable.
3787         (minimum): New member variable.
3788         (maximum): New member variable.
3789         (visibleAmount): New member variable.
3790         (unitIncrement): New member variable.
3791         (blockIncrement): New member variable.
3792         (adjustmentListener): New member variable.
3793         (ScrollPaneAdjustable): Rewrote.
3794         (addAdjustmentListener): New method.
3795         (removeAdjustmentListener): New method.
3796         (getAdjustmentListeners): New method.
3797         (getBlockIncrement): New method.
3798         (getMaximum): New method.
3799         (getMinimum): New method.
3800         (getOrientation): New method.
3801         (getUnitIncrement): New method.
3802         (getValue): New method.
3803         (getVisibleAmount): New method.
3804         (setBlockIncrement): New method.
3805         (setUnitIncrement): New method.
3806         (setMaximum): Implemented.
3807         (setMinimum): Implemented.
3808         (setValue): New method.
3809         (setVisibleAmount): Implemented.
3810         (paramString): New method.
3811         * java/awt/Window.java
3812         (show): Use setVisible(true) instead of super.show().
3813         (hide): Use sevVisible(false) instead of super.hide().
3814         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3815         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3816         (postEvent): Deprecated.
3817         (applyResourceBundle): Deprecated.
3818         (processWindowFocusEvent): New method.
3819         (processWindowStateEvent): New method.
3820         * java/awt/datatransfer/DataFlavor.java: Reindented.
3821         * java/awt/font/TextHitInfo.java
3822         (charIndex): New member variable.
3823         (leadingEdge): New member variable.
3824         (TextHitInfo): New constructor.
3825         (getCharIndex): Implemented.
3826         (isLeadingEdge): Implemented.
3827         (getInsertionIndex): Implemented.
3828         (hashCode): Access charIndex directly.
3829         (equals): Reformated.
3830         (leading): Implemented.
3831         (trailing): Implemented.
3832         (beforeOffset): Implemented.
3833         (afterOffset): Implemented.
3834         (getOtherHit): Implemented.
3835         (getOffsetHit): Implemented.
3836         (toString): Implemented.
3837         * java/awt/image/BufferedImage.java
3838         (BufferedImage): Implements WritableRenderedImage.
3839         (observers): New member variable.
3840         (addTileObserver): New method.
3841         (removeTileObserver): New method.
3842
3843 2003-03-09  Tom Tromey  <tromey@redhat.com>
3844
3845         PR libgcj/9934:
3846         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3847         to lseek.  Return 0 if we can't compute the value.
3848
3849 2003-03-03  Michael Koch  <konqueror@gmx.de>
3850
3851         * java/net/NetworkInterface.java: Merged with classpath.
3852
3853 2003-03-03  Tom Tromey  <tromey@redhat.com>
3854
3855         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3856         of bytecode.
3857         (handle_ret_insn): Fail if returning to jsr that appears at end of
3858         bytecode.
3859
3860 2003-03-03  Michael Koch  <konqueror@gmx.de>
3861
3862         * Makefile.am
3863         (ordinary_java_source_files):
3864         Added gnu/java/nio/MappedByteFileBuffer.java.
3865         (nat_source_files):
3866         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3867         * Makefile.in: Regenerated.
3868
3869 2003-03-03  Michael Koch  <konqueror@gmx.de>
3870
3871         * java/net/DatagramSocket.java
3872         (connect): Merged comment from classpath.
3873         (receive): Merged documentation from classpath.
3874         * java/net/Socket.java
3875         (setSoTimeout): Clarified documentation.
3876         * java/net/URL.java
3877         (getPath): Merged from classpath.
3878         (getUserInfo): Merged from classpath.
3879         (getQuery): Merged from classpath.
3880         * java/net/URLStreamHandler.java
3881         (toExternalForm): Merged from classpath.
3882
3883 2003-03-02  Mark Wielaard  <mark@klomp.org>
3884
3885         * java/util/Properties.java (load): Only skip line if the first
3886         character is a comment, whitespaces don't count.
3887
3888 2003-03-02  Michael Koch  <konqueror@gmx.de>
3889
3890         * java/net/NetPermission.java:
3891         Merged copyright with classpath.
3892
3893 2003-03-02  Michael Koch  <konqueror@gmx.de>
3894
3895         * java/lang/Package.java:
3896         Remerged from classpath.
3897
3898 2003-03-02  Michael Koch  <konqueror@gmx.de>
3899
3900         * java/net/HttpURLConnection.java
3901         (HTTP_SERVER_ERROR): Deprecated.
3902         * java/net/MulticastSocket.java
3903         (send): Replaced checkMulticast with appropriate checkPermission call,
3904         deprecated.
3905         * java/net/URLDecoder.java
3906         (decode): Deprecated.
3907         * java/net/URLEncoder.java
3908         (encode): Deprecated.
3909
3910 2003-03-02  Michael Koch  <konqueror@gmx.de>
3911
3912         * javax/swing/text/Caret.java
3913         (getMagicCaretPosition): Fixed typo in method name.
3914         * javax/swing/text/DefaultCaret.java
3915         (getMagicCaretPosition): Fixed typo in method name.
3916
3917 2003-03-02  Michael Koch  <konqueror@gmx.de>
3918
3919         * java/awt/List.java
3920         (setMultipleSelections): Deprecated.
3921         (delItem): Deprecated.
3922         * java/awt/MenuComponent.java
3923         (getPeer): Deprecated.
3924         * java/awt/ScrollPane.java
3925         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3926         * java/awt/dnd/MouseDragGestureRecognizer.java
3927         (mouseClicked): Added comment.
3928         (mousePressed): Added comment.
3929         (mouseReleased): Added comment.
3930         (mouseEntered): Added comment.
3931         (mouseExited): Added comment.
3932         (mouseDragged): Added comment.
3933         (mouseMoved): Added comment.
3934         * java/awt/event/KeyEvent.java
3935         (KeyEvent): Deprecated.
3936         (setModifiers): Deprecated.
3937         
3938 2003-03-02  Michael Koch  <konqueror@gmx.de>
3939
3940         * gnu/java/nio/FileChannelImpl.java
3941         (fd): Type FileDescriptor instead of int.
3942         (lengthInternal): Removed.
3943         (FileChannelImpl): Fixed arguments, check type of file object.
3944         (size): Made it native.
3945         (implPosition): New native method.
3946         (implTruncate): New native method.
3947         (position): Implemented.
3948         (truncate): Implemented.
3949         (nio_mmap_file): Changed arguments.
3950         (nio_munmap_file): Changed arguments.
3951         (nio_msync): Changed arguments.
3952         * gnu/java/nio/natFileChannelImpl.cc
3953         (lengthInternal): Removed.
3954         (size): New method.
3955         (implPosition): New method.
3956         (implTruncate): New method.
3957         (nio_mmap_file): Changed arguments.
3958         (nio_munmap_file): Changed arguments.
3959         (nio_msync): Changed arguments.
3960
3961 2003-03-02  Michael Koch  <konqueror@gmx.de>
3962
3963         * java/awt/dnd/DropTargetContext.java:
3964         Compile fix: Forgot to commit import.
3965         
3966 2003-03-02  Michael Koch  <konqueror@gmx.de>
3967
3968         * java/awt/Component.java,
3969         java/awt/ScrollPane.java:
3970         Fixed typos.
3971
3972 2003-03-02  Michael Koch  <konqueror@gmx.de>
3973
3974         * java/awt/dnd/DnDEventMulticaster.java: New file.
3975         * java/awt/dnd/DragSource.java
3976         (flavorMap): New member variable.
3977         (dragSourceListener): New member variable.
3978         (dragSourceMotionListener): New member variable.
3979         (getFlavorMap): Implemented.
3980         (createDragGestureRecognizer): Implemented.
3981         (addDragSourceListener): Implemented.
3982         (removeDragSourceListener): Implemented.
3983         (getDragSourceListeners): Implemented.
3984         (addDragSourceMotionListener): Implemented.
3985         (removeDragSourceMotionListener): Implemented.
3986         (getDragSourceMotionListeners): Implemented.
3987         (getListeners): Implemented.
3988         * java/awt/dnd/DragSourceContext.java
3989         (peer): New member variable.
3990         (cursor): New member variable.
3991         (transferable): New member variable.
3992         (trigger): New member variable.
3993         (dragSourceListener): New member variable.
3994         (image): New member variable.
3995         (offset): New member variable.
3996         (DragSourceContext): Implemented.
3997         (getDragSource): Implemented.
3998         (getComponent): Implemented.
3999         (getTrigger): Implemented.
4000         (getSourceActions): Implemented.
4001         (setCursor): Implemented.
4002         (getCursor): Implemented.
4003         (addDragSourceListener): Implemented.
4004         (removeDragSourceListener): Implemented.
4005         (getTransferable): Implemented.
4006         * java/awt/dnd/DropTarget.java
4007         (DropTargetAutoScroller.component): New member variable.
4008         (DropTargetAutoScroller.point): New member variable.
4009         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4010         (DropTargetAutoScroller.updateLocation): Implemented.
4011         (active): Renamed from isActive, defaults to true now.
4012         (component): New member variable.
4013         (flavorMap): New member variable.
4014         (actions): New member variable.
4015         (dropTargetContext): New member variable.
4016         (dropTargetListener): New member variable.
4017         (DropTarget): Implemented.
4018         (getComponent): Implemented.
4019         (setComponent): Implemented.
4020         (setDefaultActions): Implemented.
4021         (getDefaultActions): Implemented.
4022         (setActive): Use active instead of isActive.
4023         (isActive): Use active instead of isActive.
4024         (addDropTargetListener): Implemented.
4025         (removeDropTargetListener): Implemented.
4026         (getFlavorMap): Implemented.
4027         (setFlavorMap): Implemented.
4028         (getDropTargetContext): Implemented.
4029         (createDropTargetContext): Implemented.
4030         (createDropTargetAutoScroller): Implemented.
4031         * java/awt/dnd/DropTargetContext.java
4032         (TransferableProxy.getTransferDataFlavors): Implemented.
4033         (TransferableProxy.isDataFlavorSupported): Implemented.
4034         (TransferableProxy.getTransferData): Implemented.
4035         (dropTarget):  New member variable.
4036         (dtcp): New member variable.
4037         (DropTargetContext): New package private constructor.
4038         (getDropTarget): Implemented.
4039         (getComponent): Implemented.
4040         (addNotify): Implemented.
4041         (removeNotify): Implemented.
4042         (getCurrentDataFlavorsAsList): Implemented.
4043         (isDataFlavorSupported): Implemented.
4044         * java/awt/dnd/MouseDragGestureRecognizer.java
4045         (registerListeners): Implemented.
4046         (unregisterListeners): Implemented.
4047         * Makefile.am
4048         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4049         * Makefile.in: Regenerated.
4050
4051 2003-03-02  Michael Koch  <konqueror@gmx.de>
4052
4053         * java/awt/Component.java
4054         (eventTypeEnabled): New method.
4055         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4056         * java/awt/Container.java
4057         (changeSupport): New member variable.
4058         (addPropertyChangeListener): New methods.
4059         * java/awt/ContainerOrderFocusTraversalPolicy.java
4060         (ContainerOrderFocusTraversalPolicy): Added comment.
4061         (getComponentAfter): Throw exception, documentation added.
4062         (getComponentBefore): Throw exception, documentation added.
4063         (getFirstComponent): Throw exception, documentation added.
4064         (getLastComponent): Throw exception, documentation added.
4065         (getDefaultComponent): Throw exception, documentation added.
4066         * java/awt/EventQueue.java: Reindented.
4067         * java/awt/FocusTraversalPolicy.java:
4068         (FocusTraversalPolicy): Added comment.
4069         (getComponentAfter): Documentation added.
4070         (getComponentBefore): Documentation added.
4071         (getFirstComponent): Documentation added.
4072         (getLastComponent): Documentation added.
4073         (getDefaultComponent): Documentation added.
4074         (getInitialComponent): Documentation added.
4075         * java/awt/ScrollPane.java
4076         (wheelScrollingEnabled): New member variable.
4077         (ScrollPane): Initialize wheelScollingEnabled.
4078         (eventTypeEnabled): New method.
4079         (isWheelScrollingEnabled): New method.
4080         (setWheelScrollingEnabled): New method.
4081
4082 2003-03-02  Michael Koch  <konqueror@gmx.de>
4083
4084         * java/net/DatagramSocket.java
4085         (closed): New member variable.
4086         (close): Use closed variable.
4087         (getInetAddress): No need to call isConnected().
4088         (getPort): No need to call isConnected().
4089         (disconnect): Reset remoteAddress and remotePort, fixed typo.
4090         (isClosed): Reimplemented.
4091         
4092 2003-03-02  Michael Koch  <konqueror@gmx.de>
4093
4094         * configure.in: Added check for memory mapping of files.
4095         * configure: Regenerated.
4096         * config.h.in: Regenerated.
4097
4098 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
4099
4100         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4101         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4102
4103 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4104
4105         * java/io/File.java (normalizePath): Remove trailing separator
4106         on Windows only if path is not of the form "x:\".
4107
4108         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4109         (java::io::File::attr): Change formatting a bit and use
4110         WIN32_EPOCH_MILLIS instead of magic numbers.
4111         (java::io::File::isAbsolute): Path must have at least 3 
4112         characters for a UNC network path.
4113         (java::io::File::init_native): Define.
4114         (java::io::File::performCreate): Likewise.
4115         (java::io::File::performSetReadOnly): Likewise.
4116         (java::io::File::performSetLastModified): Likewise.
4117         (java::io::File::performListRoots): Likewise.
4118
4119 2003-03-01  Tom Tromey  <tromey@redhat.com>
4120
4121         * java/lang/natObject.cc: Don't include assert.h.
4122         (heavy_lock_obj_finalization_proc): Use JvAssert.
4123         (remove_all_heavy): Likewise.
4124         (_Jv_MonitorEnter): Likewise.
4125         (_Jv_MonitorExit): Likewise.
4126         (wait): Likewise.
4127
4128 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4129
4130         * java/io/File (getAbsolutePath): Prefix drive specifier on
4131         Windows for paths starting with a '\'.
4132         (toURL): Make URL more consistent with what Sun's JDK returns.
4133
4134         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4135         true only if the path is a UNC network path or it starts with a
4136         drive specifier.
4137
4138         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4139         Be prepared to handle either '/' or '\\' in the file path for
4140         Windows if using the "file" protocol.
4141         Canonicalise the file path if using a relative path in the given
4142         context and the "file" protocol.
4143
4144 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
4145
4146         * java/lang/natWin32Process.cc (startProcess): Double-quote each
4147         program array element passed to CreateProcess.
4148
4149 2003-03-01  Tom Tromey  <tromey@redhat.com>
4150
4151         * java/rmi/registry/RegistryHandler.java: Deprecate.
4152
4153 2003-03-01  Tom Tromey  <tromey@redhat.com>
4154
4155         * javax/accessibility/AccessibleEditableText.java,
4156         javax/accessibility/AccessibleHyperlink.java: New versions from
4157         Classpath.
4158
4159         * gnu/java/locale/LocaleInformation_af_ZA.java,
4160         gnu/java/locale/LocaleInformation_ar_AE.java,
4161         gnu/java/locale/LocaleInformation_ar_BH.java,
4162         gnu/java/locale/LocaleInformation_ar_DZ.java,
4163         gnu/java/locale/LocaleInformation_ar_EG.java,
4164         gnu/java/locale/LocaleInformation_ar_IN.java,
4165         gnu/java/locale/LocaleInformation_ar_IQ.java,
4166         gnu/java/locale/LocaleInformation_ar_JO.java,
4167         gnu/java/locale/LocaleInformation_ar_KW.java,
4168         gnu/java/locale/LocaleInformation_ar_LB.java,
4169         gnu/java/locale/LocaleInformation_ar_LY.java,
4170         gnu/java/locale/LocaleInformation_ar_MA.java,
4171         gnu/java/locale/LocaleInformation_ar_OM.java,
4172         gnu/java/locale/LocaleInformation_ar_QA.java,
4173         gnu/java/locale/LocaleInformation_ar_SD.java,
4174         gnu/java/locale/LocaleInformation_ar_SY.java,
4175         gnu/java/locale/LocaleInformation_ar_TN.java,
4176         gnu/java/locale/LocaleInformation_ar_YE.java,
4177         gnu/java/locale/LocaleInformation_be_BY.java,
4178         gnu/java/locale/LocaleInformation_bn_IN.java,
4179         gnu/java/locale/LocaleInformation_br_FR.java,
4180         gnu/java/locale/LocaleInformation_bs_BA.java,
4181         gnu/java/locale/LocaleInformation_ca_ES.java,
4182         gnu/java/locale/LocaleInformation_cs_CZ.java,
4183         gnu/java/locale/LocaleInformation_cy_GB.java,
4184         gnu/java/locale/LocaleInformation_da_DK.java,
4185         gnu/java/locale/LocaleInformation_de_AT.java,
4186         gnu/java/locale/LocaleInformation_de_BE.java,
4187         gnu/java/locale/LocaleInformation_de_CH.java,
4188         gnu/java/locale/LocaleInformation_de_DE.java,
4189         gnu/java/locale/LocaleInformation_de_LU.java,
4190         gnu/java/locale/LocaleInformation_el_GR.java,
4191         gnu/java/locale/LocaleInformation_en_AU.java,
4192         gnu/java/locale/LocaleInformation_en_BW.java,
4193         gnu/java/locale/LocaleInformation_en_CA.java,
4194         gnu/java/locale/LocaleInformation_en_DK.java,
4195         gnu/java/locale/LocaleInformation_en_GB.java,
4196         gnu/java/locale/LocaleInformation_en_HK.java,
4197         gnu/java/locale/LocaleInformation_en_IE.java,
4198         gnu/java/locale/LocaleInformation_en_IN.java,
4199         gnu/java/locale/LocaleInformation_en_NZ.java,
4200         gnu/java/locale/LocaleInformation_en_PH.java,
4201         gnu/java/locale/LocaleInformation_en_SG.java,
4202         gnu/java/locale/LocaleInformation_en_US.java,
4203         gnu/java/locale/LocaleInformation_en_ZA.java,
4204         gnu/java/locale/LocaleInformation_en_ZW.java,
4205         gnu/java/locale/LocaleInformation_es_AR.java,
4206         gnu/java/locale/LocaleInformation_es_BO.java,
4207         gnu/java/locale/LocaleInformation_es_CL.java,
4208         gnu/java/locale/LocaleInformation_es_CO.java,
4209         gnu/java/locale/LocaleInformation_es_CR.java,
4210         gnu/java/locale/LocaleInformation_es_DO.java,
4211         gnu/java/locale/LocaleInformation_es_EC.java,
4212         gnu/java/locale/LocaleInformation_es_ES.java,
4213         gnu/java/locale/LocaleInformation_es_GT.java,
4214         gnu/java/locale/LocaleInformation_es_HN.java,
4215         gnu/java/locale/LocaleInformation_es_MX.java,
4216         gnu/java/locale/LocaleInformation_es_NI.java,
4217         gnu/java/locale/LocaleInformation_es_PA.java,
4218         gnu/java/locale/LocaleInformation_es_PE.java,
4219         gnu/java/locale/LocaleInformation_es_PR.java,
4220         gnu/java/locale/LocaleInformation_es_PY.java,
4221         gnu/java/locale/LocaleInformation_es_SV.java,
4222         gnu/java/locale/LocaleInformation_es_US.java,
4223         gnu/java/locale/LocaleInformation_es_UY.java,
4224         gnu/java/locale/LocaleInformation_es_VE.java,
4225         gnu/java/locale/LocaleInformation_et_EE.java,
4226         gnu/java/locale/LocaleInformation_eu_ES.java,
4227         gnu/java/locale/LocaleInformation_fa_IR.java,
4228         gnu/java/locale/LocaleInformation_fi_FI.java,
4229         gnu/java/locale/LocaleInformation_fo_FO.java,
4230         gnu/java/locale/LocaleInformation_fr_BE.java,
4231         gnu/java/locale/LocaleInformation_fr_CA.java,
4232         gnu/java/locale/LocaleInformation_fr_CH.java,
4233         gnu/java/locale/LocaleInformation_fr_FR.java,
4234         gnu/java/locale/LocaleInformation_fr_LU.java,
4235         gnu/java/locale/LocaleInformation_ga_IE.java,
4236         gnu/java/locale/LocaleInformation_gd_GB.java,
4237         gnu/java/locale/LocaleInformation_gl_ES.java,
4238         gnu/java/locale/LocaleInformation_gv_GB.java,
4239         gnu/java/locale/LocaleInformation_he_IL.java,
4240         gnu/java/locale/LocaleInformation_hi_IN.java,
4241         gnu/java/locale/LocaleInformation_hr_HR.java,
4242         gnu/java/locale/LocaleInformation_hu_HU.java,
4243         gnu/java/locale/LocaleInformation_id_ID.java,
4244         gnu/java/locale/LocaleInformation_it_CH.java,
4245         gnu/java/locale/LocaleInformation_it_IT.java,
4246         gnu/java/locale/LocaleInformation_iw_IL.java,
4247         gnu/java/locale/LocaleInformation_ja_JP.java,
4248         gnu/java/locale/LocaleInformation_ka_GE.java,
4249         gnu/java/locale/LocaleInformation_kl_GL.java,
4250         gnu/java/locale/LocaleInformation_ko_KR.java,
4251         gnu/java/locale/LocaleInformation_kw_GB.java,
4252         gnu/java/locale/LocaleInformation_lt_LT.java,
4253         gnu/java/locale/LocaleInformation_lv_LV.java,
4254         gnu/java/locale/LocaleInformation_mi_NZ.java,
4255         gnu/java/locale/LocaleInformation_mk_MK.java,
4256         gnu/java/locale/LocaleInformation_mr_IN.java,
4257         gnu/java/locale/LocaleInformation_mt_MT.java,
4258         gnu/java/locale/LocaleInformation_nl_BE.java,
4259         gnu/java/locale/LocaleInformation_nl_NL.java,
4260         gnu/java/locale/LocaleInformation_nn_NO.java,
4261         gnu/java/locale/LocaleInformation_no_NO.java,
4262         gnu/java/locale/LocaleInformation_oc_FR.java,
4263         gnu/java/locale/LocaleInformation_pl_PL.java,
4264         gnu/java/locale/LocaleInformation_pt_BR.java,
4265         gnu/java/locale/LocaleInformation_pt_PT.java,
4266         gnu/java/locale/LocaleInformation_ro_RO.java,
4267         gnu/java/locale/LocaleInformation_ru_RU.java,
4268         gnu/java/locale/LocaleInformation_ru_UA.java,
4269         gnu/java/locale/LocaleInformation_se_NO.java,
4270         gnu/java/locale/LocaleInformation_sk_SK.java,
4271         gnu/java/locale/LocaleInformation_sl_SI.java,
4272         gnu/java/locale/LocaleInformation_sq_AL.java,
4273         gnu/java/locale/LocaleInformation_sr_YU.java,
4274         gnu/java/locale/LocaleInformation_sv_FI.java,
4275         gnu/java/locale/LocaleInformation_sv_SE.java,
4276         gnu/java/locale/LocaleInformation_ta_IN.java,
4277         gnu/java/locale/LocaleInformation_te_IN.java,
4278         gnu/java/locale/LocaleInformation_tg_TJ.java,
4279         gnu/java/locale/LocaleInformation_tl_PH.java,
4280         gnu/java/locale/LocaleInformation_tr_TR.java,
4281         gnu/java/locale/LocaleInformation_uk_UA.java,
4282         gnu/java/locale/LocaleInformation_ur_PK.java,
4283         gnu/java/locale/LocaleInformation_uz_UZ.java,
4284         gnu/java/locale/LocaleInformation_vi_VN.java,
4285         gnu/java/locale/LocaleInformation_yi_US.java,
4286         gnu/java/locale/LocaleInformation_zh_CN.java,
4287         gnu/java/locale/LocaleInformation_zh_HK.java,
4288         gnu/java/locale/LocaleInformation_zh_SG.java,
4289         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4290         info; from Classpath.
4291
4292         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4293         isPaintPending): New methods.
4294         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4295         setMaximizedBounds): New methods.
4296         (beginLayout, endLayout, isPaintPending): Likewise.
4297         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4298         (requestFocus): Likewise.
4299         (isObscured): Likewise.
4300         (canDetermineObscurity): Likewise.
4301         (coalescePaintEvent): Likewise.
4302         (updateCursorImmediately): Likewise.
4303         (createVolatileImage): Likewise.
4304         (handlesWheelScrolling): Likewise.
4305         (createBuffers): Likewise.
4306         (getBackBuffer): Likewise.
4307         (flip): Likewise.
4308         (destroyBuffers): Likewise.
4309
4310         * Makefile.in: Rebuilt.
4311         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4312         RobotPeer.java.
4313         * gnu/java/awt/GLightweightPeer.java,
4314         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4315         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4316         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4317         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4318         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4319         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4320         java/awt/dnd/peer/DragSourceContextPeer.java,
4321         java/awt/dnd/peer/DropTargetContextPeer.java,
4322         java/awt/peer/ButtonPeer.java,
4323         java/awt/peer/CheckboxMenuItemPeer.java,
4324         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4325         java/awt/peer/ComponentPeer.java,
4326         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4327         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4328         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4329         java/awt/peer/MenuBarPeer.java,
4330         java/awt/peer/MenuComponentPeer.java,
4331         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4332         java/awt/peer/PopupMenuPeer.java,
4333         java/awt/peer/ScrollPanePeer.java,
4334         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4335         java/awt/peer/TextComponentPeer.java,
4336         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4337         New versions from Classpath.
4338         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4339         * java/awt/peer/RobotPeer.java: Likewise.
4340
4341 2003-03-01  Mark Wielaard  <mark@klomp.org>
4342
4343         * java/io/ObjectInputStream.java: Reindent.
4344         * java/io/ObjectOutputStream.java: Likewise.
4345
4346 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4347
4348         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4349         jvalue for each argument. Simplify.
4350         * testsuite/libjava.jni/calls.c (docall),
4351         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4352         misalignment.
4353
4354 2003-02-28  Mark Wielaard  <mark@klomp.org>
4355
4356         * Makefile.am (nat_source_files): Remove
4357         java/io/natObjectOutputStream.cc.
4358         * Makefile.in: Regenerated.
4359         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4360         * java/io/ObjectStreamField.java (typename): New field.
4361         (ObjectStreamField(String, Class)): Initialize new field.
4362         (ObjectStreamField(String, String)): New Constructor.
4363         (getTypeCode): Use new field.
4364         (getTypeString): Use new field.
4365         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4366         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4367         Handle reading of Proxy classes. Never drain(), just write
4368         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4369         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4370         (flush): Call flush(), not just drain().
4371         (writeBoolean): Always use blockDataOutput.
4372         (writeByte): Likewise.
4373         (writeShort): Likewise.
4374         (writeChar): Likewise.
4375         (writeInt): Likewise.
4376         (writeLong): Likewise.
4377         (writeFloat): Likewise.
4378         (writeDouble): Likewise.
4379         (writeBytes): Likewise.
4380         (putfield (put(String,Object))): Throw IllegalArgumentException if
4381         field cannot be found.
4382         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4383         (writeArraySizeAndElements): Write byte[] in one go.
4384         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4385         set BlockDataMode to false.
4386         (annotateProxyClass): New method.
4387         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4388         (getField): No longer native.
4389         (getMethod): Likewise.
4390         (setBlockDataMode): Always drain() on switch, return old mode.
4391         (static): New static code block.
4392         * java/io/natObjectOutputStream.cc: Removed.
4393         * java/io/ObjectInputStream.java (getField): No longer native.
4394         (getMethod): Likewise.
4395         (readObject): Remember and reset old BlockDataMode. Track whether
4396         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4397         TC_LONGSTRING.
4398         (defaultReadObject): Set BlockDataMode to false during readFields.
4399         (resolveClass): Create new SecurityManager if necessary.
4400         Use Class.forName() if null ClassLoader found.
4401         (read(byte[],int,int): Copy remaining bytes to data before calling
4402         readNextBlock().
4403         (readFields): Set and reset BlockDataMode on call_read_method.
4404         Catch NoSuchFieldErrors.
4405         (setBlockDataMode): Return old mode.
4406         (static): New static code block.
4407         * java/io/natObjectInputStream.cc (getField): Removed.
4408         (getMethod): Likewise.
4409
4410 2003-02-27  Michael Koch  <konqueror@gmx.de>
4411
4412         * java/beans/Beans.java,
4413         java/beans/FeatureDescriptor.java
4414         java/beans/PropertyEditorManager.java:
4415         Reformated to GNU style.
4416
4417 2003-02-25  Michael Koch  <konqueror@gmx.de>
4418
4419         * gnu/java/nio/MappedByteFileBuffer.java,
4420         gnu/java/nio/natMappedByteFileBuffer.cc:
4421         New files, both are not compiled yet to get not noncompiling CVS.
4422
4423 2003-02-24  Tom Tromey  <tromey@redhat.com>
4424
4425         * java/util/prefs/AbstractPreferences.java (isUserNode):
4426         Implemented.
4427
4428 2003-02-24  Tom Tromey  <tromey@redhat.com>
4429
4430         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4431         Deprecate.
4432         * java/lang/Thread.java (resume): Deprecate.
4433         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4434         in @deprecated.
4435
4436 2003-02-23  Tom Tromey  <tromey@redhat.com>
4437
4438         * Makefile.in: Rebuilt.
4439         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4440
4441 2003-02-23  Tom Tromey  <tromey@redhat.com>
4442
4443         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4444         libraries): Removed.
4445         (add_library): Removed.
4446         (_load): Don't call add_library.
4447         (loadLibraryInternal): Likewise.
4448         (init): Likewise.
4449         (lookup_data): New struct.
4450         (find_symbol): New function.
4451         (_Jv_FindSymbolInExecutable): Use it.
4452
4453 2002-02-21  Anthony Green  <green@redhat.com>
4454
4455         * java/lang/Thread.java (Thread): New constructor taking stack
4456         size parameter (ignored for now).
4457         * Many methods: Merged GNU Classpath documentation.
4458
4459         * java/lang/Class.java (finalize): throws a Throwable.
4460
4461 2003-02-21  Mark Wielaard  <mark@klomp.org>
4462
4463         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4464         argument is null.
4465
4466 2003-02-21  Mark Wielaard  <mark@klomp.org>
4467
4468         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4469         then 65535 chars throw IllegalArgumentException.
4470
4471 2003-02-21  Mark Wielaard  <mark@klomp.org>
4472
4473         * java/util/zip/ZipFile.java (finalize): New method.
4474
4475 2003-02-21  Michael Koch  <konqueror@gmx.de>
4476
4477         * gnu/java/nio/natSocketChannelImpl.cc:
4478         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4479         <cato@df.lth.se> for pointing to it.
4480
4481 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4482
4483         * java/math/BigInteger.java (euclidInv): Take result array as an
4484         argument.  Updated all callers.
4485         (modInverse): Removed unused variables.
4486
4487 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4488
4489         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4490         config.status.
4491         * configure: Rebuilt.
4492
4493 2003-02-19  Michael Koch  <konqueror@gmx.de>
4494
4495         * gnu/java/nio/natSocketChannelImpl.cc:
4496         Added support for platforms without network support.
4497
4498 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4499
4500         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4501         after config.h.  Use <> for consistency.
4502         * java/lang/natObject.cc: Likewise.
4503         * java/lang/natRuntime.cc: Likewise.
4504         * java/lang/natSystem.cc: Likewise.
4505         * java/util/natTimeZone.cc: Likewise.
4506         * win32.cc: Likewise.
4507         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4508         listen, write, read): Undef to avoid interference from OS macros.
4509
4510 2003-02-19  Michael Koch  <konqueror@gmx.de>
4511
4512         * gnu/java/nio/ByteBufferImpl.java
4513         (ByteBufferImpl): Renamed two variables.
4514         * gnu/java/nio/CharBufferImpl.java
4515         (CharBufferImpl): Renamed two variables.
4516         * gnu/java/nio/DoubleBufferImpl.java
4517         (DoubleBufferImpl): Renamed two variables.
4518         * gnu/java/nio/FloatBufferImpl.java
4519         (FloatBufferImpl): Renamed two variables.
4520         * gnu/java/nio/IntBufferImpl.java
4521         (IntBufferImpl): Renamed two variables.
4522         * gnu/java/nio/LongBufferImpl.java
4523         (LongBufferImpl): Renamed two variables.
4524         * gnu/java/nio/ShortBufferImpl.java
4525         (ShortBufferImpl): Renamed two variables.
4526         * java/nio/CharBuffer.java
4527         (wrap): Fixed arguments to CharBufferImpl constructor.
4528         (hasArray): Only not read-only buffers have backing arrays.
4529         (length): Documentation added.
4530         (subSequence): Documentation added.
4531         * java/nio/DoubleBuffer.java
4532         (hasArray): Only not read-only buffers have backing arrays.
4533         * java/nio/FloatBuffer.java
4534         (hasArray): Only not read-only buffers have backing arrays.
4535         * java/nio/IntBuffer.java
4536         (hasArray): Only not read-only buffers have backing arrays.
4537         * java/nio/LongBuffer.java
4538         (hasArray): Only not read-only buffers have backing arrays.
4539         * java/nio/ShortBuffer.java
4540         (hasArray): Only not read-only buffers have backing arrays.
4541         
4542 2003-02-19  Michael Koch  <konqueror@gmx.de>
4543
4544         * javax/accessibility/AccessibleContext.java
4545         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4546
4547 2003-02-19  Michael Koch  <konqueror@gmx.de>
4548
4549         * java/awt/ScrollPaneAdjustable.java: Reformated.
4550
4551 2003-02-19  Michael Koch <konqueror@gmx.de>
4552
4553         * gnu/awt/j2d/Graphics2DImpl.java
4554         (getFontRenderContext): New method.
4555         (drawGlyphVector): New method.
4556         * java/awt/Graphics2D.java
4557         (getFontRenderContext): New abstract method.
4558         (drawGlyphVector): New abstract method.
4559         
4560 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4561
4562         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4563         if necessary.
4564         
4565         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4566         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4567         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4568         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4569         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4570         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4571         (setFont, gtkSetFont): add.
4572         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4573         Propagate font to peer.  (setFont): add FIXME comment.
4574
4575         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4576         (gtkTextGetSize): fix height, width computation.
4577
4578         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4579         Make X font name a bit less bogus.
4580
4581         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4582         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4583
4584         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4585         (processAdjustmentEvent): Adjust value.
4586
4587         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4588         logic errors.
4589
4590         * java/awt/Component.java (setVisible, show, hide): Call show and
4591         hide methods in subclasses.
4592         (getPreferredSize): don't set prefSize before we have peer.
4593
4594         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4595         Guess (0,0) if we don't have peer.
4596
4597
4598 2003-02-18  Michael Koch  <konqueror@gmx.de>
4599
4600         * java/nio/channels/FileChannel.java
4601         (toString): New implementation, added documentation.
4602         (map): Added exception documentation.
4603         (size): Added exception documentation.
4604         (write): New methods, documentation work.
4605         (read): New methods, documentation work.
4606         (implCloseChannel): Rewrote exception documentation.
4607         (force): Throws IOException, added documentation.
4608         (lock): New methods.
4609         (tryLock): New methods.
4610         (position): New methods.
4611         (transferTo): New method.
4612         (transferFrom): New method.
4613         (truncate): New method.
4614         * java/nio/channels/spi/SelectorProvider.java
4615         (provider): Implemented.
4616         * Makefile.am
4617         (ordinary_java_source_files): Added the following files:
4618         gnu/java/nio/DatagramChannelImpl.java
4619         gnu/java/nio/FileChannelImpl.java
4620         gnu/java/nio/PipeImpl.java
4621         gnu/java/nio/SelectionKeyImpl.java
4622         gnu/java/nio/SelectorImpl.java
4623         gnu/java/nio/SelectorProviderImpl.java
4624         gnu/java/nio/ServerSocketChannelImpl.java
4625         gnu/java/nio/SocketChannelImpl.java
4626         java/nio/channels/FileLock.java
4627         (nat_java_source_files): Added the following files:
4628         gnu/java/nio/natFileChannelImpl.cc
4629         gnu/java/nio/natSelectorImpl.cc
4630         gnu/java/nio/natSocketChannelImpl.cc
4631         * Makefile.in: Regenerated.
4632
4633 2003-02-17  Tom Tromey  <tromey@redhat.com>
4634
4635         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4636         * java/awt/image/ImageFilter.java: Likewise.
4637
4638 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4639
4640         * java/math/BigInteger.java (euclidInv): Return array of
4641         `BigInteger's.  Changed all callers.
4642
4643 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4644
4645         * java/util/Properties.java (store): Move the code formerly in
4646         list(), into this method.
4647         (list (PrintStream)): Just call list (PrintWriter) with a 
4648         PrintWriter object constructed from the given PrintStream object.
4649         (list (PrintWriter)): Emulate the output of Properties.list()
4650         as found in JDK 1.3/1.4.
4651
4652 2003-02-17  Michael Koch  <konqueror@gmx.de>
4653
4654         * java/net/DatagramSocket.java
4655         (connect): Merged with classpath.
4656         (disconnect): Merged documentation with classpath.
4657         (receice): Merged documentation with classpath.
4658         (send): Merged documentation with classpath.
4659         
4660 2003-02-17  Michael Koch  <konqueror@gmx.de>
4661
4662         * java/awt/dnd/DragSourceContext.java
4663         (addDragSourceListener): Added documentation.
4664         * java/awt/dnd/DragSourceDragEvent.java
4665         (serialVersionUID): New member variable.
4666         (getDropAction): Reformated.
4667         * java/awt/dnd/DragSourceDropEvent.java
4668         (serialVersionUID): New member variable.
4669         (dropSuccess): Renamed from success for serialization issues.
4670         * java/awt/dnd/DragSourceEvent.java
4671         (serialVersionUID): New member variable.
4672         * java/awt/dnd/DropTarget.java
4673         (serialVersionUID): New member variable.
4674         (DropTarget): Implemented, documentation reworked.
4675         (setComponent): Documentation added.
4676         (getComponent): Documentation added.
4677         (setDefaultActions): Documentation added.
4678         (getDefaultActions): Documentation added.
4679         (addDropTargetListener): Documentation added.
4680         * java/awt/dnd/DropTargetContext.java
4681         (DropTargetContext): Documentation added.
4682         (TransferableProxy.TransferableProxy): New method.
4683         (dropComplete): Fixed documentation.
4684         (getTransferable): Fixed documentation.
4685         (createTransferableProxy): Implemented.
4686         * java/awt/dnd/DropTargetDragEvent.java
4687         (DropTargetDragEvent): Documentation added.
4688         (serialVersionUID): New member variable.
4689         (DropTargetDragEvent): Throw exceptions, documentation added.
4690         (acceptDrag): Implemented.
4691         (getCurrentDataFlavors): Implemented.3yy
4692         (getCurrentDataFlavorsAsList): Implemented.
4693         (isDataFlavorSupported): Implemented.
4694         (rejectDrag): Implemented.
4695         * java/awt/dnd/DropTargetDropEvent.java
4696         (DropTargetDropEvent): Documentation added.
4697         (serialVersionUID): New member variable.
4698         (actions): Renamed from srcActions for serialization issues.
4699         (isLocalTx): Renamed from isLocalTx for serialization issues.
4700         (DropTargetDropEvent): New implementation, throw exceptions,
4701         documentation added.
4702         (getCurrentDataFlavors): Implemented.
4703         (getCurrentDataFlavorsAsList): Implemented.
4704         (isDataFlavorSupported): Implemented.
4705         (getSourceActions): Implemented.
4706         (getDropAction): Implemented.
4707         (getTransferable): Implemented.
4708         (acceptDrop): Implemented.
4709         (rejectDrop): Implemented.
4710         * java/awt/dnd/DropTargetListener.java
4711         (drop): Fixed documentation.
4712         * java/awt/dnd/MouseDragGestureRecognizer.java
4713         (MouseDragGestureRecognizer): Documentation added.
4714
4715 2003-02-17  Michael Koch  <konqueror@gmx.de>
4716
4717         * java/awt/font/FontRenderContext.java,
4718         java/awt/font/ShapeGraphicAttribute.java,
4719         java/awt/font/MultipleMaster.java,
4720         java/awt/font/TransformAttribute.java,
4721         java/awt/font/GlyphJustificationInfo.java,
4722         java/awt/font/LineBreakMeasurer.java,
4723         java/awt/font/TextMeasurer.java,
4724         java/awt/font/TextLayout.java,
4725         java/awt/font/LineMetrics.java,
4726         java/awt/font/TextAttribute.java,
4727         java/awt/font/GlyphMetrics.java,
4728         java/awt/font/OpenType.java,
4729         java/awt/font/GlyphVector.java,
4730         java/awt/font/GraphicAttribute.java,
4731         java/awt/font/ImageGraphicAttribute.java,
4732         java/awt/font/NumericShaper.java: New files.
4733         * Makefile.am
4734         (awt_java_source_files): Added the following files:
4735         java/awt/font/FontRenderContext.java
4736         java/awt/font/ShapeGraphicAttribute.java
4737         java/awt/font/MultipleMaster.java
4738         java/awt/font/TransformAttribute.java
4739         java/awt/font/GlyphJustificationInfo.java
4740         java/awt/font/LineBreakMeasurer.java
4741         java/awt/font/TextMeasurer.java
4742         java/awt/font/TextLayout.java
4743         java/awt/font/LineMetrics.java
4744         java/awt/font/TextAttribute.java
4745         java/awt/font/GlyphMetrics.java
4746         java/awt/font/OpenType.java
4747         java/awt/font/GlyphVector.java
4748         java/awt/font/GraphicAttribute.java
4749         java/awt/font/ImageGraphicAttribute.java
4750         java/awt/font/NumericShaper.java
4751         * Makefile.in: Regenerated.
4752
4753 2003-02-17  Michael Koch  <konqueror@gmx.de>
4754
4755         * java/awt/print/Paper.java
4756         (Paper): Implements Cloneable.
4757         * java/awt/print/PrinterJob.java
4758         (setJobName): Return value must be void.
4759         (print): Throws PrinterException.
4760         
4761 2003-02-16  Tom Tromey  <tromey@redhat.com>
4762
4763         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4764         variable.
4765
4766 2003-02-15  Michael Koch  <konqueror@gmx.de>
4767
4768         * java/awt/datatransfer/DataFlavor.java
4769         (isRepresentationClassByteBuffer): Removed try-catch block.
4770         (isRepresentationClassCharBuffer): Removed try-catch block.
4771         (isRepresentationClassReader): Removed try-catch block.
4772
4773 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4774
4775         * java/nio/charset/Charset.java
4776         (isRegistered): Fixed method args and implementation.
4777         * java/nio/charset/CharsetEncoder.java
4778         (unmappableCharacterAction): New method.
4779
4780 2003-02-15  Michael Koch  <konqueror@gmx.de>
4781
4782         * java/awt/CheckboxMenuItem.java
4783         (CheckBoxMenuItem): Dont implement Serializable.
4784         (getListeners): New method,
4785         (getItemListeners): New method.
4786         * java/awt/Choice.java
4787         (getListeners): New method,
4788         (getItemListeners): New method.
4789         * java/awt/Container.java
4790         (getListeners): Added exception documentation.
4791         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4792         (getFocusTraversalKeys): Added documentation.
4793         (areFocusTraversalKeysSet): Added documentation.
4794         (applyComponentOrientation): Added documentation.
4795         * java/awt/ContainerOrderFocusTraversalPolicy.java
4796         (implicitDownCycleTraversal): Renamed from downCycle for
4797         serialization.
4798         (ContainerOrderFocusTraversalPolicy): Added documentation.
4799         (accept): Reformated.
4800         * java/awt/Dialog.java
4801         (Dialog): Dont implement Serializable.
4802         (Dialog): Added documentation.
4803         * java/awt/Font.java
4804         (Font): Dont use absolute class name.
4805         * java/awt/Frame.java
4806         (Frame): Font implement Serializable.
4807         * java/awt/List.java
4808         (getListeners): New method,
4809         (getActionListeners): New method.       
4810         (getItemListeners): New method.
4811         * java/awt/Menu.java
4812         (countItems): New deprecated method.
4813         * java/awt/Scrollbar.java
4814         (getListeners): New method,
4815         (getAdjustmentListeners): New method,
4816         * java/awt/TextComponent.java
4817         (getListeners): New method,
4818         (getTextListeners): New method,
4819         * java/awt/TextField.java
4820         (getListeners): New method,
4821         (getActionListeners): New method.       
4822         * java/awt/Window.java
4823         (windowFocusListener): New member variable.
4824         (windowStateListener): New member variable.
4825         (getWindowFocusListeners): New method.
4826         (getWindowStateListeners): New method.
4827         (addWindowFocusListener): New method.
4828         (addWindowStateListener): New method.
4829         (removeWindowFocusListener): New method.
4830         (removeWindowStateListener): New method.
4831         * java/awt/datatransfer/DataFlavor.java
4832         (isRepresentationClassByteBuffer): New method.
4833         (isRepresentationClassCharBuffer): New method.
4834         (isRepresentationClassReader): New method.
4835
4836 2003-02-14  Mark Wielaard  <mark@klomp.org>
4837
4838         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4839         zero when there is an exponent and the significant is zero.
4840         (divide): Always set scale to newScale even in special ZERO case.
4841
4842 2003-02-14  Tom Tromey  <tromey@redhat.com>
4843
4844         * java/lang/System.java (properties): Use Properties.clone.
4845         (setProperties): Likewise.
4846
4847 2003-02-14  Michael Koch  <konqueror@gmx.de>
4848
4849         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4850         * gnu/java/nio/ServerSocketChannelImpl.java
4851         (SocketAccept): Removed.
4852         (accept): Commented out use of SocketAccept.
4853
4854 2003-02-13  Tom Tromey  <tromey@redhat.com>
4855
4856         * verify.cc (state::seen_subrs): New field.
4857         (state::state): Initialize it.
4858         (state::clean_subrs): New method.
4859         (state::~state): Call it.
4860         (state::copy): Copy subroutine list.
4861         (state::add_subr): New method.
4862         (state::merge): Only register a change if the current subroutine
4863         hasn't yet been noted.
4864
4865 2003-02-13  Mark Wielaard  <mark@klomp.org>
4866
4867         * java/io/InputStreamReader.java (getEncoding): Return null when
4868         closed.
4869         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4870
4871 2003-02-13  Mark Wielaard  <mark@klomp.org>
4872  
4873         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4874         is zero.
4875
4876 2003-02-13  Mark Wielaard  <mark@klomp.org>
4877
4878         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4879         next byte cannot be buffered.
4880
4881 2003-02-13  Michael Koch  <konqueror@gmx.de>
4882  
4883         * java/awt/Label.java
4884         (Label): Don't implement Serializable directly.
4885         (addNotify): Fixed typo in documentation.
4886         * java/awt/List.java
4887         (List): Don't implement Serializable directly.
4888         * java/awt/PopupMenu.java
4889         (PopupMenu): Don't implement Serializable directly.
4890         * java/awt/ScrollPane.java
4891         (ScrollPane): Don't implement Serializable directly.
4892         * java/awt/Scrollbar.java
4893         (Scrollbar): Don't implement Serializable directly.
4894         * java/awt/TextArea.java
4895         (preferredSize): Fixed method arguments.
4896         * java/awt/TextField.java
4897         (TextField): Don't implement Serializable directly.
4898         * java/awt/color/ICC_ColorSpace.java
4899         (fromCIOXYZ): Documentation added.
4900         (getMinValue): Documentation added.
4901         (getMaxValue): Documentation added.
4902         * java/awt/datatransfer/DataFlavor.java
4903         (isMimeTypeEqual): May not be final.
4904         (clone): Throws CloneNotSupportedException.
4905         (getReaderForText): Don't throws UnsupportedEncodingException.
4906
4907 2003-02-13  Michael Koch  <konqueror@gmx.de>
4908  
4909         * gnu/java/awt/peer/gtk/GdkGraphics.java
4910         (drawString): New stubbed method.
4911         * java/awt/Graphics.java
4912         (drawString): New method.
4913
4914 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4915
4916         PR libgcj/9271:
4917         * java/security/SecureRandom.java (next): Avoid bias in results.
4918
4919 2003-02-13  Michael  <konqueror@gmx.de>
4920
4921         * gnu/java/nio/FileChannelImpl.java
4922         (lengthInternal): Must be native.
4923         (size): Check if channel is already closed.
4924         (implCloseChannel): Reformated.
4925         (read): w was unused, removed it.
4926         (read): Removed.
4927         (read): New method.
4928         (write): New method.
4929         (map): Check arguments.
4930         (force): Throws IOException, check if channel is closed.
4931         (transferTo): New method.
4932         (transferFrom): New method.
4933         (lock): New method.
4934         (tryLock): New method.
4935         (position): New method.
4936         (truncate): New method.
4937         (nio_mmap_file): Uncommented.
4938         (nio_munmap_file): Uncommented.
4939         (nio_msync): Uncommented.
4940         * gnu/java/nio/natFileChannelImpl.cc: New file.
4941         
4942 2003-02-13  Michael Koch  <konqueror@gmx.de>
4943
4944         * java/nio/ByteBuffer.java
4945         (endian): New member variable.
4946         (get): New methods.
4947         (equals): New method.
4948         (compareTo): New method.
4949         (order): New methods.
4950         (compact): New method.
4951         (isDirect): New method.
4952         (slice): New method.
4953         (duplicate): New method.
4954         (asReadOnlyBuffer): New method.
4955         (asCharBuffer): New method.
4956         (asDoubleBuffer): New method.
4957         (asFloatBuffer): New method.
4958         (asIntBuffer): New method.
4959         (asLongBuffer): New method.
4960         (asShortBuffer): New method.
4961         (get*): New methods.
4962         (put*): New methods.
4963         (toString): New method.
4964         * java/nio/CharBuffer.java
4965         (CharBuffer): Implement Comparable instead of Cloneable.
4966         (get): May not be final.
4967         (put): May not be final.
4968         
4969 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4970
4971         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4972         lastIndexOf( ) instead of indexOf( ) to find the colon before
4973         the line number, because Win32 file names might contain a 
4974         drive letter and a colon at the start of an absolute path.
4975
4976 2003-02-13  Michael Koch  <konqueror@gmx.de>
4977
4978         * gnu/java/nio/natSocketChannelImpl.cc
4979         (SocketConnect): This is not implemented yet.
4980         (SocketBind): This is not implemented yet.
4981
4982 2003-02-13  Michael Koch  <konqueror@gmx.de>
4983
4984         * gnu/java/nio/natByteBufferImpl.cc,
4985         gnu/java/nio/natCharBufferImpl.cc,
4986         gnu/java/nio/natDoubleBufferImpl.cc,
4987         gnu/java/nio/natFloatBufferImpl.cc,
4988         gnu/java/nio/natIntBufferImpl.cc,
4989         gnu/java/nio/natLongBufferImpl.cc,
4990         gnu/java/nio/natShortBufferImpl.cc:
4991         Added copyright and license.
4992         * java/nio/DoubleBuffer.java,
4993         java/nio/FloatBuffer.java,
4994         java/nio/IntBuffer.java,
4995         java/nio/LongBuffer.java,
4996         java/nio/ShortBuffer.java
4997         (array): Throw exceptions.
4998         (arrayOffset): Throw exceptions.
4999
5000 2003-02-13  Michael Koch  <konqueror@gmx.de>
5001  
5002         * gnu/java/util/prefs/FileBasedFactory.java,
5003         gnu/java/util/prefs/MemmoryBasedFactory.java,
5004         gnu/java/util/prefs/MemoryBasedPreferences.java,
5005         gnu/java/util/prefs/NodeReader.java,
5006         gnu/java/util/prefs/NodeWriter.java,
5007         java/util/prefs/AbstractPreferences.java,
5008         java/util/prefs/BackingStoreException.java,
5009         java/util/prefs/InvalidPreferencesFormatException.java,
5010         java/util/prefs/NodeChangeEvent.java,
5011         java/util/prefs/NodeChangeListener.java,
5012         java/util/prefs/PreferenceChangeEvent.java,
5013         java/util/prefs/PreferenceChangeListener.java,
5014         java/util/prefs/Preferences.java,
5015         java/util/prefs/PreferencesFactory.java:
5016         New files, all merged from classpath.
5017         * Makefile.am
5018         (ordinary_java_source_files): Added the following files:
5019         gnu/java/util/prefs/FileBasedFactory.java,
5020         gnu/java/util/prefs/MemmoryBasedFactory.java,
5021         gnu/java/util/prefs/MemoryBasedPreferences.java,
5022         gnu/java/util/prefs/NodeReader.java,
5023         gnu/java/util/prefs/NodeWriter.java,
5024         (core_java_source_files): Added the following files:
5025         java/util/prefs/AbstractPreferences.java,
5026         java/util/prefs/BackingStoreException.java,
5027         java/util/prefs/InvalidPreferencesFormatException.java,
5028         java/util/prefs/NodeChangeEvent.java,
5029         java/util/prefs/NodeChangeListener.java,
5030         java/util/prefs/PreferenceChangeEvent.java,
5031         java/util/prefs/PreferenceChangeListener.java,
5032         java/util/prefs/Preferences.java,
5033         java/util/prefs/PreferencesFactory.java
5034         * Makefile.in: Regenerated.
5035  
5036 2003-02-13  Michael Koch  <konqueror@gmx.de>
5037
5038         * java/net/NetPermission.java
5039         (NetPermission): Make doucmentation match the method declaration.
5040         * java/net/NetworkInterface.java
5041         (equals): Reformated for GNU coding style.
5042         * java/net/ServerSocket.java: Merged with classpath.
5043         * java/net/Socket.java: Partly merged with classpath (Added some @since).
5044         * java/net/SocketImpl.java
5045         (localPort): Merged with classpath (initialize with -1).
5046         * java/net/SocketPermission.java: Merged with classpath (reindented).
5047         * java/net/URLDecoder.java: Merged with classpath (reindented).
5048
5049 2003-02-13  Michael Koch  <konqueror@gmx.de>
5050
5051         * java/awt/GridBagConstraints.java
5052         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5053         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5054         * java/awt/KeyboardFocusManager.java
5055         (setGlobalCurrentFocusCycleRoot): Must be public.
5056         * java/awt/MenuComponent.java
5057         (MenuComponent): Must be public.
5058         * java/awt/Toolkit.java:
5059         Added some empty lines to make documentation more readable.
5060         (getFontPeer): Added @deprecated.
5061         (getColorModel): Added exception documentation.
5062         (getProperty): Fixed documentation.
5063  
5064 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
5065
5066         * configure.host (alpha*-*): Default to -mieee.
5067         * configure.in (IEEESPEC): New.
5068         * libgcj.spec.in (jc1): Add IEEESPEC.
5069         * configure: Rebuild.
5070
5071 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5072
5073         * include/win32.h: Include ws2tcpip.h instead of
5074         winsock.h to obtain definition of the socklen_t type.
5075         Remove IP_TOS definition - not needed with ws2tcpip.h
5076         (_Jv_connect): Correct slight formatting error.
5077
5078 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5079
5080         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5081         size of the arguments for a JNI function. For Win32,
5082         modify to search for all forms of possible exported
5083         names of an stdcall JNI function.
5084         (_Jv_JNIMethod::call): Modify to calculate the size
5085         of the arguments passed to a JNI function and pass
5086         it to _Jv_LookupJNIMethod.
5087
5088 2003-02-12  Michael Koch  <konqueror@gmx.de>
5089
5090         * java/nio/channels/Channels.java: New file.
5091         * Makefile.am
5092         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5093         * Makefile.in: Regenerated.
5094
5095 2003-02-12  Michael Koch  <konqueror@gmx.de>
5096
5097         * java/nio/ByteBuffer.java
5098         (allocate): Implemented.
5099         (wrap): Implemented.
5100         * java/nio/CharBuffer.java:
5101         Some documentation added and reworked.
5102         (endian): Removed.
5103         (allocate): Implemented.
5104         (wrap): Implemented.
5105         (array): Throw exceptions.
5106         (arrayOffset): Throw exceptions.
5107         (toString): Implemented.
5108         (length): Implemented.
5109         (put): Implemented.
5110         (charAt): Implemented.
5111
5112 2003-02-11  John Leuner  <jewel@debian.org>
5113
5114         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
5115         reads from end of file.
5116
5117 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
5118
5119         * java/io/natFileDescriptorWin32.cc 
5120         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5121         returns with Win32 error code ERROR_BROKEN_PIPE.
5122
5123 2003-02-11  Michael Koch  <konqueror@gmx.de>
5124
5125         * Makefile.in
5126         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5127
5128 2003-02-11  Michael Koch  <konqueror@gmx.de>
5129
5130         * gnu/java/nio/ByteBufferImpl.java:
5131         Reformated and removed some code.
5132         (backing_buffer): Removed.      
5133         (array_offset): Removed.
5134         (ro): Renamed to readOnly.
5135         (ByteBufferImpl): Use parent constructor, initialize readOnly.
5136         * gnu/java/nio/CharBufferImpl.java:
5137         Reformated and removed some code.
5138         (array_offset): Removed.
5139         (ro): Renamed to readOnly.
5140         (CharBufferImpl): Use parent constructor, initialize readOnly.
5141         (inc_pos): Removed.
5142         (order): New method.
5143         * gnu/java/nio/DoubleBufferImpl.java:
5144         Reformated and removed some code.
5145         (array_offset): Removed.
5146         (ro): Renamed to readOnly.
5147         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5148         (inc_pos): Removed.
5149         (order): New method.
5150         * gnu/java/nio/FloatBufferImpl.java:
5151         Reformated and removed some code.
5152         (array_offset): Removed.
5153         (ro): Renamed to readOnly.
5154         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5155         (inc_pos): Removed.
5156         (order): New method.
5157         * gnu/java/nio/IntBufferImpl.java:
5158         Reformated and removed some code.
5159         (array_offset): Removed.
5160         (ro): Renamed to readOnly.
5161         (IntBufferImpl): Use parent constructor, initialize readOnly.
5162         (inc_pos): Removed.
5163         (order): New method.
5164         * gnu/java/nio/LongBufferImpl.java:
5165         Reformated and removed some code.
5166         (array_offset): Removed.
5167         (ro): Renamed to readOnly.
5168         (LongBufferImpl): Use parent constructor, initialize readOnly.
5169         (inc_pos): Removed.
5170         (order): New method.
5171         * gnu/java/nio/ShortBufferImpl.java:
5172         Reformated and removed some code.
5173         (array_offset): Removed.
5174         (ro): Renamed to readOnly.
5175         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5176         (inc_pos): Removed.
5177         (order): New method.
5178         * Makefile.am
5179         (ordinary_java_source_files): Added the following files:
5180         gnu/java/nio/ByteBufferImpl.java
5181         gnu/java/nio/CharBufferImpl.java
5182         gnu/java/nio/DoubleBufferImpl.java
5183         gnu/java/nio/FloatBufferImpl.java
5184         gnu/java/nio/IntBufferImpl.java
5185         gnu/java/nio/LongBufferImpl.java
5186         gnu/java/nio/ShortBufferImpl.java
5187         java/nio/DoubleBuffer.java
5188         java/nio/FloatBuffer.java
5189         java/nio/IntBuffer.java
5190         java/nio/LongBuffer.java
5191         java/nio/ShortBuffer.java
5192         (nat_source_files): Added the following files:
5193         gnu/java/nio/natByteBufferImpl.cc
5194         gnu/java/nio/natCharBufferImpl.cc
5195         gnu/java/nio/natDoubleBufferImpl.cc
5196         gnu/java/nio/natFloatBufferImpl.cc
5197         gnu/java/nio/natIntBufferImpl.cc
5198         gnu/java/nio/natLongBufferImpl.cc
5199         gnu/java/nio/natShortBufferImpl.cc
5200         * Makefile.in: Regenerated.
5201
5202 2003-02-11  Michael Koch  <konqueror@gmx.de>
5203
5204         * gnu/java/nio/natCharBufferImpl.cc
5205         (nio_cast): Removed.
5206         (nio_put_*): Removed.
5207         (nio_get_*): Removed.
5208         * gnu/java/nio/natDoubleBufferImpl.cc
5209         (nio_cast): Removed.
5210         (nio_put_*): Removed.
5211         (nio_get_*): Removed.
5212         * gnu/java/nio/natFloatBufferImpl.cc
5213         (nio_cast): Removed.
5214         (nio_put_*): Removed.
5215         (nio_get_*): Removed.
5216         * gnu/java/nio/natIntBufferImpl.cc
5217         (nio_cast): Removed.
5218         (nio_put_*): Removed.
5219         (nio_get_*): Removed.
5220         * gnu/java/nio/natLongBufferImpl.cc
5221         (nio_cast): Removed.
5222         (nio_put_*): Removed.
5223         (nio_get_*): Removed.
5224         * gnu/java/nio/natShortBufferImpl.cc
5225         (nio_cast): Removed.
5226         (nio_put_*): Removed.
5227         (nio_get_*): Removed.
5228         * gnu/java/nio/SelectorProviderImpl.java
5229         (openDatagramChannel): Throws IOException.
5230         (openPipe): Throws IOException.
5231         (openSelector): Throws IOException.
5232         (openServerSocketChannel): Throws IOException.
5233         (openSocketChannel): Throws IOException.
5234         * gnu/java/nio/ServerSocketChannelImpl.java
5235         (ServerSocketChannelImpl): Throws IOException.
5236         (implCloseSelectableChannel): Throws IOException.
5237         (implConfigureBlocking): Throws IOException.
5238         * java/nio/ByteBuffer.java
5239         (readOnly): Removed.
5240         (hasArray): Use isReadOnly() instead of readOnly.
5241         (array): Use isReadOnly() instead of readOnly.
5242         (arrayOffset): Use isReadOnly() instead of readOnly.
5243         * java/nio/CharBuffer.java
5244         (CharBuffer): Implements Cloneable and CharSequence.
5245
5246 2003-02-11  Michael Koch  <konqueror@gmx.de>
5247
5248         * java/nio/DoubleBuffer.java
5249         (DoubleBuffer): Implements Comparable.
5250         (endian): Removed.
5251         (array_offset): New member variable.
5252         (DoubleBuffer): New constuctor.
5253         (get): May not be final.
5254         (put): May not be final.
5255         (arrayOffset): Implemented.
5256         (order): Made abstract.
5257         (order): Removed.
5258         (as*Buffer): Removed.
5259         (get*): Removed.
5260         (put*): Removed.
5261         * java/nio/FloatBuffer.java
5262         (FloatBuffer): Implements Comparable.
5263         (endian): Removed.
5264         (array_offset): New member variable.
5265         (FloatBuffer): New constuctor.
5266         (get): May not be final.
5267         (put): May not be final.
5268         (arrayOffset): Implemented.
5269         (order): Made abstract.
5270         (order): Removed.
5271         (as*Buffer): Removed.
5272         (get*): Removed.
5273         (put*): Removed.
5274         * java/nio/IntBuffer.java
5275         (IntBuffer): Implements Comparable.
5276         (endian): Removed.
5277         (array_offset): New member variable.
5278         (IntBuffer): New constuctor.
5279         (get): May not be final.
5280         (put): May not be final.
5281         (arrayOffset): Implemented.
5282         (order): Made abstract.
5283         (order): Removed.
5284         (as*Buffer): Removed.
5285         (get*): Removed.
5286         (put*): Removed.
5287         * java/nio/LongBuffer.java
5288         (LongBuffer): Implements Comparable.
5289         (endian): Removed.
5290         (array_offset): New member variable.
5291         (LongBuffer): New constuctor.
5292         (get): May not be final.
5293         (put): May not be final.
5294         (arrayOffset): Implemented.
5295         (order): Made abstract.
5296         (order): Removed.
5297         (as*Buffer): Removed.
5298         (get*): Removed.
5299         (put*): Removed.
5300         * java/nio/ShortBuffer.java
5301         (ShortBuffer): Implements Comparable.
5302         (endian): Removed.
5303         (array_offset): New member variable.
5304         (ShortBuffer): New constuctor.
5305         (get): May not be final.
5306         (put): May not be final.
5307         (arrayOffset): Implemented.
5308         (order): Made abstract.
5309         (order): Removed.
5310         (as*Buffer): Removed.
5311         (get*): Removed.
5312         (put*): Removed.
5313
5314 2003-02-11   Michael Koch  <konqueror@gmx.de>
5315
5316         * java/nio/channels/SelectionKey.java
5317         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5318         values.
5319
5320 2003-02-11  Michael Koch  <konqueror@gmx.de>
5321
5322         * java/nio/channels/DatagramChannel.java
5323         (write): Throws IOException.
5324         (connect): Throws IOException.
5325         (disconnect): Throws IOException.
5326         (read): Throws IOException.
5327         (receive): Throws IOException.
5328         (send): Throws IOException.
5329         * java/nio/channels/Pipe.java
5330         (open): Throws IOException.
5331         * java/nio/channels/SelectableChannel.java
5332         (configureBlocking): Throws IOException.
5333         * java/nio/channels/ServerSocketChannel.java
5334         (accept): Throws IOException.
5335         * java/nio/channels/SocketChannel.java
5336         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5337         GatheringByteChannel.
5338         (read): Throws IOException.
5339         (write): Throws IOException.
5340         (finishConnect): Throws IOException.
5341         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5342         (end): Throws AsynchronousCloseException.
5343         * java/nio/channels/spi/AbstractSelectableChannel.java
5344         (configureBlocking): Throws IOException.
5345         (implCloseChannel): Throws IOException.
5346         (implCloseSelectableChannel): Throws IOException.
5347         (implConfigureBlocking): Throws IOException.
5348         * java/nio/channels/spi/SelectorProvider.java
5349         (openDatagramChannel): Throws IOException.
5350         (openPipe): Throws IOException.
5351         (openSelector): Throws IOException.
5352         (openServerSocketChannel): Throws IOException.
5353         (openSocketChannel): Throws IOException.
5354
5355 2003-02-11  Michael Koch  <konqueror@gmx.de>
5356
5357         * gnu/java/nio/FileLockImpl.java,
5358         java/nio/channels/FileLock.java: New files.
5359
5360 2003-02-11  Michael Koch  <konqueror@gmx.de>
5361
5362         * java/nio/charset/IllegalCharsetNameException.java
5363         (serialVersionUID): New member variable.
5364         (charsetName): New member variable.
5365         (IllegalCharsetException): New implementation.
5366         (getCharsetName): New implementation.
5367         * java/nio/charset/UnsupportedCharsetException.java
5368         (serialVersionUID): New member variable.
5369         (charsetName): New member variable.
5370         (UnsupportedCharsetException): New implementation.
5371         (getCharsetName): New implementation.
5372
5373 2003-02-10  Tom Tromey  <tromey@redhat.com>
5374
5375         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5376         (ex): Renamed from sqlException.
5377
5378 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5379
5380         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5381         method used to ensure seeding has occurred and that a specific 
5382         seed can be set and used.
5383
5384 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5385
5386         * java/lang/Win32Process.java (destroy): Declare as native.
5387         (hasExited): New native method.
5388         (exitValue): Define.
5389         (getErrorStream): Likewise.
5390         (getInputStream): Likewise.
5391         (getOutputStream): Likewise.
5392         (waitFor): Declare as native.
5393         (startProcess): New native method.
5394         (cleanup): Likewise.
5395         (ConcreteProcess): Define.
5396         (outputStream, inputStream, errorStream): New members.
5397         (procHandle, exitCode): Likewise.
5398
5399         * java/lang/natWin32Process.cc
5400         (java::lang::ConcreteProcess::cleanup): Define.
5401         (java::lang::ConcreteProcess::destroy): Likewise.
5402         (java::lang::ConcreteProcess::hasExited): Likewise.
5403         (java::lang::ConcreteProcess::waitFor): Likewise.
5404         (new_string): Likewise.
5405         (java::lang::ConcreteProcess::startProcess): Likewise.
5406
5407 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5408
5409         * java/math/BigInteger.java:
5410         Updated notice to include years 2002 and 3.
5411         Added 2 private (int) arrays with values from the HAC (Handbook of
5412         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5413         and t[] that contains nbr. of tests --used in isProbablePrime().
5414
5415         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5416
5417         * java/math/BigInteger.java (make(int[],int), add(int,int),
5418         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5419         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5420         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5421         make(long).
5422
5423         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5424         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5425         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5426         BIs and returns void.
5427         (modInverse(BI)): Use new signatures of euclidInv().
5428
5429         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5430         static small primes instead of remainder().
5431         Use pre-computed max nbr of trials based on bitlength of BI to test.
5432         Use pre-computed small primes for the trial tests instead of random
5433         numbers.
5434
5435         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5436         not used.
5437
5438         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5439         invoacation of MPN.chars_per_word().  not used.
5440
5441         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5442         local var and used where needed.
5443
5444         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5445         Combined declaration with initialisation of locals.
5446         Removed unused var.
5447
5448         * java/math/BigInteger.java: Style changes
5449         (pow(int)): Removed 'else' keyword.
5450         (toString(int)): idem.
5451         (doubleValue()): idem.
5452         (bitLength()): idem.
5453         (equals(Object)): Use static methods name in same class w/o prepending
5454         class name.
5455         (doubleValue()): idem.
5456         (setNegative(BI)): idem.
5457         (negate()): idem.
5458         (and(BI,int)): idem.
5459         (and(BI)): idem.
5460         (gcd(BI)): idem.
5461         (byteArrayToIntArray()): Removed casting to (int). this is
5462         std. behaviour.
5463         (canonicalize()): idem.
5464         (alloc(int)): Always instantiate a new BI.
5465
5466 2003-02-10  Tom Tromey  <tromey@redhat.com>
5467
5468         * java/sql/Timestamp.java (compareTo(Object)): New method.
5469         (compareTo(Timestamp)): Likewise.
5470         (serialVersionUID): Updated.
5471
5472 2003-02-07  Mark Wielaard  <mark@klomp.org>
5473
5474         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5475         when verify is true.
5476         (JarFile(File, boolean)): Likewise.
5477         (manifestRead): Set manifestRead field correctly.
5478
5479 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5480
5481         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5482         tests; see patch #1016 on Savannah.
5483
5484 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5485
5486         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5487         (toString): do not return Strings starting with . and - erroneously.
5488         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5489         DiagBigDecimal.
5490
5491 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5492
5493         * java/beans/PropertyDescriptor.java
5494         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5495         methods.
5496         (PropertyDescriptor(String, Class, String, String)): Likewise.
5497         (PropertyDescriptor(String, Method, Method): Factor out getter and
5498         setter method sanity checks into new method.
5499         (findMethods): Don't do parameter sanity checking of get method here.
5500         (checkMethods): New method.
5501
5502 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5503
5504         * java/beans/PropertyDescriptor.java: Reformat.
5505
5506 2003-02-04  Tom Tromey  <tromey@redhat.com>
5507
5508         * java/io/PipedOutputStream.java (flush): Declare as throwing
5509         IOException.
5510         (close): Likewise.
5511         * java/io/PipedWriter.java (close): Declare as throwing
5512         IOException.
5513         * java/io/StringWriter.java (close): Declare as throwing
5514         IOException.
5515
5516 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5517
5518         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5519         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5520         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5521         "_JNI_OnLoad@8" (MSVC).
5522
5523 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5524
5525         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5526         convention on Win32 to invoke native JNI methods.
5527
5528 2003-02-03  Andrew Haley  <aph@redhat.com>
5529
5530         * configure.host (x86_64): Enable interpreter.
5531
5532 2003-02-03  Andrew Haley  <aph@redhat.com>
5533
5534         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5535         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5536         * configure.in (BACKTRACESPEC): New.
5537         * configure: Regenerate.
5538
5539 2003-02-02  Tom Tromey  <tromey@redhat.com>
5540
5541         * configure: Rebuilt.
5542         * configure.in (TOOLKIT) [xlib]: Set correctly.
5543
5544         * Makefile.in: Rebuilt.
5545         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5546         libstdc++.
5547
5548 2003-01-31  Mark WIelaard  <mark@klomp.org>
5549
5550         * Makefile.in: Rebuilt.
5551         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5552
5553 2003-01-31  Tom Tromey  <tromey@redhat.com>
5554
5555         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5556         cast to element type.
5557         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5558         (_Jv_JNI_GetObjectArrayElement): Likewise.
5559
5560         * Makefile.in: Rebuilt.
5561         * Makefile.am (cond_x_ltlibrary): Renamed library to
5562         lib-gnu-awt-xlib.la.
5563         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5564         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5565         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5566         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5567         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5568         (lib_gnu_awt_xlib_la_LINK): Likewise.
5569         (install-exec-hook): Removed.
5570         (lib-gnu-awt-xlib.la): Renamed.
5571
5572 2003-01-31  Tom Tromey  <tromey@redhat.com>
5573
5574         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5575         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5576         aclocal.m4 and lost in some merge.
5577
5578         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5579         Don't try to find graphics configuration.
5580         * java/awt/Toolkit.java (default_toolkit_name): Use new
5581         Configuration entry.
5582         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5583         New global.
5584         * configure: Rebuilt.
5585         * configure.in (TOOLKIT): New subst.
5586         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5587         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5588         directory.  Make output directories for .c files.
5589         * Makefile.in: Rebuilt.
5590         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5591         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5592         (all_java_source_files): Added new sources.
5593         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5594         (gtk_c_files): New macro.
5595         (gtk_c_source_files): New macro.
5596         (cond_gtk_ltlibrary): New macro.
5597         ($(gtk_c_files)): New target.
5598         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5599         (gtk_awt_peer_sources): New macro.
5600         (gtk_c_headers): New macro.
5601         ($(gtk_c_headers)): New target.
5602         (ACLOCAL_AMFLAGS): New macro.
5603         * gtk.m4, glib.m4, libart.m4: New files.
5604         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5605         gnu/java/awt/peer/gtk/GdkGraphics.java,
5606         gnu/java/awt/peer/gtk/GtkArg.java,
5607         gnu/java/awt/peer/gtk/GtkArgList.java,
5608         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5609         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5610         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5611         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5612         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5613         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5614         gnu/java/awt/peer/gtk/GtkClipboard.java,
5615         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5616         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5617         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5618         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5619         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5620         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5621         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5622         gnu/java/awt/peer/gtk/GtkImage.java,
5623         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5624         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5625         gnu/java/awt/peer/gtk/GtkListPeer.java,
5626         gnu/java/awt/peer/gtk/GtkMainThread.java,
5627         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5628         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5629         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5630         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5631         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5632         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5633         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5634         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5635         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5636         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5637         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5638         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5639         gnu/java/awt/peer/gtk/GtkToolkit.java,
5640         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5641         gnu/java/awt/peer/gtk/TestAWT.java,
5642         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5643         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5644         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5645         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5646         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5647         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5648         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5649         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5650         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5651         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5652         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5653         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5654         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5655         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5656         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5657         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5658         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5659         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5660         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5661         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5662         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5663         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5664         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5665         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5666         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5667         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5668         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5669         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5670         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5671         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5672         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5673         jni/classpath/native_state.c, jni/classpath/native_state.h,
5674         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5675
5676 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5677
5678         * java/util/Properties.java (load): Ignore backslash before EOF.
5679
5680 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5681
5682         * java/lang/natClass.cc (initializeClass): Check tables when
5683         (state == JV_STATE_IN_PROGRESS).
5684         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5685         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5686         interpreted classes.
5687         (linkClass0): Use _Jv_WaitForState.
5688
5689 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5690
5691         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5692         object when finished.
5693
5694 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5695
5696         * libjava/configure.host: Disable can_unwind_signal on darwin.
5697
5698 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5699
5700         Fixes PR java/9254:
5701         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5702         additionally containing id of the owner thread as well as
5703         the number of nested times the thread has acquired the mutex.
5704         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5705         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5706         (_Jv_MutexUnlock): Check if really the owner thread, reset
5707         owner thread id to 0 before leaving, if leaving for the last
5708         time.
5709         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5710         refcount.
5711         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5712         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5713         the passed mutex.
5714         Pass handle of the broadcast event, instead of a pointer to it
5715         in Win32 ResetEvent( ) call.
5716         Remove incorrect return values.
5717         (_Jv_CondDestroy): Close both event handles and delete
5718         critical section.
5719         (_Jv_CondNotify): Check if really the owner thread.
5720         (_Jv_CondNotifyAll): Check if really the owner thread.
5721         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5722         (really_start): Use SetEvent( ) to signal daemon_cond.
5723         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5724         WaitForSingleObject( ) instead to wait for daemon_cond to be
5725         signalled.
5726
5727 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5728
5729         * configure.in: Specifically define HAVE_BACKTRACE if building
5730         for MinGW.
5731         * include/win32.h: Remove HAVE_BACKTRACE definition.
5732         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5733         * configure: Rebuilt.
5734
5735 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5736
5737         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5738         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5739         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5740         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5741         * Makefile.in, configure: Rebuilt.
5742
5743 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5744
5745         Fixes PR java/9253:
5746         * java/io/natFileWin32.cc (performList): Append only "*.*"
5747         if the canonical file path already has a "\" at the end.
5748
5749 2003-01-24  Tom Tromey  <tromey@redhat.com>
5750
5751         * defineclass.cc (handleMethodsEnd): Precompute code for static
5752         method.
5753         (handleCodeAttribute): Likewise.
5754         * resolve.cc (ncode): Use run_class for unsynchronized static
5755         methods.
5756         * include/java-interp.h (class _Jv_InterpMethod): Declare
5757         run_class.
5758         * interpret.cc (run_synch_class): Initialize class.
5759         (run) [insn_invokestatic]: Don't initialize class.
5760         [insn_anewarray]: Likewise.
5761         [insn_multianewarray]: Likewise.
5762         (run_class): New function.
5763
5764 2003-01-24  Tom Tromey  <tromey@redhat.com>
5765
5766         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5767         comment.
5768
5769 2003-01-22  Andrew Haley  <aph@redhat.com>
5770
5771         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5772         * configure.host (CHECKREFSPEC): Define for x86_64.
5773
5774 2003-01-21  Tom Tromey  <tromey@redhat.com>
5775
5776         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5777         search at 2, not 3.
5778
5779 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5780
5781         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5782         looking at any characters.
5783         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5784         be used.
5785         (isAbsolute): Check path's length as well.
5786
5787 2003-01-17  Mark Wielaard  <mark@klomp.org>
5788
5789         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5790         (nat_source_files): Add natVMObjectStreamClass.cc.
5791         * Makefile.in: Regenerated.
5792         * gcj/javaprims.h (namespace java): Regenerated.
5793         * java/io/ObjectStreamClass.java (getClassUID): Call
5794         VMObjectStreamClass.hasClassInitializer().
5795         (hasClassInitializer): Removed.
5796         * java/io/VMObjectStreamClass.java: New class.
5797         * java/io/natVMObjectStreamClass.cc: New file.
5798         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5799
5800 2003-01-16  Mark Wielaard  <mark@klomp.org>
5801
5802         * java/net/SocketImpl.java (toString): Don't explicitly call
5803         toString() on possible null address.
5804
5805 2003-01-16  Michael Koch  <konqueror@gmx.de>
5806
5807         * java/net/MulticastSocket.java
5808         (setInterface): Reindented.
5809
5810 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5811
5812         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5813         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5814         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5815         translateY arguments.  Implement.
5816         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5817         down translation arguments.
5818         (drawPolyline, drawPolygon): Fix incorrect tests.
5819         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5820         translateX and translateY arguments.
5821
5822 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5823
5824         * Makefile.in: Rebuilt.
5825         * Makefile.am (xlib_includes): New macro.
5826         (INCLUDES): Use it.
5827
5828 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5829
5830         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5831         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5832         16-bit display mode.
5833
5834 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5835
5836         * java/awt/CardLayout.java (show): Rewrote.
5837         (gotoComponent): Removed `target' argument.  Simplified code.
5838         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5839         Changed all callers.
5840         (NONE): Removed.
5841         
5842 2003-01-14  Michael Koch  <konqueror@gmx.de>
5843
5844         * java/net/InetSocketAddress.java
5845         (serialVersionUID): New member variable.
5846         * java/net/NetPermission.java
5847         (NetPermission): Dont implement java.io.Serialization directly.
5848         * java/net/SocketAddress.java:
5849         (serialVersionUID): Documentation added.
5850         
5851 2003-01-14  Michael Koch  <konqueror@gmx.de>
5852
5853         * java/awt/Label.java
5854         (Label): Implements javax.accessibility.Accessible;
5855         * java/awt/List.java
5856         (List): Implements javax.accessibility.Accessible;
5857         * java/awt/ScrollPane.java
5858         (ScrollPane): Implements javax.accessibility.Accessible;
5859         * java/awt/Scrollbar.java
5860         (Scrollbar): Implements javax.accessibility.Accessible;
5861         * java/awt/TextComponent.java
5862         (setCaretPosition): Throw exception, documentation added.
5863         * java/awt/Toolkit.java:
5864         Added some newlines in method documentations.
5865         (createButton): Exception documentation added.
5866         (createTextField): Exception documentation added.
5867         (createLabel): Exception documentation added.
5868         (createList): Exception documentation added.
5869         (createCheckbox): Exception documentation added.
5870         (createScrollbar): Exception documentation added.
5871         (createScrollPane): Exception documentation added.
5872         (createTextArea): Exception documentation added.
5873         (createChoice): Exception documentation added.
5874         (createFrame): Exception documentation added.
5875         (createWindow): Exception documentation added.
5876         (createDialog): Exception documentation added.
5877         (createMenuBar): Exception documentation added.
5878         (createMenu): Exception documentation added.
5879         (createMenuItem): Exception documentation added.
5880         (createFileDialog): Exception documentation added.
5881         (createCheckboxMenuItem): Exception documentation added.
5882         (loadSystemColors): Exception documentation added.
5883         (setDynamicLayout): Exception documentation added.
5884         (isDynamicLayoutSet): Exception documentation added.
5885         (isDynamicLayoutActive): Exception documentation added.
5886         (getScreenSize): Exception documentation added.
5887         (getScreenResolution): Exception documentation added.
5888         (getScreenInsets): Exception documentation added.
5889         (getColorModel): Exception documentation added.
5890         (getSystemClipboard): Exception documentation added.
5891         (getSystemSelection): Exception documentation added.
5892         (getMenuShortcutKeyMask): Exception documentation added.
5893         (getSystemEventQueue): Exception documentation added.
5894         * java/awt/Window.java:
5895         Reindented some code.
5896         (Window): Centralized implementation, documentation added.
5897         (finalize): Documentation added.
5898         (hide): Fixed typo in comment.
5899         (getWindowListeners): Documentation added.
5900         * java/awt/color/ColorSpace.java
5901         (toRGB): Documentation added.
5902         * java/awt/color/ICC_ColorSpace.java
5903         (ICC_ColorSpace): Documentation added.
5904         (toRGB): Throw exception, documentation added.
5905         (fromRGB): Throw exception, documentation added.
5906         (toCIEXYZ): Documentation added.
5907         (fromCIEXYZ): Documentation added.
5908         (getMinValue): Documentation added.
5909         (getMaxValue): Documentation added.
5910         * java/awt/geom/Dimension2D.java
5911         (clone): Documentation added.
5912         * java/awt/geom/GeneralPath.java
5913         (clone): Documentation added.
5914         * java/awt/geom/Line2D.java
5915         (clone): Documentation added.
5916         * java/awt/geom/QuadCurve2D.java
5917         (clone): Documentation added.
5918         * java/awt/image/ColorModel.java
5919         (ColorModel): Throw exception, documentation added.
5920         * java/awt/image/ImageFilter.java
5921         (clone): Doesnt throw CloneNotSupportedException.
5922
5923 2003-01-14  Andrew Haley  <aph@redhat.com>
5924
5925         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5926         in a try block.
5927
5928 2003-01-10  Andrew Haley  <aph@redhat.com>
5929
5930         * include/dwarf2-signal.h: Remove x86_64.
5931         * configure.host (x86_64 DIVIDESPEC): Remove.
5932         * include/x86_64-signal.h: New file.
5933         * configure.in: Regenerate.
5934
5935 2003-01-10  Michael Koch  <konqueror@gmx.de>
5936
5937         * java/net/DatagramSocket.java
5938         (ch): Description added.
5939         (remotePort): Initialize with -1.
5940         (connect): Doesnt throws SocketException.
5941         * java/net/MulticastSocket.java
5942         (setInterface): Merge with Classpath.
5943         * java/net/ServerSocket.java
5944         (closed): New member variable.
5945         (bind): Check if socket is closed.
5946         (close): Close an associated channel too, set new value to closed.
5947         (isBound): Reindented.
5948         (isClosed): Implemented.
5949         * java/net/Socket.java
5950         (closed): New member variable.
5951         (bind): Check if socket is closed.
5952         (connect): Check if socket is closed.
5953         (close): Close an associated channel too, set new value to closed.
5954         (isClosed): Implemented.
5955
5956 2003-01-10  Michael Koch  <konqueror@gmx.de>
5957
5958         * java/awt/DisplayMode.java
5959         (equals): Fixed argument type and implementation.
5960
5961 2003-01-07  Tom Tromey  <tromey@redhat.com>
5962
5963         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5964         JV_HASH_SYNCHRONIZATION.
5965         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5966         JV_HASH_SYNCHRONIZATION.
5967
5968 2003-01-07  Michael Koch  <konqueror@gmx.de>
5969  
5970         * java/net/DatagramSocket.java:
5971         Added classpath license info.
5972         (DatagramSocket): Merged description with classpath.
5973         (close): Merged description with classpath.
5974         (getChannel): Merged description with classpath.
5975         (getInetAddress): Merged description with classpath.
5976         (getPort): Merged description with classpath.
5977         (getLocalAddress): Merged description with classpath.
5978         (getLocalPort): Merged description with classpath.
5979         (getSoTimeout): Merged description with classpath.
5980         (setSoTimeout): Merged description with classpath.
5981         (getSendBufferSize): Merged description with classpath.
5982         (setSendBufferSize): Merged description with classpath.
5983         (getReceiveBufferSize): Merged description with classpath.
5984         (setReceiveBufferSize): Merged description with classpath.
5985         
5986 2003-01-04  Tom Tromey  <tromey@redhat.com>
5987
5988         * java/awt/List.java: Merged with Classpath.
5989
5990 2003-01-03  Mark Wielaard  <mark@klomp.org>
5991
5992         * java/io/FileDescriptor.java (position): New private field.
5993         * java/io/natFileDescriptorPosix.cc (write): Up position.
5994         (setLength): Use and set position.
5995         (seek): Set position.
5996         (getFilePointer): Return position.
5997         (read): Up position.
5998
5999 2003-01-03  Mark Wielaard  <mark@klomp.org>
6000
6001         Merge with Classpath:
6002         * java/io/ObjectStreamClass.java (lookup): Split method and call
6003         lookupForClassObject().
6004         (lookupForClassObject): New method.
6005         (isProxyClass): New field.
6006         (setClass): Set isProxyClass, add object to classLookupTable, set
6007         superClass and calculateOffsets.
6008         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6009         and not a proxy class.
6010         (setFields): Set accessible true for serialPersistentFields.
6011         (getClassUID): Same for suid. And check if suid is of type long.
6012         (hasClassInitializer): Don't throw NoSuchMethodError.
6013
6014 2003-01-03  Mark Wielaard  <mark@klomp.org>
6015
6016         * java/io/FileInputStream.java (finalize): Don't explicitly
6017         finalize FileDescriptor.
6018
6019 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
6020
6021         * configure.host (sparc*-*): Enable bytecode interpreter.
6022
6023 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
6024
6025         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6026         Don't throw RemoteException.
6027         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6028         throw RemoteException.
6029
6030 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6031
6032         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6033         proxyHost): New static fields.
6034         (<clinit>): Initialize new fields.
6035         (connect): Use proxy if necessary.
6036         (usingProxy): Implement.
6037
6038 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
6039
6040         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6041         (TreeIterator.remove): Prefer IllegalStateException over
6042         ConcurrentModificationException, to match Sun.
6043
6044 2002-12-22  Anthony Green  <green@redhat.com>
6045
6046         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6047
6048 2003-01-02  Mark Wielaard  <mark@klomp.org>
6049
6050         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6051         public.
6052         (HTTP_USE_PROXY): Add field.
6053         (getResponseVals): Only set responseCode when not yet explicitly
6054         set by subclass.
6055
6056 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
6057             Mark Wielaard  <mark@klomp.org>
6058
6059         * java/util/zip/ZipFile.java (entries): Now HashMap.
6060         (readLeShort(DataInput, byte[])): Read from given byte array.
6061         (readLeInt(DataInput, byte[]): Likewise.
6062         (readLeShort(byte[] b, int off)): New method.
6063         (readLeInt(byte[] b, int off)): Likewise.
6064         (readEntries): Use byte arrays to read info in bigger chunks.
6065         (getEntries): Return HashMap.
6066         (getEntry): Use HashMap.
6067         (locBuf): New private field.
6068         (checkLocalHeader): Use locBuf to read info in one chunk.
6069         (getInputStream): Use entries HashMap, wrap PartialInputStream
6070         in BufferedInputStream.
6071         (ZipEntryEnumeration): Use HashMap and Interator.
6072
6073 2003-01-02  Mark Wielaard  <mark@klomp.org>
6074             Jeroen Frijters  <jeroen@sumatra.nl>
6075
6076         * java/net/URLClassLoader.java (Resource.getCodeSource):
6077         Fix check certs == null.
6078         (getCanonicalFileURL): Removed method.
6079         (JarURLLoader): Don't call removed method.
6080         (FileURLLoader): Likewise.
6081         (FileURLLoader.getResource): Don't canonicalize file name.
6082
6083 2003-01-01  Tom Tromey  <tromey@redhat.com>
6084
6085         * Makefile.in: Rebuilt.
6086         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6087         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6088         java/awt/BufferCapabilities.java, java/awt/Button.java,
6089         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6090         java/awt/Container.java, java/awt/Cursor.java,
6091         java/awt/EventQueue.java, java/awt/FileDialog.java,
6092         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6093         java/awt/MenuBar.java, java/awt/MenuComponent.java,
6094         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6095         java/awt/Scrollbar.java, java/awt/TextArea.java,
6096         java/awt/TextField.java, java/awt/color/CMMException.java,
6097         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6098         java/awt/color/ProfileDataException.java,
6099         java/awt/datatransfer/Clipboard.java,
6100         java/awt/datatransfer/DataFlavor.java,
6101         java/awt/datatransfer/FlavorMap.java,
6102         java/awt/datatransfer/SystemFlavorMap.java,
6103         java/awt/dnd/DragGestureEvent.java,
6104         java/awt/dnd/DragGestureRecognizer.java,
6105         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6106         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6107         java/awt/im/InputMethodHighlight.java,
6108         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6109         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6110
6111         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6112         `op' to BufferedImageOp.
6113
6114 2002-12-31  Tom Tromey  <tromey@redhat.com>
6115
6116         Fix for PR libgcj/7416:
6117         * javax/naming/InitialContext.java (init): Use
6118         gnu.classpath.home.url.
6119         * java/security/Security.java: Use new properties.
6120         (loadProviders): Accept base url; use it.
6121         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6122         gnu.classpath.home.url.
6123         (gnu.classpath.home.url): Define.
6124         (gnu.classpath.vm.shortname): Likewise.
6125
6126 2002-12-31  Tom Tromey  <tromey@redhat.com>
6127             Ranjit Mathew  <rmathew@hotmail.com>
6128
6129         Fix for PR libgcj/8997:
6130         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6131         Include platform.h.
6132         * include/posix.h (_Jv_platform_usleep): New function.
6133         * include/win32.h (_Jv_platform_usleep): New function.
6134
6135 2002-12-29  Tom Tromey  <tromey@redhat.com>
6136
6137         * gcj/javaprims.h: Updated.
6138         * scripts/classes.pl (scan): Removed stray semicolon.
6139
6140 2002-12-30  Mark Wielaard  <mark@klomp.org>
6141
6142         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6143         if zero or smaller.
6144
6145 2002-12-30  Mark Wielaard  <mark@klomp.org>
6146
6147         * java/util/Properties (formatForOutput): Don't fall through to
6148         default case after escaping character.
6149
6150 2002-12-30  Mark Wielaard  <mark@klomp.org>
6151
6152         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6153         against count.
6154
6155 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6156
6157         * boehm.cc: Remove stray semicolon.
6158         * interpret.cc: Likewise.
6159         * prims.cc: Likewise.
6160         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6161         earlier to ensure default arguments are processed.
6162         * gcj/array.h (JArray): Add forward declaration.
6163         (elements): Likewise.
6164         * gcj/javaprim.h: Remove stray semicolons.
6165         * include/bohm-gc.h: Likewise.
6166         * include/jni.h: Likewise.
6167         * include/jvm.h: Likewise.
6168         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6169         
6170 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6171
6172         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6173         of catch_type.
6174         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6175         idt tables after initializing superclass.
6176         * java/lang/natClassLoader.cc (uaddr): New typedef.
6177         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6178         if they are constant pool indicies.  Don't link vtable, otable yet.
6179
6180 2002-12-21  Anthony Green  <green@redhat.com>
6181
6182         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6183         libraries.
6184         * Makefile.in: Rebuilt.
6185
6186 2002-12-19  Anthony Green  <green@redhat.com>
6187
6188         * Makefile.am (ordinary_java_source_files): Add
6189         org/xml/sax/helpers/NewInstance.java.
6190         * Makefile.in: Rebuilt.
6191         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6192         org/xml/sax/helpers/package.html: New files.
6193         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6194         http://www.saxproject.org.
6195
6196 2002-12-19  Andrew Haley  <aph@redhat.com>
6197
6198         * java/util/natResourceBundle.cc: Include
6199         ArrayIndexOutOfBoundsException.h.
6200         (getCallingClassLoader): Don't put upper bound on stack search.
6201         Catch ArrayIndexOutOfBoundsException.
6202
6203 2002-12-19  Tom Tromey  <tromey@redhat.com>
6204
6205         * libtool-version: Increased `current'.
6206
6207 2002-12-19  Tom Tromey  <tromey@redhat.com>
6208
6209         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6210         comment.
6211         * java/lang/ClassLoader.java (defineClass): Use chained
6212         exception when rethrowing.
6213         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6214         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6215         constants.
6216         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6217         (_Jv_PrepareClass): Use it.
6218         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6219         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6220         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6221         (Class): _Jv_PrepareMissingMethods now friend.
6222         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6223         Record `NULL' for system class loader.
6224         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6225         system class loader.
6226         (_Jv_FindClassInCache): Likewise.
6227         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6228         (_Jv_FindClass): Special case system class loader.
6229         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6230         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6231         vtable slots.
6232         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6233         in a final class.
6234         (_getDeclaredMethod): Don't return synthetic methods.
6235         (getDeclaredMethods): Likewise.
6236         (_getMethod): Likewise.
6237         (_getMethods): Likewise.
6238
6239 2002-12-18  Raif Naffah  <raif@fl.net.au>
6240
6241         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6242         canonical form after divide().
6243         (modInverse): Likewise.
6244
6245 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6246             Mark Wielaard  <mark@klomp.org>
6247
6248         * java/security/SecurityRandom (digest): Removed field.
6249         (SecureRandom): Check all providers for case-insensitive SecureRandom
6250         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6251         if necessary.
6252         (getInstance(String,Provider,boolean): New method.
6253         (getInstance(String)): Use new method.
6254         (getInstance(String,String)): Likewise.
6255         (getInstance(String,Provider)): Likewise.
6256
6257 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6258
6259         * java/security/Security.java (loadProviders): Increment i only once.
6260
6261 2002-12-12  Mark Wielaard  <mark@klomp.org>
6262
6263         * java/lang/ClassLoader.java (resolveClass0): Transform
6264         ClassNotFoundException to NoClassDefFoundError. Transform all other
6265         throwables to LinkageError.
6266
6267 2002-12-11  Tom Tromey  <tromey@redhat.com>
6268
6269         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6270
6271         * java/lang/ClassLoader.java (loadedClasses): New field.
6272         (defineClass): Fixed indentation.  Put new class in
6273         loadedClasses.
6274         (findLoadedClass): Implement here.
6275         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6276
6277 2002-12-10  Tom Tromey  <tromey@redhat.com>
6278
6279         * Makefile.in: Rebuilt.
6280         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6281         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6282         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6283         * java/lang/natClassLoader.cc
6284         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6285
6286 2002-12-10  Mark Wielaard  <mark@klomp.org>
6287             Tom Tromey  <tromey@redhat.com>
6288
6289         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6290         (JarURLLoader): Use it.
6291         (FileURLLoader): Likewise.
6292         (JarURLResource.getURL): Use chained exception.
6293         (FileResource.getURL): Likewise.
6294         (FileURLLoader.getResource): Use canonical file name.
6295         (addURL): Indentation fix.
6296
6297 2002-12-10  Tom Tromey  <tromey@redhat.com>
6298
6299         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6300         From Laurent Bardet <l.bardet@magic.fr>.
6301
6302 2002-12-09  Tom Tromey  <tromey@redhat.com>
6303
6304         * include/win32.h (_Jv_platform_solib_prefix): New define.
6305         (_Jv_platform_solib_suffix): Likewise.
6306         * include/posix.h (_Jv_platform_solib_prefix): New define.
6307         (_Jv_platform_solib_suffix): Likewise.
6308         * java/lang/natRuntime.cc: Include StackTrace.h.
6309         (_load): Use findLibrary and new platform defines.
6310         (nativeGetLibname): Use new platform defines.
6311
6312         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6313         `t' won't be null.
6314
6315 2002-12-08  Mark Wielaard  <mark@klomp.org>
6316
6317         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6318         cache remote jar files.
6319         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6320         add File.separator to URL when it is a directory.
6321         * java/lang/ClassLoader.java: Add Classpath javadoc.
6322         (parent): final.
6323         (getParent): Add (disabled) security check.
6324         (findLibrary): New default method.
6325         * java/net/JarURLConnection.java (getManifest): Implement.
6326         (getInputStream): Only create InputStream when entry exists.
6327         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6328         when they exist.
6329         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6330
6331 2002-12-08  Mark Wielaard  <mark@klomp.org>
6332
6333         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6334         (lastDefaultLocale): New field.
6335         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6336         resourceBundleCache.
6337
6338 2002-12-06  Mark Wielaard  <mark@klomp.org>
6339
6340         * java/net/InetAddress.java (toString): Use hostname when not null,
6341         don't do an explicit reverse getHostName() lookup.
6342         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6343         NullPointerException.
6344
6345 2002-12-06  Tom Tromey  <tromey@redhat.com>
6346
6347         * include/java-interp.h (class _Jv_InterpMethod): Added
6348         JV_MARKOBJ_DECL.
6349         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6350         mark `prepared' field of interpreted method.
6351         * interpret.cc (compile): Use _Jv_AllocBytes.
6352
6353 2002-12-05  Andrew Haley  <aph@redhat.com>
6354
6355         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6356         #ifdef (HAVE_BACKTRACE) around the whole function body.
6357
6358 2002-12-05  Tom Tromey  <tromey@redhat.com>
6359
6360         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6361         * resolve.cc: Don't include AbstractMethodError.h.
6362         (_Jv_abstractMethodError): Removed.
6363         * defineclass.cc (handleMethodsBegin): Initialize method index to
6364         -1.
6365         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6366         method index for "new" final method.
6367         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6368         isVirtualMethod.  Added `flags' argument.
6369         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6370         class.
6371
6372 2002-12-04  Tom Tromey  <tromey@redhat.com>
6373
6374         * java/net/SocketPermission.java (hashCode): Rewrote.
6375
6376 2002-12-04  Tom Tromey  <tromey@redhat.com>
6377
6378         * Makefile.in: Rebuilt.
6379         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6380         natResourceBundle.
6381         * java/util/ResourceBundle.java (Security): Removed.
6382         (getCallingClassLoader): Now native.
6383         * java/util/natResourceBundle.cc: New file.
6384         * java/lang/natVMSecurityManager.cc: New file.
6385         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6386
6387 2002-12-03  Mark Wielaard  <mark@klomp.org>
6388
6389         * java/util/jar/JarFile.java (manifest): Not final.
6390         (manifestRead): New field.
6391         (JarFile): Don't read Manifest in constructor.
6392         (getManifest): New method.
6393         (JarEnumeration.nextElement): Use new method.
6394         (getEntry): Likewise.
6395         * java/util/zip/ZipFile.java (name): Final.
6396         (raf): Likewsie.
6397         (entries): Change type to Hashtable.
6398         (closed): New field.
6399         (ZipFile): Don't read enties in constructor.
6400         (readEntries): Use Hashtable.
6401         (close): Set new close flag and set entries to null inside
6402         synchronized block.
6403         (entries): Contruct enumeration using new getEntries() method and
6404         entries Hashtable.
6405         (getEntryIndex): Removed.
6406         (getEntries): New method.
6407         (getEntry): Use new getEntries() method and entries Hastable.
6408         (getInputStream): Likewise.
6409         (size): Return getEntries().size().
6410         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6411         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6412         (time): Removed
6413         (dostime): New field.
6414         (zipFileIndex): Removed.
6415         (ZipEntry(ZipEntry)): Copy dostime.
6416         (setDOSTime): Now final and doesn't convert dos time.
6417         (getDOSTime): Likewise.
6418         (setTime): Convert dos time.
6419         (getTime): Likewise.
6420         (getCalendar): New method.
6421         (setExtra): Use setTime().
6422         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6423
6424 2002-12-03  Tom Tromey  <tromey@redhat.com>
6425
6426         * java/lang/Character.java (forDigit): Formatting fix.
6427
6428 2002-12-03  Raif Naffah  <raif@fl.net.au>
6429
6430         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6431         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6432         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6433
6434 2002-12-03  Andrew Haley  <aph@redhat.com>
6435
6436         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6437         _Jv_PushClass.
6438         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6439         (_Jv_PopClass): New.
6440         (_Jv_PushClass): New.
6441         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6442         discover the ClassLoader of our caller.
6443         (_Jv_CheckArrayStore): Don't check that a class is assignment
6444         compatible with Object.
6445         * java/lang/natVMTHrowable.cc: Delete.
6446         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6447         java.lang.VMThrowable.
6448         (StackTrace(), StackTrace(int)): New constructors.
6449         (classAt, methodAt, update, methodAtAddress): New methods.
6450         (map): New field.
6451         * java/lang/VMThrowable.java: Use StackTrace instead of
6452         natVMTHrowable.
6453         * java/lang/Class.h (getClassLoaderInternal): New.
6454         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6455         Be friendly with gnu::gcj::runtime::StackTrace.
6456         (Object.chain): New field.
6457         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6458         gnu::gcj::runtime::StackTrace.
6459         * gnu/gcj/runtime/natStackTrace.cc: New file.
6460         * gnu/gcj/runtime/MethodRef.java: New file.
6461         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6462         instead of getClassLoader().
6463         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6464         java::lang::VMThrowable.
6465         * Makefile.am (core_java_source_files): Add MethodRef.java,
6466         StackTrace.java.
6467         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6468         * Makefile.in: Rebuild.
6469
6470 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6471
6472         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6473         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6474         yes also for sh-linux* and sh[34]*-linux*.
6475         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6476         set SIGNAL_HANDLER to use DWARF2 exception for them.
6477         * configure: Regenerate.
6478
6479 2002-12-02  Tom Tromey  <tromey@redhat.com>
6480
6481         * jni.cc: Added `name' argument.
6482         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6483         `const char *' argument.
6484         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6485
6486 2002-12-01  Tom Tromey  <tromey@redhat.com>
6487
6488         Bug compatibility, for PR libgcj/8738:
6489         * java/io/CharArrayWriter.java (close): Do nothing.
6490         (flush): Likewise.
6491         (reset): Don't touch `closed'.
6492         (write(int)): Don't throw IOException.
6493         (write(char[],int,int)): Likewise.
6494         (write(String,int,int)): Likewise.
6495         (closed): Removed.
6496
6497 2002-12-01  Mark Wielaard  <mark@klomp.org>
6498
6499         * java/lang/SecurityManager.java: Remerge comments, indenting and
6500         checkXXX methods with Classpath.
6501
6502 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6503
6504         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6505         getNormalizedComponents): Fix calculation which was using one too
6506         many bits in the unnormalized format.
6507
6508 2002-11-29  Gary Benson  <gbenson@redhat.com>
6509
6510         For PR libgcj/8759:
6511         * java/beans/Introspector.java (flushCaches): New method.
6512         (flushFromCaches): Likewise.
6513
6514 2002-11-29  Michael Koch <konqueror@gmx.de>
6515
6516         * java/nio/channels/DatagramChannel.java
6517         (open): Added exception documentation.
6518         (write): Added exception documentation.
6519         (connect): Added exception documentation.
6520         (disconnect): Added exception documentation.
6521         (isConnected): Added exception documentation.
6522         (read): Added exception documentation.
6523         (receive): Added exception documentation.
6524         (send): Added exception documentation.
6525         (validOps): Added exception documentation.
6526         * java/nio/channels/SocketChannel.java
6527         (open): Added exception documentation.
6528         (read): Added exception documentation.
6529         (write): Added exception documentation.
6530         (connect): Added exception documentation.
6531         (finishConnect): Added exception documentation.
6532
6533 2002-11-29  Michael Koch <konqueror@gmx.de>
6534
6535         * gnu/java/nio/DatagramChannelImpl:
6536         (fd): New member variable to store file descriptor of socket.
6537         * gnu/java/nio/SelectionKeyImpl.java:
6538         (ops): Removed.
6539         (readyOps): New member variable.
6540         (interestOps): New member variable.
6541         (readyOps): Implemented.
6542         (readyOps): New method to set member variable readyOps.
6543         (interestOps): Replaced ops by interestOps.
6544         * gnu/java/nio/SelectorImpl.java:
6545         (SelectorImpl): Initialize key sets.
6546         (select): Call select with -1 instead of Long.MAX_VALUE).
6547         (java_do_select): Make it a native method.
6548         (getFDsAsArray): New helper method.
6549         (select): Remove canceled keys, give only interested file discriptors
6550         to java_do_select, set ready ops.
6551         (add): No need to initialize keys set here.
6552         (add_selected): No need to initialize selected set here.
6553         (deregisterCanceledKeys): New helper method.
6554         (register): Set interest ops, set attachments, added handling of datagram
6555         channels.
6556         * gnu/java/nio/ServerSocketChannelImpl:
6557         (SocketAccept): Renamed from NioSocketAccept.
6558         (implConfigureBlocking): Implemented.
6559         (accept): Use SocketAccept instead of NioSocketAccept.
6560         * gnu/java/nio/SocketChannelImpl:
6561         Reactivate native methods.
6562
6563 2002-11-29  Michael Koch <konqueror@gmx.de>
6564
6565         * gnu/java/nio/natByteBufferImpl.cc,
6566         gnu/java/nio/natCharBufferImpl.cc,
6567         gnu/java/nio/natDoubleBufferImpl.cc,
6568         gnu/java/nio/natFloatBufferImpl.cc,
6569         gnu/java/nio/natIntBufferImpl.cc,
6570         gnu/java/nio/natLongBufferImpl.cc,
6571         gnu/java/nio/natSelectorImpl.cc,
6572         gnu/java/nio/natServerSocketChannelImpl.cc,
6573         gnu/java/nio/natShortBufferImpl.cc,
6574         gnu/java/nio/natSocketChannelImpl.cc:
6575         New files that implement native functionalities.
6576
6577 2002-11-29  Michael Koch <konqueror@gmx.de>
6578
6579         * gnu/java/nio/ByteBufferImpl.java
6580         (ByteBufferImpl): Moved position() after limit.
6581         (nio_*): Use native implementation.
6582         * gnu/java/nio/CharBufferImpl.java:
6583         Reformated.
6584         (endian): New member variable string endianess of buffer.
6585         (CharBufferImpl): Moved position() after limit.
6586         (nio_*): Use native implementation.
6587         (subSequence): Implemented.
6588         * gnu/java/nio/DoubleBufferImpl.java
6589         (DoubleBufferImpl): Moved position() after limit.
6590         (nio_*): Use native implementation.
6591         * gnu/java/nio/FloatBufferImpl.java
6592         Reformated.
6593         (FloatBufferImpl): Moved position() after limit.
6594         (nio_*): Use native implementation.
6595         * gnu/java/nio/IntBufferImpl.java
6596         Added needed imports, Reformated.
6597         (IntBufferImpl): Moved position() after limit.
6598         (nio_*): Use native implementation.
6599         * gnu/java/nio/LongBufferImpl.java
6600         Reformated.
6601         (LongBufferImpl): Moved position() after limit.
6602         (nio_*): Use native implementation.
6603         * gnu/java/nio/ShortBufferImpl.java
6604         Reformated.
6605         (ShortBufferImpl): Moved position() after limit.
6606         (nio_*): Use native implementation.
6607
6608 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6609
6610         * java/util/Locale.java (toString): Improve efficiency if country
6611         and variant are both empty.
6612
6613 2002-11-26  Tom Tromey  <tromey@redhat.com>
6614
6615         * verify.cc (pop_init_ref): New method.
6616         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6617         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6618         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6619         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6620         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6621         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6622         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6623         let `this' argument be uninitialized.  Don't let `null' be passed
6624         as `this' to construtor.
6625
6626 2002-11-26  Mark Wielaard  <mark@klomp.org>
6627
6628         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6629         * javax/transaction/HeuristicMixedException.java: Likewise.
6630         * javax/transaction/HeuristicRollbackException.java: Likewise.
6631         * javax/transaction/InvalidTransactionException.java: Likewise.
6632         * javax/transaction/NotSupportedException.java: Likewise.
6633         * javax/transaction/RollbackException.java: Likewise.
6634         * javax/transaction/Status.java: Likewise.
6635         * javax/transaction/Synchronization.java: Likewise.
6636         * javax/transaction/SystemException.java: Likewise.
6637         * javax/transaction/Transaction.java: Likewise.
6638         * javax/transaction/TransactionManager.java: Likewise.
6639         * javax/transaction/TransactionRequiredException.java: Likewise.
6640         * javax/transaction/TransactionRolledbackException.java: Likewise.
6641         * javax/transaction/UserTransaction.java: Likewise.
6642         * javax/transaction/xa/XAException.java: Likewise.
6643         * javax/transaction/xa/XAResource.java: Likewise.
6644         * javax/transaction/xa/Xid.java: Likewise.
6645
6646 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6647
6648         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6649         define.
6650         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6651         * include/posix.h (socklen_t): Define if not already defined.
6652
6653 2002-11-25  Tom Tromey  <tromey@redhat.com>
6654
6655         * verify.cc (type::compatible): Backed out broken change.
6656
6657         * verify.cc (type::compatible): Check initialization status
6658         first.
6659         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6660         Don't use NULLCHECK.
6661
6662 2002-11-23  H.J. Lu <hjl@gnu.org>
6663
6664         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6665         Include ../config/accross.m4.
6666         * aclocal.m4; Rebuild.
6667         * configure: Likewise.
6668
6669 2002-11-23  Mark Wielaard  <mark@klomp.org>
6670
6671         * javax/naming/AuthenticationException.java: Update copyright header.
6672         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6673         * javax/naming/Binding.java: Likewise.
6674         * javax/naming/CannotProceedException.java: Likewise.
6675         * javax/naming/CommunicationException.java: Likewise.
6676         * javax/naming/CompositeName.java: Likewise.
6677         * javax/naming/CompoundName.java: Likewise.
6678         * javax/naming/ConfigurationException.java: Likewise.
6679         * javax/naming/Context.java: Likewise.
6680         * javax/naming/ContextNotEmptyException.java: Likewise.
6681         * javax/naming/InitialContext.java: Likewise.
6682         * javax/naming/InsufficientResourcesException.java: Likewise.
6683         * javax/naming/InterruptedNamingException.java: Likewise.
6684         * javax/naming/LimitExceededException.java: Likewise.
6685         * javax/naming/LinkException.java: Likewise.
6686         * javax/naming/LinkLoopException.java: Likewise.
6687         * javax/naming/LinkRef.java: Likewise.
6688         * javax/naming/MalformedLinkException.java: Likewise.
6689         * javax/naming/NameAlreadyBoundException.java: Likewise.
6690         * javax/naming/NameClassPair.java: Likewise.
6691         * javax/naming/NameNotFoundException.java: Likewise.
6692         * javax/naming/NameParser.java: Likewise.
6693         * javax/naming/NamingEnumeration.java: Likewise.
6694         * javax/naming/NamingSecurityException.java: Likewise.
6695         * javax/naming/NoInitialContextException.java: Likewise.
6696         * javax/naming/NoPermissionException.java: Likewise.
6697         * javax/naming/NotContextException.java: Likewise.
6698         * javax/naming/OperationNotSupportedException.java: Likewise.
6699         * javax/naming/PartialResultException.java: Likewise.
6700         * javax/naming/Reference.java: Likewise.
6701         * javax/naming/Referenceable.java: Likewise.
6702         * javax/naming/ReferralException.java: Likewise.
6703         * javax/naming/ServiceUnavailableException.java: Likewise.
6704         * javax/naming/SizeLimitExceededException.java: Likewise.
6705         * javax/naming/TimeLimitExceededException.java: Likewise.
6706         * javax/naming/directory/Attribute.java: Likewise.
6707         * javax/naming/directory/AttributeInUseException.java: Likewise.
6708         * javax/naming/directory/AttributeModificationException.java: Likewise.
6709         * javax/naming/directory/Attributes.java: Likewise.
6710         * javax/naming/directory/BasicAttribute.java: Likewise.
6711         * javax/naming/directory/BasicAttributes.java: Likewise.
6712         * javax/naming/directory/DirContext.java: Likewise.
6713         * javax/naming/directory/InitialDirContext.java: Likewise.
6714         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6715         Likewise.
6716         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6717         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6718         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6719         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6720         * javax/naming/directory/ModificationItem.java: Likewise.
6721         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6722         * javax/naming/directory/SchemaViolationException.java: Likewise.
6723         * javax/naming/directory/SearchControls.java: Likewise.
6724         * javax/naming/directory/SearchResult.java: Likewise.
6725         * javax/naming/event/EventContext.java: Likewise.
6726         * javax/naming/event/EventDirContext.java: Likewise.
6727         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6728         * javax/naming/event/NamingEvent.java: Likewise.
6729         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6730         * javax/naming/event/NamingListener.java: Likewise.
6731         * javax/naming/event/ObjectChangeListener.java: Likewise.
6732         * javax/naming/ldap/Control.java: Likewise.
6733         * javax/naming/ldap/ControlFactory.java: Likewise.
6734         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6735         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6736         * javax/naming/ldap/HasControls.java: Likewise.
6737         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6738         * javax/naming/ldap/LdapContext.java: Likewise.
6739         * javax/naming/ldap/LdapReferralException.java: Likewise.
6740         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6741         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6742         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6743         * javax/naming/spi/DirObjectFactory.java: Likewise.
6744         * javax/naming/spi/DirStateFactory.java: Likewise.
6745         * javax/naming/spi/DirectoryManager.java: Likewise.
6746         * javax/naming/spi/InitialContextFactory.java: Likewise.
6747         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6748         * javax/naming/spi/NamingManager.java: Likewise.
6749         * javax/naming/spi/ObjectFactory.java: Likewise.
6750         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6751         * javax/naming/spi/ResolveResult.java: Likewise.
6752         * javax/naming/spi/Resolver.java: Likewise.
6753         * javax/naming/spi/StateFactory.java: Likewise.
6754
6755         * javax/naming/spi/NamingManager.java (ofb): Package private.
6756
6757 2002-11-21  Mark Wielaard  <mark@klomp.org>
6758
6759         * java/net/URL.java: Merge with Classpath (partly).
6760         * java/net/URLStreamHandler: Merge with Classpath.
6761
6762 2002-11-22  Michael Koch <konqueror@gmx.de>
6763
6764         * include/posix.h:
6765         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6766         * include/win32.h:
6767         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6768         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6769
6770 2002-11-21  Michael Koch <konqueror@gmx.de>
6771
6772         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6773         Only the new network functions should be in it.
6774
6775 2002-11-21  Michael Koch <konqueror@gmx.de>
6776
6777         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6778         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6779
6780 2002-11-21  Michael Koch <konqueror@gmx.de>
6781
6782         * java/nio/channels/AsynchronousCloseException.java,
6783         java/nio/channels/CancelledKeyException.java,
6784         java/nio/channels/ClosedByInterruptException.java,
6785         java/nio/channels/ConnectionPendingException.java,
6786         java/nio/channels/FileLockInterruptionException.java,
6787         java/nio/channels/IllegalSelectorException.java,
6788         java/nio/channels/NoConnectionPendingException.java,
6789         java/nio/channels/NonReadableChannelException.java,
6790         java/nio/channels/NonWritableChannelException.java,
6791         java/nio/channels/NotYetBoundException.java,
6792         java/nio/channels/NotYetConnectedException.java,
6793         java/nio/channels/OverlappingFileLockException.java,
6794         java/nio/channels/UnresolvedAddressException.java,
6795         java/nio/channels/UnsupportedAddressTypeException.java:
6796         New files.
6797         * Makefile.am (ordinary_java_source_files): Added new files.
6798         * Makefile.in: Regenerated.
6799
6800 2002-11-21  Michael Koch <konqueror@gmx.de>
6801
6802         * include/posix.h
6803         (_Jv_socket): New method.
6804         (_Jv_connect): New method.
6805         (_Jv_close): New method.
6806         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6807         (_Jv_bind): New method.
6808         (_Jv_listen): New method.
6809         (_Jv_write): New method.
6810         (_Jv_read): New method.
6811         * include/win32.h
6812         (_Jv_socket): New method.
6813         (_Jv_connect): New method.
6814         (_Jv_close): New method.
6815         (_Jv_bind): New method.
6816         (_Jv_listen): New method.
6817         (_Jv_write): New method.
6818         (_Jv_read): New method.
6819         * java/net/natNetworkInterface.cc:
6820         Include platform.h, removed inclusion of socket.h
6821         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6822         ::close() by _Jv_close().
6823         * java/net/natPlainDatagramSocketImpl.cc:
6824         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6825         added some new lines to make code more readable.
6826         (create): Replaced ::socket() by _Jv_socket().
6827         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6828         * java/net/natPlainSocketImpl.cc:
6829         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6830         removed include of socket.h, removed some windows defines
6831         (now in include/win32.h).
6832         (create): Replaced ::socket() by _Jv_socket().
6833         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6834         (write): Replaced ::read by _Jv_write().
6835         (read): Replaced ::read by _Jv_read().
6836
6837 2002-11-20  Michael Koch <konqueror@gmx.de>
6838
6839         * Makefile.am (ordinary_java_source_files):
6840         Added java/nio/channels/FileChannel.java.
6841         * Makefile.in: Regenerated.
6842
6843 2002-11-20  Michael Koch <konqueror@gmx.de>
6844
6845         * java/io/FileInputStream.java
6846         (getChannel): New method.
6847         * java/io/FileOutputStream.java
6848         (getChannel): New method.
6849         * java/net/ServerSocket.java
6850         (bind): Removed duplicate code and called another bind method instead.
6851         * java/nio/channels/SelectionKey.java
6852         (isValid): Removed wrong exception documentation.
6853         * java/nio/channels/ServerSocketChannel.java
6854         (accept): Added exception documentation.
6855         (open): Fixed typo, added exception documentation.
6856         * java/nio/channels/spi/AbstractSelectableChannel.java
6857         (implCloseChannel): Added exception documentation.
6858         (add): Reformated.
6859         (register): Added exception documentation.
6860
6861 2002-11-20  Andreas Jaeger  <aj@suse.de>
6862
6863         * configure: Regenerated with new libtool.m4.
6864
6865 2002-11-19  Tom Tromey  <tromey@redhat.com>
6866
6867         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6868         `referent'.
6869         (finalize_referred_to_object): Don't modify `referent' or `copy'
6870         fields.
6871         (add_to_hash): Correctly set `n->next' when updating list.
6872         * java/lang/ref/Reference.java (enqueue): Return false if already
6873         enqueued.
6874
6875 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6876
6877         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6878         to function and function pointer declarations in accordance with
6879         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6880         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6881         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6882         JNI function definitions.
6883
6884 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6885
6886         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6887         that was causing CoderResults to be cached, not WeakReferences
6888         to CoderResults.
6889
6890 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6891
6892         * java/security/KeyStore.java (getInstance): Fix
6893         comment and throw IllegalArgumentException if
6894         given provider is null.
6895         (getInstance): New method for jdk1.4 compatibility.
6896
6897 2002-11-18  Michael Koch <konqueror@gmx.de>
6898
6899         * java/net/PlainSocketImpl.java: Fix imports.
6900
6901 2002-11-18  Michael Koch <konqueror@gmx.de>
6902
6903         * java/nio/channels/SelectionKey.java
6904         (isValid): Added exception documentation.
6905         * java/nio/channels/Selector.java
6906         (open): Declare "throws IOException".
6907
6908 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6909
6910         * java/nio/charset/Charset.java
6911         (<clinit>): New method.
6912         (encode): Synchronize use of cached encoder object.
6913         (decode): Synchronize use of cached encoder object.
6914
6915 2002-11-18  Michael Koch <konqueror@gmx.de>
6916
6917         * gnu/java/nio/ByteBufferImpl.java,
6918         gnu/java/nio/CharBufferImpl.java,
6919         gnu/java/nio/DatagramChannelImpl.java,
6920         gnu/java/nio/DoubleBufferImpl.java,
6921         gnu/java/nio/FileChannelImpl.java,
6922         gnu/java/nio/FloatBufferImpl.java,
6923         gnu/java/nio/IntBufferImpl.java,
6924         gnu/java/nio/LongBufferImpl.java,
6925         gnu/java/nio/PipeImpl.java,
6926         gnu/java/nio/SelectionKeyImpl.java,
6927         gnu/java/nio/SelectorImpl.java,
6928         gnu/java/nio/SelectorProviderImpl.java,
6929         gnu/java/nio/ServerSocketChannelImpl.java,
6930         gnu/java/nio/ShortBufferImpl.java,
6931         gnu/java/nio/SocketChannelImpl.java,
6932         java/nio/DoubleBuffer.java,
6933         java/nio/FloatBuffer.java,
6934         java/nio/IntBuffer.java,
6935         java/nio/LongBuffer.java,
6936         java/nio/ShortBuffer.java,
6937         java/nio/channels/FileChannel.java: New files.
6938
6939 2002-11-18  Michael Koch <konqueror@gmx.de>
6940
6941         * Makefile.am (ordinary_java_source_files):
6942         Added java/nio/ReadOnlyBufferException.java and
6943         java/nio/channels/ClosedSelectorException.java.
6944         * Makefile.in: Regenerated.
6945
6946 2002-11-18  Michael Koch <konqueror@gmx.de>
6947
6948         * java/net/PlainSocketImpl.java: Reworked imports.
6949         * java/net/ServerSocket.java
6950         (ServerSocket): Create socket.
6951         * java/net/SocketAddress.java: Documentation added.
6952         * java/net/natPlainSocketImpl.cc: Reindented.
6953         * java/nio/ReadOnlyBufferException.java: New file
6954         * java/nio/channels/ClosedChannelException.java: Documentation added.
6955         * java/nio/channels/ClosedSelectorException.java: New file.
6956
6957 2002-11-17  Mark Wielaard  <mark@klomp.org>
6958
6959         * java/net/HttpURLConnection.java ((getPermission): Take port
6960         into consideration.
6961         (getErrorStream): Implement.
6962
6963 2002-11-17  Mark Wielaard  <mark@klomp.org>
6964
6965         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6966
6967 2002-11-16  Mark Wielaard  <mark@klomp.org>
6968
6969         Integrate work by Raif S. Naffah (raif@fl.net.au)
6970         * java/security/DummyKeyPairGenerator.java (clone): New method.
6971         * java/security/DummyMessageDigest.java (clone): New method.
6972         (engineUpdate): Now public.
6973         (engineReset): Likewise.
6974         (engineDigest): Likewise.
6975         (engineGetDigestLength): New method.
6976         * java/security/DummySignature.java (clone): New method.
6977         * java/security/KeyPairGenerator.java (provider): Now package private.
6978         (getInstance(String)): Use getInstance(String,Provider).
6979         (getInstance(String,String): Use getInstance(String,Provider)
6980         (getInstance(String,Provider): New method.
6981         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6982         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6983         * java/security/MessageDigest.java (provider): Now package private.
6984         (getInstance(String): Use getInstance(String,Provider).
6985         (getInstance(String,String): Use getInstance(String,Provider)
6986         (getInstance(String,Provider): New method.
6987         * java/security/Provider.java (toCanonicalKey): New method.
6988         (get): New method that uses toCanonicalKey().
6989         (put): Use toCanonicalKey().
6990         (remove): Likewise.
6991         * java/security/Security.java (insertProviderAt): Provider index is one
6992         based, not zero based.
6993         (addProvider): Likewise.
6994         (removeProvider): Likewise.
6995         * java/security/Signature.java (provider): Now package private.
6996         (getInstance(String)): Use getInstance(String,Provider).
6997         (getInstance(String,String): Use getInstance(String,Provider)
6998         (getInstance(String,Provider): New method.
6999         (getInstance(String,String,Provider): Don't cast DummySignature.
7000
7001 2002-11-15  Tom Tromey  <tromey@redhat.com>
7002
7003         For PR libgcj/8593:
7004         * java/util/zip/GZIPInputStream.java (read): Check file size.
7005         Look in inflater for remaining input bytes.
7006         (read4): Added buf and offset arguments.
7007
7008 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
7009
7010         * java/applet/AppletContext.java: Fix typo and remove redundant
7011         modifiers.
7012
7013 2002-11-14  Tom Tromey  <tromey@redhat.com>
7014
7015         * java/lang/natRuntime.cc (insertSystemProperties): Set
7016         gnu.classpath.home.
7017
7018 2002-11-13  Michael Koch <konqueror@gmx.de>
7019
7020         * java/nio/ByteBuffer.java
7021         (allocate): New method.
7022         (wrap): New method.
7023         (put): New method.
7024         (get): New method.
7025
7026 2002-11-13  Michael Koch <konqueror@gmx.de>
7027
7028         * java/nio/channels/AlreadyConnectedException.java:
7029         Removed unneeded import.
7030         (AlreadyConnectedException): Documentation added.
7031         * java/nio/channels/Pipe.java
7032         (SinkChannel.SinkChannel): Documentation added.
7033         (SinkChannel.validOps): New method.
7034         (SourceChannel.SourceChannel): Documentation added.
7035         (SourceChannel.validOps): New method.
7036         (Pipe): Documentation added.
7037         (open): Documentation added.
7038         (SinkChannel.channel): Documentation added.
7039         (SourceChannel.channel): Documentation added.
7040         * java/nio/channel/SelectableChannel.java
7041         (SelectableChannel): Documentation added.
7042         (blockingLock): Documentation added.
7043         (configureBlocking):Documentation added.
7044         (isBlocking):Documentation added.
7045         (isRegistered):Documentation added.
7046         (keyFor):Documentation added.
7047         (provider):Documentation added.
7048         (register): Documentation added.
7049         (validOps): Documentation added.
7050         * jaba/nio/channels/SelectionKey.java
7051         (SelectionKey): Documentation added.
7052         (attach): Documentation added.
7053         (attachment): Documentation added.
7054         (isAcceptable): Documentation added.
7055         (isConnetable): Documentation added.
7056         (isReadable): Documentation added.
7057         (isWritable): Documentation added.
7058         (cancel): Documentation added.
7059         (channel): Documentation added.
7060         (interestOps): Documentation added.
7061         (isValid): Documentation added.
7062         (readyOps): Documentation added.
7063         (selector): Documentation added.
7064         * jaba/nio/channels/Selector.java
7065         (Selector): Documentation added.
7066         (open): Documentation added.
7067         (close): Documentation added.
7068         (isOpen): Documentation added.
7069         (keys): Documentation added.
7070         (provider): Documentation added.
7071         (select): Documentation added.
7072         (selectedKeys): Documentation added.
7073         (selectNow): Documentation added.
7074         (wakeup): Documentation added.
7075         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7076         (AbstractInterruptibleChannel): Documentation added.
7077         (opened): Default to true;
7078         (begin): Documentation added.
7079         (close): Set opened to false, documentation added.
7080         (isOpen): Documentation added.
7081         * java/nio/channels/spi/AbstractSelectionKey.java
7082         (AbstractSelectionKey): Documentation added.
7083         (cancel): Documentation added.
7084         (isValid): Documentation added.
7085         * java/nio/channels/spi/AbstractSelector.java
7086         (AbstractSelector): Documentation added.
7087         (begin): Documentation added.
7088         (close): Documentation added.
7089         (isOpen): Documentation added.
7090         (deregister): Documentation added.
7091         (end): Documentation added.
7092         (provider): Documentation added.
7093         (implCloseSelector): Documentation added.
7094         (register): Documentation added.
7095         * java/nio/channels/spi/SelectorProvider.java
7096         (SelectorProvider): Documentation added.
7097         (openDatagramChannel): Documentation added.
7098         (openPipe): Documentation added.
7099         (openSelector): Documentation added.
7100         (openServerSocketChannel): Documentation added.
7101         (openSocketChannel): Documentation added.
7102         (provider): Documentation added.
7103
7104 2002-11-12  Michael Koch <konqueror@gmx.de>
7105
7106         * java/nio/Buffer.java: Implemented.
7107         * java/nio/CharBuffer.java: New file.
7108         * java/nio/InvalidMarkException.java: New file.
7109         * java/nio/channels/DatagramChannel.java: Implemented.
7110         * java/nio/channels/ServerSocketChannel.java: Implemented.
7111         * java/nio/channels/SocketChannel.java: Implemented.
7112         * java/nio/channels/spi/AbstractChannel.java: Removed.
7113         * java/nio/channels/spi/AbstractSelectableChannel.java:
7114         Implemented.
7115         * java/nio/charset/Charset.java:
7116         Merge from Classpath.
7117         * java/nio/charset/CharsetDecoder.java: New file.
7118         * java/nio/charset/CharsetEncoder.java: New file.
7119         * java/nio/charset/CoderResult.java: New file.
7120         * Makefile.am (ordinary_java_source_files): Added new files.
7121         * Makefile.in: Regenerated.
7122
7123 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7124
7125         * gnu/java/nio/charset/ISO_8859_1.java,
7126         gnu/java/nio/charset/Provider.java,
7127         gnu/java/nio/charset/US_ASCII.java,
7128         gnu/java/nio/charset/UTF_16.java,
7129         gnu/java/nio/charset/UTF_16BE.java,
7130         gnu/java/nio/charset/UTF_16Decoder.java,
7131         gnu/java/nio/charset/UTF_16Encoder.java,
7132         gnu/java/nio/charset/UTF_16LE.java,
7133         gnu/java/nio/charset/UTF_8.java: New files.
7134
7135 2002-11-11  Michael Koch <konqueror@gmx.de>
7136
7137         * java/nio/charset/CharacterCodingException.java:
7138         This class must be public.
7139         * java/nio/charset/CoderMalfunctionError.java:
7140         This class must be public.
7141         * java/nio/charset/CodingErrorAction.java:
7142         This class must be public.
7143         * java/nio/charset/IllegalCharsetNameException.java:
7144         This class must be public, better implementation.
7145         * java/nio/charset/MalformedInputException.java:
7146         This class must be public, better implementation.
7147         * java/nio/charset/UnmappableCharacterException.java:
7148         This class must be public, better implementation.
7149         * java/nio/charset/UnsupportedCharsetException.java:
7150         This class must be public, better implementation.
7151
7152 2002-11-11  Michael Koch <konqueror@gmx.de>
7153
7154         * java/nio/BufferOverflowException.java,
7155         java/nio/BufferUnderflowException.java: New file.
7156         * Makefile.am (ordinary_java_source_files):
7157         Added new files.
7158         * Makefile.in: Regenerated.
7159
7160 2002-11-10  Tom Tromey  <tromey@redhat.com>
7161
7162         * java/awt/Container.java (validate): Use tree lock.
7163         (getComponent): Likewise.
7164         (getComponents): Likewise.
7165         (addImpl): Likewise.
7166         (remove): Likewise.
7167         (removeAll): Likewise.
7168         (processEvent): Fixed indentation.
7169         (getComponentAt): Use tree lock.
7170         (findComponentAt): Likewise.
7171         (removeNotify): Likewise.
7172         (isAncestorOf): Likewise.
7173         (list): Likewise.
7174         (visitChildren): Likewise.
7175         (findNextFocusComponent): Likewise.
7176         (addNotifyContainerChildren): Likewise.
7177         (getAccessibleChildrenCount): Likewise.
7178         (getAccessibleChild): Likewise.
7179
7180         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7181         (getSize): Likewise.
7182         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7183         (getSize): Likewise.
7184         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7185         (calcSize): Likewise.
7186         * java/awt/CardLayout.java (getSize): Use tree lock.
7187         (gotoComponent): Likewise.
7188         (layoutContainer): Likewise.
7189
7190         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7191         count is 0.
7192         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7193         count is 0.
7194
7195         * java/io/Externalizable.java, java/io/FilePermission.java,
7196         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7197         java/io/SerializablePermission.java, java/text/Format.java,
7198         java/util/AbstractMap.java, java/util/HashMap.java,
7199         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7200         versions from Classpath.
7201
7202 2002-11-10  Anthony Green  <green@redhat.com>
7203
7204         * java/util/jar/Attributes.java (Name): Fix name check.
7205
7206 2002-11-10  Mark Wielaard  <mark@klomp.org>
7207
7208         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7209         with getName() as message.
7210         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7211         type as message.
7212
7213         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7214         unused.
7215
7216 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7217
7218         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7219         for Win32. JNICALL has been defined to __stdcall to be compatible
7220         with Sun's JDKs.
7221
7222 2002-11-10  Tom Tromey  <tromey@redhat.com>
7223
7224         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7225         (setRows): Check newRows, not rows.
7226
7227         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7228
7229 2002-11-09  Tom Tromey  <tromey@redhat.com>
7230
7231         * java/applet/Applet.java, java/applet/AppletContext.java,
7232         java/applet/AppletStub.java, java/applet/AudioClip.java,
7233         java/awt/CardLayout.java,
7234         java/awt/ContainerOrderFocusTraversalPolicy.java,
7235         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7236         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7237         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7238         java/awt/color/ICC_ColorSpace.java,
7239         java/awt/color/ICC_Profile.java,
7240         java/awt/color/ICC_ProfileGray.java,
7241         java/awt/color/ICC_ProfileRGB.java,
7242         java/awt/datatransfer/DataFlavor.java,
7243         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7244         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7245         New versions from Classpath.
7246         * Makefile.in: Rebuilt.
7247         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7248         ICC_ProfileRGB.
7249
7250         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7251         display policy.
7252
7253         * java/awt/List.java (processEvent): Added missing `else's.
7254
7255         * java/awt/Window.java (show): validate() before showing.  Make
7256         parent displayable.
7257         (isDisplayable): New method.
7258
7259 2002-11-07  Mark Wielaard  <mark@klomp.org>
7260
7261         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7262         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7263
7264         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7265         annotation.
7266         (loadClass): Take String as codebases.
7267         (getClassAnnotation): Use MyClassLoader annotations.
7268         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7269         call exportObject(this).
7270
7271         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7272         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7273         (setAnnotation): Don't set locBytesStream and locStream.
7274         (replaceObject): Removed.
7275         (flush): Don't test locStream.
7276         (getLocBytes): LikeWise.
7277         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7278         (leaseCache): New field.
7279         (dirty): Use leaseCache.
7280         (LeaseRecord): New inner class.
7281         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7282         explicitly call exportObject().
7283         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7284         false to communicate with Sun JDK130.
7285         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7286         * gnu/java/rmi/server/RMIObjectInputStream.java
7287         (UnicastConnectionManager): Removed field.
7288         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7289         Use UnicastServer.getExportedRef().
7290         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7291         (expireTime): Likewise.
7292         (CONNECTION_TIMEOUT): Likewise.
7293         (disconnect): Call sock.close().
7294         (isExpired): New method.
7295         (resetTime): Likewise.
7296         (run): Use do while loop and catch Exception for discardConnection().
7297         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7298         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7299         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7300         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7301         (exportObject): Use refcache.
7302         (unexportObject): Likewise.
7303         (getExportedRef): New method.
7304         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7305         constructor.
7306         (exportObject): Save manager.serverobj.
7307         (getStub): New method.
7308
7309 2002-11-07  Mark Wielaard  <mark@klomp.org>
7310
7311         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7312         (getByte): Likewise.
7313         (getShort): Likewise.
7314         (getInt): Likewise.
7315         (getLong): Likewise.
7316         (getFloat): Likewise.
7317         (getDouble): Likewise.
7318         (get): Likewise.
7319         (setChar): Likewise.
7320         (setByte): Likewise.
7321         (setShort): Likewise.
7322         (setInt): Likewise.
7323         (setLong): Likewise.
7324         (setFloat): Likewise.
7325         (setDouble): Likewise.
7326
7327 2002-11-07  Michael Koch <konqueror@gmx.de>
7328
7329         * java/awt/Choice.java,
7330         java/awt/Container.java,
7331         java/awt/GridBagLayout.java:
7332         Fixed documentation.
7333         * java/awt/peer/ContainerPeer.java:
7334         Reindented.
7335
7336 2002-11-07  Michael Koch <konqueror@gmx.de>
7337
7338         * java/awt/color/ICC_Profile.java:
7339         Added missing constants.
7340         * java/awt/color/ICC_ColorSpace.java
7341         (getMinValue): Added dummy implementation.
7342         (getMaxValue): Added dummy implementation.
7343         * java/awt/datatransfer/DataFlavor.java
7344         (imageFlavor): Added.
7345         (isMimeTypeEqual): Must be final.
7346         (getDefaultRepresentationClass): Must be non-static.
7347         (getDefaultRepresentationClassAsString): Must be non-static.
7348         * java/awt/dnd/DragSourceContext.java
7349         (dragExit): Corrected argument.
7350         (dragDropEnd): Corrected argument.
7351         * java/awt/dnd/DragSourceListener.java.java
7352         (dragExit): Corrected argument.
7353         (dragDropEnd): Corrected argument.
7354         * java/awt/font/TextHitInfo.java
7355         (toString): Added stubbed implementation.
7356         * java/awt/geom/PathIterator.java:
7357         The constants must be static.
7358         * java/awt/image/VolatileImage.java
7359         (IMAGE_INCOMPATIBLE): Fixed typo.
7360         * java/awt/image/renderable/RenderableImage.java
7361         (HINTS_OBSERVED): Must be static.
7362         * java/beans/BeanInfo.java:
7363         Constants must be final.
7364
7365 2002-11-06  Tom Tromey  <tromey@redhat.com>
7366
7367         From svens@it.uu.se.  For PR libgcj/8481.
7368         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7369
7370 2002-11-06  Tom Tromey  <tromey@redhat.com>
7371
7372         * jni.cc (array_from_valist): Assume that jlong won't be
7373         promoted.
7374
7375 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7376
7377         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7378         Return 20.
7379         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7380         Return 16.
7381
7382 2002-11-03  Tom Tromey  <tromey@redhat.com>
7383
7384         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7385         VMClassLoader, not findClass.
7386
7387 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7388
7389         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7390         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7391         _Jv_DetermineVTableIndex, to determine vtable offset.
7392         (_Jv_DetermineVTableIndex): Remove.
7393         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7394
7395         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7396
7397 2002-11-03  Tom Tromey  <tromey@redhat.com>
7398
7399         * java/nio/channels/AlreadyConnectedException.java: Extend
7400         IllegalStateException, per spec.
7401
7402 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7403
7404         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7405
7406 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7407
7408         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7409         size items.
7410
7411 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7412
7413         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7414         initial estimated size to avoid enlarge buffer frequently.
7415
7416 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7417
7418         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7419         ClassLoader when null.
7420         (ProxyType.hashCode): Loader null check no longer needed.
7421         (ProxyType.sameTypes): New method.
7422         (ProxyType.equals): Use new method.
7423
7424 2002-10-31  Mark Wielaard  <mark@klomp.org>
7425
7426         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7427         length of String.
7428         * java/net/URLEncoder.java (encode): Likewise.
7429
7430 2002-10-31  Mark Wielaard  <mark@klomp.org>
7431
7432         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7433         when stream is closed.
7434         (closeEntry): Likewise.
7435         (read): Likewise.
7436         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7437         ZipException when no entry active.
7438         (closeEntry): Likewise.
7439         (write): Likewise.
7440
7441 2002-11-02  Tom Tromey  <tromey@redhat.com>
7442
7443         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7444         * java/lang/natClass.cc (initializeClass): Don't return just
7445         because self==thread.
7446
7447         For PR java/8415:
7448         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7449         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7450
7451 2002-11-02  Andreas Schwab  <schwab@suse.de>
7452
7453         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7454         pass GCJFLAGS.
7455         (FLAGS_TO_PASS): Define.
7456         * Makefile.in: Regenerated.
7457
7458 2002-11-01  Michael Koch  <konqueror@gmx.de>
7459
7460         * java/nio/ByteOrder.java: New file.
7461         * java/nio/channels/DatagramChannel.java:
7462         (DatagramChannel): New constructor.
7463         * java/nio/channels/Pipe.java: New file.
7464         * java/nio/channels/SelectableChannel.java: New file.
7465         * java/nio/channels/SelectionKey.java: New file.
7466         * java/nio/channels/Selector.java: New file.
7467         * java/nio/channels/ServerSocketChannel.java
7468         (ServerSocketChannel): New constructor.
7469         * java/nio/channels/SocketChannel.java
7470         (SocketChannel): New constructor.
7471         * java/nio/channels/Pipe.java: New file.
7472         * java/nio/channels/spi/AbstractChannel.java: New file.
7473         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7474         * java/nio/channels/spi/AbstractSelectableChannel.java:
7475         License added
7476         (AbstractSelectableChannel): New stubbed method.
7477         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7478         * java/nio/channels/spi/AbstractSelector.java: New file.
7479         * java/nio/channels/spi/SelectorProvider.java: New file.
7480         * java/nio/charset/Charset.java: New file.
7481         * java/nio/charset/CoderMalfunctionError.java: New file.
7482         * java/nio/charset/CodingErrorAction.java: New file.
7483         * java/nio/charset/spi/CharsetProvider.java
7484         (charsetForName): Uncommented.
7485         * Makefile.am (java_native_source_files): Added new files.
7486         * Makefile.in: Regenerated.
7487
7488 2002-11-01  Michael Koch  <konqueror@gmx.de>
7489
7490         * java/net/InetAddress.java:
7491         (isAnyLocalAddress): Implemented.
7492         (isLoopbackAddress): Implemented, comment added.
7493         (isLinkLocalAddress): Implemented, documentation added.
7494         (isSiteLocalAddress): Implemented, documentation added.
7495         (isMCGlobal): Implemented, documentation added.
7496         (isMCNodeLocal): Implemented, documentation added.
7497         (isMCLinkLocal): Implemented, documentation added.
7498         (isMCSiteLocal): Implemented, documentation added.
7499         (isMCOrgLocal): Implemented, documentation added.
7500         (getHostName): Documentation added.
7501         (getCanonicalHostName): Implemented, documentation added.
7502         (getAddress): Documentation added.
7503         (hashCode): Documentation added.
7504         (equals): Documentation added.
7505         (toString): Fixed implementation.
7506         (getByAddress): Use Inet4Address and Inet6Address.
7507         (lookup): New linewrap.
7508         (getByName): SecurityManager check added, support Inet4Address and
7509         Inet6address, comments added.
7510         (getAllByName): SecurityManager check added, comments added.
7511         * java/net/Inet6Address.java:
7512         (Inet6Address): Initialize parent class with addr instead of null.
7513         * java/net/URL.java
7514         (equals): Documentation added.
7515         (getFile): Documentation added.
7516         (hashCode): Documentation added.
7517         * java/net/natInetAddress.cc:
7518         (aton): Fix IPv6 support.
7519         * java/net/natPlainDatagramSocketImpl.cc:
7520         (peek): Throw PortUnreachableException when suitable.
7521         (peekData): Throw PortUnreachableException when suitable.
7522         (send): Throw PortUnreachableException when suitable.
7523         (receive): Throw PortUnreachableException when suitable.
7524
7525 2002-10-27  Mark Wielaard  <mark@klomp.org>
7526
7527         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7528         argument.
7529         (readLeShort): Likewise and use byte[].
7530         (readLeInt): Likewise.
7531         (readEntries): Use new versions of methods and use byte[] for reading
7532         a complete zip entry. Add ZipFile name to exceptions.
7533         (entries): Add ZipFile name to exceptions.
7534         (getEntry): Likewise.
7535         (checkLocalHeader): Use new versions of methods and add ZipFile name
7536         to exceptions.
7537
7538 2002-10-31  Mark Anderson  <mark@panonet.net>
7539
7540         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7541         added
7542
7543 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7544
7545         * configure.in: Disable hash sync when not using threads.
7546         * configure: Regenerated.
7547
7548 2002-10-24  Tom Tromey  <tromey@redhat.com>
7549
7550         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7551         (_Jv_FindSymbolInExecutable): Removed argument name.
7552         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7553         java.library.path is set.
7554
7555         * gij.cc (help): Document --showversion.
7556         (version): Don't exit.
7557         (main): Handle --showversion.  Exit if --version given.
7558
7559 2002-10-23  Tom Tromey  <tromey@redhat.com>
7560
7561         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7562         (array_from_valist): Correctly handle promotion for jint, jlong,
7563         jfloat, and jdouble.
7564
7565 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7566
7567         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7568         GetFileAttributesEx( ) to find file length and modification times,
7569         as the latter is not present on Windows 95.
7570
7571 2002-10-21  Michael Koch  <konqueror@gmx.de>
7572
7573         * java/net/URL.java
7574         (URL): Activate SecurityManager checks.
7575         (equals): Use URLStreamHandler implementation instead of doing it
7576         alone. This allows special protocol stream handlers to change default
7577         behaviour.
7578         (hashCode): Use URLStreamHandler implementation instead of doing it
7579         alone. This allows special protocol stream handlers to change default
7580         behaviour.
7581         * java/net/URLStreamHandler.java
7582         (equals): Implemented default URL equality check.
7583         (hostsEqual): Implemented default URL equality check.
7584         (hashCode): Implemented default URL hashCode algorithm.
7585         * java/net/natPlainDatagramSocketImpl.cc:
7586         No lines longer then 80 characters.
7587
7588 2002-10-20  Adam Megacz <adam@xwt.org>
7589
7590         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7591         * configure.in: enabled hash sync on Win32
7592         * include/win32-threads.h (_Jv_ThreadId_t): added.
7593         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7594         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7595         removed some posix-isms, use Thread::sleep() instead of usleep,
7596         added code to clear bottom three bits if platform has a broken
7597         linker.
7598         * include/win32-threads.h (_Jv_ThreadId_t): added.
7599
7600 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7601
7602         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7603         runtime property "gnu.gcj.progname" containing the name used to
7604         invoke the current Java program (similar to argv[0] for C
7605         programs).
7606
7607 2002-10-15  Tom Tromey  <tromey@redhat.com>
7608
7609         Fix for PR libgcj/8234:
7610         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7611         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7612
7613 2002-10-13  Mark Wielaard  <mark@klomp.org>
7614
7615         * mauve-libgcj: Enable Mauve tests that compile now.
7616
7617 2002-10-11  Mark Wielaard  <mark@klomp.org>
7618
7619         Fix for PR libgcj/8142
7620         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7621         loading native modules.
7622
7623 2002-10-10  Michael Koch  <konqueror@gmx.de>
7624
7625         * javax/swing/AbstractListModel.java
7626         (getListDataListeners): New stubbed method.
7627         javax/swing/DefaultBoundedRangeModel.java
7628         (getChangeListeners): New stubbed method.
7629         javax/swing/DefaultSingleSelectionModel.java
7630         (getChangeListeners): New stubbed method.
7631
7632 2002-10-10  Michael Koch  <konqueror@gmx.de>
7633
7634         * gcj/.cvsignore: New file to ignore files generated during build.
7635         * include/.cvsignore: New file to ignore files generated during build.
7636
7637 2002-10-10  Michael Koch  <konqueror@gmx.de>
7638
7639         * java/net/HttpURLConnection.java
7640         (getPermission): New method.
7641         (getErrorStream): New stub method.
7642         (getHeaderFieldDate): New stub method.
7643         * java/net/Inet4Address.java:
7644         (isLinkLocalAddress): Typo fixed.
7645         * java/net/InetAddress.java:
7646         (readResolve): New stubbed method (for serialization).
7647         (isAnyLocalAddress): New stubbed method.
7648         (isLoopbackAddress): New stubbed method.
7649         (isLinkLocalAddress): New stubbed method.
7650         (isSiteLocalAddress): New stubbed method.
7651         (isMCGlobal): New stubbed method.
7652         (isMCNodeGlobal): New stubbed method.
7653         (isMCLinkLocal): New stubbed method.
7654         (isMCSiteLocal): New stubbed method.
7655         (isMCOrgLocal): New stubbed method.
7656         (getCanonicalHostName): New stubbed method.
7657         (getByAddress): Create instances of Inet4Address/Inet6Address,
7658         instead of InetAddress, documentation added.
7659         * java/net/MulticastSocket.java
7660         (getInterface): Removed FIXME.
7661         (getNetworkInterface): New method.
7662         (setNetworkInterface): New method.
7663         * java/net/NetworkInterface.java:
7664         (toString): Use property "line.separator" instead of "\n".
7665         * java/net/URLConnection.java
7666         (getContent): New stubbed method.
7667         * java/net/URLStreamHandler.java:
7668         (equals): New stubbed method.
7669         (hostsEqual): New stubbed method.
7670         (hashCode): New stubbed method.
7671         * java/net/natNetworkInterface.cc:
7672         (getRealNetworkInterfaces): Create Inet4Address object
7673         instead of InetAddress.
7674
7675 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7676
7677         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7678         unsigned long temporary to implement insn_iushr shifts.
7679
7680 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7681
7682         * configure.host [s390*-*]: Enable Java interpreter.
7683         Enable hash synchronization.  Add sysdeps dir.
7684         * sysdep/s390/locks.h: New file.
7685
7686 2002-10-06  Mark Wielaard  <mark@klomp.org>
7687
7688         * java/lang/Thread.java (setDaemon): Check startable_flag,
7689         not isAlive().
7690
7691 2002-10-07  Michael Koch  <konqueror@gmx.de>
7692
7693         * java/nio/Buffer.java: New stub file.
7694         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7695         of class Charset.
7696         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7697         * Makefile.in: Regenerated.
7698
7699 2002-10-07  Michael Koch  <konqueror@gmx.de>
7700
7701         * java/nio/ByteBuffer.java:
7702         removed import of not commited class.
7703
7704 2002-10-07  Michael Koch  <konqueror@gmx.de>
7705
7706         * java/nio/ByteBuffer.java,
7707         java/nio/MappedByteBuffer.java:
7708         New files, forgot to add these dummies.
7709         * Makefile.am (java_native_source_files): Added new files.
7710         * Makefile.in: Regenerated.
7711
7712 2002-10-07  Michael Koch  <konqueror@gmx.de>
7713
7714         * java/nio/channels/AlreadyConnectedException.java,
7715         java/nio/channels/ClosedChannelException.java,
7716         java/nio/channels/ReadableByteChannel.java,
7717         java/nio/channels/InterruptibleChannel.java,
7718         java/nio/channels/Channel.java,
7719         java/nio/channels/ByteChannel.java,
7720         java/nio/channels/GatheringByteChannel.java,
7721         java/nio/channels/ScatteringByteChannel.java,
7722         java/nio/channels/WritableByteChannel.java,
7723         java/nio/charset/CharacterCodingException.java,
7724         java/nio/charset/IllegalCharsetNameException.java,
7725         java/nio/charset/MalformedInputException.java,
7726         java/nio/charset/UnmappableCharacterException.java,
7727         java/nio/charset/UnsupportedCharsetException.java,
7728         java/nio/charset/spi/CharsetProvider.java: New file.
7729         These files are exceptions or interfaces,
7730         no real or abstract classes.
7731         * Makefile.am (java_native_source_files): Added new files.
7732         * Makefile.in: Regenerated.
7733
7734 2002-10-05  Michael Koch  <konqueror@gmx.de>
7735
7736         * java/net/InetAddress.java
7737         (getByAddress): Fixed documentation.
7738         (getByAddress): New method.
7739         * java/net/Inet4Address.java: New file.
7740         * java/net/URL.java
7741         (URL): Documentation added.
7742         (getContent): Documentation added.
7743         (getContent): New stubbed method.
7744         (getQuery): New method.
7745         (openConnection): Documentation added.
7746         (openStream): Documentation added.
7747         (setURLStreamHandlerFactory): Documentation added.
7748         * java/net/URI.java: New stub file.
7749         * Makefile.am
7750         (java_native_source_files): Added java/net/Inet4Address.java,
7751         java/net/Inet6Address.java and java/net/URI.java.
7752         * Makefile.in: Regenerated.
7753
7754 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7755
7756         * java/lang/ProtectionDomain.java (linesep): Remove field.
7757         (toString): Use System.getProperty("line.separator").
7758
7759 2002-10-04  Michael Koch  <konqueror@gmx.de>
7760
7761         * java/security/Identity.java: Added serialVersionUID.
7762         * java/security/KeyPair.java: Added serialVersionUID.
7763         * java/security/Provider.java: Added serialVersionUID.
7764         * java/security/SecureRandom.java: Added serialVersionUID.
7765         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7766         * java/security/SignedObject.java: Added serialVersionUID.
7767         * java/security/cert/Certificate.java: Added serialVersionUID.
7768
7769 2002-10-04  Mark Wielaard <mark@klomp.org>
7770
7771         * java/security/Security.java: Use java.home or gnu.classpath.home
7772         to load providers.
7773         (loadProviders): Extra dir argument.
7774         (getProvider): Return null when not found.
7775
7776 2002-10-04  Mark Wielaard  <mark@klomp.org>
7777
7778         * java/lang/Throwable.java: Remerge with Classpath.
7779
7780 2002-10-04  Michael Koch  <konqueror@gmx.de>
7781
7782         * java/net/InetAddress.java:
7783         (isMulticastAddress): Added documentation.
7784         (getHostAddress): Added documentation.
7785         (toString): Added documentation.
7786         (getByAddress): Fixed documentation.
7787         (getByName): Added documentation.
7788         (getAllByName): Added documentation.
7789         (getLocalHost): Added documentation.
7790
7791 2002-10-04  Michael Koch  <konqueror@gmx.de>
7792
7793         * java/beans/beancontext/BeanContextChildSupport.java:
7794         Added serialVersionUID.
7795         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7796         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7797         * javax/naming/Name.java: Added serialVersionUID.
7798
7799 2002-10-03  Adam Megacz <adam@xwt.org>
7800
7801         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7802         some functionality that isn't supported yet on WIN32.
7803
7804 2002-10-03  Tom Tromey  <tromey@redhat.com>
7805
7806         * Makefile.in: Rebuilt.
7807         * Makefile.am (awt_java_source_files): Added new files.
7808
7809 2002-10-03  Michael Koch  <konqueror@gmx.de>
7810
7811         * java/net/InetAddress.java
7812         (class InetAddress): Removed final keyword.
7813         (equals): Fixed typo.
7814         (getByAddress): New method.
7815
7816 2002-10-03  Michael Koch  <konqueror@gmx.de>
7817
7818         * java/awt/dnd/Autoscroll.java:
7819         New file, merge from Classpath.
7820         * java/awt/dnd/DragSourceAdapter.java:
7821         (dragExit): Fixed typos in argument type.
7822         (dragDropEnd): Fixed typos in argument type.
7823         * java/awt/dnd/DragSourceDropEvent.java:
7824         New file, merge from Classpath.
7825         * java/awt/dnd/DropTarget.java:
7826         Added stubs, merge from Classpath.
7827         * java/awt/dnd/DropTargetAdapter.java:
7828         New file, merge from Classpath.
7829         * java/awt/dnd/DropTargetContext.java:
7830         New file, merge from Classpath.
7831         * java/awt/dnd/DropTargetDragEvent.java:
7832         New file, merge from Classpath.
7833         * java/awt/dnd/DropTargetDropEvent.java:
7834         New file, merge from Classpath.
7835         * java/awt/dnd/DropTargetEvent.java:
7836         New file, merge from Classpath.
7837         * java/awt/dnd/DropTargetListener.java:
7838         New file, merge from Classpath.
7839         * java/awt/dnd/MouseDragGestureRecognizer.java:
7840         New file, merge from Classpath.
7841         * java/awt/dnd/peer/DropTargetContextPeer.java:
7842         New file, merge from Classpath.
7843
7844 2002-10-03  Michael Koch  <konqueror@gmx.de>
7845
7846         * java/net/DatagramPacket.java
7847         (setLength): Fixed typo and be HTML-aware.
7848         * java/net/InetSocketAddress.java
7849         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7850         (equals): Added comment about equality of InetSocketAddress objects.
7851         * java/net/ServerSocket.java
7852         (accept): Added checks.
7853         (isClosed): New stubbed method.
7854         * java/net/SocketOptions.java: Reindention.
7855         * java/net/SocketPermission
7856         (SocketPermission): Documentation fixed.
7857
7858 2002-10-03  Michael Koch  <konqueror@gmx.de>
7859
7860         * java/net/DatagramSocket.java
7861         (receive): Check with SecurityManager AFTER the packet is received,
7862         check if connected to multicast address, documentation added.
7863         (send): Only check SecurityManager if connected, check address of
7864         packet to send.
7865         (connect): Implemented, documentation added.
7866         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7867         * java/net/InetSocketAddress.java
7868         (whole file): Reindented.
7869         (hostname): New attribute.
7870         (InetSocketAddress): Initialize new attribute.
7871         (getAddress): Documentation added.
7872         (getHostName): Documentation added.
7873         (getPort): Documentation added.
7874         (hashCode): Documentation added.
7875         (isUnresolved): Documentation added.
7876         (toString): Conform to output of JDK 1.4.1, documentation added.
7877         * java/net/MulticastSocket.java
7878         (joinGroup): Removed FIXME, documentation added.
7879         (leaveGroup): Removed FIXME, documentation added.
7880         (send): Documentation added.
7881         * java/net/Socket.java
7882         (inputShutdown): New variable.
7883         (outputShutdown): New variable.
7884         (Socket): Initialize new variables.
7885         (getRemoteSocketAddress): Check if connected.
7886         (shutdownInput): Set new variable.
7887         (shutdownOutput): Set new variable.
7888         (isConnected): New method.
7889         (isClosed): New method.
7890         (isInputShutdown): New method.
7891         (isOutputShutdown): New method.
7892         * java/net/URLStreamHandler.java
7893         (URLStreamHandler): New method.
7894         (openConnection): Added documentation.
7895         (parseURL): Added documentation.
7896         (getHostAddress): New method.
7897         (getDefaultPort): New method.
7898
7899 2002-10-02  Tom Tromey  <tromey@redhat.com>
7900
7901         * java/rmi/activation/ActivationDesc.java,
7902         java/rmi/activation/ActivationGroupDesc.java,
7903         java/rmi/activation/ActivationGroupID.java,
7904         java/rmi/activation/ActivationID.java: New versions from
7905         Classpath.
7906
7907 2002-09-30  Bo Thorsen  <bo@suse.de>
7908
7909         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7910
7911 2002-09-30  Tom Tromey  <tromey@redhat.com>
7912
7913         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7914         from Classpath.
7915         * Makefile.in: Rebuilt.
7916         * Makefile.am (rmi_java_source_files): Added new files.
7917         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7918         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7919         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7920         Classpath.
7921         * gnu/java/rmi/dgc/DGCImpl.java,
7922         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7923         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7924         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7925         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7926         gnu/java/rmi/server/RMIHashes.java,
7927         gnu/java/rmi/server/RMIObjectInputStream.java,
7928         gnu/java/rmi/server/RMIObjectOutputStream.java,
7929         gnu/java/rmi/server/UnicastConnection.java,
7930         gnu/java/rmi/server/UnicastConnectionManager.java,
7931         gnu/java/rmi/server/UnicastRef.java,
7932         gnu/java/rmi/server/UnicastServer.java,
7933         gnu/java/rmi/server/UnicastServerRef.java,
7934         java/rmi/MarshalledObject.java,
7935         java/rmi/server/RMIClassLoader.java,
7936         java/rmi/server/RemoteObject.java,
7937         java/rmi/server/UnicastRemoteObject.java,
7938         java/security/SecureClassLoader.java: Merged from Classpath.
7939
7940 2002-09-29  Anthony Green  <green@redhat.com>
7941
7942         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7943         Imported from GNU Classpath.
7944         * java/lang/reflect/natProxy.cc: New file.
7945         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7946         from GNU Classpath.
7947         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7948         Classpath.
7949         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7950         Classpath.
7951         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7952         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7953         New statics.
7954         * gcj/javaprims.h ("Java"): Add new classes.
7955         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7956         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7957         java/lang/reflect/Proxy$$ProxyType.h): And this.
7958         (inner_nat_headers): Add these new headers.
7959         (ordinary_java_source_files): Add new files.
7960         (nat_source_files): Add new file.
7961         * Makefile.in: Rebuilt.
7962
7963 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7964
7965         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7966         a single configuration.
7967
7968 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7969
7970         * java/util/TimeZone.java (getDSTSavings): New method.
7971         Fixes PR libgcj/7786.
7972
7973 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7974
7975         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7976         to see if `the_method == 0' before looking up vtable index.
7977         Fixes PR libgcj/7709.
7978
7979 2002-09-25  Tom Tromey  <tromey@redhat.com>
7980
7981         * java/lang/natClassLoader.cc:
7982         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7983         * resolve.cc: Include NoClassDefFoundError.h, not
7984         ClassNotFoundException.h.
7985         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7986
7987         * defineclass.cc: Don't include ClassNotFoundException.h.
7988
7989         * resolve.cc: Include StringBuffer.
7990         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7991
7992         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7993         allocated but not initialized.
7994
7995 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7996
7997         Fix for PR libgcj/7766:
7998         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7999         (getNextEntry): Set it.
8000         (closeEntry): Likewise.
8001         (read): Likewise.
8002         (close): Likewise.
8003         (available): Use it.
8004
8005 2002-09-25  Michael Koch  <konqueror@gmx.de>
8006
8007         * java/net/DatagramSocket.java
8008         (DatagramSocket): Initialize new instance variables.
8009         (close): Reset new instance variables.
8010         (getLocalAddress): Remove unneeded SecurityManager usage.
8011         (getLocalPort): Check if socket is already bound.
8012         (isConnected): New method.
8013         (getInetAddress): Implemented.
8014         (getPort): Better Implementation, documentation fixed.
8015         (getRemoteSocketAddress): New method.
8016         * java/net/JarURLConnection.java
8017         (element): Typo fixed.
8018         (getMainAttributes): New method.
8019         (getAttributes): New method (stub only).
8020         (getManifest): New method (stub only).
8021         * java/net/NetPermission.java: Added serialVersionsUID.
8022         * java/net/Socket.java
8023         (connect): Check blocking mode of associated channel,
8024         documentation added.
8025         (getLocalSocketAddress): Better implementation.
8026         (getRemoteSocketAddress): Implemented.
8027         (isBound): New method.
8028         (setSendBufferSize): Documentation added.
8029         * java/net/SocketAddress.java: Added serialVersionsUID.
8030         * java/net/SocketPermission.java: Added serialVersionsUID.
8031         * java/net/URL.java
8032         (URL): Wrap for shorter lines, initialize new instance variables,
8033         documentation added.
8034         (equals): Check new instance variables too.
8035         (getContent): Documentation added.
8036         (getPath): Documentation added.
8037         (getAuthority): New method.
8038         (getHost): Documentation added.
8039         (getPort): Documentation added.
8040         (getDefaultPort): New method.
8041         (getProtocol): Documentation added.
8042         (getUserInfo): Documentation added.
8043         (set): Initialize new instance variables, documentation added.
8044         * java/net/URLStreamHandler.java
8045         (setURL): New method.
8046         * java/net/natPlainDatagramSocketImpl.cc
8047         (connect): Fix exception name.
8048         (disconnect): Fix exception name.
8049
8050 2002-09-25  Michael Koch  <konqueror@gmx.de>
8051
8052         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8053         * java/nio/channels/DatagramChannel.java:
8054         extends AbstractSelectableChannel
8055         * java/nio/channels/ServerSocketChannel.java:
8056         extends AbstractSelectableChannel
8057         * java/nio/channels/SocketChannel.java:
8058         extends AbstractSelectableChannel
8059         * Makefile.am (ordinary_java_source_files):
8060         java/nio/channels/spi/AbstractSelectableChannel.java added.
8061         * Makefile.in: Regenerated.
8062
8063 2002-09-25  Michael Koch  <konqueror@gmx.de>
8064
8065         * java/net/DatagramSocket.java
8066         (DatagramSocket): Exception documentation added.
8067         (bind): Exception documentation added, addded SecurityManager check,
8068         added SocketAddress type check.
8069         (getSoTimeout): Check impl.
8070         (receive): Fix SecurityManager check, check impl, documentation added.
8071         (send): Check channel mode, documentation added.
8072         (connect): New method.
8073         (disconnect): Implemented.
8074         (getLocalSocketAddress): New method.
8075         (getReceiveBufferSize): Check impl.
8076         (setReuseAddress): Check impl.
8077         (getReuseAddress): Check impl.
8078         (setBroadcast): Check impl.
8079         (getBroadcast): Check impl.
8080         (setTrafficClass): Check impl, Documentation cleared.
8081         (getTrafficClass): Check impl.
8082         (getSendBufferSize): Check impl.
8083         (setReceiveBufferSize): Check impl, documentation added.
8084         (setSendBufferSize): Documentation added.
8085         (setDatagramSocketImplFactory): New method.
8086         * java/net/HttpURLConnection.java
8087         (HTTP_INTERNAL_ERROR): The correct code is 500.
8088         (HTTP_NOT_IMPLEMENTED): Added new constant.
8089         (setFollowRedirects): Documentation added.
8090         (getInstanceFollowRedirects): New method.
8091         (setInstanceFollowRedirects): New method.
8092         (setRequestMethod): Documentation added.
8093         (getResponseCode): Documentation added.
8094         (getResponseMessage): Documentation added.
8095         * java/net/JarURLConnection.java
8096         (JarURLConnection): protected since JDK 1.4.
8097         (getJarEntry): java.io.IOException to IOException, documentation added.
8098         (getJarFile): Documentation added.
8099         * java/net/ServerSocket.java
8100         (ServerSocket): Private to public, exception added.
8101         (ServerSocket): java.io.IOException to IOException, documentation added.
8102         (bind): Check socket address type, documentation added.
8103         (bind): java.io.IOException to IOException, documentation added.
8104         (accept): Documentation added.
8105         (implAccept): Check ch is not non-blocking, documentation added.
8106         (setSoTimeout): Documentation fixed.
8107         (setReceiveBufferSize): Documentation added.
8108         * java/net/Socket.java
8109         (Socket): Documentation added.
8110         (bind): Documentation added.
8111         (connect): Check socket address type, documentation added.
8112         (getRemoteSocketAddress): New method.
8113         (getLocalSocketAddress): New method.
8114         (setSoLinger): Documentation added.
8115         (getReuseAddress): New method.
8116         (setReuseAddress): New method.
8117         (getTrafficClass): New method.
8118         (setTrafficClass): New method.
8119         * java/net/URLStreamHandler.java
8120         (openConnection): java.io.IOException to IOException.
8121         (parseURL): Documentation added.
8122         (sameFile): public to protected, documentation added.
8123         (setURL): Documentation added.
8124         * java/nio/IllegalBlockingModeException.java: New file.
8125         * Makefile.am (ordinary_java_source_files):
8126         added java/nio/IllegalBlockingModeException.java
8127         * Makefile.in: Regenerated.
8128
8129 2002-09-25  Michael Koch  <konqueror@gmx.de>
8130
8131         * java/net/DatagramPacket
8132         (DatagramPacket): Exception documentation added.
8133         (setData): Likewise.
8134         (setSocketAddress): Likewise.
8135         * java/net/DatagramSocketImpl.java
8136         (peek): Documentation addded.
8137         (peekData): Documentation addded.
8138         (send): Documentation addded.
8139         (receive): Documentation addded.
8140         (connect): New method.
8141         (disconnect): New method.
8142         (joinGroup): New abstract method.
8143         (leaveGroup): New abstract method.
8144         * java/net/InetSocketAddress.java
8145         (InetSocketAddress): Documentation added.
8146         (equals): final keyword added.
8147         (getAddress): final keyword added.
8148         (getHostName): final keyword added.
8149         (getPort): final keyword added.
8150         (hashCode): final keyword added.
8151         (isUnresolved): final keyword added.
8152         * java/net/MulticastSocket.java
8153         (MulticastSocket): Documentation added.
8154         (MulticastSocket): New method.
8155         (joinGroup): Documentation added.
8156         (joinGroup): New method.
8157         (leaveGroup): Documentation added.
8158         (leaveGroup): New method.
8159         (send): Documentation added.
8160         * java/net/NetworkInterface.java
8161         (getByName): Documentation added.
8162         (getByInetAddress): Documentation added.
8163         (getNetworkInterfaces): Documentation added.
8164         * java/net/PlainDatagramSocketImpl.java
8165         (connect): New method.
8166         (disconnect): New method.
8167         * java/net/SocketImpl.java
8168         (create): Documentation added.
8169         (shutdownInput): Convert public to protected, as it always was.
8170         (shutdownOutput): Convert public to protected, as it always was.
8171         * java/net/SocketOptions.java
8172         (whole file): Reintented.
8173         * java/net/URLClassLoader.java
8174         (URLClassLoader): SecurityManager check added, documentation added.
8175         (findResources): Documentation added.
8176         (findClass): Documentation added.
8177         (newInstance): More correct method arguments.
8178         * java/net/URLConnection.java
8179         (connect): Documentation added.
8180         (getContent): Documentation added.
8181         (getPermission): Documentation added.
8182         (getInputStream): Documentation added.
8183         (getOutputStream): Documentation added.
8184         (setDoInput): Throw correct exception, documentation added.
8185         (setDoOutput): Throw correct exception, documentation added.
8186         (setAllowUserInteraction): Throw correct exception, documentation added.
8187         (setUseCaches): Throw correct exception, documentation added.
8188         (setIfModifiedSince): Throw correct exception, documentation added.
8189         (setRequestProperty): Throw exception, documentation added.
8190         (addRequestProperty): Throw exception, documentation added.
8191         (getRequestProperty): Throw exception, documentation added.
8192         (getRequestProperties): Documentation added.
8193         (setContentHandlerFactory): Documentation added.
8194         (guessContentTypeFromName): protected to public.
8195         (setFileNameMap): Documentation added.
8196         * java/net/URLDecoder.java
8197         (URLDecoder): New method.
8198         (decode): Documentation added.
8199         (whole file): Reindented.
8200         * java/net/URLEncoder.java
8201         (encode): Documentation added.
8202         * java/net/natPlainDatagramSocketImpl.cc
8203         (connect): New method.
8204         (disconnect): New method.
8205         * javax/naming/RefAddr:
8206         (addrType): addrType was never final.
8207         (equals): Fix typo in method name.
8208         * javax/naming/BinaryRefAddr:
8209         (equals): Fix typo in method name.
8210
8211 2002-09-22  Tom Tromey  <tromey@redhat.com>
8212
8213         Fix for PR libgcj/6576:
8214         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8215         didn't find a given bundle.
8216         (getBundle): Don't require base bundle.
8217         (setParent): Removed old comment.
8218         (tryLocalBundle): Try components even if preceding components were
8219         empty.
8220
8221 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8222
8223         * Makefile.am (all-multi): Fix multilib parallel build.
8224
8225 2002-09-21  Michael Koch  <konqueror@gmx.de>
8226
8227         * java/net/Socket.java
8228         (sendUrgentData): New method.
8229         (getChannel): New method.
8230         * java/net/ServerSocket.java
8231         (getChannel): New method.
8232         (isBound): New method.
8233         * java/net/DatagramSocket.java
8234         (DatagramSocket): Two new methods.
8235         (bind): New method.
8236         (getChannel): New method.
8237         (isBound): New method.
8238         (send): Added newline to to make shorter lines.
8239         * java/net/PlainDatagramSocketImpl.java
8240         (mcastGrp): Added argument.
8241         (join): Use new mcastGrp.
8242         (leave): Use new mcastGrp.
8243         (joinGroup): New method.
8244         (leaveGroup): New method.
8245         * java/net/natPlainDatagramSocketImpl.cc
8246         (mcastGrp): Added argument, no yet really implemented.
8247         (getOption): Added newline for shorter lines.
8248         * java/net/natPlainSocketImpl.cc
8249         (read, setOption, getOption): Added newline for shorter lines.
8250
8251 2002-09-19  Tom Tromey  <tromey@redhat.com>
8252
8253        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8254        newly-created exception.
8255
8256 2002-09-18  Michael Koch  <konqueror@gmx.de>
8257
8258         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8259         java/util/regex/PatternSyntaxException.java:
8260         Merge with classpath, new files.
8261         * Makefile.am (core_java_source_files):
8262         Added java/util/regex/Matcher.java,
8263         java/util/regex/Pattern.java,
8264         java/util/regex/PatternSyntaxException.java
8265         * Makefile.in: Regenerated.
8266         * include/config.h.in: Added HAVE_NET_IF_H.
8267         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8268         Removed #if 0 ... #endif.
8269
8270 2002-09-17  Michael Koch  <konqueror@gmx.de>
8271
8272         * java/net/natNetworkInterface.cc:
8273         Removed unneed and yet wrong includes.
8274
8275 2002-09-17  Michael Koch  <konqueror@gmx.de>
8276
8277         * java/net/NetworkInterface.java: New file.
8278         * java/net/natNetworkInterface.java: New file.
8279         * configure.in: Added check for net/if.h.
8280         * configure: Regenerated.
8281         * Makefile.am
8282         (ordinary_java_source_files): Added NetworkInterface.java.
8283         (nat_source_files): Added natNetworkInterface.cc.
8284         * Makefile.in: Regenerated.
8285
8286 2002-09-16  Tom Tromey  <tromey@redhat.com>
8287
8288         * java/net/URLClassLoader.java (findClass): Code source for a
8289         class from a jar is not necessarily a jar: URL.
8290
8291 2002-09-16  Michael Koch  <konqueror@gmx.de>
8292
8293         * java/lang/AssertionError.java:
8294         Merge with classpath, fixes HTML.
8295         * java/rmi/server/LogStream.java:
8296         Merge with classpath, fixes some constants.
8297         * java/net/server/RemoteServer.java:
8298         Merge with classpath, adds serialVersionUID.
8299         * javax/naming/BinaryRefAddr.java:
8300         Merge with classpath, s/equal/equals/.
8301         * javax/naming/NamingException.java:
8302         Merge with classpath, fixed typo.
8303         * javax/naming/RefAddr.java:
8304         Merge with classpath, s/equal/equals/.
8305         * java/awt/Toolkit.java:
8306         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8307         and typo fixed.
8308
8309 2002-09-15  Adam Megacz <adam@xwt.org>
8310
8311         * java/net/natPlainSocketImpl.cc: fixed typo.
8312
8313 2002-09-15  Adam Megacz <adam@xwt.org>
8314
8315         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8316         which don't work on Win32 (yet).
8317
8318 2002-09-14  Adam Megacz <adam@xwt.org>
8319
8320         * java/net/natPlainDatagramSocket.cc: removed #include
8321         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8322         * include/win32.h: included definition for IP_TOS to satisfy
8323         natPlainDatagramSocket.cc
8324
8325 2002-09-13  Michael Koch  <konqueror@gmx.de>
8326
8327         * java/net/DatagramPacket.java (DatagramPacket):
8328         Added linebreak for 80 chars per line.
8329         * java/net/JarURLConection.java
8330         (getInputStreami, getJarEntry): Likewise.
8331         * java/net/SocketPErmission.java
8332         (SocketPermission class docu, implies): Likewise.
8333         * java/net/URLClassLoader.java (findResources): Likewise.
8334         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8335
8336 2002-09-13  Michael Koch  <konqueror@gmx.de>
8337
8338         * java/nio/channels/DatagramChannel.java,
8339         java/nio/channels/ServerSocketChannel.java
8340         java/nio/channels/SocketChannel.java:
8341         New dummy files to make java.net fully JDK 1.4 compatible
8342         * Makefile.am (ordinary_java_source_files): Added
8343         java/net/DatagramSocketImplFactory.java (long forgotten),
8344         java/nio/SocketChannel.java,
8345         java/nio/ServerSocketChannel.java,
8346         java/nio/DatagramChannel.java
8347         * Makefile.in: Regenrated.
8348
8349 2002-09-12  Michael Koch  <konqueror@gmx.de>
8350
8351         * java/net/DatagramSocketImpl.java
8352         (peekData): New method.
8353         * java/net/PlainDatagramSocketImpl.java
8354         (peekData): New method.
8355         * java/net/natPlainDatagramSocketImpl.cc
8356         (peekData): New method.
8357         * java/net/URLConnection
8358         (getPermission): New method.
8359         (addRequestProperty): New method.
8360         (getRequestProperties): New method.
8361         (guessContentTypeFromStream): New method, not really implemented.
8362         (URLConnection): Added/updated documentation.
8363         (connect): Added/updated documentation.
8364         (getURL): Added/updated documentation.
8365         (getContentLength): Added/updated documentation.
8366         (getContentType: Added/updated documentation.
8367         (getContentEncoding): Added/updated documentation.
8368         (getExpiration): Added/updated documentation.
8369         (getDate): Added/updated documentation.
8370         (getLastModified): Added/updated documentation.
8371         (getHeaderField): Added/updated documentation.
8372         (getHeaderFields): Added/updated documentation.
8373         (getHeaderFieldInt): Added/updated documentation.
8374         (getHeaderFieldDate): Added/updated documentation.
8375         (getHeaderFieldKey): Added/updated documentation.
8376         (getContent): Added/updated documentation.
8377         (getInputStream): Added/updated documentation.
8378         (getOutputStream): Added/updated documentation.
8379         (toString): Added/updated documentation.
8380         (setDoInput): Added/updated documentation.
8381         (getDoInput): Added/updated documentation.
8382         (setDoOutput): Added/updated documentation.
8383         (getDoOutput): Added/updated documentation.
8384         (setAllowUserInteraction): Added/updated documentation.
8385         (getAllowUserInteraction): Added/updated documentation.
8386         (setDefaultAllowUserInteraction): Added/updated documentation.
8387         (getDefaultAllowUserInteraction): Added/updated documentation.
8388         (setUseCaches): Added/updated documentation.
8389         (getUseCaches): Added/updated documentation.
8390         (setIfModifiedSince): Added/updated documentation.
8391         (getIfModifiedSince): Added/updated documentation.
8392         (getDefaultUseCaches): Added/updated documentation.
8393         (setDefaultUseCaches): Added/updated documentation.
8394         (setRequestProperty): Added/updated documentation.
8395         (getRequestProperty): Added/updated documentation.
8396         (setDefaultRequestProperty): Added/updated documentation.
8397         (getDefaultRequestProperty): Added/updated documentation.
8398         (setContentHandlerFactory): Added/updated documentation.
8399         (guessContentTypeFromName): Added/updated documentation.
8400         (getFileNameMap): Added/updated documentation.
8401         (setFileNameMap): Added/updated documentation.
8402
8403 2002-09-11  Michael Koch  <konqueror@gmx.de>
8404
8405         * java/net/Socket.java
8406         (Socket): protected to public (since JDK 1.4). Added @specnote.
8407         (bind): New method.
8408         (connect): Two new methods.
8409         (getKeepalive): Get correct socket option.
8410         (setKeepalive): Set correct socket option.
8411         (getOOBInline): New method.
8412         (setOOBInline): New method.
8413         * java/net/ServerSocket.java
8414         (bind): Two new methods.
8415         (getInetAddress): Reimplemented, catch exception.
8416         (getLocalSocketAddress): New method.
8417         (setReuseAddress): New method.
8418         (getReuseAdress): New method.
8419         (setReceiveBufferSize): New method.
8420         (getReceiveBufferSize): New method.
8421         (toString): Made string JDK 1.4 compliant.
8422
8423 2002-09-10  Michael Koch  <konqueror@gmx.de>
8424
8425         * java/net/SocketImpl.java
8426         (connect): New method.
8427         (supportsUrgentData): New method.
8428         (sendUrgentData): New method.
8429         * java/net/PlainSocketImpl.java
8430         (connect): One new method and two new implementation.
8431         (sendUrgentData): New method.
8432         * java/natPlainSocketImpl.cc
8433         (connect): Arguments changed, added support for timeouts.
8434         (getOption): Another __java_boolean to jboolean.
8435
8436 2002-09-07  Adam Megacz <adam@xwt.org>
8437
8438         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8439         definition of IP_TOS.
8440
8441 2002-09-04  Michael Koch  <konqueror@gmx.de>
8442
8443         * java/net/DatagramSocket.java
8444         (DatagramSocket): Added documentation.
8445         (close): Likewise.
8446         (getLocalAddress): Likewise.
8447         (getLocalPort): Likewise.
8448         (receive): Likewise.
8449         (send): Likewise.
8450         (setSoTimeout): Likewise.
8451         (connect): New method.
8452         (disconnect): New method.
8453         (getInetAddress): New method (FIXME)
8454         (getPort): New method.
8455         (setReuseAddress): New method.
8456         (getReuseAddress): New method.
8457         (setBroadcast): New method.
8458         (getBroadcast): New method.
8459         (setTrafficClass): New method.
8460         (getTrafficClass): New method.
8461         * java/net/MulticastSocket.java):
8462         (getTTL): Added @see in documentation.
8463         (setTTL): Added @see in documentation.
8464         (setLoopbackMode): New method.
8465         (getLoopbackMode): New method.
8466         * java/net/PlainSocketImpl.java:
8467         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8468         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8469         * java/net/PlainDatagramSocketImpl.java
8470         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8471         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8472         * java/net/natPlainSocketImpl.cc
8473         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8474         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8475         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8476         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8477         This should also fix SO_KEEPALIVE
8478         * java/net/natPlainDatagramSocketImpl.cc
8479         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8480         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8481         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8482         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8483
8484 2002-09-04  Michael Koch  <konqueror@gmx.de>
8485
8486         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8487         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8488         IP_MULTICAST_LOOP, IP_TOS
8489
8490 2002-09-03  Tom Tromey  <tromey@redhat.com>
8491
8492         * java/lang/Class.h (_getDeclaredMethod): Declare.
8493         (_getMethod): Now private.
8494         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8495         getDeclaredMethod.  Now returns NULL on failure.
8496         * java/lang/Class.java (_getDeclaredMethod): Declare.
8497         (getDeclaredMethod): No longer native; implements access checks.
8498
8499 2002-09-01  Mark Wielaard  <mark@klomp.org>
8500
8501         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8502         (sanitizeStack): Correctly reset unknown and interpreter counters,
8503         detect interpreter runtime frames.
8504         (demangleInterpreterMethod): New method.
8505         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8506         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8507         filling in addrs[].
8508
8509 2002-09-02  Michael Koch  <konqueror@gmx.de>
8510
8511         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8512         re-indented documentation.
8513
8514 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8515
8516         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8517         public, per 1.4 spec.  Fixes PR libgcj/7785.
8518
8519 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8520
8521         * Makefile.in: Rebuilt.
8522         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8523
8524 2002-08-29  Tom Tromey  <tromey@redhat.com>
8525
8526         * java/net/JarURLConnection.java (getCertificates): New method
8527         from Classpath.
8528         * java/net/URLClassLoader.java (URLClassLoader): Extends
8529         SecureClassLoader.
8530         (definePackage): New method from Classpath.
8531         (getPermissions): Likewise.
8532         (newInstance): Likewise.
8533         (findClass): Construct CodeSource for new class (from Classpath).
8534         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8535         methods.
8536         * java/net/URL.java (getUserInfo): New method.
8537         (set(String,String,int,String,String,String,String,String)): New
8538         method.
8539         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8540         (shutdownInput, shutdownOutput): Declare.
8541         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8542         Define.
8543         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8544         (getOption): Likewise.
8545         (shutdownInput): New method.
8546         (shutdownOutput): Likewise.
8547         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8548         keepalive.
8549         (getOption): Likewise.
8550         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8551         * java/net/Socket.java (setKeepAlive): New method.
8552         (getKeepAlive): Likewise.
8553         (shutdownInput, shutdownOutput): New methods.
8554
8555 2002-08-29  Michael Koch  <konqueror@gmx.de>
8556
8557         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8558         new methods are:
8559         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8560           address),
8561         DatagramPacket(byte[] buf, int length, SocketAddress address),
8562         void setSocketAddress(SocketAddress address)
8563         public SocketAddress getSocketAddress()
8564
8565 2002-08-29  Tom Tromey  <tromey@redhat.com>
8566
8567         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8568         ftruncate is missing.
8569         * configure, include/config.h.in: Rebuilt.
8570         * acconfig.h (HAVE_FTRUNCATE): Mention.
8571         * configure.in: Check for ftruncate.
8572
8573 2002-08-29  Tom Tromey  <tromey@redhat.com>
8574
8575         * include/jvm.h (struct _Jv_frame_info): New structure.
8576         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8577         java-interp.h.
8578         (lookupInterp): New method.
8579         (getAddrAsString): Use _Jv_frame_info.
8580         (dladdrLookup): Likewise.
8581         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8582         interpreted frame.
8583         (lookupInterp): Declare.
8584         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8585         (fillInStackTrace): Collect information on interpreted frames.
8586         Use _Jv_frame_info.
8587         * interpret.cc: Include Thread.h.
8588         (run): Create and push _Jv_MethodChain object.
8589         (_Jv_EndOfInterpreter): New global.
8590         * java/lang/Thread.java (interp_frame): New field.
8591         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8592         Include NameFinder.h.
8593
8594 2002-08-28  Tom Tromey  <tromey@redhat.com>
8595
8596         * java/lang/Class.h: Include Package.h.
8597         (Class::getProtectionDomain): Declare.
8598         (Class::getPackage): Declare.
8599
8600 2002-08-28  Michael Koch <konqueror@gmx.de>
8601
8602         * java/net/InetSocketAddress.java: Added some documentation and argument
8603         checks for the port numbers.
8604         * java/net/DatagramSocketImplFactory.java: New file.
8605
8606 2002-08-28  Michael Koch <konqueror@gmx.de>
8607
8608         * java/net/Authenticator.java: added some documentation.
8609
8610 2002-08-27  Tom Tromey  <tromey@redhat.com>
8611
8612         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8613         class.
8614         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8615
8616 2002-08-27  Michael Koch <konqueror@gmx.de>
8617
8618         * java/net/BindException.java,
8619         java/net/JarURLConnection.java,
8620         java/net/FileNameMap.java,
8621         java/net/HttpURLConnection.java,
8622         java/net/InetSocketAddress.java,
8623         java/net/DatagramPacket.java,
8624         java/net/DatagramSocket.java,
8625         java/net/DatagramSocketImpl.java,
8626         java/net/MulticastSocket.java,
8627         java/net/PasswordAuthentication.java,
8628         java/net/ServerSocket.java,
8629         java/net/Socket.java,
8630         java/net/URLClassLoader.java,
8631         java/net/URLConnection.java: add/update of some @since/@deprecated
8632
8633 2002-08-27  Tony Kimball <alk@pobox.com>
8634             Tom Tromey  <tromey@redhat.com>
8635
8636         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8637         define.
8638         (::close): Removed.
8639         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8640         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8641         (::close): Removed.
8642         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8643         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8644
8645 2002-08-25  Adam Megacz <adam@xwt.org>
8646
8647         * include/win32.h (getcwd): copied function declaration as
8648         temporary fix for header confusion.
8649
8650 2002-08-24  Mark Wielaard <mark@klomp.org>
8651
8652         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8653         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8654         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8655         and natNameFinder.cc.
8656         * Makefile.in: Regenerate.
8657         * prims.cc: Use trace_enabled from VMThrowable.
8658         * name-finder.cc: Removed.
8659         * gcj/javaprims.h: Add class VMThrowable.
8660         * gnu/gcj/runtime/NameFinder.java: New file.
8661         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8662         * include/name-finder.h: Removed.
8663         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8664         method stackTraceString().
8665         (printStackTrace (PrintWriter)): Likewise.
8666         (stackTraceString): Complete rewrite of old printStackTrace using
8667         StringBuffer.
8668         (stackTraceStringBuffer): New helper method for stackTraceString().
8669         (fillInStackTrace): Delegate to VMTrowable.
8670         (getStackTrace): Likewise.
8671         (getStackTrace0): Removed.
8672         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8673         (setStackTrace): Copy given array.
8674         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8675         * java/lang/VMThrowable.java: New class.
8676         * java/lang/natVMThrowable.cc: New file.
8677
8678 2003-08-23  Michael Koch  <konqueror@gmx.de>
8679
8680         * java/net/URLConnection.java,
8681         java/netJarURLConnection.java,
8682         gnu/gcj/protocol/core/Connection.java,
8683         gnu/gcj/protocol/file/Connection.java,
8684         gnu/gcj/protocol/http/Connection.java: Added implementation of
8685         getHeaderFields().
8686
8687 2002-08-22  Tom Tromey  <tromey@redhat.com>
8688
8689         * gij.cc (help): Document -cp and -classpath.
8690         (main): Handle -classpath.
8691
8692 2002-08-21  Tom Tromey  <tromey@redhat.com>
8693
8694         * Makefile.in: Rebuilt.
8695         * Makefile.am (ordinary_java_source_files): Added
8696         SocketAddress.java, InetSocketAddress.java.
8697         * java/net/PortUnreachableException.java: Merged with Classpath.
8698         * java/net/SocketTimeoutException.java: Likewise.
8699         * java/net/URISyntaxException.java: Likewise.
8700         * java/net/SocketAddress.java: New class from Classpath.
8701         * java/net/InetSocketAddress.java: Likewise.
8702
8703 2003-08-21  Michael Koch  <konqueror@gmx.de>
8704
8705         * java/net/Authenticator.java: updated JDK 1.4
8706         * java/net/ContentHandler.java: updated JDK 1.4
8707
8708 2002-08-20  Michael Koch  <konqueror@gmx.de>
8709
8710         * java/net/URISyntaxException.java: New file.
8711         * java/net/SocketTimeoutException.java: New file.
8712         * java/net/PortUnreachableException.java: New file.
8713         * Makefile.am: Updated.
8714         * Makefile.in: Rebuilt.
8715
8716 2002-08-18  Mark Wielaard  <mark@klomp.org>
8717
8718         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8719         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8720         MessageDigestSpi (fixes Classpath bug #783).
8721
8722 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8723
8724         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8725         (startProcess): Allocate path for chdir in async-signal-safe way.
8726
8727 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8728
8729         Fix for PR libgcj/7570 and PR libgcj/7578:
8730         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8731         (startProcess): Handle new `dir' argument.
8732         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8733         argument.
8734         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8735         argument.
8736         (startProcess): Likewise.
8737         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8738         argument.
8739         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8740         (exec): Don't create new environment if ENV==null.  Pass DIR to
8741         execInternal.
8742         * java/lang/natRuntime.cc: Include java/io/File.h.
8743         (execInternal): Added `dir' argument.
8744
8745 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8746
8747         * java/io/RandomAccessFile.java (skipBytes): Return number of
8748         bytes skipped.
8749
8750 2002-08-01  Mark Wielaard  <mark@klomp.org>
8751
8752         Reenable patch since shared library troubles on powerpc are solved:
8753         * gnu/java/security/provider/Gnu.java: Reference all implementation
8754         classes by using Class.getName().
8755         * gnu/java/security/der/DEREncodingException.java,
8756         gnu/java/security/provider/DERReader.java,
8757         gnu/java/security/provider/DERWriter.java,
8758         gnu/java/security/provider/DSAKeyPairGenerator.java,
8759         gnu/java/security/provider/DSAParameterGenerator.java,
8760         gnu/java/security/provider/DSAParameters.java,
8761         gnu/java/security/provider/DSASignature.java,
8762         gnu/java/security/provider/GnuDSAPrivateKey.java,
8763         gnu/java/security/provider/GnuDSAPublicKey.java,
8764         gnu/java/security/provider/MD5.java,
8765         gnu/java/security/util/Prime.java: New classes
8766         * Makefile.am (ordinary_java_source_files): Add above files.
8767         * Makefile.in: Regenerate.
8768         * gnu/java/security/provider/DefaultPolicy.java
8769         (getPermissions): Don't maintain static class variable of Permissions.
8770         * gnu/java/security/provider/SHA.java
8771         (engineUpdate): algorithm change.
8772         (engineDigest): algorithm change.
8773
8774 2002-08-09  Mark Wielaard  <mark@klomp.org>
8775
8776         * java/awt/image/MemoryImageSource.java: Change constructor to take
8777         int[] not byte[].
8778         * java/awt/Graphics2D.java: Uncomment methods that can now be
8779         compiled.
8780         * java/awt/GridBagLayout.java: New stub implementation.
8781         * javax/swing/text/html/HTML.java: Stub implementation.
8782         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8783         implementation.
8784
8785         * Makefile.am: Add new files.
8786         * Makefile.in: Rebuilt.
8787
8788 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8789
8790         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8791         methods in Graphics2D.
8792
8793 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8794
8795         AWT/Swing merge from GNU Classpath.
8796
8797         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8798         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8799         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8800         java/awt/color/ProfileDataException.java,
8801         java/awt/CompositeContext.java, java/awt/Composite.java,
8802         java/awt/ContainerOrderFocusTraversalPolicy.java,
8803         java/awt/datatransfer/FlavorTable.java,
8804         java/awt/DefaultFocusTraversalPolicy.java,
8805         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8806         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8807         java/awt/dnd/DragGestureListener.java,
8808         java/awt/dnd/DragGestureRecognizer.java,
8809         java/awt/dnd/DragSourceAdapter.java,
8810         java/awt/dnd/DragSourceContext.java,
8811         java/awt/dnd/DragSourceDragEvent.java,
8812         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8813         java/awt/dnd/DragSourceListener.java,
8814         java/awt/dnd/DragSourceMotionListener.java,
8815         java/awt/dnd/DropTarget.java,
8816         java/awt/dnd/InvalidDnDOperationException.java,
8817         java/awt/dnd/peer/DragSourceContextPeer.java,
8818         java/awt/event/AWTEventListenerProxy.java,
8819         java/awt/event/MouseWheelEvent.java,
8820         java/awt/event/MouseWheelListener.java,
8821         java/awt/event/WindowFocusListener.java,
8822         java/awt/event/WindowStateListener.java,
8823         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8824         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8825         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8826         java/awt/geom/FlatteningPathIterator.java,
8827         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8828         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8829         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8830         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8831         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8832         java/awt/image/ImagingOpException.java,
8833         java/awt/image/RasterFormatException.java,
8834         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8835         java/awt/image/VolatileImage.java,
8836         java/awt/image/WritableRenderedImage.java,
8837         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8838         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8839         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8840         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8841         java/awt/PageAttributes.java, java/awt/print/Book.java,
8842         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8843         java/awt/print/Paper.java, java/awt/print/Printable.java,
8844         java/awt/print/PrinterAbortException.java,
8845         java/awt/print/PrinterException.java,
8846         java/awt/print/PrinterGraphics.java,
8847         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8848         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8849         java/awt/Stroke.java, java/awt/TexturePaint.java,
8850         javax/accessibility/AccessibleAction.java,
8851         javax/accessibility/AccessibleBundle.java,
8852         javax/accessibility/AccessibleComponent.java,
8853         javax/accessibility/AccessibleContext.java,
8854         javax/accessibility/AccessibleEditableText.java,
8855         javax/accessibility/AccessibleExtendedComponent.java,
8856         javax/accessibility/AccessibleExtendedTable.java,
8857         javax/accessibility/AccessibleHyperlink.java,
8858         javax/accessibility/AccessibleHypertext.java,
8859         javax/accessibility/AccessibleIcon.java,
8860         javax/accessibility/Accessible.java,
8861         javax/accessibility/AccessibleKeyBinding.java,
8862         javax/accessibility/AccessibleRelation.java,
8863         javax/accessibility/AccessibleRelationSet.java,
8864         javax/accessibility/AccessibleResourceBundle.java,
8865         javax/accessibility/AccessibleRole.java,
8866         javax/accessibility/AccessibleSelection.java,
8867         javax/accessibility/AccessibleState.java,
8868         javax/accessibility/AccessibleStateSet.java,
8869         javax/accessibility/AccessibleTable.java,
8870         javax/accessibility/AccessibleTableModelChange.java,
8871         javax/accessibility/AccessibleText.java,
8872         javax/accessibility/AccessibleValue.java,
8873         javax/swing/AbstractAction.java,
8874         javax/swing/AbstractButton.java,
8875         javax/swing/AbstractCellEditor.java,
8876         javax/swing/AbstractListModel.java,
8877         javax/swing/AbstractSet.java, javax/swing/Action.java,
8878         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8879         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8880         javax/swing/border/CompoundBorder.java,
8881         javax/swing/border/EmptyBorder.java,
8882         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8883         javax/swing/border/LineBorder.java,
8884         javax/swing/border/MatteBorder.java,
8885         javax/swing/border/TitledBorder.java,
8886         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8887         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8888         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8889         javax/swing/CellRendererPane.java,
8890         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8891         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8892         javax/swing/colorchooser/ColorSelectionModel.java,
8893         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8894         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8895         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8896         javax/swing/DefaultBoundedRangeModel.java,
8897         javax/swing/DefaultButtonModel.java,
8898         javax/swing/DefaultCellEditor.java,
8899         javax/swing/DefaultCellRenderer.java,
8900         javax/swing/DefaultComboBoxModel.java,
8901         javax/swing/DefaultDesktopManager.java,
8902         javax/swing/DefaultFocusManager.java,
8903         javax/swing/DefaultListCellRenderer.java,
8904         javax/swing/DefaultListModel.java,
8905         javax/swing/DefaultListSelectionModel.java,
8906         javax/swing/DefaultSingleSelectionModel.java,
8907         javax/swing/DesktopManager.java,
8908         javax/swing/event/AncestorEvent.java,
8909         javax/swing/event/AncestorListener.java,
8910         javax/swing/event/CaretEvent.java,
8911         javax/swing/event/CaretListener.java,
8912         javax/swing/event/CellEditorListener.java,
8913         javax/swing/event/ChangeEvent.java,
8914         javax/swing/event/ChangeListener.java,
8915         javax/swing/event/DocumentEvent.java,
8916         javax/swing/event/DocumentListener.java,
8917         javax/swing/event/EventListenerList.java,
8918         javax/swing/event/HyperlinkEvent.java,
8919         javax/swing/event/HyperlinkListener.java,
8920         javax/swing/event/InternalFrameAdapter.java,
8921         javax/swing/event/InternalFrameEvent.java,
8922         javax/swing/event/InternalFrameListener.java,
8923         javax/swing/event/ListDataEvent.java,
8924         javax/swing/event/ListDataListener.java,
8925         javax/swing/event/ListSelectionEvent.java,
8926         javax/swing/event/ListSelectionListener.java,
8927         javax/swing/event/MenuDragMouseEvent.java,
8928         javax/swing/event/MenuDragMouseListener.java,
8929         javax/swing/event/MenuEvent.java,
8930         javax/swing/event/MenuKeyEvent.java,
8931         javax/swing/event/MenuKeyListener.java,
8932         javax/swing/event/MenuListener.java,
8933         javax/swing/event/MouseInputAdapter.java,
8934         javax/swing/event/MouseInputListener.java,
8935         javax/swing/event/PopupMenuEvent.java,
8936         javax/swing/event/PopupMenuListener.java,
8937         javax/swing/event/SwingPropertyChangeSupport.java,
8938         javax/swing/event/TableColumnModelEvent.java,
8939         javax/swing/event/TableColumnModelListener.java,
8940         javax/swing/event/TableModelEvent.java,
8941         javax/swing/event/TableModelListener.java,
8942         javax/swing/event/TreeExpansionEvent.java,
8943         javax/swing/event/TreeExpansionListener.java,
8944         javax/swing/event/TreeModelEvent.java,
8945         javax/swing/event/TreeModelListener.java,
8946         javax/swing/event/TreeSelectionEvent.java,
8947         javax/swing/event/TreeSelectionListener.java,
8948         javax/swing/event/TreeWillExpandListener.java,
8949         javax/swing/event/UndoableEditEvent.java,
8950         javax/swing/event/UndoableEditListener.java,
8951         javax/swing/filechooser/FileFilter.java,
8952         javax/swing/filechooser/FileSystemView.java,
8953         javax/swing/filechooser/FileView.java,
8954         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8955         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8956         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8957         javax/swing/JApplet.java, javax/swing/JButton.java,
8958         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8959         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8960         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8961         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8962         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8963         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8964         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8965         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8966         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8967         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8968         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8969         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8970         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8971         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8972         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8973         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8974         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8975         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8976         javax/swing/JToolTip.java, javax/swing/JTree.java,
8977         javax/swing/JViewport.java, javax/swing/JWindow.java,
8978         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8979         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8980         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8981         javax/swing/MenuSelectionManager.java,
8982         javax/swing/MutableComboBoxModel.java,
8983         javax/swing/OverlayLayout.java,
8984         javax/swing/plaf/ActionMapUIResource.java,
8985         javax/swing/plaf/basic/BasicBorders.java,
8986         javax/swing/plaf/basic/BasicButtonUI.java,
8987         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8988         javax/swing/plaf/basic/BasicDefaults.java,
8989         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8990         javax/swing/plaf/basic/BasicIconFactory.java,
8991         javax/swing/plaf/basic/BasicLabelUI.java,
8992         javax/swing/plaf/basic/BasicListUI.java,
8993         javax/swing/plaf/basic/BasicLookAndFeel.java,
8994         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8995         javax/swing/plaf/basic/BasicPanelUI.java,
8996         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8997         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8998         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8999         javax/swing/plaf/basic/BasicTextUI.java,
9000         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9001         javax/swing/plaf/basic/BasicTreeUI.java,
9002         javax/swing/plaf/basic/BasicViewportUI.java,
9003         javax/swing/plaf/BorderUIResource.java,
9004         javax/swing/plaf/ButtonUI.java,
9005         javax/swing/plaf/ColorChooserUI.java,
9006         javax/swing/plaf/ColorUIResource.java,
9007         javax/swing/plaf/ComboBoxUI.java,
9008         javax/swing/plaf/ComponentInputMapUIResource.java,
9009         javax/swing/plaf/ComponentUI.java,
9010         javax/swing/plaf/DesktopIconUI.java,
9011         javax/swing/plaf/DesktopPaneUI.java,
9012         javax/swing/plaf/DimensionUIResource.java,
9013         javax/swing/plaf/FileChooserUI.java,
9014         javax/swing/plaf/FontUIResource.java,
9015         javax/swing/plaf/IconUIResource.java,
9016         javax/swing/plaf/InputMapUIResource.java,
9017         javax/swing/plaf/InsetsUIResource.java,
9018         javax/swing/plaf/InternalFrameUI.java,
9019         javax/swing/plaf/LabelUI.java,
9020         javax/swing/plaf/ListUI.java,
9021         javax/swing/plaf/MenuBarUI.java,
9022         javax/swing/plaf/MenuItemUI.java,
9023         javax/swing/plaf/OptionPaneUI.java,
9024         javax/swing/plaf/PanelUI.java,
9025         javax/swing/plaf/PopupMenuUI.java,
9026         javax/swing/plaf/ProgressBarUI.java,
9027         javax/swing/plaf/RootPaneUI.java,
9028         javax/swing/plaf/ScrollBarUI.java,
9029         javax/swing/plaf/ScrollPaneUI.java,
9030         javax/swing/plaf/SeparatorUI.java,
9031         javax/swing/plaf/SliderUI.java,
9032         javax/swing/plaf/SplitPaneUI.java,
9033         javax/swing/plaf/TabbedPaneUI.java,
9034         javax/swing/plaf/TableHeaderUI.java,
9035         javax/swing/plaf/TableUI.java,
9036         javax/swing/plaf/TextUI.java,
9037         javax/swing/plaf/ToolBarUI.java,
9038         javax/swing/plaf/ToolTipUI.java,
9039         javax/swing/plaf/TreeUI.java,
9040         javax/swing/plaf/UIResource.java,
9041         javax/swing/plaf/ViewportUI.java,
9042         javax/swing/ProgressMonitorInputStream.java,
9043         javax/swing/ProgressMonitor.java,
9044         javax/swing/Renderer.java,
9045         javax/swing/RepaintManager.java,
9046         javax/swing/RootPaneContainer.java,
9047         javax/swing/Scrollable.java,
9048         javax/swing/ScrollPaneConstants.java,
9049         javax/swing/ScrollPaneLayout.java,
9050         javax/swing/SingleSelectionModel.java,
9051         javax/swing/SizeRequirements.java,
9052         javax/swing/SizeSequence.java,
9053         javax/swing/SwingConstants.java,
9054         javax/swing/SwingUtilities.java,
9055         javax/swing/table/AbstractTableModel.java,
9056         javax/swing/table/DefaultTableCellRenderer.java,
9057         javax/swing/table/DefaultTableColumnModel.java,
9058         javax/swing/table/DefaultTableModel.java,
9059         javax/swing/table/TableCellEditor.java,
9060         javax/swing/table/TableCellRenderer.java,
9061         javax/swing/table/TableColumn.java,
9062         javax/swing/table/TableColumnModel.java,
9063         javax/swing/table/TableModel.java,
9064         javax/swing/text/AbstractDocument.java,
9065         javax/swing/text/AttributeSet.java,
9066         javax/swing/text/BadLocationException.java,
9067         javax/swing/text/Caret.java,
9068         javax/swing/text/CharacterIterator.java,
9069         javax/swing/text/ComponentView.java,
9070         javax/swing/text/DefaultCaret.java,
9071         javax/swing/text/DefaultEditorKit.java,
9072         javax/swing/text/Document.java,
9073         javax/swing/text/EditorKit.java,
9074         javax/swing/text/Element.java,
9075         javax/swing/text/GapContent.java,
9076         javax/swing/text/JTextComponent.java,
9077         javax/swing/text/Keymap.java,
9078         javax/swing/text/MutableAttributeSet.java,
9079         javax/swing/text/PlainDocument.java,
9080         javax/swing/text/PlainEditorKit.java,
9081         javax/swing/text/Position.java,
9082         javax/swing/text/Segment.java,
9083         javax/swing/text/StyledDocument.java,
9084         javax/swing/text/StyledEditorKit.java,
9085         javax/swing/text/Style.java,
9086         javax/swing/text/TextAction.java,
9087         javax/swing/text/ViewFactory.java,
9088         javax/swing/text/View.java,
9089         javax/swing/Timer.java,
9090         javax/swing/ToggleButtonModel.java,
9091         javax/swing/ToolTipManager.java,
9092         javax/swing/tree/AbstractLayoutCache.java,
9093         javax/swing/tree/DefaultMutableTreeNode.java,
9094         javax/swing/tree/DefaultTreeCellEditor.java,
9095         javax/swing/tree/DefaultTreeCellRenderer.java,
9096         javax/swing/tree/DefaultTreeModel.java,
9097         javax/swing/tree/DefaultTreeSelectionModel.java,
9098         javax/swing/tree/ExpandVetoException.java,
9099         javax/swing/tree/FixedHeightLayoutCache.java,
9100         javax/swing/tree/MutableTreeNode.java,
9101         javax/swing/tree/RowMapper.java,
9102         javax/swing/tree/TreeCellEditor.java,
9103         javax/swing/tree/TreeCellRenderer.java,
9104         javax/swing/tree/TreeModel.java,
9105         javax/swing/tree/TreeNode.java,
9106         javax/swing/tree/TreePath.java,
9107         javax/swing/tree/TreeSelectionModel.java,
9108         javax/swing/tree/VariableHeightLayoutCache.java,
9109         javax/swing/UIDefaults.java,
9110         javax/swing/UIManager.java,
9111         javax/swing/undo/AbstractUndoableEdit.java,
9112         javax/swing/undo/CannotRedoException.java,
9113         javax/swing/undo/CannotUndoException.java,
9114         javax/swing/undo/CompoundEdit.java,
9115         javax/swing/undo/StateEditable.java,
9116         javax/swing/undo/StateEdit.java,
9117         javax/swing/undo/UndoableEdit.java,
9118         javax/swing/undo/UndoableEditSupport.java,
9119         javax/swing/undo/UndoManager.java,
9120         javax/swing/UnsupportedLookAndFeelException.java,
9121         javax/swing/ViewportLayout.java,
9122         javax/swing/WindowConstants.java: New files, from GNU Classpath.
9123
9124         * java/awt/ActiveEvent.java,
9125         java/awt/Adjustable.java, java/awt/AWTError.java,
9126         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9127         java/awt/AWTException.java, java/awt/AWTPermission.java,
9128         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9129         java/awt/Color.java, java/awt/Component.java,
9130         java/awt/ComponentOrientation.java, java/awt/Container.java,
9131         java/awt/datatransfer/MimeTypeParseException.java,
9132         java/awt/datatransfer/Transferable.java,
9133         java/awt/datatransfer/UnsupportedFlavorException.java,
9134         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9135         java/awt/event/ActionListener.java,
9136         java/awt/event/AdjustmentEvent.java,
9137         java/awt/event/AdjustmentListener.java,
9138         java/awt/event/AWTEventListener.java,
9139         java/awt/event/ComponentAdapter.java,
9140         java/awt/event/ComponentEvent.java,
9141         java/awt/event/ComponentListener.java,
9142         java/awt/event/ContainerAdapter.java,
9143         java/awt/event/ContainerEvent.java,
9144         java/awt/event/ContainerListener.java,
9145         java/awt/event/FocusAdapter.java,
9146         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9147         java/awt/event/HierarchyBoundsAdapter.java,
9148         java/awt/event/HierarchyBoundsListener.java,
9149         java/awt/event/HierarchyEvent.java,
9150         java/awt/event/HierarchyListener.java,
9151         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9152         java/awt/event/InputMethodListener.java,
9153         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9154         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9155         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9156         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9157         java/awt/event/MouseListener.java,
9158         java/awt/event/MouseMotionAdapter.java,
9159         java/awt/event/MouseMotionListener.java,
9160         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9161         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9162         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9163         java/awt/event/WindowListener.java, java/awt/Font.java,
9164         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9165         java/awt/geom/Ellipse2D.java,
9166         java/awt/geom/IllegalPathStateException.java,
9167         java/awt/geom/Line2D.java,
9168         java/awt/geom/NoninvertibleTransformException.java,
9169         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9170         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9171         java/awt/geom/RoundRectangle2D.java,
9172         java/awt/GraphicsConfiguration.java,
9173         java/awt/IllegalComponentStateException.java,
9174         java/awt/image/IndexColorModel.java,
9175         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9176         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9177         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9178         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9179         java/awt/MenuItem.java, java/awt/PaintContext.java,
9180         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9181         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9182         java/awt/PrintJob.java, java/awt/Rectangle.java,
9183         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9184         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9185         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9186
9187         * java/awt/im/spi/InputMethod.java,
9188         java/awt/im/spi/InputMethodContext.java,
9189         java/awt/im/spi/InputMethodDescriptor.java,
9190         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9191         java/awt/image/renderable/ParameterBlock.java,
9192         java/awt/image/renderable/RenderContext.java,
9193         java/awt/image/renderable/RenderableImage.java,
9194         java/awt/image/renderable/RenderableImageOp.java,
9195         java/awt/image/renderable/RenderableImageProducer.java,
9196         java/awt/image/renderable/RenderedImageFactory.java: New files from
9197         classpath.
9198
9199         * gnu/java/awt/EventModifier.java,
9200         gnu/java/awt/image/ImageDecoder.java,
9201         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9202
9203         * gnu/awt/xlib/XGraphicsConfiguration.java,
9204         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9205         API.
9206
9207         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9208         GNU Classpath.
9209
9210         * Makefile.am: Add new files.
9211         * Makefile.in: Rebuilt.
9212
9213 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9214
9215         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9216         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9217         findResource, getResources, findResources): Add javadoc from classpath.
9218         (getSystemResources): Implemented.
9219
9220 2002-08-01  Mark Wielaard  <mark@klomp.org>
9221
9222         Revert patch that breaks libgcj shared library on powerpc:
9223         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9224         implementation classes by using Class.getName(). Uses Strings again.
9225         * gnu/java/security/der/DEREncodingException.java,
9226         gnu/java/security/provider/DERReader.java,
9227         gnu/java/security/provider/DERWriter.java,
9228         gnu/java/security/provider/DSAKeyPairGenerator.java,
9229         gnu/java/security/provider/DSAParameterGenerator.java,
9230         gnu/java/security/provider/DSAParameters.java,
9231         gnu/java/security/provider/DSASignature.java,
9232         gnu/java/security/provider/GnuDSAPrivateKey.java,
9233         gnu/java/security/provider/GnuDSAPublicKey.java,
9234         gnu/java/security/provider/MD5.java,
9235         gnu/java/security/util/Prime.java: Removed.
9236         * Makefile.am (ordinary_java_source_files): Remove above files.
9237         * Makefile.in: Regenerate.
9238         * gnu/java/security/provider/DefaultPolicy.java
9239         (getPermissions): Revert to maintaining static class variable of
9240         Permissions.
9241         * gnu/java/security/provider/SHA.java
9242         (engineUpdate): Revert algorithm change.
9243         (engineDigest): Revert algorithm change.
9244
9245 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9246
9247         * configure.host: Add SH support.
9248         * sysdep/sh/locks.h: New file.
9249
9250 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9251
9252         * java/awt/Frame.java (Frame): Remove println calls.
9253
9254 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9255
9256         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9257         * configure: Rebuilt.
9258
9259 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9260
9261         * sysdep/powerpc/locks.h: Formatting.
9262         (_LARX): Define.
9263         (_STCX): Define.
9264         (compare_and_swap): Use _LARX and _STCX.
9265         (compare_and_swap_release): Likewise.
9266
9267 2002-07-26  Tom Tromey  <tromey@redhat.com>
9268
9269         * java/net/Authenticator.java: New version from Classpath.
9270         * java/net/DatagramSocketImpl.java: New version from Classpath.
9271
9272 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9273
9274         * configure.host: Add powerpc64*-* entry.
9275
9276 2002-07-26  Tom Tromey  <tromey@redhat.com>
9277
9278         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9279         fcntl.h.
9280
9281 2002-07-24  Tom Tromey  <tromey@redhat.com>
9282
9283         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9284         argument to _load.
9285
9286 2002-07-24  Tom Tromey  <tromey@redhat.com>
9287             Tony Kimball <alk@pobox.com>
9288
9289         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9290         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9291         * java/io/RandomAccessFile.java (setLength): New method.
9292         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9293         * java/io/FileDescriptor.java (setLength): New method.
9294
9295 2002-07-24  Mark Wielaard  <mark@klomp.org>
9296
9297         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9298         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9299         field call setAccessible(true).
9300         (setByteField): Likewise.
9301         (setCharField): Likewise.
9302         (setDoubleField): Likewise.
9303         (setFloatField): Likewise.
9304         (setIntField): Likewise.
9305         (setLongField): Likewise.
9306         (setShortField): Likewise.
9307         (setObjectField): Likewise.
9308
9309 2002-07-24  Tom Tromey  <tromey@redhat.com>
9310
9311         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9312         use toString() to format array element.
9313
9314 2002-07-23  Mark Wielaard  <mark@klomp.org>
9315
9316         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9317         MessageDigestSpi (fixes Classpath bug #783).
9318
9319 2002-07-21  Mark Wielaard  <mark@klomp.org>
9320
9321         * gnu/java/security/provider/Gnu.java: Reference all implementation
9322         classes by using Class.getName().
9323
9324 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9325
9326         * java/lang/ieeefp.h: Add x86-64 support.
9327         * configure.in: Likewise.
9328         * configure.host: Likewise.
9329         * configure: Regenerated.
9330         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9331
9332 2002-07-16  Mark Wielaard  <mark@klomp.org>
9333
9334         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9335         (whitespaceChars): call resetChar().
9336
9337 2002-07-15  Tom Tromey  <tromey@redhat.com>
9338
9339         * Makefile.in: Rebuilt.
9340         * Makefile.am (awt_java_source_files): Added new files.
9341         * java/beans/ExceptionListener.java: Merged with Classpath.
9342         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9343         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9344         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9345         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9346         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9347         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9348         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9349
9350 2002-07-14  Mark Wielaard  <mark@klomp.org>
9351
9352         * gnu/java/security/der/DEREncodingException.java,
9353         gnu/java/security/provider/DERReader.java,
9354         gnu/java/security/provider/DERWriter.java,
9355         gnu/java/security/provider/DSAKeyPairGenerator.java,
9356         gnu/java/security/provider/DSAParameterGenerator.java,
9357         gnu/java/security/provider/DSAParameters.java,
9358         gnu/java/security/provider/DSASignature.java,
9359         gnu/java/security/provider/GnuDSAPrivateKey.java,
9360         gnu/java/security/provider/GnuDSAPublicKey.java,
9361         gnu/java/security/provider/MD5.java,
9362         gnu/java/security/util/Prime.java: New files from Classpath.
9363         * Makefile.am (ordinary_java_source_files): Add new files.
9364         * Makefile.in: Regenerate.
9365
9366 2002-07-14  C. Brian Jones <cbj@gnu.org>
9367
9368         * gnu/java/security/provider/DefaultPolicy.java
9369         (getPermissions): do not maintain static class variable of
9370         Permissions
9371         * gnu/java/security/provider/SHA.java
9372         (engineUpdate): algorithm change
9373         (engineDigest): algorithm change
9374
9375 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9376
9377         For PR libgcj/7292:
9378         * java/lang/Character.java (toString(char)): Now static.
9379
9380 2002-07-12  Mark Wielaard  <mark@klomp.org>
9381
9382         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9383         (getStackTrace0): new method.
9384         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9385         (printStackTrace(PrintWriter)): replace with pure java implementation.
9386         (printRawStackTrace): removed.
9387         (getStackTrace0): new method.
9388         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9389         * gcj/javaprims.h: regenerate class list.
9390         * include/name-finder.h (lookup): new returns StackTraceElement*.
9391         (method_name, file_name): fields removed.
9392         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9393         (~_Jv_name_finder): close new descriptors.
9394         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9395         (createStackTraceElement): new method.
9396         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9397
9398 2002-07-10  Tom Tromey  <tromey@redhat.com>
9399
9400         * configure: Rebuilt.
9401         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9402
9403 2002-07-08  Mark Wielaard  <mark@klomp.org>
9404
9405         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9406         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9407         java.sql.DatabaseMetaData.TestJdbc20
9408
9409 2002-07-05  Tony Kimball  <alk@pobox.com>
9410
9411         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9412
9413 2002-07-04  Tom Tromey  <tromey@redhat.com>
9414             Jeff Sturm  <jsturm@one-point.com>
9415
9416         Fix for PR libgcj/7060:
9417         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9418         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9419         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9420         * java/lang/Class.java (getMethod): New Java implementation;
9421         complies with spec.
9422         (_getMethod): New native method.
9423
9424 2002-07-02  Tom Tromey  <tromey@redhat.com>
9425             David Hovemeyer  <daveho@cs.umd.edu>
9426
9427         * java/text/ChoiceFormat.java
9428         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9429         in check loop.
9430         * java/text/MessageFormat.java
9431         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9432         to MessageFormat.
9433
9434 2002-07-01  Tom Tromey  <tromey@redhat.com>
9435
9436         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9437         StringTokenizer on null string.  For PR libgcj/7180.
9438         From daveho@cs.umd.edu.
9439
9440 2002-06-24  Tom Tromey  <tromey@redhat.com>
9441
9442         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9443         (IntegerClass): Likewise.
9444         * java/lang/natClass.cc (CloneableClass): Removed.
9445         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9446         ConstructorClass): Likewise.
9447         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9448         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9449         SerializableClass): Likewise.
9450         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9451         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9452         LongClass, FloatClass, DoubleClass): Likewise.
9453
9454         * verify.cc (branch_prepass): Updated for change to exception
9455         handler type.
9456         (verify_instructions_0): Likewise.
9457         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9458         (handleExceptionTableEntry): Updated for change to exception
9459         handler type.
9460         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9461         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9462         (union _Jv_InterpPC): New.
9463         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9464         (class _Jv_InterpMethod): Added new `prepared' field.
9465         (class _Jv_InterpMethod): Added `compile' method.  Removed
9466         `continue1' and `find_exception'.  Changed arguments to `run'.
9467         * interpret.cc (union insn_slot): New.
9468         (find_exception): Removed.
9469         (run_normal): Removed most logic.
9470         (run_synch_object): Likewise; also, use JvSynchronize.
9471         (run_synch_class): Likewise.
9472         (run): Removed.
9473         (continue1): Renamed as `run'.  Compile bytecode if required.
9474         Add new code to allow refinement of direct-threaded code at
9475         runtime.  Handle exceptions.
9476         (SAVE_PC): Removed.
9477         (compile): New method.
9478         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9479         (NULLARRAYCHECK): Don't use SAVE_PC.
9480         (pc_t): New typedef.
9481         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9482         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9483
9484 2002-06-23  Tom Tromey  <tromey@redhat.com>
9485
9486         * configure: Rebuilt.
9487         * configure.in (INTERPRETER): New subst.
9488         (AM_RUNTESTFLAGS): Don't subst.
9489
9490         * Makefile.in: Rebuilt.
9491         * Makefile.am ($(srcdir)/java/lang/Object.h,
9492         $(srcdir)/java/lang/Class.h): Added dummy targets.
9493
9494 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9495
9496         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9497
9498         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9499         java/sql/Savepoint.java: New files.
9500         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9501         java/sql/Blob.java, java/sql/CallableStatement.java,
9502         java/sql/Clob.java, java/sql/Connection.java,
9503         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9504         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9505         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9506         java/sql/Ref.java, java/sql/ResultSet.java,
9507         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9508         java/sql/SQLException.java, java/sql/SQLInput.java,
9509         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9510         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9511         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9512         (JDK 1.4) specification.
9513         * javax/sql/ConnectionEvent.java,
9514         javax/sql/ConnectionEventListener.java,
9515         javax/sql/ConnectionPoolDataSource.java,
9516         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9517         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9518         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9519         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9520         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9521         javax/sql/XADataSource.java: New files.
9522         * Makefile.am: Add new files.
9523         * Makefile.in: Rebuilt.
9524
9525 2002-06-20  Tom Tromey  <tromey@redhat.com>
9526
9527         For PR libgcj/7073:
9528         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9529         exists.
9530         * defineclass.cc (handleClassBegin): Superclass for interface is
9531         `null'.
9532
9533 2002-06-18  Tom Tromey  <tromey@redhat.com>
9534
9535         * gcj/javaprims.h: Updated class declaration list.
9536         * Makefile.in: Rebuilt.
9537         * Makefile.am (core_java_source_files): Removed
9538         BasicMapEntry.java.
9539         * java/util/BasicMapEntry.java: Removed.
9540
9541 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9542
9543         * java/net/natPlainDatagramSocketImpl.cc (receive):
9544         Check bounds of argument to FD_SET.
9545         (setOption): Throw exception if socket is closed.
9546
9547         * java/net/natPlainSocketImpl.cc (accept, read):
9548         Check bounds of argument to FD_SET.
9549         (setOption): Throw exception if socket is closed.
9550
9551 2002-06-18  Tom Tromey  <tromey@redhat.com>
9552
9553         * gcj/javaprims.h: Updated class declaration list.
9554         * Makefile.in: Rebuilt.
9555         * Makefile.am (core_java_source_files): Added
9556         PropertyPermissionCollection.java.
9557         * java/lang/Thread.java (group, name): Now package-private.
9558         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9559         * java/util/AbstractList.java: Likewise.
9560         * java/util/AbstractMap.java: Likewise.
9561         * java/util/Calendar.java: Likewise.
9562         * java/util/Collections.java: Likewise.
9563         * java/util/HashMap.java: Likewise.
9564         * java/util/Hashtable.java: Likewise.
9565         * java/util/LinkedHashMap.java: Likewise.
9566         * java/util/LinkedList.java: Likewise.
9567         * java/util/List.java: Likewise.
9568         * java/util/ListResourceBundle.java: Likewise.
9569         * java/util/Map.java: Likewise.
9570         * java/util/Observable.java: Likewise.
9571         * java/util/Properties.java: Likewise.
9572         * java/util/PropertyPermission.java: Likewise.
9573         * java/util/PropertyPermissionCollection.java: Likewise.
9574         * java/util/PropertyResourceBundle.java: Likewise.
9575         * java/util/Random.java: Likewise.
9576         * java/util/SimpleTimeZone.java: Likewise.
9577         * java/util/StringTokenizer.java: Likewise.
9578         * java/util/TimerTask.java: Likewise.
9579         * java/util/TreeMap.java: Likewise.
9580         * java/util/WeakHashMap.java: Likewise.
9581         * java/util/jar/Attributes.java: Likewise.
9582         * java/util/jar/JarException.java: Likewise.
9583         * java/util/jar/Manifest.java: Likewise.
9584
9585 2002-06-17  Tom Tromey  <tromey@redhat.com>
9586
9587         * gcj/javaprims.h: Updated class declaration list.
9588         * Makefile.in: Rebuilt.
9589         * Makefile.am (core_java_source_files): Added new file.
9590         * java/util/EventListenerProxy.java: New file.
9591         * java/util/EventListener.java: Re-merge with Classpath.
9592         * java/util/EventObject.java: Re-merge with Classpath.
9593
9594 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9595
9596         * java/lang/ClassNotFoundException.java: New Classpath version.
9597
9598 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9599
9600         * java/rmi/activation/ActivateFailedException.java: Remerge from
9601         Classpath version.
9602         * java/rmi/activation/ActivationException.java: Ditto.
9603         * java/rmi/activation/UnknownGroupException.java: Ditto.
9604         * java/rmi/activation/UnknownObjectException.java: Ditto.
9605         * java/rmi/server/ExportException: Ditto.
9606         * java/rmi/server/ServerCloneException: Ditto.
9607         * java/rmi/server/ServerNotActiveException: Ditto.
9608         * java/rmi/server/SkeletonMismatchException: Ditto.
9609         * java/rmi/server/SkeletonNotFoundException: Ditto.
9610         * java/rmi/server/SocketSecurityException: Ditto.
9611
9612 2002-06-16  Tom Tromey  <tromey@redhat.com>
9613
9614         * gcj/javaprims.h: Updated class declaration list.
9615
9616         * java/io/LineNumberInputStream.java: Merged with Classpath.
9617
9618         * java/lang/RuntimeException.java: Re-merge with Classpath.
9619         * java/util/ArrayList.java: Likewise.
9620         * java/util/Arrays.java: Likewise.
9621         * java/util/BitSet.java: Likewise.
9622         * java/util/Dictionary.java: Likewise.
9623         * java/util/IdentityHashMap.java: Likewise.
9624         * java/util/MissingResourceException.java: Likewise.
9625         * java/util/Observer.java: Likewise.
9626         * java/util/TooManyListenersException.java: Likewise.
9627         * java/util/zip/DataFormatException.java: Likewise.
9628         * java/util/zip/ZipException.java: Likewise.
9629
9630 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9631
9632         * java/rmi/AccessException.java: Remerge from Classpath.
9633         * java/rmi/AlreadyBoundException.java: Ditto.
9634         * java/rmi/ConnectException.java: Ditto.
9635         * java/rmi/ConnectIOException.java: Ditto.
9636         * java/rmi/MarshalException.java: Ditto.
9637         * java/rmi/NoSuchObjectException.java: Ditto.
9638         * java/rmi/NotBoundException.java: Ditto.
9639         * java/rmi/RemoteException.java: Ditto.
9640         * java/rmi/RMISecurityException.java: Ditto.
9641         * java/rmi/ServerError.java: Ditto.
9642         * java/rmi/ServerException.java: Ditto.
9643         * java/rmi/ServerRuntimeException.java: Ditto.
9644         * java/rmi/StubNotFoundException.java: Ditto.
9645         * java/rmi/UnexpectedExcpetion.java: Ditto.
9646         * java/rmi/UnknownHostException.java: Ditto.
9647         * java/rmi/UnmarshalException.java: Ditto.
9648
9649 2002-06-15  Tom Tromey  <tromey@redhat.com>
9650
9651         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9652         * java/lang/ArithmeticException.java: Likewise.
9653         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9654         * java/lang/ArrayStoreException.java: Likewise.
9655         * java/lang/Byte.java: Likewise.
9656         * java/lang/CharSequence.java: Likewise.
9657         * java/lang/ClassCastException.java: Likewise.
9658         * java/lang/ClassCircularityError.java: Likewise.
9659         * java/lang/ClassFormatError.java: Likewise.
9660         * java/lang/CloneNotSupportedException.java: Likewise.
9661         * java/lang/Cloneable.java: Likewise.
9662         * java/lang/Comparable.java: Likewise.
9663         * java/lang/Compiler.java: Likewise.
9664         * java/lang/Error.java: Likewise.
9665         * java/lang/ExceptionInInitializerError.java: Likewise.
9666         * java/lang/IllegalAccessError.java: Likewise.
9667         * java/lang/IllegalAccessException.java: Likewise.
9668         * java/lang/IllegalArgumentException.java: Likewise.
9669         * java/lang/IllegalMonitorStateException.java: Likewise.
9670         * java/lang/IllegalStateException.java: Likewise.
9671         * java/lang/IllegalThreadStateException.java: Likewise.
9672         * java/lang/IncompatibleClassChangeError.java: Likewise.
9673         * java/lang/IndexOutOfBoundsException.java: Likewise.
9674         * java/lang/InheritableThreadLocal.java: Likewise.
9675         * java/lang/InstantiationError.java: Likewise.
9676         * java/lang/InstantiationException.java: Likewise.
9677         * java/lang/InternalError.java: Likewise.
9678         * java/lang/InterruptedException.java: Likewise.
9679         * java/lang/LinkageError.java: Likewise.
9680         * java/lang/NegativeArraySizeException.java: Likewise.
9681         * java/lang/NoClassDefFoundError.java: Likewise.
9682         * java/lang/NoSuchFieldError.java: Likewise.
9683         * java/lang/NoSuchFieldException.java: Likewise.
9684         * java/lang/NoSuchMethodError.java: Likewise.
9685         * java/lang/NoSuchMethodException.java: Likewise.
9686         * java/lang/NullPointerException.java: Likewise.
9687         * java/lang/NumberFormatException.java: Likewise.
9688         * java/lang/OutOfMemoryError.java: Likewise.
9689         * java/lang/Process.java: Likewise.
9690         * java/lang/Runnable.java: Likewise.
9691         * java/lang/RuntimePermission.java: Likewise.
9692         * java/lang/SecurityException.java: Likewise.
9693         * java/lang/Short.java: Likewise.
9694         * java/lang/StackOverflowError.java: Likewise.
9695         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9696         * java/lang/ThreadDeath.java: Likewise.
9697         * java/lang/ThreadLocal.java: Likewise.
9698         * java/lang/UnknownError.java: Likewise.
9699         * java/lang/UnsatisfiedLinkError.java: Likewise.
9700         * java/lang/UnsupportedClassVersionError.java: Likewise.
9701         * java/lang/UnsupportedOperationException.java: Likewise.
9702         * java/lang/VerifyError.java: Likewise.
9703         * java/lang/VirtualMachineError.java: Likewise.
9704         * java/lang/reflect/InvocationTargetException.java: Likewise.
9705         * java/net/BindException.java: Likewise.
9706         * java/net/ConnectException.java: Likewise.
9707         * java/net/MalformedURLException.java: Likewise.
9708         * java/net/NoRouteToHostException.java: Likewise.
9709         * java/net/ProtocolException.java: Likewise.
9710         * java/net/SocketException.java: Likewise.
9711         * java/net/UnknownHostException.java: Likewise.
9712         * java/net/UnknownServiceException.java: Likewise.
9713
9714         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9715         * java/io/CharConversionException.java: Likewise.
9716         * java/io/EOFException.java: Likewise.
9717         * java/io/FileNotFoundException.java: Likewise.
9718         * java/io/IOException.java: Likewise.
9719         * java/io/InterruptedIOException.java: Likewise.
9720         * java/io/InvalidClassException.java: Likewise.
9721         * java/io/InvalidObjectException.java: Likewise.
9722         * java/io/NotActiveException.java: Likewise.
9723         * java/io/NotSerializableException.java: Likewise.
9724         * java/io/ObjectStreamException.java: Likewise.
9725         * java/io/ObjectStreamConstants.java: Likewise.
9726         * java/io/OptionalDataException.java: Likewise.
9727         * java/io/PipedInputStream.java: Likewise.
9728         * java/io/PushbackInputStream.java: Likewise.
9729         * java/io/StreamCorruptedException.java: Likewise.
9730         * java/io/SyncFailedException.java: Likewise.
9731         * java/io/UTFDataFormatException.java: Likewise.
9732         * java/io/UnsupportedEncodingException.java: Likewise.
9733         * java/io/WriteAbortedException.java: Likewise.
9734
9735 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9736
9737         * java/text/ChoiceFormat.java: Update comments from Classpath.
9738         * java/text/ParseException.java (serialVersionUID): New
9739         field from Classpath.
9740         * java/text/ParseException.java: Update formatting & comments
9741         from Classpath.
9742
9743 2002-06-15  Tom Tromey  <tromey@redhat.com>
9744
9745         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9746         been read but none output by inflater.
9747         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9748         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9749         is_finished.
9750         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9751         version.
9752         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9753         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9754         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9755         version.
9756         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9757
9758 2002-06-13  Tom Tromey  <tromey@redhat.com>
9759
9760         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9761         true and OFFSET!=0.
9762         * java/lang/String.java (String(char[],int,int,boolean): New
9763         constructor.
9764         * java/lang/Long.java: Imported new version from Classpath.
9765         * java/lang/Number.java: Likewise.
9766         * java/lang/Integer.java: Likewise.
9767         * java/lang/Long.java: Likewise.
9768         * java/lang/Float.java: Likewise.
9769         * java/lang/Boolean.java: Likewise.
9770         * java/lang/Double.java: Likewise.
9771         * java/lang/Void.java: Likewise.
9772
9773 2002-06-12  Tom Tromey  <tromey@redhat.com>
9774
9775         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9776         Fixes PR libgcj/6652.
9777
9778 2002-06-10  Tom Tromey  <tromey@redhat.com>
9779
9780         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9781         (Class::getPackagePortion): Likewise.
9782         * java/lang/Class.java (desiredAssertionStatus): New method from
9783         Classpath.
9784         (getPackagePortion): Likewise.
9785         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9786         packageAssertionStatus, classAssertionStatus): New methods from
9787         Classpath.
9788         * java/lang/ClassLoader.java (defaultAssertionStatus,
9789         systemPackageAssertionStatus, packageAssertionStatus,
9790         systemClassAssertionStatus, classAssertionStatus): New fields from
9791         Classpath.
9792         (setDefaultAssertionStatus, setPackageAssertionStatus,
9793         setClassAssertionStatus, clearAssertionStatus): New methods from
9794         Classpath.
9795         * Makefile.in: Rebuilt.
9796         * Makefile.am (core_java_source_files): Added AssertionError.java.
9797         * java/lang/AssertionError.java: New from Classpath.
9798
9799 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9800
9801         * configure.host: Disable hash synchronization and slow_pthread_self
9802         for cygwin.
9803
9804 2002-06-06  Adam Megacz <adam@xwt.org>
9805
9806         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9807         locking, just like the Sun JVM does.
9808
9809 2002-06-05  H.J. Lu  (hjl@gnu.org)
9810
9811         * Makefile.am (libgcj_convenience.la): Revert the last change.
9812         (libgcj.la): Likewise.
9813         * Makefile.in: Regenerated.
9814
9815 2002-06-04  H.J. Lu  (hjl@gnu.org)
9816
9817         * Makefile.am (libgcj_convenience.la): New target.
9818         (libgcj.la): Depend on libgcj_convenience.la.
9819         * Makefile.in: Regenerated.
9820
9821 2002-06-04  H.J. Lu  (hjl@gnu.org)
9822
9823         * configure.in (--with-newlib): New option:
9824         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9825         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9826         Linux.
9827         * configure: Regenerated.
9828
9829 2002-06-04  Tom Tromey  <tromey@redhat.com>
9830
9831         * java/util/natTimeZone.cc: Include <stdio.h>.
9832
9833 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9834
9835         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9836         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9837         Set SIGNAL_HANDLER=include/s390-linux.h.
9838         * configure: Regenerate.
9839         * include/s390-linux.h: New file.
9840
9841 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9842
9843         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9844         not "stackTrace".
9845
9846 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9847
9848         Merge JDK 1.4 java.security changes from classpath.
9849
9850         * java/security/AccessControlException.java: Merge from Classpath.
9851         * java/security/AccessController.java: Likewise.
9852         * java/security/AllPermission.java: Likewise.
9853         * java/security/BasicPermission.java: Likewise.
9854         * java/security/Certificate.java: Likewise.
9855         * java/security/CodeSource.java: Likewise.
9856         * java/security/DigestException.java: Likewise.
9857         * java/security/DigestOutputStream.java: Likewise.
9858         * java/security/DomainCombiner.java: Likewise.
9859         * java/security/GeneralSecurityException.java: Likewise.
9860         * java/security/Guard.java: Likewise.
9861         * java/security/GuardedObject.java: Likewise.
9862         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9863         * java/security/InvalidKeyException.java: Likewise.
9864         * java/security/InvalidParameterException.java: Likewise.
9865         * java/security/Key.java: Likewise.
9866         * java/security/KeyException.java: Likewise.
9867         * java/security/KeyManagementException.java: Likewise.
9868         * java/security/KeyStoreException.java: Likewise.
9869         * java/security/MessageDigest.java: Likewise.
9870         * java/security/NoSuchAlgorithmException.java: Likewise.
9871         * java/security/NoSuchProviderException.java: Likewise.
9872         * java/security/Permission.java: Likewise.
9873         * java/security/PermissionCollection.java: Likewise.
9874         * java/security/Permissions.java: Likewise.
9875         * java/security/Policy.java: Likewise.
9876         * java/security/Principal.java: Likewise.
9877         * java/security/PrivateKey.java: Likewise.
9878         * java/security/PrivilegedAction.java: Likewise.
9879         * java/security/PrivilegedActionException.java: Likewise.
9880         * java/security/PrivilegedExceptionAction.java: Likewise.
9881         * java/security/ProtectionDomain.java: Likewise.
9882         * java/security/ProviderException.java: Likewise.
9883         * java/security/PublicKey.java: Likewise.
9884         * java/security/SecureClassLoader.java: Likewise.
9885         * java/security/SecurityPermission.java: Likewise.
9886         * java/security/SignatureException.java: Likewise.
9887         * java/security/UnrecoverableKeyException.java: Likewise.
9888         * java/security/UnresolvedPermission.java: Likewise.
9889         * java/security/acl/AclNotFoundException.java: Likewise.
9890         * java/security/acl/LastOwnerException.java: Likewise.
9891         * java/security/acl/NotOwnerException.java: Likewise.
9892         * java/security/cert/CRLException.java: Likewise.
9893         * java/security/cert/CertificateEncodingException.java: Likewise.
9894         * java/security/cert/CertificateException.java: Likewise.
9895         * java/security/cert/CertificateExpiredException.java: Likewise.
9896         * java/security/cert/CertificateFactory.java: Likewise.
9897         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9898         * java/security/cert/CertificateParsingException.java: Likewise.
9899         * java/security/spec/InvalidKeySpecException.java: Likewise.
9900         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9901
9902         * java/security/cert/CertPath.java: New file.
9903         * java/security/cert/CertPathBuilderException.java: New file.
9904         * java/security/cert/CertPathValidatorException.java: New file.
9905         * java/security/cert/CertStoreException.java: New file.
9906
9907         * Makefile.am: Add new CertPath classes.
9908         * Makefile.in: Rebuilt.
9909
9910         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9911
9912 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9913
9914         Merge JDK 1.4 exception chaining support from classpath.
9915
9916         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9917         (stackTraceBytes): Rename from stackTrace.
9918         * java/lang/Exception.java: Merge from classpath.
9919         * java/lang/StackTraceElement: New file from classpath.
9920         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9921         * Makefile.am: Add StackTraceElement.
9922         * Makefile.in: Rebuilt.
9923
9924 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9925
9926         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9927         they build first.
9928         * Makefile.in: Rebuilt.
9929
9930 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9931
9932         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9933         * configure.in: Likewise.
9934         * aclocal.m4: Regenerate.
9935         * configure: Regenerate.
9936
9937 2002-05-13  Tom Tromey  <tromey@redhat.com>
9938
9939         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9940         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9941         Include platform.h.
9942
9943         Fixes PR libgcj/6389:
9944         * Makefile.in: Rebuilt.
9945         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9946         * java/util/natTimeZone.cc: New file.
9947         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9948         * java/lang/System.java: Merged with Classpath.
9949         * java/lang/Runtime.java: Merged with Classpath.
9950         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9951         security check.
9952         (setIn0): Renamed from setIn; don't run security check.
9953         (setOut0): Renamed from setOut; don't run security check.
9954         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9955         init_properties): Moved to natRuntime.cc.
9956         Moved many includes to natRuntime.cc.
9957         (isWordsBigEndian): New method.
9958         * java/lang/natRuntime.cc: Include Long.h, also other includes
9959         previously in natSystem.cc.
9960         (maxMemory): New function.
9961         (exitInternal): Renamed from `_exit'.
9962         (exit): Removed.
9963         (init): Don't set finalize_on_exit.
9964         (exitInternal): Use `finalizeOnExit'.
9965         (file_encoding, getpwuid_adaptor): New functions from
9966         natSystem.cc.
9967         (insertSystemProperties): New method, renamed from
9968         System::init_properties.  Don't set user.timezone.
9969         (_load): Don't call checkLink.
9970         (execInternal): New method.
9971         (availableProcessors): Likewise.
9972         (nativeGetLibname): Likewise.
9973
9974 2002-05-11  Mark Wielaard  <mark@klomp.org>
9975
9976         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9977         space characters.
9978         (previous_internal): Likewise.
9979
9980 2002-05-09  Tom Tromey  <tromey@redhat.com>
9981
9982         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9983
9984         * java/util/ResourceBundle.java: New version from Classpath.
9985         * java/util/Locale.java: Likewise.
9986
9987 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9988
9989         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9990         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9991         LD_LIBRARY_PATH.
9992
9993 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9994
9995         * libjava/Makefile.am (all_java_source_files): New variable.
9996         (all_java_class_files): Likewise.
9997         .java.class: New rule.
9998         (CLEANFILES): Remove tmp-list.
9999         * libjava/Makefile.in: Regenerated.
10000
10001 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
10002
10003         * testsuite/lib/libjava.exp (test_libjava_from_javac):
10004         Append .exe to executable names.  Fix for cygwin.
10005
10006 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
10007
10008         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10009         script entry, and set LD to it when configuring multilibs.
10010         * configure: Rebuilt.
10011
10012 2002-05-07  Tom Tromey  <tromey@redhat.com>
10013
10014         * java/lang/natString.cc (unintern): Fixed typo.
10015
10016 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10017
10018         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10019         with -no-install on *-*-cygwin*.
10020
10021 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10022
10023         * testsuite/lib/libjava.exp (test_libjava_from_source):
10024         Add comment explaining last patch
10025
10026 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
10027
10028         * testsuite/lib/libjava.exp (test_libjava_from_source):
10029         Append .exe to executable names.  If no suffix is present,
10030         then ".exe" is added by default on win32.  Harmless
10031         elsewhere so always do it.
10032
10033 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
10034             Tom Tromey  <tromey@redhat.com>
10035
10036         * java/lang/natSystem.cc (getSystemTimeZone): Use
10037         HAVE_UNDERSCORE_TIMEZONE.
10038         * include/config.h.in: Rebuilt.
10039         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10040         * aclocal.m4, configure: Rebuilt.
10041         * acinclude.m4: Run AC_EXEEXT.
10042         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10043         Add test for `_timezone'.
10044
10045 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
10046
10047         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10048         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10049         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10050         * Makefile.in: Rebuilt.
10051
10052 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
10053
10054         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10055         use sigaction instead of __libc_sigaction.
10056
10057 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10058
10059         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10060         (libjava_init): Use it to find libgcj.spec.
10061         (libjava_arguments): Likewise.
10062
10063 2002-05-02  David S. Miller  <davem@redhat.com>
10064
10065         PR bootstrap/6525
10066         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10067         __libc_sigaction on Sparc.
10068
10069 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
10070
10071         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10072         sys/filio.h, if present.
10073
10074 2002-04-30  Tom Tromey  <tromey@redhat.com>
10075
10076         * java/io/BufferedReader.java (fill): Handle case where markPos
10077         point to ignored \n.  Fixes PR libgcj/6301.
10078
10079 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
10080
10081         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10082
10083 2002-04-29  Adam King <aking@dreammechanics.com>
10084
10085         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10086         of file in APPEND mode.
10087
10088 2002-04-25  David S. Miller  <davem@redhat.com>
10089
10090         PR target/6422
10091         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10092         program counter to next program counter minus 8.  Update
10093         comments in this macro to explain why.
10094
10095 2002-04-26  Tom Tromey  <tromey@redhat.com>
10096
10097         * verify.cc (construct_primitive_array_type) [void_type]: New
10098         case.
10099         (branch_prepass): Added dummy entries for unused instruction
10100         values.
10101         (verify_instructions_0): Likewise.
10102         * interpret.cc (continue1): Comment fix.
10103         * include/java-insns.h (op_xxxunusedxxx1): Removed.
10104         * Makefile.in: Rebuilt.
10105         * Makefile.am: Added -Wswitch-enum.
10106
10107 2002-04-24  Tom Tromey  <tromey@redhat.com>
10108
10109         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10110         correct length of UTF-8 encoded name.  Strip leading `/'.
10111         (_Jv_RegisterResource): Use _Jv_Malloc.
10112
10113 2002-04-23  Adam Megacz <adam@xwt.org>
10114
10115         * win32.cc, include/win32.cc (backtrace): Added this function
10116         because Win32 does not supply it.
10117
10118 2002-04-21  David S. Miller  <davem@redhat.com>
10119
10120         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10121         magic instruction reading sequence.
10122
10123 2002-04-21  Mark Wielaard  <mark@klomp.org>
10124
10125         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10126
10127 2002-04-19  David S. Miller  <davem@redhat.com>
10128
10129         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10130         arg.
10131         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10132         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10133         on Sparc too.
10134         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10135         for 64-bit sparc.
10136         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10137         * sysdeps/sparc/locks.h: New file.
10138         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10139         on all sparc Solaris configurations.  Set to
10140         include/dwarf2-signal.h on sparc Linux.
10141         * configure: Regenerate
10142         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10143
10144 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
10145
10146         * configure: Rebuilt.
10147         * configure.in (backtrace): Function doesn't work on IA-64.
10148
10149 2002-04-17  Adam King <aking@dreammechanics.com>
10150
10151         * java/io/File.java (normalizePath): Add Win32 support for auto
10152         conversion of a '/' path separator to Win32's '\' separator.
10153
10154 2002-04-16  Tom Tromey  <tromey@redhat.com>
10155
10156         Fix for PR libgcj/6081:
10157         * Makefile.in: Rebuilt.
10158         * Makefile.am (install-data-local): Use GNU make trick to avoid
10159         shell limit.
10160
10161 2002-04-16  Adam King <aking@dreammechanics.com>
10162             Tom Tromey  <tromey@redhat.com>
10163
10164         * java/io/natFileWin32.cc (performList): Return the correct array
10165         type.  Don't duplicate the creation of a File since it's already
10166         done earlier in the method and the existing code would cause a
10167         ArrayStoreException.  Don't use fixed-size array.
10168         (_access, _stat, attr, getCanonicalPath, performMkdir,
10169         performRenameTo): Don't use fixed-size array.
10170         (getCanonicalPath): Use throw, not _Jv_Throw.
10171
10172 2002-04-15  DJ Delorie  <dj@redhat.com>
10173
10174         * configure.in: Allow building in $srcdir.
10175         * configure: Regenerated.
10176
10177 2002-04-14  Mark Wielaard <mark@klomp.org>
10178
10179         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10180         * java/net/natSocketImpl.cc (close): Likewise.
10181
10182 2002-04-14  Mark Wielaard <mark@klomp.org>
10183
10184         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10185
10186 2002-04-13  Adam King <aking@dreammechanics.com>
10187
10188         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10189         the f/F/d/D modifiers.
10190
10191 2002-04-12  Anthony Green  <green@redhat.com>
10192
10193         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10194         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10195         * Makefile.in: Rebuilt.
10196         * configure.in: Substitute gcc_version.
10197         * configure: Rebuilt.
10198
10199 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10200
10201         * configure.host: Set can_unwind_signal on hosts which support it.
10202         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10203         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10204         exceptions and can_unwind_signal isn't set.
10205         * configure: Rebuilt.
10206
10207 2002-04-11  Tom Tromey  <tromey@redhat.com>
10208
10209         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10210
10211 2002-04-11  Adam King <aking@dreammechanics.com>
10212             Tom Tromey  <tromey@redhat.com>
10213
10214         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10215         _Jv_ThrowNullPointerException): Mark as noreturn.
10216         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10217         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10218         fixes.
10219
10220 2002-04-10  Tom Tromey  <tromey@redhat.com>
10221
10222         * Makefile.in: Rebuilt.
10223         * Makefile.am (java/lang/Thread.h): Mark
10224         _Jv_AttachCurrentThreadAsDaemon as friend.
10225         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10226         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10227         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10228         function.
10229         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10230         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10231         (_Jv_JNI_InvokeFunctions): Added
10232         _Jv_JNI_AttachCurrentThreadAsDaemon.
10233         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10234         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10235         (JNI_CreateJavaVM): Likewise.
10236         (_Jv_JNI_AttachCurrentThread): Likewise.
10237         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10238         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10239         (_Jv_JNIFunctions): Initialize new fields.
10240         (_Jv_JNI_NewDirectByteBuffer): New function.
10241         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10242         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10243         * include/jni.h (JNI_VERSION_1_4): New macro.
10244         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10245         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10246         (JNINativeInterface::NewDirectByteBuffer): New field.
10247         (JNINativeInterface::GetDirectBufferAddress): New field.
10248         (JNINativeInterface::GetDirectBufferCapacity): New field.
10249         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10250         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10251         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10252
10253 2002-04-09  Tom Tromey  <tromey@redhat.com>
10254
10255         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10256
10257 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10258
10259         Fix for PR libgcj/6187:
10260         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10261         distance.
10262
10263 2002-04-07  Mark Wielaard <mark@klomp.org>
10264
10265         * java/util/AbstractMap.java (putAll): Use entrySet size.
10266         (toString): Explicitly use getKey() and getValue().
10267
10268 2002-04-07  Mark Wielaard <mark@klomp.org>
10269
10270         * java/util/Hashtable.java (contains): Remove NullPointer check.
10271         (containsValue): Add NullPointer check.
10272         (remove): Always throw NullPointerException when key
10273         is null.
10274
10275 2002-04-07  Adam King <aking@dreammechanics.com>
10276
10277         * java/lang/natSystem.cc (init_properties): Call new function
10278         _Jv_platform_initProperties.
10279         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10280         support for the System properties os.name, os.arch, os.version,
10281         user.name, user.home, and user.dir.
10282         * include/posix.h, include/win32.h, posix.cc: New function
10283         _Jv_platform_initProperties.
10284
10285 2002-04-06  Mark Wielaard <mark@klomp.org>
10286
10287         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10288
10289 2002-04-06  Mark Wielaard <mark@klomp.org>
10290
10291         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10292         all of the remaining elements.
10293         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10294         (removeRange): If toIndex == fromIndex do
10295         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10296         (removeAll): Always throw NullPointerException when collection is
10297         null.
10298         (retrainAll): Likewise.
10299
10300 2002-04-05  Mark Wielaard <mark@klomp.org>
10301
10302         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10303         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10304
10305 2002-04-05  Adam Megacz <adam@xwt.org>
10306
10307         * exception.cc (abort): added static modifier
10308
10309 2002-04-04  Adam Megacz <adam@xwt.org>
10310
10311         * include/win32.h (_Jv_platform_close_on_exec): added inline
10312         modifier.
10313
10314 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10315
10316         * configure.host: Add case statement to support generic port
10317         properties.  Add *-*-freebsd* section.
10318
10319 2002-04-04  Mark Wielaard  <mark@klomp.org>
10320
10321         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10322         test.
10323         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10324         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10325         that depend on awt code and BufferedByteOutputStream.interrupt.
10326
10327 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10328
10329         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10330         incorrect "hi" value when count > 40.
10331
10332 2002-04-03  Mark Wielaard  <mark@klomp.org>
10333
10334         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10335         ordering.
10336
10337 2002-04-02  Tom Tromey  <tromey@redhat.com>
10338
10339         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10340         not `0'.
10341
10342 2002-04-02  Mark Wielaard  <mark@klomp.org>
10343
10344         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10345         list of testsuite crashers.
10346
10347 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10348
10349         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10350         when resizing table.
10351
10352 2002-04-01  Mark Wielaard  <mark@klomp.org>
10353
10354         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10355         NegativeArraySizeException
10356         (clear(int)): Use sign extended shift.
10357         (flip(int)): Likewise.
10358         (get(int)): Likewise.
10359         (nextClearBit(int)): Likewise.
10360         (nextSetBit(int)): Likewise.
10361         (set(int)): Likewise.
10362
10363 2002-04-01  Mark Wielaard  <mark@klomp.org>
10364
10365         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10366         that can be compiled now and add testsuite crashers to ignore list.
10367
10368 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10369
10370         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10371
10372         * libgcj.spec.in: Override libgcc, not lib.
10373         * libgcj-test.spec.in: Likewise.
10374
10375 2002-03-29  Tom Tromey  <tromey@redhat.com>
10376
10377         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10378         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10379
10380 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10381
10382         * java/net/PlainDatagramSocketImpl.java
10383         (close): Use native implementation.
10384         (finalize): New method.
10385
10386         * java/net/PlainSocketImpl.java (finalize): New method.
10387
10388         * java/net/natPlainDatagramSocketImpl.cc
10389         (java/io/FileDescriptor.h): Don't include.
10390         (close): Implement method here.
10391         (create): Don't assign fd.
10392
10393         * java/net/natPlainSocketImpl.cc
10394         (java/io/FileDescriptor.h): Don't include.
10395         (create): Don't assign fd.
10396         (accept): Likewise.
10397         (close): Synchronize.
10398
10399 2002-03-27  Richard Henderson  <rth@redhat.com>
10400
10401         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10402
10403 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10404
10405         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10406         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10407         instead of syscall on IA-64.
10408         Add FIXME comment.
10409
10410 2002-03-27  Anthony Green  <green@redhat.com>
10411
10412         * libgcj.spec.in: Add CHECKREFSPEC.
10413         * configure.in: Ditto.
10414         * configure.host: Ditto.  Check references for xscale-elf.
10415         * configure: Rebuilt.
10416
10417 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10418
10419         * include/dwarf2-signal.h: Temporarily back out last change.
10420
10421 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10422
10423         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10424
10425 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10426
10427         * configure.in, configure: enable dwarf2-exception-style
10428         exception handling on IA-64.
10429         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10430         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10431         Add FIXME comment.
10432
10433 2002-03-25  Tom Tromey  <tromey@redhat.com>
10434
10435         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10436         (jv_convert_LDFLAGS): Likewise.
10437         (gij_LDFLAGS): Likewise.
10438         (rmic_LDFLAGS): Likewise.
10439         (rmiregistry_LDFLAGS): Likewise.
10440         * configure.in (THREADLDFLAGS): New subst; set correctly for
10441         *BSD.
10442
10443 2002-03-25  Tom Tromey  <tromey@redhat.com>
10444
10445         For PR libgcj/5303:
10446         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10447         and --version.
10448         (help): New method.
10449         (version): Likewise.
10450         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10451         "GNU".
10452         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10453         "GNU".
10454
10455 2002-03-25  Tom Tromey  <tromey@redhat.com>
10456
10457         * java/awt/Component.java (processEvent): Check ComponentEvent
10458         after KeyEvent.
10459
10460 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10461
10462         * java/io/PushbackReader.java: Reformat.
10463
10464         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10465         calculate correct number of bytes skipped.
10466
10467         Based on patch from Intel's ORP team:
10468         * java/io/PushbackInputStream.java (available): Calculate correct
10469         number of bytes in buffer.
10470         (read): Remove redundant bound check. Return bytes from both the
10471         buffer and the stream.
10472
10473 2002-03-24  Tom Tromey  <tromey@redhat.com>
10474
10475         * java/awt/TextComponent.java (TextComponent): Editable by
10476         default.
10477
10478         * java/awt/MenuItem.java (eventMask): No longer private.
10479         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10480         superclass if we didn't handle event.
10481         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10482         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10483         * java/awt/Choice.java (dispatchEventImpl): New method.
10484         * java/awt/List.java (dispatchEventImpl): New method.
10485         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10486         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10487         * java/awt/TextField.java (dispatchEventImpl): New method.
10488
10489 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10490
10491         * java/beans/IntrospectionException.java: Update to 1.4.
10492         * java/beans/PropertyVetoException.java: Ditto.
10493
10494 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10495
10496         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10497         Arrays.equals instead of ArrayHelper.equalsArray.
10498
10499 2002-03-24  C. Brian Jones <cbj@gnu.org>
10500
10501         * java/beans/Introspector.java: added new static final fields
10502         introduced in 1.2, lots of other updates remain to be done
10503
10504 2002-03-24  C. Brian Jones <cbj@gnu.org>
10505
10506         * java/beans/Introspector.java: reformatting
10507
10508 2002-03-24  C. Brian Jones <cbj@gnu.org>
10509
10510         * java/beans/Introspector.java: default beanInfoSearchPath will
10511         not include sun.beans.infos given we provide no such package and
10512         the API doesn't really require it; gnu.java.beans.info is the
10513         default.
10514
10515 2002-03-24  Mark Wielaard  <mark@klomp.org>
10516
10517         Thanks to Orp developers
10518         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10519         switch TRUE and FALSE return values.
10520
10521 2002-03-23  Tom Tromey  <tromey@redhat.com>
10522
10523         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10524         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10525
10526 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10527
10528         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10529         MONTH entry.  Fixes PR libgcj/6045.
10530
10531 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10532
10533         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10534
10535 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10536
10537         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10538         not release_set.
10539         * sysdep/powerpc/locks.h (write_barrier): New function.
10540         * sysdep/i386/locks.h (write_barrier): New function.
10541
10542 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10543
10544         * include/jni.h Use correct C comments.
10545
10546 2002-03-18  Tom Tromey  <tromey@redhat.com>
10547
10548         * include/jni.h (JNIIMPORT): New macro.
10549         (JNIEXPORT): Likewise.
10550         (JNICALL): Likewise.
10551
10552 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10553
10554         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10555         systems.
10556
10557 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10558
10559         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10560         INIT_SEGV: Use old_i386_kernel_sigaction.
10561         INIT_FP: Likewise.
10562
10563 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10564
10565         * java/lang/natSystem.cc (init_properties): Update VM version
10566         properties.
10567         * configure.in: Set GCJVERSION.
10568         * acconfig.h: Add GCJVERSION.
10569         * configure: Rebuilt.
10570         * include/config.h.in: Rebuilt.
10571
10572 2002-03-17  Anthony Green  <green@redhat.com>
10573
10574         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10575
10576 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10577
10578         Build a single libgcj.so, without separate gc and zlib libraries.
10579         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10580         SYS_ZLIBS if system zlib is used.
10581         * configure: Rebuilt.
10582         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10583         * Makefile.in: Rebuilt.
10584         * libtool-version: Increment .so version number.
10585
10586         * Makefile.am: Escape quotes in echo.
10587         * Makefile.in: Rebuilt.
10588
10589 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10590
10591         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10592         * Makefile.in: Rebuilt.
10593
10594 2002-03-15  Anthony Green  <green@redhat.com>
10595
10596         * configure.host (FILE): New macro for specifing File
10597         implementation.
10598         * configure: Rebuilt.
10599         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10600
10601 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10602
10603         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10604         already implicitly brought in from libgcj.la.
10605         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10606         * Makefile.in: Rebuilt.
10607
10608 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10609
10610         * THANKS: Fix punctuation, alphabetization.
10611
10612 2002-03-15  Tom Tromey  <tromey@redhat.com>
10613             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10614
10615         Fix for PR libgcj/5944.
10616         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10617
10618 2002-03-15  Anthony Green  <green@redhat.com>
10619
10620         * configure.in (tool_include_dir): Define.
10621         * configure: Rebuilt.
10622         * gcj/Makefile.am: Install libgcj-config.h relative to
10623         tool_include_dir.
10624         * gcj/Makefile: Rebuilt.
10625         * gcj/libgcj-config.h: Add warning comment.
10626
10627 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10628
10629         * configure.host (powerpc*-darwin*): Enable interpreter.
10630
10631 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10632
10633         * include/posix.h: Add multiple include header protection.
10634         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10635
10636 2002-03-10  Adam Megacz <adam@xwt.org>
10637
10638         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10639
10640 2002-03-10  Tom Tromey  <tromey@redhat.com>
10641
10642         * java/awt/GridLayout.java (layoutContainer): Handle case where
10643         there are no items in container.
10644
10645         * java/lang/Win32Process.java: Added comment.
10646         * include/posix.h (_Jv_platform_close_on_exec): New function.
10647         Include fcntl.h.
10648         * include/win32.h (_Jv_platform_close_on_exec): New function.
10649         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10650         flag.
10651         (accept): Likewise.
10652         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10653         close-on-exec flag.
10654         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10655         flag.
10656
10657 2002-03-09  Tom Tromey  <tromey@redhat.com>
10658
10659         * verify.cc (state::NO_STACK): New constant.
10660         (state::is_unmerged_ret_state): Handle case where stacktop is
10661         NO_STACK.
10662         (state::merge): Handle NO_STACK merges.
10663         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10664         for instruction following jsr.
10665         (stacktop, stackdepth): Removed unused variables.
10666         (pop_jump): Ignore case where all remaining states are skipped.
10667
10668 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10669
10670         * java/awt/ImageMediaEntry: Removed.
10671         * java/awt/MediaEntry: Removed.
10672
10673 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10674
10675         Hashtable synchronization for PowerPC.
10676         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10677         slow_pthread_self. Set up symlink for sysdeps directory.
10678         * configure: Rebuild.
10679         * configure.host: Document more shell variables. Set sysdeps_dir
10680         for most platforms. Set slow_pthread_self for i686. Set
10681         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10682         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10683         that memory barrier is emitted where required.
10684         * prims.cc: 64-bit align static primitive class instances.
10685         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10686         read_barrier() to enforce ordering of reads.
10687         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10688         primitives for PowerPC.
10689         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10690         moved from natObject.cc.
10691         * sysdep/alpha/locks.h: Likewise.
10692         * sysdep/ia64/locks.h: Likewise.
10693         * sysdep/generic/locks.h: Likewise.
10694         * java/lang/natObject.cc: Move thread synchronization primitives to
10695         system-dependent headers.
10696
10697 2002-03-09  Adam Megacz  <adam@xwt.org>
10698
10699         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10700         bytes read and no failure code returned.
10701
10702 2002-03-09  Adam Megacz  <adam@xwt.org>
10703
10704         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10705         definitions to simulate -mthreads.
10706
10707 2002-03-09  Adam Megacz  <adam@xwt.org>
10708
10709         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10710         avoid precision loss.
10711
10712 2002-03-09  Per Bothner  <per@bothner.com>
10713
10714         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10715         * gnu/gcj/xlib/XImage.java:  Likewise.
10716         * gnu/gcj/xlib/XColor.java:  Likewise.
10717
10718 2002-03-09  Adam Megacz  <adam@xwt.org>
10719
10720         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10721         IOException so that Throwable.printStackTrace fails correctly.
10722
10723 2002-03-08  Adam Megacz  <adam@xwt.org>
10724
10725         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10726         fixed.
10727
10728 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10729
10730         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10731         truncated to int.
10732
10733 2002-03-08  Tom Tromey  <tromey@redhat.com>
10734
10735         * include/jni.h: Include stdio.h.
10736
10737 2002-03-08  Tom Tromey  <tromey@redhat.com>
10738
10739         * posix.cc (internal_gettimeofday): New function.
10740         (_Jv_select): Use it.
10741
10742 2002-03-07  Adam Megacz  <adam@xwt.org>
10743
10744         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10745         WIN32, and added thunks for read(), write(), and close().
10746         * java/net/natPlainSocketImpl.cc (accept, read, read):
10747         Disabled timeouts on WIN32 pending discussion.
10748
10749 2002-03-07  Adam Megacz  <adam@xwt.org>
10750
10751         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10752         returns jlong. Added implementation
10753         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10754         returns jlong.
10755         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10756         returns jlong.
10757         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10758         returns jlong.
10759         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10760         _Jv_platform_gettimeofday signature.
10761
10762 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10763
10764         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10765         (read): Call recv() directly, not _Jv_recv().
10766
10767 2002-03-06  Tom Tromey  <tromey@redhat.com>
10768
10769         * java/io/natFileDescriptorEcos.cc (init): Don't use
10770         GetStdHandle.
10771         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10772         is negative.
10773         (init): Don't use GetStdHandle.
10774
10775         * include/config.h.in: Rebuilt.
10776         * configure: Rebuilt.
10777         * Makefile.in: Rebuilt.
10778
10779 2002-03-06  Adam Megacz  <adam@xwt.org>
10780
10781         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10782         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10783         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10784         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10785
10786 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10787
10788         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10789         the code for generating include/java-chartables.h.
10790         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10791         merge with Classpath.
10792         * scripts/unicode-muncher.pl: Copy from Classpath.
10793         * scritps/MakeCharTables.java: New file.
10794         * gnu/gcj/convert/Blocks-3.txt: New file.
10795         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10796         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10797         * gnu/java/lang/CharData.java: Copy from Classpath.
10798         * Makefile.am (ordinary_java_source_files): Add
10799         gnu/java/lang/CharData.java.
10800         * configure.in: Remove --enable-fast-character option.
10801         * java/lang/Character.java: Merge algorithms and Javadoc with
10802         Classpath.
10803         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10804         efficiently.
10805         * include/java-chardecomp.h: Regenerate.
10806         * include/java-chartables.h: Regenerate.
10807
10808 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10809
10810         * java/awt/MediaTracker.java: Implemented.
10811         * Makefile.am: Add MediaTracker.
10812         * Makefile.in: Rebuilt.
10813
10814 2002-03-05  Tom Tromey  <tromey@redhat.com>
10815
10816         * java/lang/natPosixProcess.cc (fail): Removed.
10817         (startProcess): Simplified error-handling.  Preserve
10818         LD_LIBRARY_PATH across exec.
10819
10820         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10821         AbstractMethodError.
10822
10823 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10824
10825         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10826         * Makefile.in: Rebuilt.
10827
10828 2002-03-03 Mark Wielaard <mark@klomp.org>
10829
10830         * java/util/Timer (TaskQueue.stop): set elements to zero.
10831
10832 2002-02-28  Anthony Green  <green@redhat.com>
10833
10834         * java/lang/reflect/natMethod.cc (result): Add void* element.
10835         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10836         constructor test.
10837
10838 2002-02-27  Adam Megacz <adam@xwt.org>
10839
10840         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10841         '#undef STRICT'.
10842
10843 2002-02-26  Tom Tromey  <tromey@redhat.com>
10844
10845         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10846         * gij.cc (version): Use __VERSION__.
10847         * include/config.h.in: Rebuilt.
10848         * acconfig.h (GCJVERSION): Removed.
10849         * configure: Rebuilt.
10850         * configure.in (GCJVERSION): Removed.
10851
10852 2002-02-26  Andreas Schwab  <schwab@suse.de>
10853
10854         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10855         glibcpp_CXX, since libjava uses even another CXX.
10856         * aclocal.m4, configure: Regenerated.
10857
10858 2002-02-26  Tom Tromey  <tromey@redhat.com>
10859
10860         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10861         `1'.
10862
10863 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10864
10865         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10866         dependency tracking for .java files.
10867         * Makefile.in: Rebuilt.
10868
10869 2002-02-24  Adam Megacz  <adam@xwt.org>
10870
10871         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10872         typo. Sorry.
10873
10874 2002-02-24  Adam Megacz  <adam@xwt.org>
10875
10876         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10877         for Win32, changed #ifdefs to check WIN32 instead of the
10878         (now-obsolete) USE_WINSOCK, and removed support for socket
10879         timeouts on Win32 pending further discussion.
10880
10881 2002-02-24  Adam Megacz  <adam@xwt.org>
10882
10883         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10884         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10885         delete
10886
10887 2002-02-24  Adam Megacz  <adam@xwt.org>
10888
10889         * java/lang/Win32Process.java: Created a dummy class to allow
10890         build process to run to completion.
10891
10892 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10893
10894         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10895         Define ffi_result union for ffi_call result.  Cast
10896         ffi_result members to jvalue.
10897
10898 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10899
10900         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10901         * testsuite/Makefile.in: Likewise.
10902
10903 2002-02-20  Per Bothner  <per@bothner.com>
10904
10905         * java/net/URL.java (getPath):  New JDK 1.3 method.
10906
10907         * java/net/URLStreamHandler.java (parseURL):
10908         It is wrong to prepend '/' to the file part of a relative url.
10909
10910         * java/net/URLStreamHandler.java (parseURL):
10911         Minor optizations - append '/' rather than "/".
10912
10913         * java/net/URLStreamHandler.java (parseURL):
10914         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10915         We probably should canonicalize for a context-relative url, though.
10916         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10917         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10918         (sameFile):  New method.  Uses canonicalizeFilename.
10919
10920 2002-02-22  Tom Tromey  <tromey@redhat.com>
10921
10922         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10923         java.vendor and java.vm.vendor.
10924         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10925         recent copyright date.
10926         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10927         * gij.cc (version): Print `Inc'.
10928
10929 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10930
10931         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10932         * aclocal.m4, configure: Rebuilt.
10933
10934 2002-02-20  Per Bothner  <per@bothner.com>
10935
10936         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10937         and/or output streams immediately here, instead of using File.exists.
10938         (inputStream, outputStream):  New fields to save open streams.
10939         (getInputStream, getOutputStream):  Use already-opened streams.
10940
10941 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10942
10943         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10944         Use it.
10945         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10946         * aclocal.m4, configure, Makefile.in: Rebuilt.
10947
10948 2002-02-19  Tom Tromey  <tromey@redhat.com>
10949
10950         Fix for PR libgcj/5696:
10951         * verify.cc (is_assignable_from_slow): Never call
10952         _Jv_IsAssignableFrom.
10953         (verify_instructions_0): Added new debug statement.
10954         (state::print): Print information about whether local has
10955         changed.
10956         (state::merge): Don't call note_variable when merging locals.
10957         (state::set_exception): Removed old FIXME comment.
10958
10959 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10960
10961         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10962         enable SO_BROADCAST.
10963
10964 2002-02-18  Jason Merrill  <jason@redhat.com>
10965
10966         * name-finder.cc (toHex): Use word mode, not long long.
10967
10968         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10969
10970 2002-02-15  Tom Tromey  <tromey@redhat.com>
10971
10972         Fix for PR libgcj/5695:
10973         * verify.cc (is_assignable_from_slow): Check to see if target is
10974         an Object before checking to see if source is an interface.
10975         (verify_instructions_0) [op_invokeinterface]: Handle case where
10976         we're making an interface call on Object.
10977
10978 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10979
10980         * Makefile.in: Rebuilt with Eric's change below.
10981
10982         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10983         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10984         Removed functions which are now implemented in Math.java.
10985
10986 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10987
10988         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10989         * Makefile.am (core_java_source_files): Add
10990         java/lang/StrictMath.java.
10991         * java/lang/Math.java: Merge with Classpath.
10992         * java/lang/StrictMath.java: New file - merge with Classpath.
10993
10994 2002-02-14  Mark Wielaard  <mark@klomp.org>
10995
10996         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10997         package as a workaround for gcj 3.0.x
10998
10999 2002-02-14  Mark Wielaard <mark@klomp.org>
11000
11001         * java/security/BasicPermission.java: extends with fully qualified
11002         classname as workaround for gcj 3.0.4.
11003
11004 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11005
11006         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11007         around gcj bug of wrong emitted qualifier for inherited method.
11008         * java/net/SocketImpl.java (setOption, getOption): Ditto.
11009         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11010         constructor to reduce amount of emitted bytecode. While this
11011         happens to work around a jikes 1.15 bug, it is still a useful
11012         patch even for correct compilers.
11013         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11014         * gnu/java/rmi/server/UnicastRemoteCall.java
11015         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11016
11017 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11018
11019         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11020         * java/net/SocketImpl.java: Ditto.
11021         * java/rmi/server/RMIClassLoader.java: Ditto.
11022         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11023
11024 2002-02-14  Mark Wielaard <mark@klomp.org>
11025
11026         Thanks to Takashi Okamoto
11027         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11028         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11029         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11030
11031 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11032
11033         Fix for PR libgcj/5670:
11034         * verify.cc (is_assignable_from_slow): If `source' is interface,
11035         recursively look for merge with `target'.
11036
11037 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
11038
11039         * include/jni.h: Fix typo.
11040
11041 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
11042
11043         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11044         correctly.
11045
11046 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11047
11048         Fix for PR libgcj/5671:
11049         * verify.cc (state::merge): Handle case where we're merging
11050         against an interface.
11051
11052 2002-02-12  Tom Tromey  <tromey@redhat.com>
11053
11054         * exception.cc (std::abort): Mark as noreturn.
11055
11056 2002-02-12  Adam Megacz <adam@xwt.org>
11057
11058         * java/lang/Win32Process.java: Filled in a placeholder
11059         implementation so Win32 will build.
11060
11061 2002-02-12  Adam Megacz <adam@xwt.org>
11062
11063         * java/io/natFilePosix.cc: Copied this from natFile.cc.
11064         * java/io/natFile.cc: Removed from repository.
11065         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11066
11067 2002-02-12  Adam Megacz <adam@xwt.org>
11068
11069         * win32.cc: Added two #includes to make win32.cc compile.
11070
11071 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11072
11073         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11074         declarations.
11075         (_Jv_InitGC): Don't bother locking, as this is always called from a
11076         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11077
11078 2002-02-11  Adam Megacz <adam@xwt.org>
11079
11080         * include/win32.h: Added _Jv_platform_gettimeofday.
11081         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11082
11083 2002-02-11  Adam Megacz <adam@xwt.org>
11084
11085         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11086         Added #undef STRICT to make windows.h and
11087         java/lang/reflect/Modifier.h cooperate.
11088
11089 2002-02-11  Adam Megacz <adam@xwt.org>
11090
11091         * java/io/natFileWin32.cc: Created a placeholder class with lots
11092         of FIXMEs.
11093
11094 2002-02-11  Adam Megacz <adam@xwt.org>
11095
11096         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11097         std::abort() to simply abort(). Also added "fake" std::abort() so
11098         we can #include unwind-pe.h without having to link against
11099         libstdc++-v3.
11100
11101 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
11102
11103         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11104
11105 2002-02-08  Tom Tromey  <tromey@redhat.com>
11106
11107         * interpret.cc (convert): New function.
11108         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11109         convert.
11110         Include Long.h.
11111
11112 2002-02-08  Anthony Green  <green@redhat.com>
11113
11114         * configure.host: Add support for xscale-elf embedded target.
11115
11116 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
11117
11118         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11119         dereferenced.
11120         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11121         frame.
11122
11123 2002-02-07  Tom Tromey  <tromey@redhat.com>
11124
11125         * java/io/natFile.cc (_access): Use __builtin_alloca.
11126         (_stat): Likewise.
11127         (attr): Likewise.
11128         (getCanonicalPath): Likewise.
11129         (performList): Likewise.
11130         (performMkdir): Likewise.
11131         (performSetReadOnly): Likewise.
11132         (performRenameTo): Likewise.
11133         (performSetLastModified): Likewise.
11134         (performCreate): Likewise.
11135         (performDelete): Likewise.
11136
11137 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11138
11139         * HACKING: Fix URL for the automake-gcj.
11140
11141 2002-02-07  Tom Tromey  <tromey@redhat.com>
11142
11143         * java/lang/natThrowable.cc: Updated copyright.
11144         * java/io/natFileWin32.cc: Updated copyright.
11145         * java/io/natFileDescriptorWin32.cc: Updated copyright.
11146         * win32-threads.cc: Updated copyright.
11147         * name-finder.cc: Updated copyright.
11148         * include/name-finder.h: Updated copyright.
11149
11150         * include/name-finder.h: Conditionally include sys/wait.h.
11151         * include/config.h.in: Rebuilt.
11152
11153         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11154         Size buffer based on real size of string.
11155         (_stat): Likewise.
11156         (attr): Likewise.
11157         (getCanonicalPath): Likewise.
11158         (performList): Likewise.
11159         (performMkdir): Likewise.
11160         (performSetReadOnly): Likewise.
11161         (unixroot): Removed.
11162         (performRenameTo): Likewise.
11163         (performSetLastModified): Likewise.
11164         (performCreate): Likewise.
11165         (performDelete): Likewise.
11166         (performListRoots): Always return new array.
11167
11168         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11169         * win32.cc (win32_exception_handler): Now static.
11170         * include/win32.h (_Jv_platform_initialize): Declare.
11171         (win32_exception_handler): Don't declare.
11172         * java/lang/natSystem.cc (currentTimeMillis): Use
11173         _Jv_platform_gettimeofday.
11174         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11175         (_Jv_select): Use new name.
11176         (_Jv_platform_initialize): New function.
11177         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11178         _Jv_gettimeofday.
11179         (_Jv_platform_initialize): Declare.
11180
11181         * configure: Rebuilt.
11182         * configure.in: Removed unnecessary parens.
11183
11184 2002-02-06  Adam Megacz <adam@xwt.org>
11185
11186        * configure.in: Changed mingw) to *mingw*).
11187        * win32.cc: Created this file.
11188        * win32.h: Created this file.
11189        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11190        win32_exception_handler from prims.cc to win32.cc, added
11191        header in win32.h.
11192        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11193        longer needed now that we have platform.h
11194
11195 2002-02-06  Adam Megacz <adam@xwt.org>
11196
11197         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11198         use uint<n>_t instead of LONG and BYTE
11199
11200 2002-02-06  Adam Megacz <adam@xwt.org>
11201
11202         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11203
11204 2002-02-06  Anthony Green  <green@redhat.com>
11205
11206         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11207         Implement missing method stubs.
11208         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11209         targets.
11210         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11211         concept of timezones.
11212         (init_properties): Don't refer to _Jv_Environment_Properties
11213         when this feature is not available.
11214         * include/config.h.in: Rebuilt.
11215         * acconfig.h: Add DISABLE_MAIN_ARGS.
11216         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11217         * configure: Rebuilt.
11218         * configure.in: Add --disable-main-args option.  Test for
11219           opendir function.  Replace AC_CHECK_SIZEOF with
11220           AC_COMPILE_CHECK_SIZEOF.
11221         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11222         * aclocal.m4: Rebuilt.
11223         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11224
11225 2002-02-06  Tom Tromey  <tromey@redhat.com>
11226
11227         * verify.cc (require_array_type): If argument is a null array of
11228         references, return null as the element type.
11229
11230 2002-02-06  Mark Wielaard  <mark@klomp.org>
11231
11232         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11233         duplicate of a wide type.
11234
11235 2002-02-06  Tom Tromey  <tromey@redhat.com>
11236
11237         * verify.cc (type::isnull): New method.
11238         (require_array_type): Handle case where array is null.
11239         (verify_instructions_0) [op_arraylength]: Likewise.
11240
11241 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11242
11243         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11244         Symlink PLATFORMH to platform.h.
11245         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11246         PLATFORMOBJS.
11247         * java/lang/natSystem.cc: #include platform.h not posix.h.
11248         * Makefile.in: Rebuilt with libgcj automake.
11249         * configure: Rebuilt.
11250
11251 2002-02-05  Richard Henderson  <rth@redhat.com>
11252
11253         * Makefile.in: Undo munging last change.
11254
11255 2002-02-04  Adam Megacz <adam@xwt.org>
11256
11257         * win32.cc: Created it.
11258         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11259         which is set to posix.cc or win32.cc.
11260         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11261
11262 2002-02-04  Adam Megacz <adam@xwt.org>
11263
11264         * configure.in: Corrected mingw case branches; added * before
11265         and after.
11266
11267 2002-02-04  Adam Megacz <adam@xwt.org>
11268
11269         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11270         if compiling for win32
11271
11272 2002-02-04  Adam Megacz <adam@xwt.org>
11273
11274         * win32-threads.cc: #undef STRICT after gc.h inclusion
11275
11276 2002-02-02  Tom Tromey  <tromey@redhat.com>
11277
11278         * Makefile.in: Rebuilt.
11279
11280 2002-02-02  Jason Merrill  <jason@redhat.com>
11281
11282         * Makefile.am (clean-nat): New target.
11283
11284 2002-02-02  Tom Tromey  <tromey@redhat.com>
11285
11286         * java/io/natFile.cc: Removed old "FIXME" comments.
11287
11288 2002-02-01  Tom Tromey  <tromey@redhat.com>
11289
11290         * java/lang/natPosixProcess.cc (myclose): New function.
11291         (fail): Use it.
11292         (startProcess): Likewise.
11293
11294 2002-02-01  Adam Megacz <adam@xwt.org>
11295
11296         * prims.cc: Added #undef STRICT after #include<windows.h>.
11297
11298 2002-02-01  Adam Megacz <adam@xwt.org>
11299
11300         * prims.cc
11301         (_Jv_CreateJavaVM): We now use WIN32 instead of
11302         USE_WIN32_SIGNALLING and USE_WINSOCK.
11303         (win32_exception_handler): Now throws an exception out of
11304         the signal handler; assumes SJLJ.
11305
11306 2002-02-01  Adam Megacz <adam@xwt.org>
11307
11308         * win32-threads.cc:
11309         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11310         wait() algorithm to make it safe.
11311         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11312         Added lazy creation of Win32 Events for better performance
11313         (really_start): This now uses GC_CreateThread so boehm-gc
11314         knows about new threads even when statically linked.
11315
11316 2002-02-01  Adam Megacz <adam@xwt.org>
11317
11318         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11319         enable safer wait() algorithm.
11320         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11321         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11322         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11323         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11324         instead of mutex.
11325         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11326
11327 2002-02-01  Adam Megacz <adam@xwt.org>
11328
11329         * configure.in: Added support for mingw.
11330         * java/lang/Win32Process.java: Created as empty file.
11331         * java/lang/natWin32Process.cc: Created as empty file.
11332
11333 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11334
11335         PR java/4972
11336         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11337         for libiconv in LIBICONV variable.
11338         * configure: Regenerated.
11339
11340 2002-01-31  Tom Tromey  <tromey@redhat.com>
11341
11342         * verify.cc (state::enter_subroutine): New method.
11343         (handle_jsr_insn): Use it.
11344         (state::merge): When processing a `ret', correctly use
11345         subroutine's state to determine which local variables have
11346         changed.
11347         (push_exception_jump): Don't let stack overflow.
11348
11349 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11350
11351         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11352         --version output.
11353
11354 2002-01-30  Tom Tromey  <tromey@redhat.com>
11355
11356         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11357         parameter for `recv' return type.
11358
11359         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11360         (state::merge): ... not here.
11361         (subr_entry_info): New structure.
11362         (entry_points): New field.
11363         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11364         entry_points.
11365
11366 2002-01-29  Tom Tromey  <tromey@redhat.com>
11367
11368         * java/awt/List.java (addNotify): Correctly check to see if peer
11369         does not exist.
11370
11371         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11372         to compute height of each cell, and number of columns to compute
11373         width of each cell.
11374         * java/awt/Window.java (getOwnedWindows): Don't return null.
11375         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11376         of component.  Increment x using horizontal gap, not vertical
11377         gap.
11378
11379 2002-01-28  Tom Tromey  <tromey@redhat.com>
11380
11381         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11382         `nargs' byte is number of words, not number of arguments.
11383
11384 2002-01-27  Tom Tromey  <tromey@redhat.com>
11385
11386         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11387         (when): Likewise.
11388         * java/awt/event/InputEvent.java (modifiers, when): Now
11389         package-private.
11390
11391         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11392         and to-do list.
11393         (state::merge): Use current class' class loader.
11394         (state::print): Print subroutine.
11395         (state::merge): Don't look at subroutine of unmerged `ret'.
11396
11397 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11398
11399         * nogc.cc: Remove warnings.
11400         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11401         New functions.
11402
11403 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11404
11405         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11406         int, int):  Remove empty "if" statement to work around compiler bug.
11407         (newPixels(int[], ColorModel, int, int): Likewise.
11408
11409 2002-01-25  Per Bothner  <per@bothner.com>
11410
11411         * verify.cc (verify_fail):  Change from being a top-level function
11412         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11413         Pass the current verifier to type: and state: methods as needed,
11414         for better error messages, and for resolve.
11415         (resolve):  Pass current class's loader for Class.forName and
11416         _Jv_FindClassFromSignature, rather than using the default loader.
11417         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11418         (get_type_val_for_signature):  Make non-static.
11419         (various methods):  Pass start_PC implicitly, not explicitly.
11420
11421 2002-01-25  Tom Tromey  <tromey@redhat.com>
11422
11423         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11424         loop termination condition.
11425         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11426         width.
11427
11428 2002-01-24  Tom Tromey  <tromey@redhat.com>
11429
11430         * java/awt/Shape.java: Merged with Classpath.
11431         * java/awt/Scrollbar.java: Merged with Classpath.
11432
11433         * java/awt/Container.java (addNotify): Unconditionally call
11434         addNotifyContainerChildren and superclass addNotify.
11435
11436         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11437         getAlpha, not getBlue.
11438
11439 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11440
11441         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11442
11443         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11444         (grabPixels(long)): Wait to be notified that the ImageProducer has
11445         completed.
11446
11447 2002-01-24  Per Bothner  <per@bothner.com>
11448
11449         * verify.cc (is_assignable_from_slow): If target is an interface,
11450         we must still check the source's superclass before giving up.
11451
11452 2002-01-24  Tom Tromey  <tromey@redhat.com>
11453
11454         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11455
11456 2002-01-23  Tom Tromey  <tromey@redhat.com>
11457
11458         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11459         `else'.
11460
11461         * Makefile.in: Rebuilt.
11462         * Makefile.am (awt_java_source_files): Added new files.
11463         * java/awt/Toolkit.java: Merged with Classpath.
11464         * java/awt/PrintGraphics.java: New file from Classpath.
11465         * java/awt/PrintJob.java: New file from Classpath.
11466         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11467         * java/awt/datatransfer/ClipboardOwner.java: New file from
11468         Classpath.
11469         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11470         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11471         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11472         Classpath.
11473         * java/awt/datatransfer/StringSelection.java: New file from
11474         Classpath.
11475         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11476         Classpath.
11477         * java/awt/datatransfer/Transferable.java: New file from
11478         Classpath.
11479         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11480         from Classpath.
11481
11482         * Makefile.in: Rebuilt.
11483         * Makefile.am (awt_java_source_files): Added new files.
11484         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11485         Classpath.
11486         * java/awt/image/CropImageFilter.java: New file from Classpath.
11487         * java/awt/image/FilteredImageSource.java: New file from
11488         Classpath.
11489         * java/awt/image/ImageFilter.java: New file from Classpath.
11490         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11491         * java/awt/image/PixelGrabber.java: New file from Classpath.
11492         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11493         * java/awt/image/ReplicateScaleFilter.java: New file from
11494         Classpath.
11495         * java/awt/image/ImageProducer.java: Replaced with Classpath
11496         version.
11497         * java/awt/image/ImageObserver.java: Replaced with Classpath
11498         version.
11499         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11500         version.
11501         * java/awt/GridBagConstraints.java (clone): Catch
11502         CloneNotSupportedException.
11503
11504 2002-01-23  Per Bothner  <per@bothner.com>
11505
11506         * java/lang/reflect/natField.cc (setAddr):  New function.
11507         Calls getAddr and then checks that the field isn't final.
11508         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11509         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11510         (set):  Call setAddr before check that new value has right type,
11511         to better match specified semantics.
11512
11513 2002-01-22  Tom Tromey  <tromey@redhat.com>
11514
11515         * java/awt/TextField.java: Replaced with Classpath version.
11516         * java/awt/TextArea.java: Replaced with Classpath version.
11517         * java/awt/TextComponent.java: Replaced with Classpath version.
11518
11519         * java/awt/GridBagConstraints.java: Updated copyright.
11520
11521 2002-01-22  Mark Wielaard <mark@klomp.org>
11522
11523         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11524         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11525         java/awt/Dialog.java java/awt/FileDialog.java
11526         java/awt/Font.java java/awt/FontMetrics.java
11527         java/awt/Image.java java/awt/ImageMediaEntry.java
11528         java/awt/Insets.java java/awt/List.java
11529         java/awt/MediaEntry.java java/awt/MediaTracker.java
11530         java/awt/Menu.java java/awt/MenuBar.java
11531         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11532         java/awt/PaintContext.java java/awt/Panel.java
11533         java/awt/PopupMenu.java java/awt/SystemColor.java
11534         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11535         java/awt/peer/CheckboxMenuItemPeer.java
11536         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11537         java/awt/peer/ComponentPeer.java
11538         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11539         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11540         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11541         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11542         java/awt/peer/MenuBarPeer.java
11543         java/awt/peer/MenuComponentPeer.java
11544         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11545         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11546         java/awt/peer/ScrollPanePeer.java
11547         java/awt/peer/ScrollbarPeer.java
11548         java/awt/peer/TextAreaPeer.java
11549         java/awt/peer/TextComponentPeer.java
11550         java/awt/peer/TextFieldPeer.java
11551         java/awt/peer/WindowPeer.java: Add license clarification.
11552
11553 2002-01-22  Mark Wielaard <mark@klomp.org>
11554
11555         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11556         gnu/gcj/runtime/StringBuffer.java
11557         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11558         gnu/java/awt/ComponentDataBlitOp.java
11559         gnu/java/awt/GLightweightPeer.java
11560         gnu/java/beans/BeanInfoEmbryo.java
11561         gnu/java/beans/EmptyBeanInfo.java
11562         gnu/java/beans/ExplicitBeanInfo.java
11563         gnu/java/beans/IntrospectionIncubator.java
11564         gnu/java/beans/editors/ColorEditor.java
11565         gnu/java/beans/editors/FontEditor.java
11566         gnu/java/beans/editors/NativeBooleanEditor.java
11567         gnu/java/beans/editors/NativeByteEditor.java
11568         gnu/java/beans/editors/NativeDoubleEditor.java
11569         gnu/java/beans/editors/NativeFloatEditor.java
11570         gnu/java/beans/editors/NativeIntEditor.java
11571         gnu/java/beans/editors/NativeLongEditor.java
11572         gnu/java/beans/editors/NativeShortEditor.java
11573         gnu/java/beans/editors/StringEditor.java
11574         gnu/java/beans/info/ComponentBeanInfo.java
11575         gnu/java/io/ClassLoaderObjectInputStream.java
11576         gnu/java/io/NullOutputStream.java
11577         gnu/java/io/ObjectIdentityWrapper.java
11578         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11579         gnu/java/lang/reflect/TypeSignature.java
11580         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11581         gnu/java/locale/Calendar_en.java
11582         gnu/java/locale/Calendar_nl.java
11583         gnu/java/locale/LocaleInformation.java
11584         gnu/java/locale/LocaleInformation_de.java
11585         gnu/java/locale/LocaleInformation_en.java
11586         gnu/java/locale/LocaleInformation_nl.java
11587         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11588         gnu/java/rmi/registry/RegistryImpl.java
11589         gnu/java/rmi/rmic/Compile_gcj.java
11590         gnu/java/rmi/rmic/Compiler.java
11591         gnu/java/rmi/rmic/CompilerProcess.java
11592         gnu/java/rmi/rmic/RMIC.java
11593         gnu/java/rmi/rmic/TabbedWriter.java
11594         gnu/java/rmi/server/ProtocolConstants.java
11595         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11596         gnu/java/rmi/server/RMIHashes.java
11597         gnu/java/rmi/server/RMIObjectInputStream.java
11598         gnu/java/rmi/server/RMIObjectOutputStream.java
11599         gnu/java/rmi/server/UnicastConnection.java
11600         gnu/java/rmi/server/UnicastConnectionManager.java
11601         gnu/java/rmi/server/UnicastRef.java
11602         gnu/java/rmi/server/UnicastRemoteCall.java
11603         gnu/java/rmi/server/UnicastRemoteStub.java
11604         gnu/java/rmi/server/UnicastServer.java
11605         gnu/java/rmi/server/UnicastServerRef.java
11606         gnu/java/security/provider/DefaultPolicy.java
11607         gnu/java/security/provider/Gnu.java
11608         gnu/java/security/provider/SHA.java
11609         gnu/java/security/provider/SHA1PRNG.java
11610         gnu/java/text/BaseBreakIterator.java
11611         gnu/java/text/CharacterBreakIterator.java
11612         gnu/java/text/LineBreakIterator.java
11613         gnu/java/text/SentenceBreakIterator.java
11614         gnu/java/text/WordBreakIterator.java
11615         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11616         java/applet/AppletContext.java java/applet/AppletStub.java
11617         java/applet/AudioClip.java java/awt/AWTError.java
11618         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11619         java/awt/AWTException.java java/awt/AWTPermission.java
11620         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11621         java/awt/Button.java java/awt/Canvas.java
11622         java/awt/CardLayout.java java/awt/Checkbox.java
11623         java/awt/CheckboxGroup.java java/awt/Component.java
11624         java/awt/ComponentOrientation.java java/awt/Container.java
11625         java/awt/Dimension.java java/awt/Event.java
11626         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11627         java/awt/FlowLayout.java java/awt/Frame.java
11628         java/awt/Graphics.java java/awt/Graphics2D.java
11629         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11630         java/awt/IllegalComponentStateException.java
11631         java/awt/ItemSelectable.java java/awt/Label.java
11632         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11633         java/awt/MenuComponent.java java/awt/MenuItem.java
11634         java/awt/Paint.java java/awt/Point.java
11635         java/awt/Rectangle.java java/awt/RenderingHints.java
11636         java/awt/Transparency.java java/awt/Window.java
11637         java/awt/color/ColorSpace.java
11638         java/awt/color/ICC_ColorSpace.java
11639         java/awt/color/ICC_Profile.java
11640         java/awt/event/HierarchyBoundsAdapter.java
11641         java/awt/event/HierarchyBoundsListener.java
11642         java/awt/event/HierarchyEvent.java
11643         java/awt/event/HierarchyListener.java
11644         java/awt/geom/AffineTransform.java
11645         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11646         java/awt/geom/IllegalPathStateException.java
11647         java/awt/geom/Line2D.java
11648         java/awt/geom/NoninvertibleTransformException.java
11649         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11650         java/awt/geom/Rectangle2D.java
11651         java/awt/geom/RectangularShape.java
11652         java/awt/geom/RoundRectangle2D.java
11653         java/awt/image/BufferedImage.java
11654         java/awt/image/ColorModel.java
11655         java/awt/image/ComponentColorModel.java
11656         java/awt/image/ComponentSampleModel.java
11657         java/awt/image/DataBuffer.java
11658         java/awt/image/DataBufferByte.java
11659         java/awt/image/DataBufferInt.java
11660         java/awt/image/DataBufferUShort.java
11661         java/awt/image/DirectColorModel.java
11662         java/awt/image/PackedColorModel.java
11663         java/awt/image/Raster.java java/awt/image/RasterOp.java
11664         java/awt/image/SampleModel.java
11665         java/awt/image/SinglePixelPackedSampleModel.java
11666         java/awt/image/WritableRaster.java
11667         java/beans/AppletInitializer.java
11668         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11669         java/beans/Beans.java java/beans/Customizer.java
11670         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11671         java/beans/FeatureDescriptor.java
11672         java/beans/IndexedPropertyDescriptor.java
11673         java/beans/IntrospectionException.java
11674         java/beans/Introspector.java java/beans/MethodDescriptor.java
11675         java/beans/ParameterDescriptor.java
11676         java/beans/PropertyChangeEvent.java
11677         java/beans/PropertyChangeListener.java
11678         java/beans/PropertyChangeSupport.java
11679         java/beans/PropertyDescriptor.java
11680         java/beans/PropertyEditor.java
11681         java/beans/PropertyEditorManager.java
11682         java/beans/PropertyEditorSupport.java
11683         java/beans/PropertyVetoException.java
11684         java/beans/SimpleBeanInfo.java
11685         java/beans/VetoableChangeListener.java
11686         java/beans/VetoableChangeSupport.java
11687         java/beans/Visibility.java
11688         java/beans/beancontext/BeanContext.java
11689         java/beans/beancontext/BeanContextChild.java
11690         java/beans/beancontext/BeanContextChildComponentProxy.java
11691         java/beans/beancontext/BeanContextChildSupport.java
11692         java/beans/beancontext/BeanContextContainerProxy.java
11693         java/beans/beancontext/BeanContextEvent.java
11694         java/beans/beancontext/BeanContextMembershipEvent.java
11695         java/beans/beancontext/BeanContextMembershipListener.java
11696         java/beans/beancontext/BeanContextProxy.java
11697         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11698         java/beans/beancontext/BeanContextServiceProvider.java
11699         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11700         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11701         java/beans/beancontext/BeanContextServiceRevokedListener.java
11702         java/beans/beancontext/BeanContextServices.java
11703         java/beans/beancontext/BeanContextServicesListener.java
11704         java/io/BufferedInputStream.java
11705         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11706         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11707         java/io/ByteArrayOutputStream.java
11708         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11709         java/io/CharConversionException.java java/io/DataInput.java
11710         java/io/DataInputStream.java java/io/DataOutput.java
11711         java/io/EOFException.java java/io/Externalizable.java
11712         java/io/FileFilter.java java/io/FileNotFoundException.java
11713         java/io/FilePermission.java java/io/FileReader.java
11714         java/io/FileWriter.java java/io/FilenameFilter.java
11715         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11716         java/io/FilterReader.java java/io/FilterWriter.java
11717         java/io/IOException.java java/io/InputStream.java
11718         java/io/InterruptedIOException.java
11719         java/io/InvalidClassException.java
11720         java/io/InvalidObjectException.java
11721         java/io/NotActiveException.java
11722         java/io/NotSerializableException.java java/io/ObjectInput.java
11723         java/io/ObjectInputStream.java
11724         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11725         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11726         java/io/ObjectStreamConstants.java
11727         java/io/ObjectStreamException.java
11728         java/io/ObjectStreamField.java
11729         java/io/OptionalDataException.java java/io/OutputStream.java
11730         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11731         java/io/PipedReader.java java/io/PipedWriter.java
11732         java/io/PrintWriter.java java/io/PushbackInputStream.java
11733         java/io/PushbackReader.java java/io/Reader.java
11734         java/io/SequenceInputStream.java java/io/Serializable.java
11735         java/io/SerializablePermission.java
11736         java/io/StreamCorruptedException.java
11737         java/io/StreamTokenizer.java
11738         java/io/StringBufferInputStream.java java/io/StringReader.java
11739         java/io/StringWriter.java java/io/SyncFailedException.java
11740         java/io/UTFDataFormatException.java
11741         java/io/UnsupportedEncodingException.java
11742         java/io/WriteAbortedException.java java/io/Writer.java
11743         java/lang/AbstractMethodError.java
11744         java/lang/ArithmeticException.java
11745         java/lang/ArrayIndexOutOfBoundsException.java
11746         java/lang/ArrayStoreException.java java/lang/Boolean.java
11747         java/lang/Byte.java java/lang/CharSequence.java
11748         java/lang/ClassCastException.java
11749         java/lang/ClassCircularityError.java
11750         java/lang/ClassFormatError.java
11751         java/lang/ClassNotFoundException.java
11752         java/lang/CloneNotSupportedException.java
11753         java/lang/Cloneable.java java/lang/Comparable.java
11754         java/lang/Compiler.java java/lang/Double.java
11755         java/lang/Error.java java/lang/Exception.java
11756         java/lang/ExceptionInInitializerError.java
11757         java/lang/Float.java java/lang/IllegalAccessError.java
11758         java/lang/IllegalAccessException.java
11759         java/lang/IllegalArgumentException.java
11760         java/lang/IllegalMonitorStateException.java
11761         java/lang/IllegalStateException.java
11762         java/lang/IllegalThreadStateException.java
11763         java/lang/IncompatibleClassChangeError.java
11764         java/lang/IndexOutOfBoundsException.java
11765         java/lang/InheritableThreadLocal.java
11766         java/lang/InstantiationError.java
11767         java/lang/InstantiationException.java java/lang/Integer.java
11768         java/lang/InternalError.java
11769         java/lang/InterruptedException.java
11770         java/lang/LinkageError.java java/lang/Long.java
11771         java/lang/NegativeArraySizeException.java
11772         java/lang/NoClassDefFoundError.java
11773         java/lang/NoSuchFieldError.java
11774         java/lang/NoSuchFieldException.java
11775         java/lang/NoSuchMethodError.java
11776         java/lang/NoSuchMethodException.java
11777         java/lang/NullPointerException.java java/lang/Number.java
11778         java/lang/NumberFormatException.java
11779         java/lang/OutOfMemoryError.java java/lang/Package.java
11780         java/lang/Process.java java/lang/Runnable.java
11781         java/lang/RuntimeException.java
11782         java/lang/RuntimePermission.java
11783         java/lang/SecurityException.java
11784         java/lang/SecurityManager.java java/lang/Short.java
11785         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11786         java/lang/StringIndexOutOfBoundsException.java
11787         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11788         java/lang/ThreadLocal.java java/lang/UnknownError.java
11789         java/lang/UnsatisfiedLinkError.java
11790         java/lang/UnsupportedClassVersionError.java
11791         java/lang/UnsupportedOperationException.java
11792         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11793         java/lang/Void.java java/lang/ref/PhantomReference.java
11794         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11795         java/lang/ref/SoftReference.java
11796         java/lang/ref/WeakReference.java
11797         java/lang/reflect/AccessibleObject.java
11798         java/lang/reflect/InvocationTargetException.java
11799         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11800         java/lang/reflect/ReflectPermission.java
11801         java/math/BigDecimal.java java/math/BigInteger.java
11802         java/net/Authenticator.java java/net/BindException.java
11803         java/net/ConnectException.java java/net/ContentHandler.java
11804         java/net/ContentHandlerFactory.java
11805         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11806         java/net/FileNameMap.java java/net/MalformedURLException.java
11807         java/net/MulticastSocket.java java/net/NetPermission.java
11808         java/net/NoRouteToHostException.java
11809         java/net/PasswordAuthentication.java
11810         java/net/ProtocolException.java java/net/ServerSocket.java
11811         java/net/Socket.java java/net/SocketException.java
11812         java/net/SocketImpl.java java/net/SocketImplFactory.java
11813         java/net/SocketOptions.java java/net/SocketPermission.java
11814         java/net/URLDecoder.java java/net/URLEncoder.java
11815         java/net/URLStreamHandlerFactory.java
11816         java/net/UnknownHostException.java
11817         java/net/UnknownServiceException.java
11818         java/rmi/AccessException.java
11819         java/rmi/AlreadyBoundException.java
11820         java/rmi/ConnectException.java
11821         java/rmi/ConnectIOException.java
11822         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11823         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11824         java/rmi/NotBoundException.java
11825         java/rmi/RMISecurityException.java
11826         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11827         java/rmi/RemoteException.java java/rmi/ServerError.java
11828         java/rmi/ServerException.java
11829         java/rmi/ServerRuntimeException.java
11830         java/rmi/StubNotFoundException.java
11831         java/rmi/UnexpectedException.java
11832         java/rmi/UnknownHostException.java
11833         java/rmi/UnmarshalException.java
11834         java/rmi/activation/Activatable.java
11835         java/rmi/activation/ActivateFailedException.java
11836         java/rmi/activation/ActivationDesc.java
11837         java/rmi/activation/ActivationException.java
11838         java/rmi/activation/ActivationGroup.java
11839         java/rmi/activation/ActivationGroupDesc.java
11840         java/rmi/activation/ActivationGroupID.java
11841         java/rmi/activation/ActivationID.java
11842         java/rmi/activation/ActivationInstantiator.java
11843         java/rmi/activation/ActivationMonitor.java
11844         java/rmi/activation/ActivationSystem.java
11845         java/rmi/activation/Activator.java
11846         java/rmi/activation/UnknownGroupException.java
11847         java/rmi/activation/UnknownObjectException.java
11848         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11849         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11850         java/rmi/registry/Registry.java
11851         java/rmi/registry/RegistryHandler.java
11852         java/rmi/server/ExportException.java
11853         java/rmi/server/LoaderHandler.java
11854         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11855         java/rmi/server/Operation.java
11856         java/rmi/server/RMIClassLoader.java
11857         java/rmi/server/RMIClientSocketFactory.java
11858         java/rmi/server/RMIFailureHandler.java
11859         java/rmi/server/RMIServerSocketFactory.java
11860         java/rmi/server/RMISocketFactory.java
11861         java/rmi/server/RemoteCall.java
11862         java/rmi/server/RemoteObject.java
11863         java/rmi/server/RemoteRef.java
11864         java/rmi/server/RemoteServer.java
11865         java/rmi/server/RemoteStub.java
11866         java/rmi/server/ServerCloneException.java
11867         java/rmi/server/ServerNotActiveException.java
11868         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11869         java/rmi/server/SkeletonMismatchException.java
11870         java/rmi/server/SkeletonNotFoundException.java
11871         java/rmi/server/SocketSecurityException.java
11872         java/rmi/server/UID.java
11873         java/rmi/server/UnicastRemoteObject.java
11874         java/rmi/server/Unreferenced.java
11875         java/security/AccessControlContext.java
11876         java/security/AccessControlException.java
11877         java/security/AccessController.java
11878         java/security/AlgorithmParameterGenerator.java
11879         java/security/AlgorithmParameterGeneratorSpi.java
11880         java/security/AlgorithmParameters.java
11881         java/security/AlgorithmParametersSpi.java
11882         java/security/AllPermission.java
11883         java/security/BasicPermission.java
11884         java/security/Certificate.java java/security/CodeSource.java
11885         java/security/DigestException.java
11886         java/security/DigestInputStream.java
11887         java/security/DigestOutputStream.java
11888         java/security/DomainCombiner.java
11889         java/security/DummyKeyPairGenerator.java
11890         java/security/DummyMessageDigest.java
11891         java/security/DummySignature.java
11892         java/security/GeneralSecurityException.java
11893         java/security/Guard.java java/security/GuardedObject.java
11894         java/security/Identity.java java/security/IdentityScope.java
11895         java/security/InvalidAlgorithmParameterException.java
11896         java/security/InvalidKeyException.java
11897         java/security/InvalidParameterException.java
11898         java/security/Key.java java/security/KeyException.java
11899         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11900         java/security/KeyManagementException.java
11901         java/security/KeyPair.java java/security/KeyPairGenerator.java
11902         java/security/KeyPairGeneratorSpi.java
11903         java/security/KeyStore.java
11904         java/security/KeyStoreException.java
11905         java/security/KeyStoreSpi.java
11906         java/security/MessageDigest.java
11907         java/security/MessageDigestSpi.java
11908         java/security/NoSuchAlgorithmException.java
11909         java/security/NoSuchProviderException.java
11910         java/security/Permission.java
11911         java/security/PermissionCollection.java
11912         java/security/Permissions.java java/security/Policy.java
11913         java/security/Principal.java java/security/PrivateKey.java
11914         java/security/PrivilegedAction.java
11915         java/security/PrivilegedActionException.java
11916         java/security/PrivilegedExceptionAction.java
11917         java/security/ProtectionDomain.java
11918         java/security/Provider.java
11919         java/security/ProviderException.java
11920         java/security/PublicKey.java
11921         java/security/SecureClassLoader.java
11922         java/security/SecureRandom.java
11923         java/security/SecureRandomSpi.java java/security/Security.java
11924         java/security/SecurityPermission.java
11925         java/security/Signature.java
11926         java/security/SignatureException.java
11927         java/security/SignatureSpi.java
11928         java/security/SignedObject.java java/security/Signer.java
11929         java/security/UnrecoverableKeyException.java
11930         java/security/UnresolvedPermission.java
11931         java/security/acl/Acl.java java/security/acl/AclEntry.java
11932         java/security/acl/AclNotFoundException.java
11933         java/security/acl/Group.java
11934         java/security/acl/LastOwnerException.java
11935         java/security/acl/NotOwnerException.java
11936         java/security/acl/Owner.java java/security/acl/Permission.java
11937         java/security/cert/CRL.java
11938         java/security/cert/CRLException.java
11939         java/security/cert/Certificate.java
11940         java/security/cert/CertificateEncodingException.java
11941         java/security/cert/CertificateException.java
11942         java/security/cert/CertificateExpiredException.java
11943         java/security/cert/CertificateFactory.java
11944         java/security/cert/CertificateFactorySpi.java
11945         java/security/cert/CertificateNotYetValidException.java
11946         java/security/cert/CertificateParsingException.java
11947         java/security/cert/X509CRL.java
11948         java/security/cert/X509CRLEntry.java
11949         java/security/cert/X509Certificate.java
11950         java/security/cert/X509Extension.java
11951         java/security/interfaces/DSAKey.java
11952         java/security/interfaces/DSAKeyPairGenerator.java
11953         java/security/interfaces/DSAParams.java
11954         java/security/interfaces/DSAPrivateKey.java
11955         java/security/interfaces/DSAPublicKey.java
11956         java/security/interfaces/RSAKey.java
11957         java/security/interfaces/RSAPrivateCrtKey.java
11958         java/security/interfaces/RSAPrivateKey.java
11959         java/security/interfaces/RSAPublicKey.java
11960         java/security/spec/AlgorithmParameterSpec.java
11961         java/security/spec/DSAParameterSpec.java
11962         java/security/spec/DSAPrivateKeySpec.java
11963         java/security/spec/DSAPublicKeySpec.java
11964         java/security/spec/EncodedKeySpec.java
11965         java/security/spec/InvalidKeySpecException.java
11966         java/security/spec/InvalidParameterSpecException.java
11967         java/security/spec/KeySpec.java
11968         java/security/spec/PKCS8EncodedKeySpec.java
11969         java/security/spec/RSAKeyGenParameterSpec.java
11970         java/security/spec/RSAPrivateCrtKeySpec.java
11971         java/security/spec/RSAPrivateKeySpec.java
11972         java/security/spec/RSAPublicKeySpec.java
11973         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11974         java/sql/BatchUpdateException.java java/sql/Blob.java
11975         java/sql/CallableStatement.java java/sql/Clob.java
11976         java/sql/Connection.java java/sql/DataTruncation.java
11977         java/sql/DatabaseMetaData.java java/sql/Date.java
11978         java/sql/Driver.java java/sql/DriverManager.java
11979         java/sql/DriverPropertyInfo.java
11980         java/sql/PreparedStatement.java java/sql/Ref.java
11981         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11982         java/sql/SQLData.java java/sql/SQLException.java
11983         java/sql/SQLInput.java java/sql/SQLOutput.java
11984         java/sql/SQLWarning.java java/sql/Statement.java
11985         java/sql/Struct.java java/sql/Time.java
11986         java/sql/Timestamp.java java/sql/Types.java
11987         java/text/Annotation.java
11988         java/text/AttributedCharacterIterator.java
11989         java/text/AttributedString.java
11990         java/text/AttributedStringIterator.java
11991         java/text/BreakIterator.java java/text/CharacterIterator.java
11992         java/text/ChoiceFormat.java java/text/Collator.java
11993         java/text/DateFormat.java java/text/DateFormatSymbols.java
11994         java/text/DecimalFormat.java
11995         java/text/DecimalFormatSymbols.java
11996         java/text/FieldPosition.java java/text/Format.java
11997         java/text/MessageFormat.java java/text/NumberFormat.java
11998         java/text/ParseException.java java/text/ParsePosition.java
11999         java/text/SimpleDateFormat.java
12000         java/text/StringCharacterIterator.java
12001         java/util/AbstractCollection.java java/util/AbstractList.java
12002         java/util/AbstractMap.java
12003         java/util/AbstractSequentialList.java
12004         java/util/AbstractSet.java java/util/ArrayList.java
12005         java/util/Arrays.java java/util/BasicMapEntry.java
12006         java/util/BitSet.java java/util/Calendar.java
12007         java/util/Collection.java java/util/Collections.java
12008         java/util/Comparator.java
12009         java/util/ConcurrentModificationException.java
12010         java/util/Date.java java/util/Dictionary.java
12011         java/util/EmptyStackException.java java/util/Enumeration.java
12012         java/util/EventListener.java java/util/EventObject.java
12013         java/util/GregorianCalendar.java java/util/HashMap.java
12014         java/util/HashSet.java java/util/Hashtable.java
12015         java/util/IdentityHashMap.java java/util/Iterator.java
12016         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12017         java/util/LinkedList.java java/util/List.java
12018         java/util/ListIterator.java java/util/ListResourceBundle.java
12019         java/util/Locale.java java/util/Map.java
12020         java/util/MissingResourceException.java
12021         java/util/NoSuchElementException.java
12022         java/util/Observable.java java/util/Observer.java
12023         java/util/Properties.java java/util/PropertyPermission.java
12024         java/util/PropertyResourceBundle.java java/util/Random.java
12025         java/util/RandomAccess.java java/util/ResourceBundle.java
12026         java/util/Set.java java/util/SimpleTimeZone.java
12027         java/util/SortedMap.java java/util/SortedSet.java
12028         java/util/Stack.java java/util/StringTokenizer.java
12029         java/util/TimeZone.java java/util/Timer.java
12030         java/util/TimerTask.java
12031         java/util/TooManyListenersException.java
12032         java/util/TreeMap.java java/util/TreeSet.java
12033         java/util/Vector.java java/util/WeakHashMap.java
12034         java/util/jar/Attributes.java java/util/jar/JarEntry.java
12035         java/util/jar/JarException.java java/util/jar/JarFile.java
12036         java/util/jar/JarInputStream.java
12037         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12038         java/util/zip/Adler32.java java/util/zip/CRC32.java
12039         java/util/zip/CheckedInputStream.java
12040         java/util/zip/CheckedOutputStream.java
12041         java/util/zip/Checksum.java
12042         java/util/zip/DataFormatException.java
12043         java/util/zip/Deflater.java
12044         java/util/zip/DeflaterOutputStream.java
12045         java/util/zip/GZIPInputStream.java
12046         java/util/zip/GZIPOutputStream.java
12047         java/util/zip/Inflater.java
12048         java/util/zip/InflaterInputStream.java
12049         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12050         java/util/zip/ZipException.java java/util/zip/ZipFile.java
12051         java/util/zip/ZipInputStream.java
12052         java/util/zip/ZipOutputStream.java
12053         javax/naming/BinaryRefAddr.java
12054         javax/naming/InvalidNameException.java javax/naming/Name.java
12055         javax/naming/NamingException.java javax/naming/RefAddr.java
12056         javax/naming/StringRefAddr.java: Add license clarification.
12057
12058 2002-01-22  Tom Tromey  <tromey@redhat.com>
12059
12060         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12061         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12062         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12063         version.
12064         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12065         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12066         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12067         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12068         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12069         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12070         * java/awt/peer/FontPeer.java: Replace with Classpath version.
12071         * java/awt/peer/FramePeer.java: Replace with Classpath version.
12072         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12073         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12074         * java/awt/peer/ListPeer.java: Replace with Classpath version.
12075         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12076         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12077         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12078         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12079         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12080         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12081         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12082         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12083         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12084         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12085         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12086         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12087         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12088         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12089         (minimumSize, preferredSize, reshape): Likewise.
12090         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12091         getColorModel): New methods.
12092         * java/awt/PopupMenu.java: Merged with Classpath.
12093         * java/awt/MenuBar.java: Merged with Classpath.
12094         * java/awt/SystemColor.java: Replace with Classpath version.
12095         * java/awt/Panel.java: Merged with Classpath.
12096         * java/awt/PaintContext.java: Updated copyright.
12097         * java/awt/MenuShortcut.java: Merged with Classpath.
12098         * java/awt/MenuContainer.java: Merged with Classpath.
12099         * java/awt/Menu.java: Merged with Classpath.
12100         * java/awt/MediaEntry.java: New file from Classpath.
12101         * java/awt/MediaTracker.java: New file from Classpath.
12102         * java/awt/List.java: Merged with Classpath version.
12103         * java/awt/Insets.java: Merged with Classpath version.
12104         * java/awt/ImageMediaEntry.java: New file from Classpath.
12105         * java/awt/Image.java: Replaced with Classpath version.
12106         * java/awt/FontMetrics.java: Merged with Classpath version.
12107         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12108         constant.
12109         * java/awt/Font.java: Merged with Classpath version.
12110         * java/awt/Dialog.java: Merged with Classpath version.
12111         * java/awt/Color.java: Merged with Classpath version.
12112         * java/awt/Choice.java: Merged with Classpath version.
12113         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12114         * java/awt/Adjustable.java: Replace with Classpath version.
12115         * java/awt/MenuItem.java (paramString): Don't include class name
12116         or brackets.  Call superclass paramString.
12117         * java/awt/MenuComponent.java (toString): Call paramString.
12118         (paramString): Compute string; don't call toString.
12119         * java/awt/Label.java (paramString): Don't include class name
12120         or brackets.  Call superclass paramString.
12121         * java/awt/Checkbox.java (paramString): Don't include class name
12122         or brackets.  Call superclass paramString.
12123         * java/awt/Button.java (paramString): Don't include class name or
12124         brackets.  Call superclass paramString.
12125         * java/awt/MenuComponent.java (getTreeLock): Now protected.
12126
12127 2002-01-20  Andreas Schwab  <schwab@suse.de>
12128
12129         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12130         function and of parameter recv_func to ssize_t, as specified by
12131         POSIX.
12132
12133 2002-01-19  Per Bothner  <per@bothner.com>
12134
12135         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
12136         uncompressed_size in readiness for next entry.
12137
12138 2002-01-18  Tom Tromey  <tromey@redhat.com>
12139
12140         * java/net/natPlainSocketImpl.cc: Include
12141         IllegalArgumentException.h.
12142         (_Jv_recv): New template function.
12143         (BooleanClass): Removed.
12144         (read): Use _Jv_recv.
12145         (setOption): Use Boolean::class$.  Throw exception if object is
12146         not Boolean or Integer.
12147
12148 2002-01-17  Tom Tromey  <tromey@redhat.com>
12149
12150         * java/awt/MenuComponent.java: Merged with Classpath.
12151         * java/awt/MenuItem.java: Merged with Classpath.
12152         * java/awt/Button.java: Merged with Classpath.
12153
12154         * java/awt/ActiveEvent.java: Updated copyright.
12155
12156         * java/awt/AWTError.java: Replaced with Classpath version.
12157         * java/awt/AWTException.java: Replaced with Classpath version.
12158         * java/awt/IllegalComponentStateException.java: Replaced with
12159         Classpath version.
12160
12161 2002-01-16  Tom Tromey  <tromey@redhat.com>
12162
12163         * java/awt/Canvas.java (serialVersionUID): New constant.
12164         Updated copyright.  Added javadoc from Classpath.
12165         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12166
12167         * java/awt/CheckboxGroup.java: Merged with Classpath.
12168         * java/awt/Checkbox.java: Merged with Classpath.
12169
12170         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12171         Classpath.
12172         * java/awt/Point.java: Updated copyright.
12173
12174         * java/awt/Point.java (toString): Use getClass().getName().
12175         Added javadoc.
12176
12177         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12178         commented code.
12179         (hash): Correctly compute initial value for `h'.
12180
12181         * java/awt/Label.java: Merged with Classpath.
12182
12183 2002-01-15  Tom Tromey  <tromey@redhat.com>
12184
12185         * java/awt/AWTPermission.java: Updated copyright.
12186
12187         * java/awt/LayoutManager2.java: Merged with Classpath.
12188         * java/awt/LayoutManager.java: Merged with Classpath.
12189         * java/awt/GridLayout.java: Updated copyright and javadoc.
12190         (getSize): Use `parent.ncomponents'.  Handle insets.
12191         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12192         there are fewer children than columns.  Correctly compute size of
12193         each cell in the grid.  Handle case where there isn't enough
12194         space.
12195         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12196         all users.
12197         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12198         before calling setVisible() on it.  Last item is `num - 1', not
12199         `num'.
12200         (layoutContainer): Hoist invariants out of loop.
12201
12202         Start of AWT merge with Classpath:
12203         * Makefile.in: Rebuilt.
12204         * Makefile.am (awt_java_source_files): Reference files in
12205         gnu/java/awt, not gnu/gcj/awt.
12206         * java/awt/image/BufferedImage.java: Updated copyright.
12207         * java/awt/image/ComponentColorModel.java: Updated copyright.
12208         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12209         * java/awt/image/DataBuffer.java: Updated copyright.
12210         * java/awt/image/DataBufferByte.java: Updated copyright.
12211         * java/awt/image/DataBufferInt.java: Updated copyright.
12212         * java/awt/image/DataBufferUShort.java: Updated copyright.
12213         * java/awt/image/IndexColorModel.java: Updated copyright.
12214         * java/awt/image/PackedColorModel.java: Updated copyright.
12215         * java/awt/image/Raster.java: Updated copyright.
12216         * java/awt/image/RasterOp.java: Updated copyright.
12217         * java/awt/image/SampleModel.java: Updated copyright.
12218         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12219         * java/awt/image/WritableRaster.java: Updated copyright.
12220         * java/awt/color/ColorSpace.java: Updated copyright.
12221         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12222         * java/awt/color/ICC_Profile.java: Updated copyright.
12223         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12224         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12225         * java/awt/event/HierarchyEvent.java: Updated copyright.
12226         * java/awt/event/HierarchyListener.java: Updated copyright.
12227         * java/awt/geom/AffineTransform.java: Updated copyright.
12228         * java/awt/geom/Dimension2D.java: Updated copyright.
12229         * java/awt/geom/Ellipse2D.java: Updated copyright.
12230         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12231         * java/awt/geom/Line2D.java: Updated copyright.
12232         * java/awt/geom/NoninvertibleTransformException.java: Updated
12233         copyright.
12234         * java/awt/geom/PathIterator.java: Updated copyright.
12235         * java/awt/geom/Point2D.java: Updated copyright.
12236         * java/awt/geom/Rectangle2D.java: Updated copyright.
12237         * java/awt/geom/RectangularShape.java: Updated copyright.
12238         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12239         * java/awt/Toolkit.java: Updated import for file moves.
12240         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12241         Classpath.
12242         (hashCode): New method from Classpath.
12243         * java/awt/Graphics2D.java: Updated copyright.
12244         * java/awt/Transparency.java: Updated copyright.
12245         * java/awt/Paint.java: Updated copyright.
12246         * java/awt/Graphics.java: New version from Classpath.
12247         * java/awt/EventDispatchThread.java: Updated copyright.
12248         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12249         children.
12250         (gotoComponent): Wrap around on next/previous.
12251         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12252         * gnu/gcj/awt/Buffers.java: Removed.
12253         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12254         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12255         * gnu/java/awt/BitMaskExtent.java: Added.
12256         * gnu/java/awt/Buffers.java: Added.
12257         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12258         * gnu/java/awt/GLightweightPeer.java: Added.
12259         * java/awt/geom/Line2D.java (clone): Ignore
12260         CloneNotSupportedException.
12261         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12262         * java/awt/Frame.java: Merged with Classpath.
12263         * java/awt/RenderingHints.java: Copyright update.
12264         * java/awt/Paint.java: Copyright update.
12265         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12266         * java/awt/image/ColorModel.java: Merged with Classpath.
12267         * java/awt/Window.java (show): New Implementation from Classpath.
12268         (isShowing): Use super.isShowing().
12269         * java/awt/EventQueue.java: Merged with Classpath.
12270         * java/awt/AWTEventMulticaster.java (save): Throw
12271         RuntimeException.
12272         (saveInternal): Likewise.
12273         * java/awt/AWTEvent.java: Now implements Serializable.
12274         * java/awt/Event.java: Copyright update.
12275         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12276         * java/awt/image/BufferedImage.java: Copyright update.
12277         * java/awt/GraphicsConfiguration.java: Copyright update.
12278         * java/awt/Component.java: (addNotify): Don't call
12279         addNotifyContainerChildren().
12280         (addNotifyContainerChildren): Removed.
12281         (setPeer): New method from Classpath.
12282         (setTreeLock): Likewise.
12283         (setVisible): Rewrote.
12284         (show): Use it.
12285         (hide): Likewise.
12286         (validate): Set `valid'.
12287         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12288         (createImage(ImageProducer)): Likewise.
12289         (prepareImage): Likewise.
12290         * java/awt/Container.java (addImpl): Handle case where constraint
12291         is not a String.  Post event via system event queue.
12292         (remove): Post event via system event queue.
12293         (validateTree): Only validate child if it is invalid.
12294         (getAlignmentX): Call super method as default.
12295         (getAlignmentY): Likewise.
12296         (addContainerListener): Now synchronized.
12297         (removeContainerListener): Likewise.
12298         (addNotifyContainerChildren): Now private.
12299         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12300         @author.
12301         * java/awt/FlowLayout.java (serialVersionUID): New field.
12302         (setAlignment): Better exception message.
12303         (layoutContainer): Don't compute component's preferred size unless
12304         we're going to use it.
12305         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12306         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12307         (firstLine, lastLine, firstItem, lastItem): New fields.
12308         (addLayoutComponent): Handle case where constraints is null.
12309         Also, handle relative locations.
12310         (removeLayoutComponent): Handle relative locations.
12311         (MIN, MAX, PREF): New constants.
12312         (calcCompSize): New method.
12313         (calcSize): New method.
12314         (minimumLayoutSize): Use it.
12315         (preferredLayoutSize): Likewise.
12316         (maximumLayoutSize): Likewise.
12317         (toString): Include more information.
12318         (setBounds): New method.
12319         (layoutContainer): Use libgcj implementation; extended to handle
12320         relative locations.
12321
12322 2002-01-15  Tom Tromey  <tromey@redhat.com>
12323
12324         * java/lang/Float.java (equals): Preserve old code.
12325         * java/lang/Double.java (equals): Preserve old code.
12326
12327 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12328
12329         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12330         * java/lang/Float.java (equals, compare): Ditto.
12331
12332 2002-01-13  Mark Wielaard  <mark@klomp.org>
12333
12334         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12335         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12336         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12337         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12338
12339 2002-01-11  Mark Wielaard  <mark@klomp.org>
12340
12341         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12342         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12343         InetAddress.
12344         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12345         * java/net/Socket.java: Merge with Classpath.
12346         * java/net/ServerSocket.java: Likewise.
12347
12348 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12349
12350         * interpret.cc (NULLARRAYCHECK): New macro.
12351         (SAVE_PC): Just store `pc'.
12352         (find_exception): Subtract one from `pc' here.
12353         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12354         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12355         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12356         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12357         don't call SAVE_PC.
12358         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12359         call SAVE_PC.
12360
12361 2002-01-11  Tom Tromey  <tromey@redhat.com>
12362
12363         * java/lang/natSystem.cc (init_properties): Only look for default
12364         locale if LC_MESSAGES is defined.
12365         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12366         * configure.in: Call AM_LC_MESSAGES.
12367         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12368
12369 2002-01-10  Tom Tromey  <tromey@redhat.com>
12370
12371         For PR libgcj/5303:
12372         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12373         --version.  Recognize GNU-style long options.  Print GNU-style
12374         error messages.
12375         (usage): Print GNU-style help.  Exit with status 0.
12376         (error): New method.
12377         (run): Print error message if no class names found.
12378         (main): Don't print usage on error.
12379
12380 2002-01-09  Tom Tromey  <tromey@redhat.com>
12381
12382         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12383         property.
12384         (help, version): Use println(), not println("").
12385
12386         For PR libgcj/5303:
12387         * gnu/gcj/convert/Convert.java (error): Program is called
12388         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12389         -1.
12390         (main): Handle --help and --version.
12391         (help): New method.
12392         (version): Likewise.
12393
12394 2002-01-08  Tom Tromey  <tromey@redhat.com>
12395
12396         * Makefile.in: Rebuilt.
12397         * Makefile.am (ordinary_java_source_files): Added new files.
12398         * gnu/java/locale/LocaleInformation.java: Extend
12399         LocaleInformation_en.
12400         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12401         and time/date formats.
12402         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12403         generated.
12404         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12405         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12406         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12407         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12408         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12409         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12410         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12411         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12412         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12413         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12414         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12415         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12416         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12417         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12418         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12419         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12420         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12421         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12422         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12423         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12424         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12425         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12426         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12427         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12428         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12429         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12430         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12431         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12432         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12433         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12434         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12435         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12436         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12437         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12438         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12439         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12440         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12441         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12442         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12443         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12444         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12445         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12446         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12447         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12448         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12449         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12450         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12451         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12452         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12453         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12454         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12455         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12456         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12457         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12458         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12459         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12460         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12461         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12462         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12463         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12464         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12465         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12466         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12467         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12468         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12469         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12470         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12471         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12472         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12473         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12474         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12475         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12476         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12477         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12478         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12479         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12480         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12481         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12482         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12483         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12484         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12485         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12486         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12487         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12488         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12489         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12490         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12491         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12492         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12493         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12494         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12495         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12496         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12497         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12498         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12499         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12500         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12501         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12502         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12503         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12504         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12505         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12506         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12507         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12508         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12509         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12510         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12511         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12512         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12513         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12514         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12515         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12516         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12517         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12518         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12519         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12520         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12521         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12522         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12523         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12524         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12525         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12526         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12527         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12528         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12529         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12530         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12531         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12532         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12533         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12534
12535         For PR libgcj/5031:
12536         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12537         choose default locale.
12538
12539         * Makefile.in: Rebuilt.
12540         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12541
12542 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12543
12544         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12545         sockets.
12546         (close): New function closes the socket.
12547         (write): New functions for output to socket.
12548         (read): New functions for reading from socket.
12549         * java/net/PlainSocketImpl.java: Glue for new timeout
12550         implementation.
12551         (write): Call the native impl.
12552         (read): Likewise.
12553         (getInputStream): Get a stream to read from the socket.
12554         (getOutputStream): Get a stream to write to the socket.
12555
12556 2002-01-08  Tom Tromey  <tromey@redhat.com>
12557
12558         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12559
12560 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12561
12562         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12563         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12564
12565 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12566
12567         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12568         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12569         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12570         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12571         insn_bastore, insn_castore, insn_sastore]: Use it.
12572         (continue1) [insn_arraylength]: Check for null array.
12573
12574 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12575
12576         * configure, include/config.h.in: Rebuilt.
12577         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12578         * configure.in: Call AC_STRUCT_TIMEZONE.
12579
12580 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12581
12582         * configure.host: Disable the interpreter for Darwin.
12583
12584 2002-01-04  Tom Tromey  <tromey@redhat.com>
12585
12586         * java/lang/Thread.java (stop): No longer synchronized.
12587         (start): Likewise.
12588
12589 2002-01-02  Tom Tromey  <tromey@redhat.com>
12590
12591         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12592         patch.
12593
12594 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12595
12596         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12597         PPC Darwin, not for all of Darwin.