2003-07-22 Scott Gilbertson <scottg@mantatest.com>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
2
3         * gnu/awt/xlib/XGraphicsConfiguration.java
4         (FontMetricsCache): Made static.
5  
6 2003-07-22  Tom Tromey  <tromey@redhat.com>
7
8         * java/net/URLEncoder.java (encode(String)): Use platform default
9         encoding.
10         (encode(String,String)): Convert to 2-digit upper-case hex
11         number.
12         (hex): New field.
13
14 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
15
16         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17         (create): Remove unused method implementation.
18         (connectHooks): Remove debug messages.
19
20 2003-07-20  Anthony Green  <green@redhat.com>
21
22         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
23         CloneNotSupportedException.
24         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
25         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
26         * gnu/gcj/xlib/GC.java (clone): Ditto.
27         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
28         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
29
30         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
31         handler.
32         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
33
34 2003-07-20  Steve Pribyl <steve@netfuel.com.>
35
36         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
37         String.  Put dlerror() message into exception.
38         Include UnsatisfiedLinkError.
39         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
40         String.  Now native.
41
42 2003-07-20  Tom Tromey  <tromey@redhat.com>
43
44         * java/lang/Runtime.java: Comment fix.
45         * java/lang/ClassLoader.java (isAncestorOf): New method.
46         (getParent): Uncommented security check.  Use isAncestorOf.
47         * include/jvm.h (_Jv_CheckAccess): Declare.
48         * java/lang/reflect/natConstructor.cc (newInstance): Perform
49         access check.
50         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
51         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
52         class loader to _Jv_GetArrayClass.
53         Include ArrayIndexOutOfBoundsException.h.
54         * java/lang/reflect/Field.java: Update comment to reflect status.
55         (equals): Fixed indentation.
56         * java/lang/Class.h (Class): Declare memberAccessCheck, not
57         checkMemberAccess.  Make _Jv_CheckAccess a friend.
58         * java/lang/Class.java (memberAccessCheck): New method from
59         Classpath.
60         (checkMemberAccess): Removed.
61         (getDeclaredMethod): Use memberAccessCheck.
62         (getField): Likewise.
63         (getMethod): Likewise.
64         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
65         (_Jv_SearchMethodInClass): Likewise.
66         * prims.cc (_Jv_CheckAccess): New function.
67         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
68         (_Jv_JNI_GetAnyFieldID): Likewise.
69         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
70         (getClassLoader): Added security check.
71         (getConstructor): Call memberAccessCheck.
72         (getDeclaredClasses): Likewise.
73         (getDeclaredField): Likewise.
74         (getDeclaredFields): Likewise.
75         (_getConstructors): Likewise.
76         (getDeclaredConstructor): Likewise.
77         (getDeclaredMethods): Likewise.
78         (getFields): Likewise.
79         (getMethods): Likewise.
80         (newInstance): Likewise.
81         (_Jv_MakeVTable): Put method name in exception.
82         * java/lang/reflect/natMethod.cc (getType): Use
83         getClassLoaderInternal.
84         (_Jv_GetTypesFromSignature): Likewise.
85         (invoke): Perform access check.
86         (_Jv_CallAnyMethodA): Removed old FIXME comments.
87         Include ArrayIndexOutOfBoundsException.h.
88         * java/lang/reflect/natField.cc (getType): Use
89         getClassLoaderInternal.
90         (_Jv_CheckFieldAccessibility): Removed.
91         (getAddr): Use _Jv_CheckAccess; find caller.
92         Include ArrayIndexOutOfBoundsException.h.
93
94 2003-07-20  Michael Koch  <konqueror@gmx.de>
95
96         * java/net/URL.java
97         (URL): Fixed documentation to name an argument correcty, Reformatted
98         one method declaration.
99         (getURLStreamHandler): Added documentation from classpath.
100
101 2003-07-19  Tom Tromey  <tromey@redhat.com>
102
103         * mauve-libgcj: Don't run CollationElementIterator tests.
104
105 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
106
107         * java/net/URLClassLoader.java (addURL): Moved implementation to
108         private addURLImpl() to avoid calling addURL from the constructor.
109         (addURLImpl): Contains the code that was previously in addURL.
110         (addURLs): Call addURLImpl(), not addURL().
111
112 2003-07-18  Graydon Hoare  <graydon@redhat.com>
113
114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
115         Handle missing event cases, connect to "value-changed" signal.
116
117 2003-07-18  Graydon Hoare  <graydon@redhat.com>
118
119         * java/awt/geom/CubicCurve2D.java,
120         java/awt/geom/Line2D.java,
121         java/awt/geom/QuadCurve2D.java,
122         java/awt/geom/Rectangle2D.java: 
123         Fix path some calculations, make path iterators follow
124         a consistent style.
125
126 2003-07-18  Mark Wielaard  <mark@klomp.org>
127
128         * java/util/logging/Handler.java (isLoggable): Check record level
129         smaller or equal.
130
131 2003-07-17  Michael Koch  <konqueror@gmx.de>
132
133         * gnu/java/awt/peer/gtk/GtkToolkit.java:
134         Reworked imports.
135
136 2003-07-14  Michael Koch  <konqueror@gmx.de>
137
138         * gnu/java/rmi/server/UnicastServerRef.java:
139         New version from classpath.
140
141 2003-07-14  Michael Koch  <konqueror@gmx.de>
142
143         * java/awt/image/MemoryImageSource.java,
144         java/beans/PropertyEditorManager.java,
145         javax/naming/CompoundName.java,
146         javax/naming/spi/NamingManager.java,
147         javax/swing/AbstractButton.java,
148         javax/swing/ButtonModel.java,
149         javax/swing/SwingUtilities.java,
150         javax/swing/UIManager.java,
151         javax/swing/colorchooser/DefaultColorSelectionModel.java,
152         javax/swing/event/AncestorEvent.java,
153         javax/swing/event/InternalFrameEvent.java,
154         java/util/zip/ZipFile.java:
155         New versions from classpath.
156
157 2003-07-13  Michael Koch  <konqueror@gmx.de>
158
159         * gnu/java/nio/FileChannelImpl.java,
160         gnu/java/nio/natFileChannelImpl.cc: Removed.
161         * java/io/FileInputStream.java,
162         java/io/FileOutputStream.java,
163         java/io/RandomAccessFile.java,
164         java/nio/MappedByteBufferImpl.java:
165         Import java.nio.channels.FileChannelImpl instead of
166         gnu.java.nio.FileChannelImpl.
167         * java/nio/channels/FileChannelImpl.java,
168         java/nio/channels/natFileChannelImpl.cc:
169         New files.
170         * Makefile.am
171         (ordinary_java_source_files):
172         Removed gnu/java/nio/FileChannelImpl.java and added
173         java/nio/channels/FileChannelImpl.java.
174         (nat source_files):
175         Removed gnu/java/nio/natFileChannelImpl.cc and added
176         java/nio/channels/natFileChannelImpl.cc.
177         * Makefile.in: Regenerated.
178
179 2003-07-13  Michael Koch  <konqueror@gmx.de>
180
181         * javax/swing/plaf/basic/BasicBorders.java,
182         javax/swing/plaf/basic/BasicLabelUI.java,
183         javax/swing/plaf/basic/BasicLookAndFeel.java,
184         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
185         javax/swing/plaf/basic/BasicTextUI.java,
186         javax/swing/plaf/metal/MetalLookAndFeel.java:
187         New versions from classpath.
188
189 2003-07-13  Michael Koch  <konqueror@gmx.de>
190
191         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
192         * gnu/java/awt/peer/gtk/GdkGraphics.java
193         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
194         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
195         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
196         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
197         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
198         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
199         * gnu/java/awt/peer/gtk/GtkClipboard.java
200         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
201         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
202         * gnu/java/awt/peer/gtk/GtkFramePeer.java
203         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
204         * gnu/java/awt/peer/gtk/GtkImage.java
205         * gnu/java/awt/peer/gtk/GtkImagePainter.java
206         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
207         * gnu/java/awt/peer/gtk/GtkListPeer.java
208         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
209         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
210         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
211         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
212         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
213         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
214         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
215         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
216         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
217         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
218         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
219         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
220
221 2003-07-13  Michael Koch  <konqueror@gmx.de>
222
223         * gnu/java/locale/LocaleInformation_de.java
224         * gnu/java/locale/LocaleInformation_en.java
225         * gnu/java/locale/LocaleInformation_nl.java
226
227 2003-07-13  Michael Koch  <konqueror@gmx.de>
228
229         * gnu/java/awt/EmbeddedWindow.java,
230         gnu/java/awt/EmbeddedWindowSupport.java,
231         gnu/java/awt/natEmbeddedWindow.cc:
232         New files.
233         * java/awt/Window.java
234         (Window): New constructor to support embedded windows.
235         * Makefile.am
236         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
237         gnu/java/awt/EmbeddedWindowSupport.java.
238         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
239         * Makefile.in: Regenerated.
240
241 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
242
243         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
244         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
245         * java/awt/im/InputContext.java: Remove a redundant
246         partial line.
247
248 2003-07-09  Tom Tromey  <tromey@redhat.com>
249
250         * Makefile.in: Rebuilt.
251         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
252
253 2003-07-09  Mark Wielaard  <mark@klomp.org>
254
255         * java/io/ObjectOutputStream.java (writeObject): break after
256         calling writeClassDescriptor().
257
258 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
259
260         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
261
262 2003-07-09  Michael Koch  <konqueror@gmx.de>
263
264         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
265         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
266         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
267         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
268         Explicitly import used classes.
269         * java/awt/Container.java: New version from classpath.
270
271 2003-07-09  Michael Koch  <konqueror@gmx.de>
272
273         * libgcj.pc.in: New file.
274         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
275         * Makefile.in: Regenerated.
276         * configure: Regenrated.
277         * configure.in: Create libgcj.pc from libgcj.pc.in.
278
279 2003-07-08  Mark Wielaard <mark@klomp.org>
280
281         * gcj/cni.h: CNI now expands to Compiled Native Interface.
282
283         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
284         * java/lang/fdlibm.h: Likewise.
285
286 2003-07-07  Adam Megacz <adam@xwt.org>
287
288         * posix.cc: added #include<stdio.h>
289                 
290 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
291
292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
293         formatting.
294
295         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
296         (setCaretPosition, setEditable): Rely entirely on native
297         implementation.
298         (getArgs): Remove.
299         (postTextEvent): New method.
300         (handleEvent): New method.
301         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
302         method.
303         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
305         (keysym_to_awt_keycode): Fix range checks.
306         (generates_key_typed_event): New function.
307         (awt_event_handler): Post AWT_KEY_RELEASED events to event
308         queue.
309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
310         (gtkInit): Store TextComponent's postTextEvent method ID.
311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
312         (setText): Post TEXT_VALUE_CHANGED event to event queue.
313
314 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
315
316         * configure.in: Check for usleep declaration.
317         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
318         * configure: Regenerate.
319         * include/config.h.in: Likewise.
320         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
321
322 2003-07-01  Michael Koch  <konqueror@gmx.de>
323
324         * gnu/gcj/convert/natIconv.cc
325         (iconv_init): Fixed possible memory leak by releasing allocated iconv
326         handle.
327
328 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
329
330         * glib-2.0.m4: New file.
331         * gtk-2.0.m4: New file.
332         * glib.m4: Remove.
333         * gtk.m4: Remove.
334         * configure.in: Update AM_PATH_GTK macro call to
335         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
337         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
339         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
343         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
344         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
346         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
347         jni/gtk-peer/gthread-jni.c,
348         jni/gtk-peer/gthread-jni.h:
349         New versions from classpath.
350         * aclocal.m4: Regenerate.
351         * configure: Regenerate.
352         * Makefile.in: Regenerate.
353         * gcj/Makefile.in: Regenerate.
354         * include/Makefile.in: Regenerate.
355         * testsuite/Makefile.in: Regenerate.
356
357 2003-06-30  Gary Benson  <gbenson@redhat.com>
358
359         For PR libgcj/11349:
360         * javax/naming/spi/NamingManager.java (getURLContext): Use
361         correct name for factory class.
362
363 2003-06-28  Michael Koch  <konqueror@gmx.de>
364
365         * java/io/PrintStream.java
366         (checkError): Call flush() instead of direct flushing of the Writer
367         object.
368         (print): Call print(String) instead of direct print method of the
369         Writer Object.
370         (println): Call println(String) instead of direct println method of the
371         Writer Object.
372         (write): Simplified.
373
374 2003-06-28  Michael Koch  <konqueror@gmx.de>
375
376         * java/net/ServerSocket.java
377         (setChannel): New method.
378         * java/net/Socket.java
379         (setChannel): New method.
380
381 2003-06-27  Michael Koch  <konqueror@gmx.de>
382
383         * java/beans/beancontext/BeanContextSupport.java:
384         New version from classpath.
385
386 2003-06-27  Michael Koch  <konqueror@gmx.de>
387
388         * java/awt/Window.java,
389         java/awt/font/GraphicAttribute.java,
390         java/awt/font/ImageGraphicAttribute.java,
391         java/awt/image/DataBufferByte.java,
392         java/awt/image/DataBufferInt.java,
393         java/awt/image/DataBufferUShort.java,
394         java/awt/image/DirectColorModel.java,
395         java/awt/image/PixelGrabber.java:
396         New versions from classpath.
397
398 2003-06-27  Michael Koch  <konqueror@gmx.de>
399
400         * java/security/Certificate.java
401         (getGuarantor): Removed wrong @deprecated tag.
402         (getPrincipal): Likewise.
403         (getPublicKey): Likewise.
404         (encode): Likewise.
405         (decode): Likewise.
406         (getFormat): Likewise.
407         (toString): Likewise.
408         * java/security/cert/PolicyQualifierInfo.java
409         (PolicyQualifierInfo): Made final.
410         * javax/security/auth/x500/X500Principal.java
411         (serialVersionUID): New member variable.
412
413 2003-06-27  Michael Koch  <konqueror@gmx.de>
414
415         * java/text/Format.java
416         (serialVersionUID): Fixed value.
417
418 2003-06-27  Michael Koch  <konqueror@gmx.de>
419
420         * java/net/Inet4Address.java
421         (Inet4Address): Made package-private.
422         * java/net/Inet6Address.java
423         (Inet4Address): Made package-private.
424
425 2003-06-27  Michael Koch  <konqueror@gmx.de>
426
427         * java/io/RandomAccessFile.java
428         (readLine): Removed wrong @deprecated tag.
429         (getChannel): Made final.
430
431 2003-06-27  Michael Koch  <konqueror@gmx.de>
432
433         * gnu/java/nio/FileChannelImpl.java
434         (write): Removed.
435
436 2003-06-27  Michael Koch  <konqueror@gmx.de>
437
438         * java/nio/ByteBufferImpl.java
439         (ByteBufferImpl): Made it a package-private class
440         * java/nio/CharBufferImpl.java
441         (CharBufferImpl): Made it a package-private class
442         * java/nio/DirectByteBufferImpl.java
443         (DirectByteBufferImpl): Made it a package-private class
444         * java/nio/DoubleBufferImpl.java
445         (DoubleBufferImpl): Made it a package-private class
446         * java/nio/FloatBufferImpl.java
447         (FloatBufferImpl): Made it a package-private class
448         * java/nio/IntBufferImpl.java
449         (IntBufferImpl): Made it a package-private class
450         * java/nio/LongBufferImpl.java
451         (LongBufferImpl): Made it a package-private class
452         * java/nio/ShortBufferImpl.java
453         (ShortBufferImpl): Made it a package-private class
454         * java/nio/channels/FileChannel.java
455         (write): Made final.
456         * java/nio/channels/ServerSocketChannel.java
457         (ServerSocketChanne): Made protected.
458
459 2003-06-27  Michael Koch  <konqueror@gmx.de>
460
461         * javax/naming/CompositeName.java
462         (serialVersionUID): New member variable.
463         * javax/naming/CompoundName.java
464         (serialVersionUID): New member variable.
465         * javax/naming/InitialContext.java
466         (InitialContext): Throws NamingException.
467         (init): Likewise.
468         * javax/naming/LinkRef.java
469         (serialVersionUID): New member variable.
470         (gteLinkName): Throws NamingException.
471         * javax/naming/NamingException.java
472         (serialVersionUID): New member variable.
473         * javax/naming/NamingSecurityException.java
474         (NamingSecurityException): Made abstract.
475         (serialVersionUID): New member variable.
476         * javax/naming/ReferralException.java
477         (serialVersionUID): New member variable.
478         * javax/naming/StringRefAddr.java
479         (serialVersionUID): New member variable.
480         * javax/naming/directory/BasicAttribute.java:
481         Reworked imports.
482         (serialVersionUID): New member variable.
483         (get): Throws NamingException.
484         (getAll): Throws NamingException.
485         * javax/naming/directory/BasicAttributes.java:
486         Reworked imports.
487         (serialVersionUID): New member variable.
488         * javax/naming/ldap/UnsolicitedNotificationEvent.java
489         (serialVersionUID): New member variable.
490
491 2003-06-27  Michael Koch  <konqueror@gmx.de>
492
493         * Makefile.am
494         (awt_java_source_files): Added new files:
495         javax/swing/Popup.java,
496         javax/swing/PopupFactory.java
497         * Makefile.in: Regenerated.
498
499 2003-06-27  Michael Koch  <konqueror@gmx.de>
500
501         * javax/swing/JWindow.java,
502         javax/swing/event/AncestorEvent.java,
503         javax/swing/event/HyperlinkEvent.java,
504         javax/swing/event/InternalFrameEvent.java,
505         javax/swing/event/ListDataEvent.java,
506         javax/swing/event/TableModelEvent.java,
507         javax/swing/plaf/PopupMenuUI.java,
508         javax/swing/plaf/SplitPaneUI.java,
509         javax/swing/plaf/TabbedPaneUI.java,
510         javax/swing/plaf/TextUI.java,
511         javax/swing/plaf/TreeUI.java,
512         javax/swing/plaf/basic/BasicTextUI.java,
513         javax/swing/plaf/basic/BasicTreeUI.java:
514         New versions from classpath.
515         * javax/swing/Popup.java,
516         javax/swing/PopupFactory.jav:
517         New source files from classpath.
518         * javax/swing/plaf/doc-files/TreeUI-1.png:
519         New binary files from classpath.
520
521 2003-06-25  Michael Koch  <konqueror@gmx.de>
522
523         * Makefile.am
524         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
525         * Makefile.in: Regenerated.
526
527 2003-06-25  Michael Koch  <konqueror@gmx.de>
528
529         * javax/swing/plaf/ActionMapUIResource.java,
530         javax/swing/plaf/BorderUIResource.java,
531         javax/swing/plaf/ButtonUI.java,
532         javax/swing/plaf/ColorChooserUI.java,
533         javax/swing/plaf/ColorUIResource.java,
534         javax/swing/plaf/ComboBoxUI.java,
535         javax/swing/plaf/ComponentInputMapUIResource.java,
536         javax/swing/plaf/ComponentUI.java,
537         javax/swing/plaf/DesktopIconUI.java,
538         javax/swing/plaf/DesktopPaneUI.java,
539         javax/swing/plaf/DimensionUIResource.java,
540         javax/swing/plaf/FileChooserUI.java,
541         javax/swing/plaf/FontUIResource.java,
542         javax/swing/plaf/IconUIResource.java,
543         javax/swing/plaf/InputMapUIResource.java,
544         javax/swing/plaf/InsetsUIResource.java,
545         javax/swing/plaf/InternalFrameUI.java,
546         javax/swing/plaf/LabelUI.java,
547         javax/swing/plaf/ListUI.java,
548         javax/swing/plaf/MenuBarUI.java,
549         javax/swing/plaf/MenuItemUI.java,
550         javax/swing/plaf/OptionPaneUI.java,
551         javax/swing/plaf/PanelUI.java,
552         javax/swing/plaf/ProgressBarUI.java,
553         javax/swing/plaf/RootPaneUI.java,
554         javax/swing/plaf/ScrollBarUI.java,
555         javax/swing/plaf/ScrollPaneUI.java,
556         javax/swing/plaf/SeparatorUI.java,
557         javax/swing/plaf/SliderUI.java,
558         javax/swing/plaf/TableHeaderUI.java,
559         javax/swing/plaf/TableUI.java,
560         javax/swing/plaf/ToolBarUI.java,
561         javax/swing/plaf/ToolTipUI.java,
562         javax/swing/plaf/ViewportUI.java:
563         New versions from classpath.
564         * javax/swing/plaf/SpinnerUI.java: 
565         New file from classpath
566
567 2003-06-25  Michael Koch  <konqueror@gmx.de>
568
569         * java/awt/image/ColorModel.java:
570         New version from classpath.
571
572 2003-06-25  Michael Koch  <konqueror@gmx.de>
573
574         * java/net/PlainDatagramSocketImpl.java:
575         Partly merged with classpath, this mainly adds documentation.
576
577 2003-06-25  Michael Koch  <konqueror@gmx.de>
578
579         * java/io/ObjectInputStream.java
580         (readClassDescriptor): New method.
581         (readObject): Moved functionality to readClassDescriptor().
582         * java/io/ObjectOutputStream.java
583         (writeClassDescriptor): New method.
584         (writeObject): Moved functionality to writeClassDescriptor().
585
586 2003-06-25  Michael Koch  <konqueror@gmx.de>
587
588         * javax/swing/plaf/basic/BasicListUI.java,
589         javax/swing/plaf/basic/BasicOptionPaneUI.java:
590         Added missing methods.
591
592 2003-06-25  Michael Koch  <konqueror@gmx.de>
593
594         * javax/swing/event/AncestorEvent.java
595         javax/swing/event/HyperlinkEvent.java
596         javax/swing/event/InternalFrameEvent.java
597         javax/swing/event/ListDataEvent.java
598         javax/swing/event/TableModelEvent.java:
599         Compile fixes.
600
601 2003-06-24  Michael Koch  <konqueror@gmx.de>
602
603         * java/net/URL.java:
604         Renamed "handler" to "ph" in the whole file to match classpaths
605         version.
606         * java/net/URLStreamHandler.java:
607         (equals): Renamed "handler" to "ph".
608
609 2003-06-24  Michael Koch  <konqueror@gmx.de>
610
611         * javax/swing/event/AncestorEvent.java,
612         javax/swing/event/HyperlinkEvent.java,
613         javax/swing/event/InternalFrameEvent.java,
614         javax/swing/event/ListDataEvent.java,
615         javax/swing/event/TableModelEvent.java,
616         javax/swing/event/TreeWillExpandListener.java,
617         javax/swing/plaf/ComponentUI.java,
618         javax/swing/plaf/DesktopIconUI.java,
619         javax/swing/plaf/DesktopPaneUI.java,
620         javax/swing/plaf/DimensionUIResource.java,
621         javax/swing/plaf/FileChooserUI.java,
622         javax/swing/plaf/FontUIResource.java,
623         javax/swing/plaf/IconUIResource.java,
624         javax/swing/plaf/InputMapUIResource.java,
625         javax/swing/plaf/InsetsUIResource.java,
626         javax/swing/plaf/InternalFrameUI.java,
627         javax/swing/plaf/LabelUI.java,
628         javax/swing/plaf/ListUI.java,
629         javax/swing/plaf/MenuBarUI.java,
630         javax/swing/plaf/MenuItemUI.java,
631         javax/swing/plaf/OptionPaneUI.java,
632         javax/swing/plaf/PanelUI.java,
633         javax/swing/plaf/ProgressBarUI.java,
634         javax/swing/plaf/doc-files/ComponentUI-1.dia,
635         javax/swing/plaf/doc-files/ComponentUI-1.png:
636         New versions from classpath.
637
638 2003-06-24  Michael Koch  <konqueror@gmx.de>
639
640         * java/nio/Buffer.java
641         (cap): Made package-private.
642         (pos): Likewise.
643         (limit): Likewise.
644         (mark): Likewise.
645
646 2003-06-24  Michael Koch  <konqueror@gmx.de>
647
648         * java/net/SocketImpl.java
649         (shutdownInput): Made it non-abstract method throwing an exception
650         like in SUNs JRE.
651         (shutdownOutput): Likewise.
652         * java/net/SocketInputStream.java,
653         java/net/SocketOutputStream.java:
654         New files from classpath.
655
656 2003-06-24  Michael Koch  <konqueror@gmx.de>
657
658         * java/awt/Font.java,
659         java/awt/Window.java,
660         java/awt/color/ColorSpace.java,
661         java/awt/datatransfer/StringSelection.java,
662         java/awt/image/ColorModel.java:
663         New versions from classpath.
664
665 2003-06-24  Michael Koch  <konqueror@gmx.de>
666
667         * Makefile.am
668         (awt_java_source_files): Added new files:
669         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
670         javax/swing/plaf/basic/BasicSplitPaneUI.java
671         * Makefile.in: Regenerated.
672
673 2003-06-24  Michael Koch  <konqueror@gmx.de>
674
675         * javax/swing/text/JTextComponent.java:
676         New version from classpath.
677
678 2003-06-24  Michael Koch  <konqueror@gmx.de>
679
680         * javax/swing/Timer.java,
681         javax/swing/plaf/ActionMapUIResource.java,
682         javax/swing/plaf/ButtonUI.java,
683         javax/swing/plaf/ColorChooserUI.java,
684         javax/swing/plaf/ColorUIResource.java,
685         javax/swing/plaf/ComboBoxUI.java,
686         javax/swing/plaf/ComponentInputMapUIResource.java,
687         javax/swing/plaf/basic/BasicBorders.java:
688         New versions from classpath.
689         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
690         javax/swing/plaf/basic/BasicSplitPaneUI.java:
691         New file from classpath.
692         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
693         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
694         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
695         javax/swing/plaf/doc-files/ComponentUI-1.dia,
696         javax/swing/plaf/doc-files/ComponentUI-1.png:
697         New binary files from classpath.
698
699 2003-06-24  Michael Koch  <konqueror@gmx.de>
700
701         * java/io/LineNumberReader.java
702         (skip): Dont do line number accounting here as this is already done in
703         read(), simplified.
704
705 2003-06-21  Michael Koch  <konqueror@gmx.de>
706
707         * java/io/File.java
708         (static): Load javaio lib if existing (only in classpath).
709         (File): Revised documentation to show the correct argument name.
710         (createTempFile): Partly merged with classpath.
711         (compareTo): Simplified.
712         (lastModified): Throw exception if time < 0.
713         (deleteOnExit): Revised documentation.
714
715 2003-06-21  Michael Koch  <konqueror@gmx.de>
716
717         * java/net/PlainSocketImpl.java:
718         Reformatted.
719         (PlainSocketImpl): Merged class documentaion with classpath.
720         (in): Moved.
721         (out): Moved.
722         (PlainSocketImpl): New empty constructor.
723         (finalize): Moved.
724         (setOption): Merged documentation from classpath.
725         (getOption): Likewise.
726         (create): Likewise.
727         (connect): Likewise.
728         (bind): Likewise.
729         (listen): Likewise.
730         (accept): Likewise.
731         (available): Likewise.
732         (close): Likewise.
733         (read): Likewise.
734         (write): Likewise.
735         (getInputStream): Made synchronozed to get sure that only one stream
736         object can be created for this socket, merged documentation from
737         classpath.
738         (getOutputStream): Likewise.
739
740 2003-06-21  Michael Koch  <konqueror@gmx.de>
741
742         * java/net/PlainSocketImpl.java:
743         Reformatting.
744         (static): New implicit method.
745         (read): Made package private.
746         (write): Likewise.
747
748 2003-06-21  Michael Koch  <konqueror@gmx.de>
749
750         * java/util/SimpleTimeZone.java:
751         Removed unneeded import, reformatting.
752
753 2003-06-21  Michael Koch  <konqueror@gmx.de>
754
755         * java/text/DateFormat.java,
756         java/text/SimpleDateFormat.java,
757         java/util/Locale.java:
758         New versions from classpath.
759
760 2003-06-21  Michael Koch  <konqueror@gmx.de>
761
762         * javax/swing/SpinnerModel.java:
763         New file from classpath.
764         * javax/swing/border/LineBorder.java,
765         javax/swing/border/SoftBevelBorder.java,
766         javax/swing/plaf/BorderUIResource.java,
767         javax/swing/plaf/basic/BasicBorders.java:
768         New versions from classpath.
769         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
770         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
771         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
772         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
773         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
774         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
775         New binary files from classpath.
776
777 2003-06-21  Michael Koch  <konqueror@gmx.de>
778
779         * java/util/logging/LogRecord.java,
780         java/util/logging/Logger.java,
781         java/util/logging/SocketHandler.java,
782         java/util/logging/SimpleFormatter.java,
783         java/util/logging/Formatter.java,
784         java/util/logging/ErrorManager.java,
785         java/util/logging/Handler.java,
786         java/util/logging/FileHandler.java,
787         java/util/logging/LogManager.java,
788         java/util/logging/Level.java,
789         java/util/logging/ConsoleHandler.java,
790         java/util/logging/StreamHandler.java,
791         java/util/logging/LoggingPermission.java,
792         java/util/logging/Filter.java,
793         java/util/logging/MemoryHandler.java,
794         java/util/logging/XMLFormatter.java:
795         New files from classpath.
796
797 2003-06-20  Michael Koch  <konqueror@gmx.de>
798
799         * java/io/ObjectStreamField.java
800         (unshared): new member variable.
801         (ObjectStreamField): New constructor.
802         (isUnshared): New method.
803
804 2003-06-20  Michael Koch  <konqueror@gmx.de>
805
806         * java/net/URLStreamHandler.java
807         (hostsEqual): Rewritten.
808
809 2003-06-20  Michael Koch  <konqueror@gmx.de>
810
811         * gnu/java/nio/MappedByteFileBuffer.java,
812         gnu/java/nio/natMappedByteFileBuffer.cc:
813         Removed
814         * java/nio/MappedByteBufferImpl.java:
815         New file.
816         * gnu/java/nio/FileChannelImpl.java:
817         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
818         * Makefile.am
819         (ordinary_java_source_files): Removed
820         gnu/java/nio/MappedByteFileBuffer.java and added
821         java/nio/MappedByteBufferImpl.java.
822         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
823         * Makefile.in: Regenerated.
824
825 2003-06-19  Michael Koch  <konqueror@gmx.de>
826
827         * gnu/java/nio/DatagramChannelImpl.java
828         (fd): Removed.
829         (blocking): New member variable.
830         (socket): Likewise.
831         (DatagramChannelImpl): Throws IOException, initialize socket.
832         (socket):Implemented.
833         (implCloseSelectableChannel): Throws IOException, implemented.
834         (implConfigureBlocking): Likewise.
835         (connect): Likewise.
836         (disconnect): Likewise.
837         (isConnected): Likewise.
838         (write): Likewise.
839         (read): Likewise.
840         (receive): Throws IOException.
841         (send): Likewise.
842         * gnu/java/nio/SocketChannelImpl.java
843         (read): Implemented.
844         (write): Implemented.
845
846 2003-06-19  Michael Koch  <konqueror@gmx.de>
847
848         * javax/swing/JComponent.java,
849         javax/swing/JInternalFrame.java,
850         javax/swing/MenuSelectionManager.java,
851         javax/swing/SwingUtilities.java,
852         javax/swing/ToggleButtonModel.java:
853         New versions from classpath.
854
855 2003-06-19  Michael Koch  <konqueror@gmx.de>
856
857         * java/text/CollationElementIterator.java
858         (NULLORDER): Initialize with -1 as JDK documentation says.
859
860 2003-06-19  Michael Koch  <konqueror@gmx.de>
861
862         * java/net/HttpURLConnection.java,
863         java/net/Inet4Address.java,
864         java/net/Inet6Address.java,
865         java/net/SocketImpl.java,
866         java/net/URLClassLoader.java:
867         Reworked import statements.
868         * java/net/InetAddress.java
869         (getByAddress): Simplified.
870         * java/net/ServerSocket.java
871         (ServerSocket): Moved special handling during bind operation to
872         bind().
873         (bind): Handle different cases when trying to bind a socket.
874         * java/net/URLConnection.java
875         (getHeaderFieldDate): Merged with classpath.
876         (getHeaderFieldInt): Likewise.
877
878 2003-06-19  Michael Koch  <konqueror@gmx.de>
879
880         * java/util/zip/InflaterInputStream.java
881         (InflaterInputStream): Throw NullPointerException if in is null (as
882         JDK does).
883
884 2003-06-19  Michael Koch  <konqueror@gmx.de>
885
886         * java/awt/Font.java
887         javax/swing/UIManager.java
888         javax/swing/border/AbstractBorder.java
889         javax/swing/border/BevelBorder.java
890         javax/swing/border/Border.java
891         javax/swing/border/CompoundBorder.java
892         javax/swing/border/EmptyBorder.java
893         javax/swing/border/EtchedBorder.java
894         javax/swing/border/LineBorder.java
895         javax/swing/border/MatteBorder.java
896         javax/swing/border/TitledBorder.java
897         javax/swing/plaf/BorderUIResource.java
898         javax/swing/plaf/basic/BasicBorders.java
899         javax/swing/plaf/basic/BasicButtonUI.java
900         javax/swing/plaf/basic/BasicCheckBoxUI.java
901         javax/swing/plaf/basic/BasicGraphicsUtils.java
902         javax/swing/plaf/basic/BasicLabelUI.java
903         javax/swing/plaf/basic/BasicRadioButtonUI.java
904         javax/swing/plaf/basic/BasicToggleButtonUI.java:
905         New versions from classpath.
906         * javax/swing/border/SoftBevelBorder.java:
907         New file from classpath.
908         * javax/swing/border/doc-files/LineBorder-1.png,
909         javax/swing/border/doc-files/BevelBorder-1.png,
910         javax/swing/border/doc-files/BevelBorder-2.png,
911         javax/swing/border/doc-files/BevelBorder-3.png,
912         javax/swing/border/doc-files/EmptyBorder-1.png,
913         javax/swing/border/doc-files/EtchedBorder-1.png,
914         javax/swing/border/doc-files/EtchedBorder-2.png,
915         javax/swing/border/doc-files/MatteBorder-1.png,
916         javax/swing/border/doc-files/MatteBorder-2.png,
917         javax/swing/border/doc-files/MatteBorder-3.png,
918         javax/swing/border/doc-files/MatteBorder-4.png,
919         javax/swing/border/doc-files/MatteBorder-5.png,
920         javax/swing/border/doc-files/MatteBorder-6.png,
921         javax/swing/border/doc-files/SoftBevelBorder-1.png,
922         javax/swing/border/doc-files/SoftBevelBorder-2.png,
923         javax/swing/border/doc-files/SoftBevelBorder-3.png,
924         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
925         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
926         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
927         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
928         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
929         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
930         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
931         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
932         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
933         New binary files from classpath.
934         * Makefile.am
935         (awt_java_source_files): Added
936         javax/swing/border/SoftBevelBorder.java.
937         * Makefile.in: Regenerated.
938
939 2003-06-19  Michael Koch  <konqueror@gmx.de>
940
941         * gnu/java/security/x509/X509Certificate.java
942         (writeReplace): Merged from classpath.
943
944 2003-06-19  Michael Koch  <konqueror@gmx.de>
945
946         * gnu/java/nio/FileChannelImpl.java
947         (map_address): Made public.
948         (FileChannelImpl): Merged with classpath.
949         * gnu/java/nio/natFileChannelImpl.cc
950         (nio_mmap_file): Commented out unused arguments.
951         (nio_unmmap_file): Likewise.
952         (niu_msync): Likewise.
953
954 2003-06-19  Michael Koch  <konqueror@gmx.de>
955
956         * java/awt/image/IndexColorModel.java:
957         New version from classpath.
958
959 2003-06-18  Tom Tromey  <tromey@redhat.com>
960
961         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
962         on arrays.
963         (isLoopbackAddress): Likewise.
964         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
965         on arrays.
966
967 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
968
969         * java/lang/natVMSecurityManager.cc (getClassContext):
970         Use maxlen instead of len for loop bound.
971
972 2003-06-18  Michael Koch  <konqueror@gmx.de>
973
974         * gnu/java/nio/SelectorImpl.java
975         (register): Use fd with value 0 for now, will be fixed later.
976         * gnu/java/nio/ServerSocketChannelImpl.java
977         (fd): Removed.
978         (local_port): Removed.
979         (InetSocketAddress): Removed.
980         (ServerSocketChannelImpl): Just initialize internal socket object.
981         (implCloseSelectableChannel): Close internal socket object.
982         (implConfigureBlocking): Added comment.
983         (accept): Use jaba.net stuff to accept socket.
984         * gnu/java/nio/SocketChannelImpl.java
985         (fd): Removed.
986         (local_port): Removed.
987         (InetSocketAddress): Removed.
988         (SocketCreate): Removed.
989         (SocketConnect): Removed.
990         (SocketBind): Removed.
991         (SocketListen): Removed.
992         (SocketAvailable): Removed.
993         (SocketClose): Removed.
994         (SocketRead): Removed.
995         (SocketWrite): Removed.
996         (SocketChannelImpl): Just initialize internal socket object.
997         (implCloseSelectableChannel): Close internal socket object.
998         (implConfigureBlocking): Fixed implementation, added comment.
999         (connect): Use internal socket object to connect.
1000         (socket): No need for sanity checks.
1001         (read): Comment out some stuff, this will be reimplemented in the next
1002         commit.
1003         (write): Likewise.
1004         * gnu/java/nio/natFileChannelImpl.cc
1005         (nio_mmap_file): Line wrapped.
1006         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1007         * Makefile.am
1008         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1009         * Makefile.in: Regenerated.
1010
1011 2003-06-18  Michael Koch  <konqueror@gmx.de>
1012
1013         * java/util/Locale.java
1014         (equals): Merged from classpath.
1015
1016 2003-06-18  Michael Koch  <konqueror@gmx.de>
1017
1018         * java/net/InetAddress.java:
1019         Reformatted to better match classpath's version.
1020         * java/net/URL.java
1021         (equals): Simplified.
1022         * java/net/URLConnection.java
1023         (setDoInput): Revised documentation.
1024         (getDefaultUseCaches): Likewise.
1025         (setRequestProperty): Added @since tag.
1026
1027 2003-06-17  Michael Koch  <konqueror@gmx.de>
1028
1029         * java/net/InetSocketAddress.java
1030         (InetSocketAddress): Use wildcard address if addr is null.
1031         (InetSocketAddress): Dont duplicate implementation.
1032         (InetSocketAddress): Throw exception when hostname is null.
1033         * java/net/Socket.java:
1034         Reworked imports.
1035         (Socket): Throw exception when raddr is null, handle case when laddr
1036         is null.
1037
1038 2003-06-17  Michael Koch  <konqueror@gmx.de>
1039
1040         * java/nio/DirectByteBufferImpl.java
1041         (address): Made package private.
1042         (DirectByteBufferImpl): New constructor.
1043         * java/nio/natDirectByteBufferImpl.cc
1044         (allocateImpl): Moved to java.nio namespace, implemented.
1045         (freeImpl): Likewise.
1046         (getImpl): Likewise.
1047         (putImpl): Likewise.
1048         * jni.cc
1049         (_Jv_JNI_NewDirectByteBuffer): Implemented.
1050         (_Jv_JNI_GetDirectBufferAddress): Implemented.
1051         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1052
1053 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1054
1055         * include/powerpc-signal.h: New File.
1056         * configure.in: Use it.
1057         * configure: Regenerated.
1058
1059 2003-06-17  Michael Koch  <konqueror@gmx.de>
1060
1061         * java/util/Locale.java
1062         (getDisplayLanguage): Made it final.
1063         (getDisplayCountry): Likewise.
1064         (getDisplayVariant): Likewise.
1065         (getDisplayName): Likewise.
1066
1067 2003-06-17  Michael Koch  <konqueror@gmx.de>
1068
1069         * java/util/PropertyResourceBundle.java:
1070         Removed unneeded import.
1071
1072 2003-06-17  Michael Koch  <konqueror@gmx.de>
1073
1074         * java/util/prefs/AbstractPreferences.java,
1075         java/util/prefs/PreferencesFactory.java:
1076         Reworked imports, removed unused imports.
1077         * java/util/prefs/Preferences.java
1078         (systemNodeForPackage): Method takes a Class not an Object.
1079         (userNodeForPackage): Likewise.
1080         (nodeForPackage): Likewise.
1081
1082 2003-06-17  Michael Koch  <konqueror@gmx.de>
1083
1084         * gnu/java/security/x509/X509Certificate.java:
1085         Explicitely import used classes.
1086
1087 2003-06-17  Michael Koch  <konqueror@gmx.de>
1088
1089         * java/util/zip/ZipEntry.java,
1090         java/util/zip/ZipFile.java,
1091         java/util/zip/ZipInputStream.java,
1092         java/util/zip/ZipOutputStream.java:
1093         Reworked imports, only import used classes.
1094
1095 2003-06-17  Michael Koch  <konqueror@gmx.de>
1096
1097         * gnu/java/lang/ArrayHelper.java,
1098         gnu/java/lang/ClassHelper.java:
1099         Reformatted to match classpath's versions.
1100
1101 2003-06-14  Michael Koch  <konqueror@gmx.de>
1102
1103         * gnu/java/nio/FileChannelImpl.java
1104         (map_address): Removed incorrect comment.        
1105         * gnu/java/nio/SelectorImpl.java
1106         (register): Remove code duplication and code for file channel handling.        
1107         * gnu/java/nio/ServerSocketChannelImpl.java
1108         (serverSocket): Renamed from sock_object.
1109         (ServerSocketChannel): Initialize serverSocket.
1110         (socket): Return serverSocket.
1111         * gnu/java/nio/SocketChannelImpl.java
1112         (socket): Renamed from sock_object.
1113         (isConnectionPenging): Simplified.
1114         (socket): Return socket.
1115 2003-06-14  Michael Koch  <konqueror@gmx.de>
1116
1117         * java/security/BasicPermission.java:
1118         New version from classpath.
1119
1120 2003-06-14  Michael Koch  <konqueror@gmx.de>
1121
1122         * javax/naming/directory/Attribute.java:
1123         New version from classpath.
1124
1125 2003-06-14  Michael Koch  <konqueror@gmx.de>
1126
1127         * java/io/BufferedReader.java,
1128         java/io/FileOutputStream.java:
1129         New versions from classpath.
1130
1131 2003-06-12  Andrew Haley  <aph@redhat.com>
1132
1133         * prims.cc (catch_segv): Create exception in handler.
1134         (catch_fpe): Likewise.  
1135         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1136         (_Jv_ThrowSignal): Remove.
1137
1138         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1139         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1140         to nullp and arithexception.
1141         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1142         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1143         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1144         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1145         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1146
1147 2003-06-11  Andrew Haley  <aph@redhat.com>
1148
1149         * jni.cc (_Jv_JNI_check_types): New.
1150         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1151         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1152         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1153         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1154         
1155         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1156         infinite loop.
1157
1158 2003-06-11  Tom Tromey  <tromey@redhat.com>
1159
1160         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1161         * java/io/PrintStream.java: Not deprecated.
1162
1163 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1164
1165         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1166         (fillOval): implemented
1167         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1168         (fillArc): implemented.
1169         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1170         (fillArc): added native method.
1171         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1172         (fillArc): added native method.
1173
1174 2003-06-11  Michael Koch  <konqueror@gmx.de>
1175
1176         * java/awt/im/InputSubset.java:
1177         New version from classpath.
1178
1179 2003-06-11  Michael Koch  <konqueror@gmx.de>
1180
1181         * javax/swing/AbstractAction.java,
1182         javax/swing/AbstractButton.java,
1183         javax/swing/AbstractCellEditor.java,
1184         javax/swing/AbstractListModel.java,
1185         javax/swing/BorderFactory.java,
1186         javax/swing/Box.java,
1187         javax/swing/BoxLayout.java,
1188         javax/swing/ButtonGroup.java,
1189         javax/swing/DefaultButtonModel.java,
1190         javax/swing/DefaultListModel.java,
1191         javax/swing/DefaultListSelectionModel.java,
1192         javax/swing/FocusManager.java,
1193         javax/swing/ImageIcon.java,
1194         javax/swing/InputMap.java,
1195         javax/swing/JApplet.java,
1196         javax/swing/JButton.java,
1197         javax/swing/JCheckBox.java,
1198         javax/swing/JCheckBoxMenuItem.java,
1199         javax/swing/JColorChooser.java,
1200         javax/swing/JComboBox.java,
1201         javax/swing/JComponent.java,
1202         javax/swing/JDesktopPane.java,
1203         javax/swing/JDialog.java,
1204         javax/swing/JEditorPane.java,
1205         javax/swing/JFileChooser.java,
1206         javax/swing/JFormattedTextField.java,
1207         javax/swing/JFrame.java,
1208         javax/swing/JLabel.java,
1209         javax/swing/JLayeredPane.java,
1210         javax/swing/JList.java,
1211         javax/swing/JMenuBar.java,
1212         javax/swing/JMenuItem.java,
1213         javax/swing/JOptionPane.java,
1214         javax/swing/JPanel.java,
1215         javax/swing/JPasswordField.java,
1216         javax/swing/JPopupMenu.java,
1217         javax/swing/JProgressBar.java,
1218         javax/swing/JRadioButton.java,
1219         javax/swing/JRadioButtonMenuItem.java,
1220         javax/swing/JRootPane.java,
1221         javax/swing/JScrollBar.java,
1222         javax/swing/JScrollPane.java,
1223         javax/swing/JSeparator.java,
1224         javax/swing/JSlider.java,
1225         javax/swing/JTabbedPane.java,
1226         javax/swing/JTable.java,
1227         javax/swing/JTextField.java,
1228         javax/swing/JToggleButton.java,
1229         javax/swing/JToolBar.java,
1230         javax/swing/JToolTip.java,
1231         javax/swing/JTree.java,
1232         javax/swing/JViewport.java,
1233         javax/swing/JWindow.java,
1234         javax/swing/KeyStroke.java,
1235         javax/swing/ListSelectionModel.java,
1236         javax/swing/LookAndFeel.java,
1237         javax/swing/RepaintManager.java,
1238         javax/swing/ScrollPaneLayout.java,
1239         javax/swing/SizeRequirements.java,
1240         javax/swing/SwingConstants.java,
1241         javax/swing/Timer.java,
1242         javax/swing/UIDefaults.java,
1243         javax/swing/UIManager.java,
1244         javax/swing/border/AbstractBorder.java,
1245         javax/swing/border/CompoundBorder.java,
1246         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1247         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1248         javax/swing/colorchooser/ColorSelectionModel.java,
1249         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1250         javax/swing/event/AncestorEvent.java,
1251         javax/swing/event/HyperlinkEvent.java,
1252         javax/swing/event/InternalFrameAdapter.java,
1253         javax/swing/event/InternalFrameEvent.java,
1254         javax/swing/event/ListDataEvent.java,
1255         javax/swing/event/MouseInputAdapter.java,
1256         javax/swing/event/SwingPropertyChangeSupport.java,
1257         javax/swing/event/TableModelEvent.java,
1258         javax/swing/event/TreeWillExpandListener.java,
1259         javax/swing/event/UndoableEditEvent.java,
1260         javax/swing/filechooser/FileFilter.java,
1261         javax/swing/filechooser/FileSystemView.java,
1262         javax/swing/filechooser/FileView.java,
1263         javax/swing/plaf/BorderUIResource.java,
1264         javax/swing/plaf/basic/BasicDefaults.java,
1265         javax/swing/table/AbstractTableModel.java,
1266         javax/swing/table/DefaultTableCellRenderer.java,
1267         javax/swing/table/DefaultTableColumnModel.java,
1268         javax/swing/table/DefaultTableModel.java,
1269         javax/swing/table/TableColumn.java,
1270         javax/swing/text/JTextComponent.java,
1271         javax/swing/tree/AbstractLayoutCache.java,
1272         javax/swing/tree/DefaultMutableTreeNode.java,
1273         javax/swing/tree/DefaultTreeCellEditor.java,
1274         javax/swing/tree/DefaultTreeCellRenderer.java,
1275         javax/swing/tree/DefaultTreeModel.java,
1276         javax/swing/tree/DefaultTreeSelectionModel.java,
1277         javax/swing/tree/FixedHeightLayoutCache.java,
1278         javax/swing/tree/TreeCellEditor.java,
1279         javax/swing/tree/TreeModel.java,
1280         javax/swing/tree/TreeNode.java,
1281         javax/swing/tree/TreePath.java,
1282         javax/swing/tree/TreeSelectionModel.java,
1283         javax/swing/tree/VariableHeightLayoutCache.java,
1284         javax/swing/undo/AbstractUndoableEdit.java,
1285         javax/swing/undo/CompoundEdit.java,
1286         javax/swing/undo/StateEdit.java,
1287         javax/swing/undo/UndoManager.java,
1288         javax/swing/undo/UndoableEditSupport.java:
1289         New versions from classpath.
1290         * javax/swing/table/JTableHeader.java:
1291         New file from classpath.
1292         * Makefile.am
1293         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1294         * Makefile.in: Regenerated.
1295
1296 2003-06-11  Michael Koch  <konqueror@gmx.de>
1297
1298         * java/nio/MappedByteBuffer.java,
1299         java/nio/channels/Channels.java,
1300         java/nio/channels/ServerSocketChannel.java,
1301         java/nio/channels/spi/AbstractSelector.java:
1302         Removed unneeded imports.
1303
1304 2003-06-11  Michael Koch  <konqueror@gmx.de>
1305
1306         * java/net/DatagramSocket.java:
1307         Partly merged with classpath.
1308
1309 2003-06-11  Michael Koch  <konqueror@gmx.de>
1310
1311         * java/awt/Frame.java,
1312         java/awt/Graphics.java,
1313         java/awt/Menu.java,
1314         java/awt/Robot.java,
1315         java/awt/image/ColorModel.java:
1316         New versions from classpath.
1317
1318 2003-06-10  Michael Koch  <konqueror@gmx.de>
1319
1320         * java/io/PrintStream.java:
1321         Merged version from classpath.
1322         (close): Removed sychronized keyword. This class is not garantied to
1323         be thread-safe.
1324         (write): Likewise.
1325
1326 2003-06-09  Tom Tromey  <tromey@redhat.com>
1327
1328         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1329         field.
1330         (getDescent): Likewise, for "descent".
1331
1332 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1333
1334         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1335         (getMaxDescent): adjusted return value.
1336         (getAscent): modified to use metrics for 'O'.
1337         (getDescent): modified to use metrics for 'y'.
1338
1339 2003-06-08  Anthony Green  <green@redhat.com>
1340
1341         * java/net/URLStreamHandler.java (sameFile): Fix port value
1342         comparison.
1343         * java/net/URL.java (handler): Make package private.
1344         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1345
1346 2003-06-07  Tom Tromey  <tromey@redhat.com>
1347
1348         For PR libgcj/11085:
1349         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1350         Limit number of characters in numeric field when required.
1351         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1352         Respect maximumIntegerDigits.
1353
1354 2003-06-08  Michael Koch  <konqueror@gmx.de>
1355
1356         * java/net/Socket.java
1357         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1358         call bind() and connect() to actually do the bind and connect tasks.
1359         (bind): Connect to canonical address if bindpoint is null, create
1360         socket and bind it to bindpoint.
1361         (connect): Check for exceptions.
1362
1363 2003-06-08  Michael Koch  <konqueror@gmx.de>
1364
1365         * java/net/DatagramSocket.java
1366         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1367         into the Multicast constructors.
1368         * java/net/DatagramSocketImpl.java
1369         (getOption): Removed.
1370         (setOption): Removed.
1371         * java/net/MulticastSocket.java
1372         (MulticastSocket): Call setReuseAddress (true).
1373         * java/net/SocketImpl.java
1374         (getOption): Removed.
1375         (setOption): Removed.
1376
1377 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1378
1379         PR libgcj/10886:
1380         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1381         Test for empty vector.
1382
1383 2003-06-06  Mark Wielaard  <mark@klomp.org>
1384
1385         * java/security/Security.java (secprops): Initialize.
1386         (loadProviders): Return boolean.
1387         (static): Check result of loadProvider calls. If necessary
1388         display WARNING and fallback to Gnu provider.
1389
1390 2002-06-06  James Clark  <jjc@jclark.com>
1391
1392         Fix for PR libgcj/8738:
1393         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1394         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1395         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1396         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1397         (write): Always decrease avail when count is increased.
1398         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1399         and whether output buffer is full before increasing size.
1400
1401 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1402
1403         * java/io/PrintStream.java (writeChars(char[],int, int)):
1404         Check converter.havePendingBytes().
1405         (writeChars(String,int,int)): Likewise.
1406         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1407         Check converter.havePendingBytes() and flush buffer when stalled.
1408
1409 2003-06-07  Michael Koch  <konqueror@gmx.de>
1410
1411         * include/posix.h
1412         (O_DSYNC): Define O_DSYNC on platforms not
1413         supporting O_FSYNC (newlib).
1414
1415 2003-06-06  Mark Wielaard  <mark@klomp.org>
1416
1417         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1418         AWTError.
1419
1420 2003-06-06  Michael Koch  <konqueror@gmx.de>
1421
1422         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1423         More compile fixes from my stupid work yesterday.
1424
1425 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1426
1427         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1428         if _IEEE_LIBM is undefined.
1429
1430 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1431
1432         * libjava/include/posix.h (O_SYNC): Define if not available
1433         and a reasonable, perhaps more conservative, replacement exists.
1434         (O_DSYNC): Likewise.
1435         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1436
1437 2003-06-05  Michael Koch  <konqueror@gmx.de>
1438
1439         * javax/swing/plaf/BorderUIResource.java,
1440         javax/swing/plaf/basic/BasicDefaults.java,
1441         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1442         More compile fixes for latest Border commit. I should not commit
1443         something in this heat here ...
1444
1445 2003-06-05  Michael Koch  <konqueror@gmx.de>
1446
1447         * javax/swing/border/BevelBorder.java
1448         (BevelBorder): Removed.
1449         * javax/swing/border/EmptyBorder.java:
1450         Reformatted.
1451         (EmptyBorder): Removed.
1452         (getBorderInsets): Dont use l, r, t and b.
1453         * javax/swing/border/EtchedBorder.java
1454         (EtchedBorder): Removed.
1455         * javax/swing/border/LineBorder.java
1456         (LineBorder): Removed.
1457         * javax/swing/border/MatteBorder.java
1458         (MatteBorder): Removed.
1459         * javax/swing/border/TitledBorder.java
1460         (defaultBorder): Use other default for now.
1461         (defaultFont): Likewise.
1462         (defaultColor): Likewise.
1463
1464 2003-06-05  Michael Koch  <konqueror@gmx.de>
1465
1466         * javax/swing/border/Border.java:
1467         New version from classpath.
1468
1469 2003-06-05  Michael Koch  <konqueror@gmx.de>
1470
1471         * javax/swing/border/AbstractBorder.java,
1472         javax/swing/border/BevelBorder.java,
1473         javax/swing/border/CompoundBorder.java,
1474         javax/swing/border/EmptyBorder.java,
1475         javax/swing/border/EtchedBorder.java,
1476         javax/swing/border/LineBorder.java,
1477         javax/swing/border/MatteBorder.java,
1478         javax/swing/border/TitledBorder.java:
1479         New versions from Classpath.
1480
1481 2003-06-05  Michael Koch  <konqueror@gmx.de>
1482
1483         * java/awt/Button.java,
1484         java/awt/Checkbox.java,
1485         java/awt/CheckboxMenuItem.java,
1486         java/awt/Choice.java,
1487         java/awt/Container.java,
1488         java/awt/Dialog.java,
1489         java/awt/EventQueue.java,
1490         java/awt/FileDialog.java,
1491         java/awt/Frame.java,
1492         java/awt/Label.java,
1493         java/awt/List.java,
1494         java/awt/Menu.java,
1495         java/awt/MenuItem.java,
1496         java/awt/Panel.java,
1497         java/awt/PopupMenu.java,
1498         java/awt/Rectangle.java,
1499         java/awt/ScrollPane.java,
1500         java/awt/Scrollbar.java,
1501         java/awt/TextArea.java,
1502         java/awt/TextField.java,
1503         java/awt/Window.java,
1504         java/awt/datatransfer/DataFlavor.java,
1505         java/awt/dnd/DragSource.java,
1506         java/awt/dnd/DragSourceContext.java,
1507         java/awt/event/HierarchyEvent.java,
1508         java/awt/event/MouseWheelEvent.java,
1509         java/awt/im/InputContext.java,
1510         java/awt/image/BufferedImage.java,
1511         java/awt/image/ComponentColorModel.java,
1512         java/awt/image/Raster.java,
1513         java/awt/image/WritableRaster.java,
1514         java/awt/peer/ComponentPeer.java,
1515         java/awt/print/PageFormat.java,
1516         java/awt/print/PrinterJob.java:
1517         New versions from Classpath.
1518
1519 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1520
1521         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1522         numberFormat.setParseIntegerOnly(true).
1523
1524 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1525
1526         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1527
1528 2003-06-03  Andrew Haley  <aph@redhat.com>
1529
1530         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1531         stack volatile to prevent optimization from removing it.
1532
1533 2003-05-27  Michael Koch  <konqueror@gmx.de>
1534
1535         * java/util/zip/Deflater.java
1536         (FILTERED): Merged documentation from classpath.
1537         * java/util/zip/DeflaterOutputStream.java
1538         (DeflaterOutputStream): Merged documentation and argument validity
1539         check from classpath.
1540         (deflate): Merged documentation from classpath.
1541         (finish): Likewise.
1542         * java/util/zip/Inflater.java
1543         (Inflater): Merged class documentation from classpath.
1544         (zstream): Reordered.
1545         (is_finished): Reordered.
1546         (dict_needed): Reordered.
1547         (Inflater): Reordered, merged documentation from classpath.
1548         (end): Likewise.
1549         (finalize): Merged documentation from classpath.
1550         (finished): Likewise.
1551         (getAdler): Likewise.
1552         (getRemaining): Likewise.
1553         (getTotalIn): Likewise.
1554         (getTotalOut): Likewise.
1555         (inflate): Likewise.
1556         (needsDictionary): Likewise.
1557         (needsInput): Likewise.
1558         (reset): Likewise.
1559         (setDictionary): Likewise.
1560         (setInput): Likewise.
1561
1562 2003-05-27  Michael Koch  <konqueror@gmx.de>
1563
1564         * java/net/URLConnection.java
1565         (getHeaderFieldInt): Merged with classpath.
1566
1567 2003-05-27  Michael Koch  <konqueror@gmx.de>
1568
1569         * java/io/PrintStream.java
1570         (PrintStream): Reformatted.
1571         (PrintStream): New method, merged from classpath.
1572         (write): Reformatted.
1573
1574 2003-05-27  Michael Koch  <konqueror@gmx.de>
1575
1576         * java/lang/System.java:
1577         Explicitely import needed classes.
1578
1579 2003-05-26  Michael Koch  <konqueror@gmx.de>
1580
1581         * java/net/NetPermission.java,
1582         java/net/NetworkInterface.java,
1583         java/net/PasswordAuthentication.java,
1584         java/net/SocketPermission.java:
1585         New versions from classpath.
1586
1587 2003-05-25  Michael Koch  <konqueror@gmx.de>
1588
1589         * java/io/PushbackInputStream.java,
1590         java/net/Authenticator.java,
1591         java/net/ContentHandler.java,
1592         java/net/ContentHandlerFactory.java,
1593         java/net/DatagramSocket.java,
1594         java/net/DatagramSocketImpl.java,
1595         java/net/DatagramSocketImplFactory.java,
1596         java/net/FileNameMap.java,
1597         java/net/SocketImplFactory.java,
1598         java/net/SocketOptions.java,
1599         java/net/URLStreamHandlerFactory.java:
1600         Merged new versions from classpath.
1601
1602 2003-05-25  Michael Koch  <konqueror@gmx.de>
1603
1604         * java/awt/Checkbox.java,
1605         java/awt/Dialog.java,
1606         java/awt/Font.java,
1607         java/awt/Frame.java,
1608         java/awt/ScrollPaneAdjustable.java,
1609         java/awt/Scrollbar.java,
1610         java/awt/Window.java:
1611         New versions from classpath.
1612
1613 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1614
1615         PR libgcj/10838:
1616         * java/io/ObjectInputStream (enableResolveObject):
1617         Fixed spelling of permission name.
1618
1619 2003-05-20  Michael Koch  <konqueror@gmx.de>
1620
1621         * java/io/DataInputStream.java
1622         (convertFromUTF): Merged comment from classpath.
1623         * java/io/PrintStream.java
1624         (error_occured): Renamed from error, merged comment from classpath.
1625         (PrintStream): No need to initialized error.
1626         (checkError): Replace error with error_occurred.
1627         (setError): Likewise.
1628
1629 2003-05-20  Michael Koch  <konqueror@gmx.de>
1630
1631         * java/io/DataInputStream.java:
1632         Reformatted, Replaced < and & with html entitites in documentation.
1633         * java/io/File.java:
1634         Reformatted.
1635         * java/io/PrintWriter.java:
1636         Moved class documentation.
1637
1638 2003-05-20  Michael Koch  <konqueror@gmx.de>
1639
1640         * gnu/java/nio/ByteBufferImpl.java,
1641         gnu/java/nio/CharBufferImpl.java,
1642         gnu/java/nio/CharViewBufferImpl.java,
1643         gnu/java/nio/DirectByteBufferImpl.java,
1644         gnu/java/nio/DoubleBufferImpl.java,
1645         gnu/java/nio/DoubleViewBufferImpl.java,
1646         gnu/java/nio/FloatBufferImpl.java,
1647         gnu/java/nio/FloatViewBufferImpl.java,
1648         gnu/java/nio/IntBufferImpl.java,
1649         gnu/java/nio/IntViewBufferImpl.java,
1650         gnu/java/nio/LongBufferImpl.java,
1651         gnu/java/nio/LongViewBufferImpl.java,
1652         gnu/java/nio/natDirectByteBufferImpl.cc,
1653         gnu/java/nio/ShortBufferImpl.java,
1654         gnu/java/nio/ShortViewBufferImpl.java:
1655         Moved files to java/nio.
1656         * gnu/java/nio/SocketChannelImpl.java
1657         
1658         * java/nio/ByteBuffer.java,
1659         java/nio/CharBuffer.java,
1660         java/nio/DoubleBuffer.java,
1661         java/nio/FloatBuffer.java,
1662         java/nio/IntBuffer.java,
1663         java/nio/LongBuffer.java,
1664         java/nio/ShortBuffer.java:
1665         Dont import anything.
1666         * java/nio/ByteBufferImpl.java,
1667         java/nio/CharBufferImpl.java,
1668         java/nio/CharViewBufferImpl.java,
1669         java/nio/DirectByteBufferImpl.java,
1670         java/nio/DoubleBufferImpl.java,
1671         java/nio/DoubleViewBufferImpl.java,
1672         java/nio/FloatBufferImpl.java,
1673         java/nio/FloatViewBufferImpl.java,
1674         java/nio/IntBufferImpl.java,
1675         java/nio/IntViewBufferImpl.java,
1676         java/nio/LongBufferImpl.java,
1677         java/nio/LongViewBufferImpl.java,
1678         java/nio/natDirectByteBufferImpl.cc,
1679         java/nio/ShortBufferImpl.java,
1680         java/nio/ShortViewBufferImpl.java:
1681         Moved from gnu/java/nio.
1682         * Makefile.am
1683         (ordinary_java_source_files): Moved files from gnu/java/nio to
1684         java/nio.
1685         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1686         to java/nio.
1687         * Makefile.in: Regenerated.
1688
1689 2003-05-19  Michael Koch  <konqueror@gmx.de>
1690
1691         * java/util/Calendar.java
1692         (get): Not final anymore since JDK 1.4
1693         (set): Likewise.
1694
1695 2003-05-19  Michael Koch  <konqueror@gmx.de>
1696
1697         * java/text/CollationKey.java:
1698         Merged copyright and dat from classpath.
1699         * java/text/RuleBasedCollator.java:
1700         Merged class documentation from classpath.
1701
1702 2003-05-19  Michael Koch  <konqueror@gmx.de>
1703
1704         * java/nio/CharBuffer.java
1705         (toString): Compile fix.
1706
1707 2003-05-19  Michael Koch  <konqueror@gmx.de>
1708
1709         * gnu/java/nio/ByteBufferImpl.java
1710         (putLong): Fixed conversion to bytes.
1711         (putDouble): Fixed conversion to bytes.
1712         * gnu/java/nio/DirectByteBufferImpl.java
1713         (putLong): Fixed conversion to bytes.
1714         (putDouble): Fixed conversion to bytes.
1715         * gnu/java/nio/FileLockImpl.java
1716         (isValid): Reformatted.
1717         * java/nio/Buffer.java
1718         (Buffer): Fixed off-by-one bug in handling mark.
1719         * java/nio/ByteBuffer.java:
1720         Added newline.
1721         * java/nio/CharBuffer.java
1722         (toString): Don't use relative get to get string data.
1723
1724 2003-05-16  Michael Koch  <konqueror@gmx.de>
1725
1726         * java/io/natFileDescriptorPosix.cc
1727         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1728         tested.
1729
1730 2003-05-14  Michael Koch  <konqueror@gmx.de>
1731
1732         * gnu/java/nio/FileLockImpl.java
1733         (released): New member variable.
1734         (FileLockImpl): Initialize released.
1735         (releaseImpl): New native method.
1736         (release): Implemented.
1737         * gnu/java/nio/SelectorImpl.java: Reformatted.
1738         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1739         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1740         (accept): Throws IOException.
1741         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1742         (implConfigureBlocking): Throws IOException.
1743         (connect): Likewise.
1744         (read): Likewise.
1745         (write): Likewise.
1746         * gnu/java/nio/natFileLockImpl.cc: New file.
1747         * java/nio/channels/FileLock.java: Reformatted.
1748         * Makefile.am:
1749         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1750         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1751         * Makefile.in: Regenerated.
1752
1753 2003-05-13  Michael Koch  <konqueror@gmx.de>
1754
1755         * gnu/java/nio/CharViewBufferImpl.java
1756         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1757         (get): Shift bits to the right direction.
1758         (put): Likewise.
1759         * gnu/java/nio/DoubleViewBufferImpl.java
1760         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1761         (get): Shift bits to the right direction.
1762         (put): Likewise.
1763         * gnu/java/nio/FloatViewBufferImpl.java
1764         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1765         (get): Shift bits to the right direction.
1766         (put): Likewise.
1767         * gnu/java/nio/IntViewBufferImpl.java
1768         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1769         (get): Shift bits to the right direction.
1770         (put): Likewise.
1771         * gnu/java/nio/LongViewBufferImpl.java
1772         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1773         (get): Shift bits to the right direction.
1774         (put): Likewise.
1775         * gnu/java/nio/ShortViewBufferImpl.java
1776         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1777         (get): Shift bits to the right direction.
1778         (put): Likewise.
1779
1780 2003-05-13  Michael Koch  <konqueror@gmx.de>
1781
1782         * gnu/java/nio/natDirectByteBufferImpl.cc
1783         (allocateImpl): jlong -> RawData*.
1784         (freeImpl): Likewise.
1785
1786 2003-05-13  Michael Koch  <konqueror@gmx.de>
1787
1788         * java/nio/channels/FileChannel.java
1789         (MapMode.m): Made it package-private to match JDK 1.4.
1790         * java/nio/charset/Charset.java
1791         (decode): Made it final to match JDK 1.4.
1792
1793 2003-05-13  Michael Koch  <konqueror@gmx.de>
1794
1795        * java/io/FileDescriptor.java
1796        (SYNC): New constant.
1797        (DSYNC): Likewise.
1798        (getLength): Renamed from lenght() to match classpath's
1799        FileDescriptor.java.
1800        * java/io/RandomAccessFile.java
1801        (RandomAccessFile): Removed unneeded mode check, implemented mode
1802        "rws" and "rwd", merged documentation from classpath.
1803        (setLength): Reformatted.
1804        (length): Use new getLength() of FileDescriptor.
1805        * java/io/natFileDescriptorEcos.cc
1806        (getLength): Renamed from length().
1807        * java/io/natFileDescriptorPosix.cc
1808        (open): Implemented support for SYNC and DSYNC.
1809        (seek): Use getLength() instead of length().
1810        (getLength): Renamed from length().
1811        * java/io/natFileDescriptorWin32.cc
1812        (getLength): Renamed from length().
1813        (seek): Use getLength() instead of length().
1814        (available): Likewise.
1815        * gnu/java/nio/natFileChannelImpl.cc
1816        (size): Use getLength() instead of length().
1817
1818 2003-05-13  Michael Koch  <konqueror@gmx.de>
1819
1820         * gnu/java/nio/ByteBufferImpl.java
1821         (ByteBufferImpl): All constructors revised.
1822         (slice): Reimplemented.
1823         (duplicate): Reimplemented.
1824         (asReadOnlyBuffer): Reimplemented.
1825         * java/nio/ByteBuffer.java:
1826         Reformatted.
1827         (array_offset): Renamed from "offset" to match all other buffer
1828         classes.
1829         (ByteBuffer): All constructors revised.
1830         (allocateDirect): Implemented.
1831         (allocate): New implementation, documentation reworked.
1832         (wrap): Likewise.
1833         (get): Documentation reworked.
1834         (put): New implementation, documentation reworked.
1835         (hasArray): Documentation reworked.
1836         (arrayOffset): Likewise.
1837         (hashCode): Likewise.
1838         (equals): Likewise.
1839         (compareTo): Likewise.
1840         (order): Likewise.
1841         (compact): Likewise.
1842         (isDirect): Likewise.
1843         (slice): Likewise.
1844         (duplicate): Likewise.
1845         (asReadOnlyBuffer): Likewise.
1846         * Makefile.am
1847         (ordinary_java_source_files):
1848         Added gnu/java/nio/DirectByteBufferImpl.java.
1849         (nat_source_files):
1850         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1851         * Makefile.in: Regenerated.
1852
1853 2003-05-12  Michael Koch  <konqueror@gmx.de>
1854
1855         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1856         (nio_get_*): Removed.
1857         (nio_put_*): Removed.
1858         (as*Buffer): Implemented.
1859         (compact): Implemented.
1860         (get): Documentation added.
1861         (put): Documentation added.
1862         (get*): Newly implemented.
1863         (put*): Newly implemented.
1864         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1865         (CharBufferImpl): Revised.
1866         (slice): New implementation.
1867         (duplicate): New implementation.
1868         (compact): New implementation.
1869         (asReadOnlyBuffer): New implementation.
1870         (get): Documentation revised.
1871         (order): Return native byte order.
1872         * gnu/java/nio/DirectByteBufferImpl.java
1873         (allocateDirect): objects can be null not 0.
1874         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1875         (DoubleBufferImpl): Revised.
1876         (slice): New implementation.
1877         (duplicate): New implementation.
1878         (compact): New implementation.
1879         (asReadOnlyBuffer): New implementation.
1880         (get): Documentation revised.
1881         (order): Return native byte order.
1882         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1883         (FloatBufferImpl): Revised.
1884         (slice): New implementation.
1885         (duplicate): New implementation.
1886         (compact): New implementation.
1887         (asReadOnlyBuffer): New implementation.
1888         (get): Documentation revised.
1889         (order): Return native byte order.
1890         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1891         (IntBufferImpl): Revised.
1892         (slice): New implementation.
1893         (duplicate): New implementation.
1894         (compact): New implementation.
1895         (asReadOnlyBuffer): New implementation.
1896         (get): Documentation revised.
1897         (order): Return native byte order.
1898         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1899         (LongBufferImpl): Revised.
1900         (slice): New implementation.
1901         (duplicate): New implementation.
1902         (compact): New implementation.
1903         (asReadOnlyBuffer): New implementation.
1904         (get): Documentation revised.
1905         (order): Return native byte order.
1906         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1907         (ShortBufferImpl): Revised.
1908         (slice): New implementation.
1909         (duplicate): New implementation.
1910         (compact): New implementation.
1911         (asReadOnlyBuffer): New implementation.
1912         (get): Documentation revised.
1913         (order): Return native byte order.
1914         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1915         (CharBuffer): Revised.
1916         (order): Removed.
1917         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1918         (DoubleBuffer): Revised.
1919         (allocateDirect): Removed.
1920         (order): Removed.
1921         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1922         (FloatBuffer): Revised.
1923         (allocateDirect): Removed.
1924         (order): Removed.
1925         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1926         (IntBuffer): Revised.
1927         (allocateDirect): Removed.
1928         (order): Removed.
1929         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1930         (LongBuffer): Revised.
1931         (allocateDirect): Removed.
1932         (order): Removed.
1933         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1934         (ShortBuffer): Revised.
1935         (allocateDirect): Removed.
1936         (order): Removed.
1937         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1938         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1939         * Makefile.am
1940         (ordinary_java_source_files): Added the following files:
1941         gnu/java/nio/CharViewBufferImpl.java,
1942         gnu/java/nio/DoubleViewBufferImpl.java,
1943         gnu/java/nio/FloatViewBufferImpl.java,
1944         gnu/java/nio/IntViewBufferImpl.java,
1945         gnu/java/nio/LongViewBufferImpl.java,
1946         gnu/java/nio/ShortViewBufferImpl.java
1947         (nat_source_files): Removed the following files:
1948         gnu/java/nio/natByteBufferImpl.cc,
1949         gnu/java/nio/natCharBufferImpl.cc
1950         * Makefile.in: Regenerated.
1951
1952 2003-05-12  Michael Koch  <konqueror@gmx.de>
1953
1954         * gnu/java/nio/CharViewBufferImpl.java,
1955         gnu/java/nio/DirectByteBufferImpl.java,
1956         gnu/java/nio/DoubleViewBufferImpl.java,
1957         gnu/java/nio/FloatViewBufferImpl.java,
1958         gnu/java/nio/IntViewBufferImpl.java,
1959         gnu/java/nio/LongViewBufferImpl.java,
1960         gnu/java/nio/ShortViewBufferImpl.java,
1961         gnu/java/nio/natDirectByteBufferImpl.cc:
1962         New files, not yet to be compiled.
1963
1964 2003-05-10  Michael Koch  <konqueror@gmx.de>
1965
1966         * javax/swing/plaf/ButtonUI.java,
1967         javax/swing/plaf/ColorUIResource.java,
1968         javax/swing/plaf/ComponentUI.java,
1969         javax/swing/plaf/DimensionUIResource.java,
1970         javax/swing/plaf/FontUIResource.java,
1971         javax/swing/plaf/IconUIResource.java,
1972         javax/swing/plaf/InsetsUIResource.java,
1973         javax/swing/plaf/LabelUI.java,
1974         javax/swing/plaf/ListUI.java,
1975         javax/swing/plaf/OptionPaneUI.java,
1976         javax/swing/plaf/PanelUI.java,
1977         javax/swing/plaf/TabbedPaneUI.java,
1978         javax/swing/plaf/TextUI.java,
1979         javax/swing/plaf/TreeUI.java,
1980         javax/swing/plaf/ViewportUI.java,
1981         javax/swing/plaf/basic/BasicBorders.java,
1982         javax/swing/plaf/basic/BasicButtonUI.java,
1983         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1984         javax/swing/plaf/basic/BasicDefaults.java,
1985         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1986         javax/swing/plaf/basic/BasicIconFactory.java,
1987         javax/swing/plaf/basic/BasicLabelUI.java,
1988         javax/swing/plaf/basic/BasicListUI.java,
1989         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1990         javax/swing/plaf/basic/BasicPanelUI.java,
1991         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1992         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1993         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1994         javax/swing/plaf/basic/BasicTextUI.java,
1995         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1996         javax/swing/plaf/basic/BasicTreeUI.java,
1997         javax/swing/plaf/basic/BasicViewportUI.java,
1998         javax/swing/plaf/metal/MetalLookAndFeel.java:
1999         New versions from classpath. This adds copyrights to all files and
2000         some serialVersionUIDs.
2001
2002 2003-05-10  Michael Koch  <konqueror@gmx.de>
2003
2004         * java/nio/CharBuffer.java
2005         (offset): Make it package-private.
2006         (backing_buffer): Likewise.
2007         * java/nio/DoubleBuffer.java
2008         (offset): Make it package-private.
2009         (backing_buffer): Likewise.
2010         (put): Reformatted.
2011         * java/nio/FloatBuffer.java
2012         (offset): Make it package-private.
2013         (backing_buffer): Likewise.
2014         * java/nio/IntBuffer.java
2015         (offset): Make it package-private.
2016         (backing_buffer): Likewise.
2017         * java/nio/LongBuffer.java
2018         (offset): Make it package-private.
2019         (backing_buffer): Likewise.
2020         * java/nio/ShortBuffer.java
2021         (offset): Make it package-private.
2022         (backing_buffer): Likewise.
2023
2024 2003-05-10  Michael Koch  <konqueror@gmx.de>
2025
2026         * java/nio/CharBuffer.java
2027         (put): Fixed precondtion check.
2028         (toString): Make it work without backing array.
2029         (put): Skip one level of method calling.
2030
2031 2003-05-10  Michael Koch  <konqueror@gmx.de>
2032
2033         * java/security/Identity.java,
2034         java/security/IdentityScope.java,
2035         java/security/Key.java,
2036         java/security/KeyPair.java,
2037         java/security/PrivateKey.java,
2038         java/security/Provider.java,
2039         java/security/PublicKey.java,
2040         java/security/SecureRandom.java,
2041         java/security/SecureRandomSpi.java,
2042         java/security/SignedObject.java,
2043         java/security/Signer.java,
2044         java/security/cert/Certificate.java,
2045         java/security/cert/PKIXCertPathBuilderResult.java,
2046         java/security/cert/X509Certificate.java:
2047         New versions from classpath.
2048
2049 2003-05-09  Tom Tromey  <tromey@redhat.com>
2050
2051         * Makefile.in: Rebuilt.
2052         * Makefile.am (nat_source_files): Removed old files.
2053         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2054         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2055         * gnu/java/nio/natIntBufferImpl.cc: Removed.
2056         * gnu/java/nio/natLongBufferImpl.cc: Removed.
2057         * gnu/java/nio/natShortBufferImpl.cc: Removed.
2058
2059 2003-05-09  Michael Koch  <konqueror@gmx.de>
2060
2061         * gnu/java/nio/ByteBufferImpl.java
2062         (nio_cast): Removed.
2063         (ByteBufferImpl): Removed.
2064         (nio_get_Byte): Removed.
2065         (nio_put_Byte): Removed.
2066         (asByteBuffer): Removed.
2067         (asCharBuffer): Removed implementation and throw exception.
2068         (asShortBuffer): Likewise.
2069         (asIntBuffer): Likewise.
2070         (asLongBuffer): Likewise.
2071         (asFloatBuffer): Likewise.
2072         (asDoubleBuffer): Likewise.
2073         * gnu/java/nio/CharBufferImpl.java
2074         (CharBufferImpl): Removed.
2075         (nio_get_Byte): Removed.
2076         (nio_put_Byte): Removed.
2077         (asByteBuffer): Removed.
2078         * gnu/java/nio/DoubleBufferImpl.java
2079         (DoubleBufferImpl): Removed.
2080         (nio_get_Byte): Removed.
2081         (nio_put_Byte): Removed.
2082         (asByteBuffer): Removed.
2083         * gnu/java/nio/FloatBufferImpl.java
2084         (FloatBufferImpl): Removed.
2085         (nio_get_Byte): Removed.
2086         (nio_put_Byte): Removed.
2087         (asByteBuffer): Removed.
2088         * gnu/java/nio/IntBufferImpl.java
2089         (IntBufferImpl): Removed.
2090         (nio_get_Byte): Removed.
2091         (nio_put_Byte): Removed.
2092         (asByteBuffer): Removed.
2093         * gnu/java/nio/LongBufferImpl.java
2094         (LongBufferImpl): Removed.
2095         (nio_get_Byte): Removed.
2096         (nio_put_Byte): Removed.
2097         (asByteBuffer): Removed.
2098         * gnu/java/nio/ShortBufferImpl.java
2099         (ShortBufferImpl): Removed.
2100         (nio_get_Byte): Removed.
2101         (nio_put_Byte): Removed.
2102         (asByteBuffer): Removed.
2103         * gnu/java/nio/natByteBufferImpl.cc
2104         (nio_cast): Removed.
2105         (nio_get_Byte): Removed.
2106         (nio_put_Byte): Removed.
2107         * gnu/java/nio/natCharBufferImpl.cc
2108         (nio_get_Byte): Removed.
2109         (nio_put_Byte): Removed.
2110
2111 2003-05-09  Michael Koch  <konqueror@gmx.de>
2112
2113         * java/net/JarURLConnection.java
2114         (getJarEntry): Merged documentation from classpath.
2115         (getJarFile): Likewise.
2116         (getMainAttributes): Likewise.
2117         (getAttributes): Likewise.
2118         (getManifest): Likewise.
2119         (getCertificates): Reformatted.
2120         * java/net/URLConnection.java:
2121         Little classpath merge.
2122
2123 2003-05-09  Michael Koch  <konqueror@gmx.de>
2124
2125         * java/io/DataOutputStream.java
2126         (writeShort): Made it synchronized.
2127         (writeChar): Likewise.
2128         (writeInt): Likewise.
2129         (writeLong): Liekwise.
2130         (writeUTF): Made it synchronized, renamed argument to match classpath.
2131         * java/io/InputStreamReader.java
2132         (converter): Added documentation.
2133         (read): Merged documentation from classpath.
2134         * java/io/OutputStreamWriter.java
2135         (OutputStreamWriter): Merged documentation from classpath.
2136         (close): Reformatted.
2137         (getEncoding): Likewise.
2138         (flush): Likewise.
2139         (write): Merged documentation from classpath, reformatted.
2140
2141 2003-05-08  Tom Tromey  <tromey@redhat.com>
2142
2143         * configure.host <powerpc64*-*>: Set with_libffi_default and
2144         libgcj_interpreter to "yes".
2145
2146 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
2147
2148         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2149         
2150 2003-05-06  Tom Tromey  <tromey@redhat.com>
2151
2152         * verify.cc: Reverted previous patch.
2153
2154 2003-05-06  Michael Koch  <konqueror@gmx.de>
2155
2156         * java/io/DataOutputStream.java
2157         (write): Renamed argument to "value", merged documentation from
2158         classpath.
2159         (writeBoolean): Likewise.
2160         (writeByte): Likewise.
2161         (writeShort): Likewise.
2162         (writeChar): Likewise.
2163         (writeInt): Likewise.
2164         (writeLong): Likewise.
2165         (writeFloat): Likewise.
2166         (writeDouble): Likewise.
2167         (writeBytes): Likewise.
2168         (writeChars): Likewise.
2169         (writeUTF): Likewise.
2170         * java/io/File.java
2171         (performDelete): Added documentation.
2172         (performList): Likewise.
2173         (performMkdir): Likewise.
2174         (performSetReadOnly): Likewise.
2175         (performRenameTo): Likewise.
2176         (performSetLastModified): Likewise.
2177         (delete): Made it sychronized.
2178         (renameTo): Made it sychronized.
2179         (equals): Reformatted.
2180         (isHidden): Likewise.
2181         (listFiles): Likewise.
2182         (setReadOnly): Likewise.
2183         (listRoots): Likewise.
2184         (setLastModified): Likewise.
2185         (checkRead): Likewise.
2186         (checkWrite): Likewise.
2187         * java/io/FileInputStream.java
2188         (skip): Made it sychronized, merged from classpath.
2189         * java/io/FileOutputStream.java
2190         (write): Merged from classpath.
2191         * java/io/InputStreamReader.java:
2192         (InputStreamReader): Merged documentation from classpath.
2193
2194 2003-05-05  Michael Koch  <konqueror@gmx.de>
2195
2196         * java/net/NetworkInterface.java
2197         (networkInterfaces): Removed.
2198         (getByName): Use getRealNetworkInterfaces() instead of
2199         networkInterfaces.
2200         (getByInetAddress): Likewise.
2201         (getNetworkInterfaces): Likewise.
2202         (toString): Fix output of addresses of an interface.
2203
2204 2003-05-05  Michael Koch  <konqueror@gmx.de>
2205
2206         * java/io/DataInputStream.java:
2207         Merged new documentation from classpath.
2208
2209 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2210
2211         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2212         "version".
2213         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2214         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2215         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2216         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2217         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2218         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2219         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2220         * java/security/Key.java: Likewise.
2221         * java/security/PrivateKey.java: Likewise.
2222         * java/security/Provider.java: Likewise.
2223         * java/security/PublicKey.java: Likewise.
2224
2225 2003-05-02  Michael Koch  <konqueror@gmx.de>
2226
2227         * java/net/URI.java
2228         (create): Doesnt throws any exceptions.
2229         * java/net/URLConnection.java
2230         (URLConnection): Commend added.
2231         (getExpiration): The header field is called "expires" not
2232         "expiration".
2233         (getHeaderField): Merged documentation with classpath.
2234         (getHeaderFieldInt): Likewise.
2235         (getHeaderFieldDate): Likewise.
2236         (getHeaderFieldKey): Likewise.
2237         (getPermission): Likewise.
2238         (setDefaultUseCaches): Likewise.
2239         (setRequestProperty): Likewise.
2240         (addRequestProperty): Likewise.
2241         (getRequestProperty): Likewise.
2242         (getRequestProperties): Likewise.
2243         (setDefaultRequestProperty): Likewise.
2244         (getDefaultRequestProperty): Likewise.
2245         (guessContentTypeFromStream): Likewise.
2246         (getFileNameMap): Likewise.
2247         (setFileNameMap): Likewise.
2248         (setDoInput): Merged implementation and documentation with classpath.
2249         (setDoOutput): Likewise.
2250         (setAllowUserInteraction): Likewise.
2251         (setDefaultAllowUserInteraction): Likewise.
2252         (setContentHandlerFactory): Made it synchronized, merged documentation
2253         with classpath.
2254         (guessContentTypeFromName): Renamed argument fname to filename to
2255         match classpath, merged documentation with classpath.
2256
2257 2003-05-02  Michael Koch  <konqueror@gmx.de>
2258
2259         * java/net/JarURLConnection.java
2260         (JarURLConnection): Class documentation merged with classpath.
2261         (getJarFileURL): Moved and documentation merged with classpath.
2262         (getEntryName): Likewise.
2263         (JarURLConnection): Documentation merged with classpath.
2264         (getJarEntry): Likewise.
2265         (getJarFile): Likewise.
2266         * java/net/PlainDatagramSocketImpl.java:
2267         Class documentation moved.
2268         * java/net/URLConnection.java
2269         (fileNameMap): Moved and documentation merged with classpath.
2270         (factory): Likewise.
2271         (defaultAllowUserInteraction): Likewis.
2272         (defaultUseCaches): Likewise.
2273         (allowUserInteraction): Likewise.
2274         (connected): Likewise.
2275         (url): Likewise.
2276         (connect): Documentation merged with classpath.
2277         (getURL): Likewise.
2278         (getContentLength): Likewise.
2279         (getContentType): Likewise.
2280         (getContentEncoding): Likewise.
2281         (getExpiration): Likewise.
2282         (getDate): Likewise.
2283         (getLastModified): Likewise.
2284         (getHeaderField): Likewise.
2285         (getContent): Likewise.
2286         (getPermission): Likewise.
2287         (getInputStream): Likewise.
2288         (getOutputStream): Likewise.
2289         (toString): Likewise.
2290         (getDoInput): Likewise.
2291         (getDoOutput): Likewise.
2292         (setAllowUserInteraction): Likewise.
2293         (getAllowUserInteraction): Likewise.
2294         (setDefaultAllowUserInteraction): Likewise.
2295         (getDefaultAllowUserInteraction): Likewise.
2296         (setUseCaches): Likewise.
2297         (getUseCaches): Likewise.
2298         (setIfModifiedSince): Likewise.
2299         (getIfModifiedSince): Likewise.
2300         (setDefaultRequestProperty): Likewise.
2301         (getDefaultRequestProperty): Likewise.
2302         (setContentHandlerFactory): Likewise.
2303         (setFileNameMap): Likewise.
2304
2305 2003-05-02  Michael Koch  <konqueror@gmx.de>
2306
2307         * java/net/InetAddress.java:
2308         Merged class documentation with classpath.
2309         * java/net/JarURLConnection.java:
2310         Explicitely import all used classes.
2311         * java/net/URL.java:
2312         Reformatting.
2313         * java/net/ServerSocket.java,
2314         java/net/Socket.java:
2315         New versions from classpath.
2316
2317 2003-05-02  Michael Koch  <konqueror@gmx.de>
2318
2319         * gnu/java/nio/FileChannelImpl.java
2320         (read): New implementation.
2321         (implRead): New methods.
2322         (write): New implementation, call other write insteal of read method.
2323         (implWrite): New methods.
2324         (map): Added comment.
2325         (transferFrom): Implemented.
2326         (transferTo): Implemented.
2327         (lock): Added checks to throw exceptions.
2328         (truncate): Added check to throw exception.
2329         * gnu/java/nio/natFileChannelImpl.cc
2330         (implRead): New method.
2331         (implWrite): New method.
2332         * java/nio/ByteBuffer.java
2333         (hashCode): Fixed comment.
2334         (get): Fixed exception documentation.
2335         (put): Fixed exception documentation.
2336         * java/nio/CharBuffer.java:
2337         Added comment for later optimizations.
2338
2339 2003-04-30  Tom Tromey  <tromey@redhat.com>
2340
2341         PR libgcj/10582:
2342         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2343         Removed.
2344         (type::compatible): Use _Jv_IsAssignableFrom.
2345         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2346         (_Jv_IsAssignableFrom): Work even when source or target class is
2347         not prepared.
2348
2349 2003-04-30  Michael Koch  <konqueror@gmx.de>
2350
2351         * java/text/BreakIterator.java
2352         (clone): New method.
2353
2354 2003-04-30  Michael Koch  <konqueror@gmx.de>
2355
2356         * java/text/CollationElementIterator.java,
2357         java/text/CollationKey.java,
2358         java/text/RuleBasedCollator.java:
2359         Merged copyright and documentation from classpath and
2360         rearranged some code. No code changes done.
2361
2362 2003-04-30  Michael Koch  <konqueror@gmx.de>
2363
2364         * java/util/regex/Matcher.java
2365         (pattern): New member variable.
2366         (appendReplacement): New method.
2367         (appendTail): New method.
2368         (end): New method.
2369         (find): New method.
2370         (group): New method.
2371         (replaceFirst): Added documentation.
2372         (replaceAll): Added documentation.
2373         (groupCount): New method.
2374         (lookingAt): New method.
2375         (matches): New method.
2376         (reset): New method.
2377         (start): New method.
2378         * java/util/regex/Pattern.java
2379         (serialVersionUID): New constant.
2380         (CANON_EQ): New constant.
2381         (CASE_INSENSITIVE): New constant.
2382         (COMMENTS): New constant.
2383         (DOTALL): New constant.
2384         (MULTILINE): New constant.
2385         (UNICODE_CASE): New constant.
2386         (UNIX_LINES): New constant.
2387         (regex): New member variable.
2388         (flags): New member variable.
2389         (Pattern): New method.
2390         (compile): Documentation added.
2391         (flags): New method.
2392         (matches): Documentation added.
2393         (matcher): Documentation added.
2394         (split): Documentation added.
2395         (pattern): New method.
2396
2397 2003-04-30  Michael Koch  <konqueror@gmx.de>
2398
2399         * gnu/java/security/Engine.java,
2400         gnu/java/security/OID.java,
2401         gnu/java/security/der/BitString.java,
2402         gnu/java/security/der/DER.java,
2403         gnu/java/security/der/DERReader.java,
2404         gnu/java/security/der/DERValue.java,
2405         gnu/java/security/der/DERWriter.java,
2406         gnu/java/security/provider/DSAKeyFactory.java,
2407         gnu/java/security/provider/X509CertificateFactory.java,
2408         gnu/java/security/x509/X500DistinguishedName.java,
2409         gnu/java/security/x509/X509CRL.java,
2410         gnu/java/security/x509/X509CRLEntry.java,
2411         gnu/java/security/x509/X509Certificate.java,
2412         java/security/cert/CRLSelector.java,
2413         java/security/cert/CertPathBuilder.java,
2414         java/security/cert/CertPathBuilderResult.java,
2415         java/security/cert/CertPathBuilderSpi.java,
2416         java/security/cert/CertPathParameters.java,
2417         java/security/cert/CertPathValidator.java,
2418         java/security/cert/CertPathValidatorResult.java,
2419         java/security/cert/CertPathValidatorSpi.java,
2420         java/security/cert/CertSelector.java,
2421         java/security/cert/CertStore.java,
2422         java/security/cert/CertStoreParameters.java,
2423         java/security/cert/CertStoreSpi.java,
2424         java/security/cert/CollectionCertStoreParameters.java,
2425         java/security/cert/LDAPCertStoreParameters.java,
2426         java/security/cert/PKIXBuilderParameters.java,
2427         java/security/cert/PKIXCertPathBuilderResult.java,
2428         java/security/cert/PKIXCertPathChecker.java,
2429         java/security/cert/PKIXCertPathValidatorResult.java,
2430         java/security/cert/PKIXParameters.java,
2431         java/security/cert/PolicyNode.java,
2432         java/security/cert/PolicyQualifierInfo.java,
2433         java/security/cert/TrustAnchor.java,
2434         javax/security/auth/x500/X500Principal.java:
2435         New files from classpath.
2436         * gnu/java/io/ASN1ParsingException.java,
2437         gnu/java/io/Base64InputStream.java,
2438         gnu/java/security/der/DEREncodingException.java,
2439         gnu/java/security/provider/DSAParameters.java,
2440         gnu/java/security/provider/DSASignature.java,
2441         gnu/java/security/provider/Gnu.java,
2442         gnu/java/security/provider/GnuDSAPrivateKey.java,
2443         gnu/java/security/provider/GnuDSAPublicKey.java,
2444         java/security/AlgorithmParameterGenerator.java,
2445         java/security/AlgorithmParameters.java,
2446         java/security/KeyFactory.java,
2447         java/security/KeyPairGenerator.java,
2448         java/security/KeyStore.java,
2449         java/security/MessageDigest.java,
2450         java/security/SecureClassLoader.java,
2451         java/security/SecureRandom.java,
2452         java/security/Security.java,
2453         java/security/Signature.java,
2454         java/security/cert/Certificate.java,
2455         java/security/cert/CertificateFactory.java,
2456         java/security/cert/CertificateFactorySpi.java,
2457         java/security/cert/X509CRL.java,
2458         java/security/cert/X509Certificate.java,
2459         java/security/spec/DSAPublicKeySpec.java:
2460         New versions from classpath.
2461         * gnu/java/security/provider/DERReader.java,
2462         gnu/java/security/provider/DERWriter.java,
2463         java/security/Engine.java: Removed.
2464         * Makefile.am
2465         (java_source_files, javax_source_files): Added new files.
2466         * Makefile.in: Regenerated.
2467
2468 2003-04-29  Michael Koch  <konqueror@gmx.de>
2469
2470         * javax/swing/JTable.java
2471         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2472         (AUTO_RESIZE_LAST_COLUMN): New constant.
2473         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2474         (AUTO_RESIZE_OFF): New constant.
2475         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2476         (JTable): New method.
2477         (columnAdded): New method.
2478         (columnMarginChanged): New method.
2479         (columnMoved): New method.
2480         (columnRemoved): New method.
2481         (columnSelectionChanged): New method.
2482         (editingCanceled): New method.
2483         (editingStopped): New method.
2484         (getColumnModel): New method.
2485         (getPreferredScrollableViewportSize): New method.
2486         (getScrollableBlockIncrement): New method.
2487         (getScrollableTracksViewportHeight): New method.
2488         (getScrollableTracksViewportWidth): New method.
2489         (getScrollableUnitIncrement): New method.
2490         (getSelectedRow): New method.
2491         (getSelectionModel): New method.
2492         (tableChanged): New method.
2493         (setModel): New method.
2494         (setSelectionMode): New method.
2495         (setSelectionModel): New method.
2496         (setShowGrid): New method.
2497         (valueChanged): New method.
2498         * javax/swing/text/DefaultEditorKit.java
2499         (backwardAction): New constant.
2500         (beepAction): New constant.
2501         (beginAction): New constant.
2502         (beginLineAction): New constant.
2503         (beginParagraphAction): New constant.
2504         (beginWordAction): New constant.
2505         (copyAction): New constant.
2506         (cutAction): New constant.
2507         (defaultKeyTypedAction): New constant.
2508         (deleteNextCharAction): New constant.
2509         (deletePrevCharAction): New constant.
2510         (downAction): New constant.
2511         (endAction): New constant.
2512         (endLineAction): New constant.
2513         (endOfLineStringProperty): New constant.
2514         (endParagraphAction): New constant.
2515         (endWordAction): New constant.
2516         (forwardAction): New constant.
2517         (insertBreakAction): New constant.
2518         (insertContentAction): New constant.
2519         (insertTabAction): New constant.
2520         (nextWordAction): New constant.
2521         (pageDownAction): New constant.
2522         (pageUpAction): New constant.
2523         (pasteAction): New constant.
2524         (previousWordAction): New constant.
2525         (readOnlyAction): New constant.
2526         (selectAllAction): New constant.
2527         (selectionBackwardAction): New constant.
2528         (selectionBeginAction): New constant.
2529         (selectionBeginLineAction): New constant.
2530         (selectionBeginParagraphAction): New constant.
2531         (selectionBeginWordAction): New constant.
2532         (selectionDownAction): New constant.
2533         (selectionEndAction): New constant.
2534         (selectionEndLineAction): New constant.
2535         (selectionEndParagraphAction): New constant.
2536         (selectionEndWordAction): New constant.
2537         (selectionForwardAction): New constant.
2538         (selectionNextWordAction): New constant.
2539         (selectionPreviousWordAction): New constant.
2540         (selectionUpAction): New constant.
2541         (selectLineAction): New constant.
2542         (selectParagraphAction): New constant.
2543         (selectWordAction): New constant.
2544         (upAction): New constant.
2545         (writableAction): New constant.
2546
2547 2003-04-29  Michael Koch  <konqueror@gmx.de>
2548
2549         * java/util/PropertyPermission.java:
2550         New version from classpath
2551         * java/util/ResourceBundle.java:
2552         Partly merged from classpath
2553         (getObject): Reformated.
2554         (tryBundle): Set foundBundle = null if no bundle found.
2555
2556 2003-04-29  Michael Koch  <konqueror@gmx.de>
2557
2558         * javax/swing/AbstractListModel.java,
2559         javax/swing/DefaultBoundedRangeModel.java,
2560         javax/swing/DefaultSingleSelectionModel.java:
2561         New Versions from classpath.
2562
2563 2003-04-29  Michael Koch  <konqueror@gmx.de>
2564
2565         * java/awt/Window.java
2566         (show): Call super.show() instead of setVisible() to avoid endless
2567         loop.
2568         (hide): Call super.hide() instead of setVisible() to avoid endless
2569         loop.
2570
2571 2003-04-29  Michael Koch  <konqueror@gmx.de>
2572
2573         * java/util/zip/Deflater.java,
2574         java/util/zip/DeflaterOutputStream.java:
2575         Partly merged with classpath.
2576
2577 2003-04-27  Tom Tromey  <tromey@redhat.com>
2578
2579         * java/lang/natString.cc (_Jv_AllocString): Initialize
2580         cachedHashCode.
2581         (init): Likewise.
2582         (_Jv_NewStringUtf8Const): Likewise.
2583
2584 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2585
2586         * include/jvm.h: (_Jv_GetNbArgs) added
2587         (_Jv_GetSafeArg) added
2588         (_Jv_SetArgs) added
2589         * prims.cc: (_Jv_GetNbArgs) implemented
2590         (_Jv_GetSafeArg) implemented
2591         (_Jv_SetArgs) implemented
2592         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2593         setting _Jv_argc and _Jv_argv
2594         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2595         instead of _Jv_argv
2596         * java/lang/natRuntime.cc: (insertSystemProperties) use
2597         _Jv_GetSafeArg() instead of _Jv_argv
2598
2599 2003-04-23  Tom Tromey  <tromey@redhat.com>
2600
2601         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2602         required by this object.  Search superclasses to find required
2603         alignment.
2604         (get_alignment_from_class): Use alignment of type as it appears
2605         in a struct.
2606         (ALIGNOF): New macro.
2607         (struct aligner): New helper structure.
2608
2609 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2610
2611         * java/awt/Container.java (addImpl): Enable paint events if adding
2612         a lightweight to a heavyweight.
2613         (addNotify): Ensure that peer is created before
2614         addNotifyContainerChildren.
2615         (addNotifyContainerChildren): Enable paint events if a heavyweight
2616         container contains a lightweight.
2617
2618 2003-04-20  Tom Tromey  <tromey@redhat.com>
2619
2620         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2621         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2622         Classpath.
2623
2624 2003-04-19  Tom Tromey  <tromey@redhat.com>
2625
2626         * java/sql/Date.java, java/sql/DriverManager.java,
2627         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2628         Classpath.
2629
2630         * Makefile.in: Rebuilt.
2631         * Makefile.am (ordinary_java_source_files): Added new files.
2632         * java/security/AlgorithmParameterGenerator.java,
2633         java/security/AlgorithmParameters.java, java/security/Engine.java,
2634         java/security/Identity.java, java/security/IdentityScope.java,
2635         java/security/KeyFactory.java,
2636         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2637         java/security/MessageDigest.java, java/security/Policy.java,
2638         java/security/ProtectionDomain.java,
2639         java/security/SecureRandom.java, java/security/Security.java,
2640         java/security/Signature.java, java/security/SignatureSpi.java,
2641         java/security/SignedObject.java, java/security/Signer.java,
2642         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2643         java/security/spec/PSSParameterSpec.java,
2644         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2645         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2646         Classpath.
2647
2648 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2649
2650         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2651         (dispose): Null metrics.
2652         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2653         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2654         finalize.
2655         (finalize): Call dispose.
2656         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2657         (gcCachedCount): New field.
2658         (finalize): New method.
2659         (putGCInCache): New method.
2660         (getGCFromCache): New method.
2661         * gnu/gcj/xlib/GC.java (GC): Make protected.
2662         (clone): Get new GC from cache if possible.
2663         (create): New static method.
2664         (dispose): Save old GC in cache.
2665         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2666         deleting.
2667         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2668         is null.
2669         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2670         * java/awt/Container.java (visitChild): Dispose gfx2 when
2671         finished.
2672
2673 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2674
2675         * java/math/BigInteger.java (probablePrime): New.
2676         * java/math/BigDecimal.java (unscaledValue): New.
2677
2678 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2679
2680         * java/io/File.java (getAbsolutePath): On Windows, take care
2681         of paths like "C:", "G:foo\bar", etc.
2682         (getName): Make it work correctly on Windows.
2683         (getParent): Make it work correctly on Windows. For UNIX,
2684         fix bug that causes "/" to be returned as the parent of "/",
2685         instead of null as returned by Sun's JRE.
2686
2687         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2688
2689 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2690
2691         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2692         inner class.
2693         (CACHE_SIZE_PER_DISPLAY): New field
2694         (fontMetricsCache): New field
2695         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2696         loading ISO10646-1 fonts.
2697
2698 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2699
2700         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2701         characters.
2702         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2703         characters.
2704
2705 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2706
2707         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2708         floating point.
2709
2710 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2711
2712         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2713         installed libpthread is either linuxthreads with floating stacks or
2714         NPTL.
2715
2716 2003-04-14  Tom Tromey  <tromey@redhat.com>
2717
2718         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2719         of alignment.
2720
2721 2003-04-10  Tom Tromey  <tromey@redhat.com>
2722
2723         * verify.cc (pop64): Removed.
2724         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2725         exception if top-of-stack is narrow.
2726         (initialize_stack): Check to ensure that <init> is not static and
2727         <clinit> is.
2728
2729 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2730
2731         * java/io/ObjectStreamException
2732         * java/io/FileFilter
2733         * java/io/FilenameFilter
2734         * java/io/ObjectInput
2735         * java/io/ObjectOutput
2736         * java/io/ObjectStreamConstants
2737         Minor doc fixes, format fixes, spelling corrections, etc.
2738         * java/io/DataInput
2739         Corrected code samples in Javadocs to match reality
2740         * java/io/DataOutput
2741         * java/io/ObjectInputValidation
2742         Major documentation fixes - all Javadocs re-written or updated
2743
2744 2003-04-06  Michael Koch  <konqueror@gmx.de>
2745
2746         * java/net/URLConnection.java:
2747         Import classes directly.
2748         (URLConnection): Merged class documentation with classpath.
2749         (url): Moved, documentation from classpath added.
2750         (doInput): Moved, documentation from classpath added.
2751         (doOutput): Moved, documentation from classpath added.
2752         (allowUserInteraction): Moved.
2753         (useCaches): Moved, documentation from classpath added.
2754         (ifModifiedSince): Moved, documentation from classpath added.
2755         (connected): Moved, documentation from classpath added.
2756
2757 2003-04-06  Michael Koch  <konqueror@gmx.de>
2758
2759         * java/io/FileInputStream.java
2760         (skip): Renamed some variables to match classpath, added
2761         checks from classpath.
2762
2763 2003-03-31  Michael Koch  <konqueror@gmx.de>
2764
2765         * javax/swing/AbstractAction.java
2766         (AbstractAction): Reformatted.
2767         (serialVersionUID): New private member variable.
2768         * javax/swing/plaf/BorderUIResource.java
2769         (serialVersionUID): New private member variable.
2770         * javax/swing/plaf/basic/BasicLookAndFeel.java
2771         (serialVersionUID): New private member variable.
2772
2773 2003-03-31  Michael Koch  <konqueror@gmx.de>
2774
2775         * java/sql/Date.java
2776         (valueOf): Deprecated, reformatted.
2777         (toString): Deprecated, reformatted.
2778         * java/sql/Time.java
2779         (valueOf): Deprecated, reformatted.
2780         (toString): Deprecated, reformatted.
2781
2782 2003-03-31  Michael Koch  <konqueror@gmx.de>
2783
2784         * java/rmi/dgc/VMID.java
2785         (isUnique): Deprecated.
2786
2787 2003-03-31  Michael Koch  <konqueror@gmx.de>
2788
2789         * java/io/File.java
2790         (separator): Merged documentation from classpath.
2791         (separatorChar): Merged documentation from classpath.
2792         (pathSeparator): Merged documentation from classpath.
2793         (pathSeparatorChar): Merged documentation from classpath.
2794         (path): Merged documentation from classpath.
2795         (canRead): Merged documentation from classpath.
2796         (canWrite): Merged documentation from classpath.
2797         (createNewFile): Merged documentation from classpath.
2798         (delete): Merged documentation from classpath.
2799         (equals): Merged documentation from classpath.
2800         (exists): Merged documentation from classpath.
2801         (File): Renamed p to name to match classpath, merged documentation
2802         from classpath.
2803         (getAbsolutePath): Merged documentation from classpath.
2804         (getCanonicalPath): Merged documentation from classpath.
2805         (getCanonicalFile): Merged documentation from classpath.
2806         (getName): Merged documentation from classpath.
2807         (getParent): Merged documentation from classpath.
2808         (getParentFile): Merged documentation from classpath.
2809         (getPath): Merged documentation from classpath.
2810         (hashCode): Merged documentation from classpath.
2811         (isAbsolute): Merged documentation from classpath.
2812         (isDirectory): Merged documentation from classpath.
2813         (isFile): Merged documentation from classpath.
2814         (isHidden): Merged documentation from classpath.
2815         (lastModified): Merged documentation from classpath.
2816         (length): Merged documentation from classpath.
2817         (list): Merged documentation from classpath.
2818         (listFiles): Merged documentation from classpath.
2819         (toString): Merged documentation from classpath.
2820         (toURL): Merged documentation from classpath.
2821         (mkdir): Merged documentation from classpath.
2822         (mkdirs): Merged documentation from classpath.
2823         (createTempFile): Merged documentation from classpath.
2824         (setReadOnly): Merged documentation from classpath.
2825         (listRoots): Merged documentation from classpath.
2826         (compareTo): Merged documentation from classpath.
2827         (renameTo): Merged documentation from classpath.
2828         (setLastModified): Merged documentation from classpath.
2829         * java/io/PrintStream.java
2830         (auto_flush): Merged documentation from classpath.
2831         (PrintStream): Merged documentation from classpath.
2832         (checkError): Merged documentation from classpath.
2833         (setError): Merged documentation from classpath.
2834         (close): Merged documentation from classpath.
2835         (flush): Merged documentation from classpath.
2836         (print): Merged documentation from classpath.
2837         (println):  Merged documentation from classpath.
2838         (write): Renamed count to len to match classpath,
2839         merged documentation from classpath.
2840         * java/io/RandomAccessFile.java
2841         (readShort): Merged documentation from classpath.
2842         (readUnsignedByte): Merged documentation from classpath.
2843         (readUnsignedShort): Merged documentation from classpath.
2844         (readUTF): Merged documentation from classpath.
2845         (seek): Reformatted, merged documentation from classpath.
2846         (skipBytes): Renamed some variables to match classpath, reformatted,
2847         merged documentation from classpath.
2848         (write): Merged documentation from classpath.
2849         (writeBoolean): Merged documentation from classpath.
2850         (writeByte): Merged documentation from classpath.
2851         (writeShort): Merged documentation from classpath.
2852         (writeChar): Merged documentation from classpath.
2853         (writeInt): Merged documentation from classpath.
2854         (writeLong): Merged documentation from classpath.
2855         (writeFloat): Merged documentation from classpath.
2856         (writeDouble): Merged documentation from classpath.
2857         (writeBytes): Merged documentation from classpath.
2858         (writeChars): Merged documentation from classpath.
2859         (writeUTF): Reformatted.
2860         (getChannel): Reformatted.
2861
2862 2003-03-31  Michael Koch  <konqueror@gmx.de>
2863
2864         * java/awt/font/TextAttribute.java
2865         (readResolve): Throws java.io.InvalidObjectException.
2866
2867 2003-03-31  Michael Koch  <konqueror@gmx.de>
2868
2869         * java/rmi/server/LoaderHandler.java
2870         (loadClass): Deprecated.
2871         (getSecurityContext): Deprecated.
2872         * java/rmi/server/LogStream.java
2873         (getDefaultStream): Deprecated.
2874         (setDefaultStream): Deprecated.
2875         (getOutputStream): Deprecated.
2876         (setOutputStream): Deprecated.
2877         (write): Deprecated.
2878         (toString): Deprecated.
2879         (parseLevel): Deprecated.
2880         * java/rmi/server/Operation.java
2881         (Operation): Deprecated.
2882         (getOperation): Deprecated.
2883         (toString): Deprecated.
2884         * java/rmi/server/RemoteCall.java
2885         (getOutputStream): Deprecated.
2886         (releaseOutputStream): Deprecated.
2887         (getInputStream): Deprecated.
2888         (releaseInputStream): Deprecated.
2889         (getResultStream): Deprecated.
2890         (executeCall): Deprecated.
2891         (done): Deprecated.
2892         * java/rmi/server/RemoteRef.java
2893         (invoke): Deprecated.
2894         (newCall): Deprecated.
2895         (done): Deprecated.
2896         * java/rmi/server/RemoteStub.java
2897         (setRef): Deprecated.
2898         * java/rmi/server/Skeleton.java:
2899         No need to import java.lang.Exception explicitly.
2900         (dispatch): Deprecated.
2901         (getOperations): Deprecated.
2902
2903 2003-03-31  Michael Koch  <konqueror@gmx.de>
2904
2905         * java/rmi/dgc/VMID.java,
2906         java/rmi/registry/RegistryHandler.java,
2907         java/rmi/server/LogStream.java,
2908         java/rmi/server/Operation.java,
2909         java/rmi/server/RemoteCall.java,
2910         java/rmi/server/RemoteRef.java,
2911         java/rmi/server/RemoteStub.java:
2912         Reformatted.
2913
2914 2003-03-31  Michael Koch  <konqueror@gmx.de>
2915
2916         * javax/swing/AbstractCellEditor.java,
2917         javax/swing/AbstractListModel.java,
2918         javax/swing/ActionMap.java,
2919         javax/swing/BorderFactory.java,
2920         javax/swing/ButtonGroup.java,
2921         javax/swing/DefaultBoundedRangeModel.java,
2922         javax/swing/DefaultButtonModel.java,
2923         javax/swing/DefaultCellEditor.java,
2924         javax/swing/DefaultComboBoxModel.java,
2925         javax/swing/DefaultDesktopManager.java,
2926         javax/swing/DefaultListCellRenderer.java,
2927         javax/swing/DefaultSingleSelectionModel.java,
2928         javax/swing/InputMap.java,
2929         javax/swing/JComponent.java,
2930         javax/swing/JMenu.java,
2931         javax/swing/JSlider.java,
2932         javax/swing/KeyStroke.java,
2933         javax/swing/OverlayLayout.java,
2934         javax/swing/ScrollPaneLayout.java,
2935         javax/swing/SizeRequirements.java,
2936         javax/swing/UIManager.java,
2937         javax/swing/ViewportLayout.java,
2938         javax/swing/border/AbstractBorder.java,
2939         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2940         javax/swing/event/EventListenerList.java,
2941         javax/swing/table/AbstractTableModel.java,
2942         javax/swing/table/DefaultTableCellRenderer.java,
2943         javax/swing/table/DefaultTableColumnModel.java,
2944         javax/swing/table/DefaultTableModel.java,
2945         javax/swing/table/TableColumn.java,
2946         javax/swing/text/StyledEditorKit.java,
2947         javax/swing/tree/DefaultMutableTreeNode.java,
2948         javax/swing/tree/DefaultTreeModel.java,
2949         javax/swing/tree/DefaultTreeSelectionModel.java,
2950         javax/swing/tree/TreePath.java,
2951         javax/swing/undo/AbstractUndoableEdit.java,
2952         javax/swing/undo/StateEdit.java,
2953         javax/swing/undo/StateEditable.java,
2954         javax/swing/undo/UndoableEditSupport.java:
2955         Merges from classpath.
2956
2957 2003-03-30  Tom Tromey  <tromey@redhat.com>
2958
2959         * java/lang/String.java (data, boffset, count): Documented.
2960         (String(byte[],String)): Reformatted.
2961         (String(byte[])): Likewise.
2962         (lastIndexOf(int)): Likewise.
2963         (lastIndexOf(String)): Likewise.
2964         (substring(int)): Renamed argument to match Classpath.
2965         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2966
2967         * java/lang/String.java: Miscellaneous minor formatting changes
2968         to match Classpath more closely.
2969
2970 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2971             Tom Tromey  <tromey@redhat.com>
2972
2973         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2974         (init()): Removed.
2975         (charAt): Put index in exception.
2976         (contentEquals): New method.
2977         Include StringBuffer.h.
2978         * java/lang/String.java (cachedHashCode): New field.
2979         (String()): Follow classpath implementation.
2980         (init()): Removed.
2981         (contentEquals): Declare.
2982         (subSequence): Don't declare IndexOutIfBoundsException in throws
2983         clause.
2984         (matches, replaceFirst, replaceAll, split): New methods from
2985         Classpath.
2986
2987 2003-03-29  Tom Tromey  <tromey@redhat.com>
2988
2989         * java/lang/String.java: Reordered to follow Classpath; merged in
2990         javadoc.
2991
2992         * java/text/MessageFormat.java: Removed some whitespace.
2993
2994         * Makefile.in: Rebuilt.
2995         * Makefile.am (awt_java_source_files): Added new files.
2996         * gnu/javax/rmi/PortableServer.java,
2997         gnu/javax/rmi/CORBA/DelegateFactory.java,
2998         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2999         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3000         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3001         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3002         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3003         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3004         javax/rmi/PortableRemoteObject.java,
3005         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3006         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3007         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3008         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3009         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3010         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3011
3012         * java/lang/natClass.cc (newInstance): Put method name in
3013         exception.
3014         (getConstructor): Likewise.
3015         (getDeclaredConstructor): Likewise.
3016         (getPrivateMethod): Likewise.
3017
3018 2003-03-28  Tom Tromey  <tromey@redhat.com>
3019
3020         * java/lang/reflect/Proxy.java: New version from Classpath.
3021         * java/lang/Package.java: New version from Classpath.
3022
3023 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
3024
3025         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3026         * configure: Regenerate.
3027
3028 2003-03-28  Michael Koch  <konqueror@gmx.de>
3029
3030         * java/io/File.java:
3031         Import needed classes instead of whole packages, merged class
3032         documentation with classpath, moved constants and variables to top of
3033         class.
3034         * java/io/PrintStream.java:
3035         Merged class documentation with classpath, moved constants and
3036         variables to top of class.
3037         * java/io/RandomAccessFile.java
3038         (RandomAccessFile): Merged with classpath.
3039         (read): Merged with classpath).
3040         (read*): Reformatted.
3041
3042 2003-03-28  Michael Koch  <konqueror@gmx.de>
3043
3044         * java/io/FileDescriptor.java
3045         (finalize): Throws Throwable, not IOException.
3046         * java/io/ObjectOutputStream.java
3047         (PutField.put): Doesnt throws anything.
3048
3049 2003­03-28  Michael Koch  <konqueror@gmx.de>
3050
3051         * java/io/FileOutputStream.java:
3052         Merged class documentation and authors with classpath.
3053         (FileOutputStream): Partly merged with classpath.
3054         (write): Merged with classpath.
3055         (getChannel): Make it synchronized instead of explicit block in this
3056         method.
3057         * java/io/RandomAccessFile.java:
3058         Merged class documentation and authors with classpath.
3059
3060 2003-03-26  Tom Tromey  <tromey@redhat.com>
3061
3062         * java/lang/natRuntime.cc (insertSystemProperties): Set
3063         gnu.classpath.home.url.
3064         * Makefile.in: Rebuilt.
3065         * Makefile.am: Define LIBDIR.
3066
3067 2003-03-25  Michael Koch  <konqueror@gmx.de>
3068
3069         * java/io/FileInputStream.java
3070         (read): Renamed b to buf and off to offset.
3071         * java/io/FileOutputStream.java
3072         (ch): Documentation added.
3073         (FileOutputStream): Documentation added.
3074         (getFD): Documentation added.
3075         (write): Documentation added.
3076         (close): Documentation added.
3077         (getChannel): Documentation added.
3078
3079 2003-03-24  Michael Koch  <konqueror@gmx.de>
3080
3081         * java/io/DataOutputStream.java
3082         (write): Merged from classpath.
3083         * java/io/File.java:
3084         Merged copyrigth with classpath.
3085         * java/io/FileInputStream.java
3086         (getChannel): Made it synchronized instead of using a synchronized
3087         block.
3088         * java/io/FileOutputStream.java: Reformatted.
3089         * java/io/InputStreamReader.java
3090         (InputStreamReader): Renamed enc to encoding_name.
3091         (close): Merged documentation from classpath.
3092         (getEncoding): Merged documentation from classpath.
3093         (ready): Merged documentation from classpath.
3094         (read): Merged documentation from classpath.
3095         * java/io/LineNumberReader.java
3096         (lineNumber): Made it private.
3097         (LineNumberReader): Use Constant instead of a direct value.
3098         * java/io/OutputStreamWriter.java
3099         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3100         documentation from classpath.
3101         (close): Merged documentation from classpath.
3102         (flush): Merged documentation from classpath.
3103         (write): Merged documentation from classpath.
3104         * java/io/PrintStream.java: Reformatted.
3105
3106 2003-03-24  Michael Koch  <konqueror@gmx.de>
3107
3108         * javax/swing/text/ComponentView.java
3109         (getComponent): Must be final.
3110         * javax/swing/tree/DefaultTreeCellRenderer.java:
3111         Reformatted.
3112         * javax/swing/undo/StateEditable.java:
3113         Reformatted.
3114
3115 2003-03-24  Michael Koch  <konqueror@gmx.de>
3116
3117         * java/rmi/activation/ActivationInstantiator.java:
3118         Reformatted.
3119         * java/rmi/activation/Activator.java:
3120         Reformatted.
3121         * java/rmi/registry/RegistryHandler.java:
3122         Remerged from classpath.
3123
3124 2003-03-24  Michael Koch  <konqueror@gmx.de>
3125
3126         * java/util/Date.java:
3127         Fixed documentation starting tag to make javadoc happy.
3128         * java/util/regex/Pattern.java
3129         (Pattern): Implements Serializable.
3130         * java/util/PatternSyntaxException.java
3131         (serialVersionUID): New member variable.
3132
3133 2003-03-24  Michael Koch  <koqnueror@gmx.de>
3134
3135         * java/awt/ContainerOrderFocusTraversalPolicy.java
3136         (getFirstComponent): Implemented.
3137         (getLastComponent): Implemented.
3138         (getDefaultComponent): Implemented.
3139         (setImplicitDownCycleTraversal): Fixed implementation.
3140         * java/awt/Robot.java
3141         (Robot): Added documentation.
3142         * java/awt/Toolkit.java
3143         (getFontList): Deprecated.
3144         (getFontMetrics): Deprecated.
3145         (getPrintJob): Added documentation.
3146         (getSystemSelection): Added documentation.
3147         (getLockingKeyState): Added documentation.
3148         (setLockingKeyState): Added documentation.
3149         (createCustomCursor): Added documentation.
3150         (getBestCursorSize): Added documentation.
3151         (getMaximumCursorColors): Added documentation.
3152         (isFrameStateSupported): Added documentation.
3153
3154 2003-03-24  Michael Koch  <konqueror@gmx.de>
3155
3156         * java/io/RandomAccessFile.java:
3157         More little merges with classpath. No code changes.
3158
3159 2003-03-24  Michael Koch  <konqueror@gmx.de>
3160
3161         * java/net/natInetAddressNoNet.cc:
3162         Include stddef.h.
3163         * java/net/natPlainDatagramSocketImplNoNet.cc:
3164         Fixed inlcude of java/net/DatagramPacket.h.
3165         * java/net/natPlainSocketImplNoNet.cc:
3166         Include some missing classes.
3167
3168 2003-03-24  Michael Koch  <konqueror@gmx.de>
3169
3170         * java/awt/dnd/DropTarget.java
3171         (DropTargetAutoScroller): According to the online documentation, this
3172         is protected, but in reality it is public.
3173         * java/awt/dnd/DropTargetContext.java
3174         (TransferableProxy): According to the online documentation, this
3175         is protected, but in reality it is public.
3176
3177 2003-03-24  Michael Koch  <konqueror@gmx.de>
3178
3179         * java/io/DataInputStream.java
3180         (): Wrapped documentation line.
3181         (): Fixed @return tag.
3182         * java/io/DataOutputStream.java
3183         (written): Moved to top of class.
3184         (all methods): Merged documentation from classpath.
3185         * java/io/File.java:
3186         Merged copyright year with classpath.
3187         * java/io/FileInputStream.java
3188         (all methods): Merged documentation from classpath.
3189         * java/io/LineNumberReader.java
3190         (getLineNumber): Fixed @return tag.
3191         * java/io/ObjectInputStream.java.
3192         Reformatted.
3193         * java/io/ObjectOutputStream.java:
3194         Reformatted, fixed some @see tags.
3195         * java/io/OutputStreamWriter.java:
3196         Deleted empty line.
3197         * java/io/Writer.java:
3198         Reformatted.
3199
3200 2003-03-24  Michael Koch  <konqueror@gmx.de>
3201
3202         * java/awt/Frame.java
3203         (DEFAULT_CURSOR): Fixed @deprecated tag.
3204         (setCursor): Fixed @deprecated tag.
3205
3206 2003-03-24  Michael Koch  <konqueror@gmx.de>
3207
3208         * java/beans/beancontext/BeanContextEvent.java:
3209         Reformated.
3210
3211 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3212
3213         * java/lang/natStringBuffer.cc (regionMatches): New function.
3214         * java/lang/String.java (count): Now package-private.
3215         * java/lang/StringBuffer.java: Merged with Classpath.
3216
3217 2003-03-23  Michael Koch  <konqueror@gmx.de>
3218
3219         * java/io/BufferedOutputStream.java:
3220         Reformated.
3221         * java/io/BufferedReader.java:
3222         Reformated.
3223         * java/io/ByteArrayOutputStream.java
3224         (size): Fixed @see tag.
3225         * java/io/CharArrayWriter.java
3226         (size): Fixed @see tag.
3227         * java/io/DataInput.java:
3228         Reformated.
3229         * java/io/DataOutput.java:
3230         Reformated.
3231         * java/io/DataOutputStream.java:
3232         Merged copyright years with classpath.
3233         * java/io/Externalizable.java:
3234         Reformated.
3235         * java/io/FileFilter.java:
3236         Reformated.
3237         * java/io/FileInputStream.java:
3238         Merged copyright years with classpath.
3239         * java/io/FileOutputStream.java:
3240         Merged copyright years with classpath.
3241         * java/io/FilePermission.java
3242         (FilePermission): Replaced @XXX with FIXME:.
3243         * java/io/FileWriter.java:
3244         Reformated.
3245         * java/io/FilenameFilter.java:
3246         Reformated.
3247         * java/io/FilterInputStream.java:
3248         Reformated.
3249         * java/io/FilterOutputStream.java:
3250         Reformated.
3251         * java/io/FilterReader.java:
3252         Reformated.
3253         * java/io/FilterWriter.java:
3254         Reformated.
3255         * java/io/LineNumberInputStream.java
3256         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3257         happy.
3258         (getLineNumber): Fixed @return tag.
3259         * java/io/ObjectInput.java:
3260         Reformated.
3261         * java/io/ObjectOutput.java:
3262         Reformated.
3263         * java/io/ObjectStreamClass.java:
3264         Reformated.
3265         * java/io/PrintStream.java:
3266         Merged copyright years with classpath.
3267         * java/io/PushbackReader.java
3268         (PushbackReader): Replaced @code with @param.
3269         * java/io/SerializablePermission.java:
3270         Reformated.
3271         * java/io/StreamTokenizer.java
3272         (resetSyntax): Fixed @see tag.
3273
3274 2003-03-22  Richard Henderson  <rth@redhat.com>
3275
3276         * sysdep/ia64/locks.h: Include ia64intrin.h.
3277         (compare_and_swap): Use __sync_bool_compare_and_swap.
3278         (compare_and_swap_release): Expose ar.ccv assignment.
3279
3280 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3281
3282         * include/posix.h: Add suffix for darwin dynamic libraries.
3283
3284 2003-03-21  Michael Koch  <konqueror@gmx.de>
3285
3286         * javax/swing/Action.java
3287         (ACCELERATOR_KEY): New constant.
3288         (ACTION_COMMAND_KEY): Likewise.
3289         (MNEMONIC_KEY): Likewise.
3290         * javax/swing/UnsupportedLookAndFeelException.java
3291         (UnsupportedLookAndFeelException): Must be public.
3292         * javax/swing/WindowConstants.java
3293         (EXIT_ON_CLOSE): New constant.
3294         * javax/swing/text/BadLocationException.java
3295         (offset): New member variable.
3296         (BadLocationException): New implementation, documentation added.
3297         (offsetRequested): New method.
3298         * javax/swing/text/Caret.java:
3299         Reformated.
3300         * javax/swing/text/Document.java:
3301         Reformated.
3302
3303 2003-03-21  Michael Koch  <konqueror@gmx.de>
3304
3305         * java/rmi/activation/Activatable.java
3306         (serialVersionUID): New member variable.
3307         * java/rmi/activation/ActivationGroup.java
3308         (serialVersionUID): New member variable.
3309         * java/rmi/activation/ActivationGroupDesc.java
3310         (serialVersionUID): New member variable.
3311         * java/rmi/registry/Registry.java:
3312         Reformated.
3313         (Registry): Deprecated.
3314         * java/rmi/server/LoaderHandler.java
3315         Reformated.
3316         (LoaderHandler): Deprecated.
3317         * java/rmi/server/LogStream.java
3318         Reformated.
3319         (LogStream): Deprecated.
3320         * java/rmi/server/Operation.java
3321         (Operation): Deprecated.
3322         * java/rmi/server/RMIFailureHandler.java:
3323         Reformated.
3324         * java/rmi/server/RMISocketFactory.java:
3325         Reformated.
3326         * java/rmi/server/RemoteCall.java
3327         (RemoteCall): Deprecated.
3328         * java/rmi/server/RemoteStub.java:
3329         Reformated.
3330         * java/rmi/server/Skeleton.java
3331         Reformated.
3332         (Skeleton): Deprecated.
3333
3334 2003-03-21  Michael Koch  <konqueror@gmx.de>
3335
3336         * java/io/LineNumberReader.java
3337         (LineNumberReader): Merged documentation with classpath.
3338         (getLineNumber): Likewise.
3339         (setLineNumber): Likewise.
3340         (mark): Likewise.
3341         (reset): Likewise.
3342         (read): Likewise.
3343         (readLine): Likewise.
3344         (skip): Likewise.
3345
3346 2003-03-21  Michael Koch  <konqueror@gmx.de>
3347
3348         * java/rmi/RMISecurityManager.java
3349         (checkAccept): Removed.
3350         (checkAccess): Likewise.
3351         (checkAccess): Likewise.
3352         (checkAwtEventQueueAccess): Likewise.
3353         (checkConnect): Likewise.
3354         (checkCreateClassLoader): Likewise.
3355         (checkDelete): Likewise.
3356         (checkExec): Likewise.
3357         (checkExit): Likewise.
3358         (checkLink): Likewise.
3359         (checkListen): Likewise.
3360         (checkMemberAccess): Likewise.
3361         (checkMulticast): Likewise.
3362         (checkPackageAccess): Likewise.
3363         (checkPackageDefinition): Likewise.
3364         (checkPermission): Likewise.
3365         (checkPrintJobAccess): Likewise.
3366         (checkPropertiesAccess): Likewise.
3367         (checkPropertyAccess): Likewise.
3368         (checkRead): Likewise.
3369         (checkSecurityAccess): Likewise.
3370         (checkSetFactory): Likewise.
3371         (checkSystemClipboardAccess): Likewise.
3372         (checkTopLevelWindow): Likewise.
3373         (checkWrite): Likewise.
3374
3375 2003-03-20  Michael Koch  <konqueror@gmx.de>
3376
3377         * gnu/java/nio/FileChannelImpl.java
3378         (address): Removed.
3379         (map_address): New member variable.
3380         (length): Make it package private.
3381         (fd): Make it package private.
3382         (buf): Make it package private.
3383         (file_obj): Make it package private.
3384         (FileChannelImpl): New constructor.
3385         (nio_mmap_file): Use RawData instead of long.
3386         (nio_munmap_file): Use RawData instead of long.
3387         (nio_msync): Use RawData instead of long.
3388         (implCloseChannel): New implementation using map_address.
3389         (read): Reformated.
3390         (map): Implemented.
3391         (create_direct_mapped_buffer): Implemented, use RawData, throws
3392         IOException.
3393         (force): Use map_address instead of address.
3394         * gnu/java/nio/MappedByteFileBuffer.java
3395         (address): Removed.
3396         (map_address): New member variable.
3397         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3398         (several methods): Use map_address instead of address, replaced long
3399         with RawData where appropriate.
3400         * gnu/java/nio/natFileChannelImpl.cc
3401         (nio_mmap_file): Replaced long with RawData.
3402         (nio_munmap_file): Replaced long with RawData.
3403         (nio_msync): Replaced long with RawData.
3404         * gnu/java/nio/natMappedByteFileBuffer.cc
3405         (several methods): Replaced long with RawData where appropriate.
3406
3407 2003-03-20  Michael Koch  <konqueror@gmx.de>
3408
3409         * java/net/InetAddress.java,
3410         java/net/JarURLConnection.java,
3411         java/net/PlainDatagramSocketImpl.java,
3412         java/net/PlainSocketImpl.java,
3413         java/net/URLConnection.java:
3414         Merged copyright statements with classpath for easier merging.
3415
3416 2003-03-20  Michael Koch  <konqueror@gmx.de>
3417
3418         * java/io/FileInputStream.java
3419         (getChannel): New implementation.
3420         * java/io/FileOutputStream.java
3421         (ch): New member variable.
3422         (getChannel): Implemented.
3423         * java/io/RandomAccessFile.java
3424         (RandomAccessFile): Throws FileNotFoundException instead of
3425         IOException.
3426         (getChannel): New method.
3427         (ch): New member variable.
3428
3429 2003-03-20  Michael Koch  <konqueror@gmx.de>
3430
3431         * java/io/DataOutputStream.java,
3432         java/io/File.java,
3433         java/io/FileInputStream.java,
3434         java/io/FileOutputStream.java,
3435         java/io/InputStreamReader.java,
3436         java/io/LineNumberReader.java,
3437         java/io/OutputStreamWriter.java,
3438         java/io/PrintStream.java,
3439         java/io/RandomAccessFile.java:
3440         Merged copyright statements with classpath for easier merging.
3441
3442 2003-03-19  Michael Koch  <konqueror@gmx.de>
3443
3444         * java/lang/Process.java:
3445         Merged from classpath.
3446
3447 2003-03-19  Michael Koch  <konqueror@gmx.de>
3448
3449         * java/io/FileOutputStream.java
3450         (FileOutputStream): New constructor, merged from classpath.
3451         * java/io/FileWriter.java
3452         (FileWriter): New constructor, merged from classpath.
3453
3454 2003-03-18  Michael Koch  <konqueror@gmx.de>
3455
3456         * java/awt/ScrollPane.java
3457         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3458         (getViewportSize): Likewise.
3459         (addNotify): Likewise.
3460         (removeNotify): Likewise.
3461         * java/awt/ScrollPaneAdjustable.java
3462         (ScrollPaneAdjustable): No longer extends Scrollbar.
3463         * java/beans/beancontext/BeanContextServices.java:
3464         Reformated.
3465         (getService): Added throws TooManyListenersException;
3466         * java/beans/beancontext/BeanContextServicesSupport.java:
3467         Reformated.
3468
3469 2003-03-18  Michael Koch  <konqueror@gmx.de>
3470
3471         * java/io/BufferedOutputStream.java,
3472         java/io/DataInput.java,
3473         java/io/DataInputStream.java,
3474         java/io/DataOutput.java,
3475         java/io/Externalizable.java:
3476         More merges from classpath.
3477
3478 2003-03-18  Michael Koch  <konqueror@gmx.de>
3479
3480         * configure.in: Fixed links to platform dependant java.net files.
3481         * configure: Regenerated.
3482         * java/net/natInetAddress.cc,
3483         java/net/natNetworkInterface.cc,
3484         java/net/natPlainDatagramSocketImpl.cc,
3485         java/net/natPlainSocketImpl.cc:
3486         Removed.
3487
3488 2003-03-18  Michael Koch  <konqueror@gmx.de>
3489
3490         * configure.in: Create links to architecture dependent files,
3491         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3492         * configure: Regenerated.
3493         * java/net/natInetAddressNoNet.cc,
3494         java/net/natInetAddressPosix.cc,
3495         java/net/natInetAddressWin32.cc,
3496         java/net/natNetworkInterfaceNoNet.cc,
3497         java/net/natNetworkInterfacePosix.cc,
3498         java/net/natNetworkInterfaceWin32.cc,
3499         java/net/natPlainDatagramSocketImplNoNet.cc,
3500         java/net/natPlainDatagramSocketImplPosix.cc,
3501         java/net/natPlainDatagramSocketImplWin32.cc,
3502         java/net/natPlainSocketImplNoNet.cc,
3503         java/net/natPlainSocketImplPosix.cc,
3504         java/net/natPlainSocketImplWin32.cc: New files.
3505
3506 2003-03-18  Michael Koch  <konqueror@gmx.de>
3507
3508         * java/io/BufferedReader.java,
3509         java/io/BufferedWriter.java,
3510         java/io/ByteArrayOutputStream.java,
3511         java/io/FileFilter.java,
3512         java/io/FilePermission.java,
3513         java/io/FileReader.java,
3514         java/io/FileWriter.java,
3515         java/io/FilenameFilter.java,
3516         java/io/FilterInputStream.java,
3517         java/io/FilterOutputStream.java,
3518         java/io/FilterReader.java,
3519         java/io/FilterWriter.java,
3520         java/io/ObjectInput.java,
3521         java/io/ObjectInputValidation.java,
3522         java/io/ObjectOutput.java,
3523         java/io/ObjectStreamField.java,
3524         java/io/PipedInputStream.java,
3525         java/io/PipedReader.java,
3526         java/io/PrintWriter.java,
3527         java/io/PushbackReader.java,
3528         java/io/Reader.java,
3529         java/io/SerializablePermission.java,
3530         java/io/StringReader.java,
3531         java/io/Writer.java:
3532         Merged from classpath.
3533
3534 2003-03-17  Michael Koch  <konqueror@gmx.de>
3535
3536         * java/awt/ScrollPaneAdjustable.java:
3537         Compile fixes.
3538         
3539 2003-03-17  Michael Koch  <konqueror@gmx.de>
3540
3541         * java/net/DatagramSocket.java
3542         (connect): Fixed comment.
3543         * java/nio/ByteBuffer.java
3544         (hasArray): Fixed comment.
3545
3546 2003-03-17  Michael Koch  <konqueror@gmx.de>
3547
3548         * java/beans/Beans.java:
3549         Explicitely import classes not packages.
3550         * java/beans/FeatureDescriptor.java
3551         (preferred): New member variable.
3552         (isPreferred): New method.
3553         (setPreferred): New method.
3554         * java/beans/PropertyEditorManager.java:
3555         Explicitely import used classes.
3556         * java/beans/beancontext/BeanContextChild.java:
3557         Added line wrapping.
3558         * java/beans/beancontext/BeanContextChildSupport.java:
3559         Reindented.
3560         * java/beans/beancontext/BeanContextEvent.java:
3561         Reindented.
3562
3563 2003-03-17  Michael Koch  <konqueror@gmx.de>
3564
3565         * java/awt/Dialog.java
3566         (Dialog): New constructor, changed implementations, added
3567         documentation.
3568         * java/awt/ScrollPaneAdjustable.java
3569         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3570         Serializable.
3571         (serialVersionUID): New member variable.
3572         (sp): New member variable.
3573         (orientation): New member variable.
3574         (value): New member variable.
3575         (minimum): New member variable.
3576         (maximum): New member variable.
3577         (visibleAmount): New member variable.
3578         (unitIncrement): New member variable.
3579         (blockIncrement): New member variable.
3580         (AdjustmentListener): New member variable.
3581         (ScrollPaneAdjustable): New implementation.
3582         (addAdjustmentListener): New method.
3583         (removeAdjustmentListener): New method.
3584         (getAdjustmentListeners): New method.
3585         (getBlockIncrement): New method.
3586         (getMaximum): New method.
3587         (getMinimum): New method.
3588         (getOrientation): New method.
3589         (getUnitIncrement): New method.
3590         (getValue): New method.
3591         (getVisibleAmount): New method.
3592         (setBlockIncrement): New method.
3593         (setMaximum): Implemented.
3594         (setMinimum): Implemented.
3595         (setUnitIncrement): New method.
3596         (setValue): New method.
3597         (setVisibleAmount): Implemented. 
3598         (paramString): New stubbed method.
3599         * java/awt/Window.java
3600         (show): Call setVisible().
3601         (hide): Call setVisible().
3602         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3603         and WINDOW_STATE_CHANGED.
3604         (processWindowFocusEvent): New method.
3605         (processWindowStateEvent): New method.
3606         (postEvent): Deprecated.
3607         (applyResourceBundle): Deprecated.
3608         * java/awt/datatransfer/DataFlavor.java
3609         (DataFlavor): Doesn't thow ClassNotFoundException.
3610
3611 2003-03-17  Michael Koch
3612
3613         * javax/print/attribute/Attribute.java,
3614         javax/print/attribute/AttributeSet.java,
3615         javax/print/attribute/PrintRequestAttributeSet.java:
3616         New files.
3617         * Makefile.am
3618         (javax_source_files): Added new files:
3619         javax/print/attribute/Attribute.java
3620         javax/print/attribute/AttributeSet.java
3621         javax/print/attribute/PrintRequestAttributeSet.java
3622         * Makefile.in: Regenerated.
3623
3624 2003-03-17  Michael Koch
3625
3626         * javax/print/attribute/Attribute.java,
3627         javax/print/attribute/AttributeSet.java,
3628         javax/print/attribute/PrintRequestAttributeSet.java:
3629         New files.
3630         * Makefile.am
3631         (awt_java_source_files): Added new files:
3632         javax/print/attribute/Attribute.java
3633         javax/print/attribute/AttributeSet.java
3634         javax/print/attribute/PrintRequestAttributeSet.java
3635         * Makefile.in: Regenerated.
3636
3637 2003-03-16  Tom Tromey  <tromey@redhat.com>
3638
3639         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3640         Include platform.h.
3641         * java/lang/natRuntime.cc (insertSystemProperties): Use
3642         _Jv_platform_path_separator.
3643         (nativeGetLibname): Use _Jv_platform_file_separator.
3644         (_load): Use _Jv_platform_onload_names.
3645         (onload_names): New global.
3646         * include/win32.h (_Jv_platform_file_separator): New define.
3647         (_Jv_platform_path_separator): Likewise.
3648         (_Jv_platform_onload_names): Likewise.
3649         (_Jv_platform_ffi_abi): Likewise.
3650         * include/posix.h (_Jv_platform_file_separator): New define.
3651         (_Jv_platform_path_separator): Likewise.
3652         (_Jv_platform_onload_names): Likewise.
3653         (_Jv_platform_ffi_abi): Likewise.
3654
3655 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3656
3657         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3658
3659 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3660
3661         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3662         hierarchy loop.
3663         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3664         list to Object,ObjectStreamClass, moved callReadMethod code up into
3665         readObject and added Class argument to all setXxxField calls.
3666         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3667         consistent with ObjectOutputStream and to facilitate caching the
3668         Method in the future.
3669         (setBooleanField): Added Class argument.
3670         (setByteField): Likewise.
3671         (setCharField): Likewise.
3672         (setDoubleField): Likewise.
3673         (setFloatField): Likewise.
3674         (setIntField): Likewise.
3675         (setLongField): Likewise.
3676         (setShortField): Likewise.
3677         (setObjectField): Likewise.
3678         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3679         class hierarchy loop.
3680         (defaultWriteObject): Call writeFields with new argument list.
3681         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3682         list to Object,ObjectStreamClass, moved callWriteMethod up into
3683         writeObject and added Class argument to all getXxxField calls.
3684         (callWriteMethod): Added ObjectStreamClass argument to be able to
3685         get the proper class to call getMethod on (each class can have (or
3686         not have) its own writeObject method).
3687         (getBooleanField): Added Class argument.
3688         (getByteField): Likewise.
3689         (getCharField): Likewise.
3690         (getDoubleField): Likewise.
3691         (getFloatField): Likewise.
3692         (getIntField): Likewise.
3693         (getLongField): Likewise.
3694         (getShortField): Likewise.
3695         (getObjectField): Likewise.
3696         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3697         facilitate caching the Method object in the future.
3698
3699 2003-03-12  Andreas Schwab  <schwab@suse.de>
3700
3701         * configure.in: Avoid trailing /. in toolexeclibdir.
3702         * configure: Rebuilt.
3703
3704 2003-03-11  Michael Koch  <konqueror@gmx.de>
3705
3706         * gnu/java/nio/ByteBufferImpl.java
3707         (putInt): Use limit() instead of limit.
3708         * gnu/java/nio/CharBufferImpl.java
3709         (slice): Fixed implementation.
3710         (subSequence): Better bounds checking.
3711         * gnu/java/nio/MappedByteFileBuffer.java:
3712         Import all needed classes directly.
3713         * java/nio/ByteBuffer.java
3714         (hashCode): New dummy method.
3715         * java/nio/CharBuffer.java
3716         (array_offset): New member variable.
3717         (hasArray): Fixed documentation.
3718         (arrayOffset): Return array_offset.
3719
3720 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3721
3722         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3723         setter; made return value of getter const char* instead of char*
3724         * prims.cc: removed all references to _Jv_ThisExecutable().
3725         These are in the platform-specific sections now.
3726         * posix.cc: define platform-specific _Jv_ThisExecutable().
3727         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3728         * win32.cc: define platform-specific _Jv_ThisExecutable()
3729         using GetModuleFilename()
3730         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3731         to argv[0] instead of _Jv_ThisExecutable()
3732
3733 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3734
3735         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3736         that is set if we are using addr2name.awk instead of addr2line.
3737         (NameFinder): Set usingAddr2name if using addr2name.awk.
3738         (getExternalLabel): New native method to convert a method 
3739         name to an external label.
3740         (lookup): Convert name given by addr2line to an external label
3741         before demangling.
3742
3743         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3744         constant representing the prefix attached to method names to
3745         convert them to an external label.
3746         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3747         using LABEL_PREFIX.
3748
3749 2003-03-10  Tom Tromey  <tromey@redhat.com>
3750
3751         * Makefile.in: Rebuilt.
3752         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3753         (JC1FLAGS): Removed -Wno-deprecated.
3754
3755 2003-03-10  Michael Koch  <konqueror@gmx.de>
3756
3757         * java/nio/ByteOrder.java
3758         (nativeOrder): Working implementation, added documentation.
3759         (toString): Added documentation.
3760
3761 2003-03-10  Michael Koch  <konqueror@gmx.de>
3762
3763         * java/net/DatagramSocket.java,
3764         java/net/MulticastSocket.java,
3765         java/net/Socket.java,
3766         java/net/URL.java,
3767         java/net/URLConnection.java:
3768         Fixed some documentation tags to make javadoc and friends happy.
3769
3770 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3771
3772         * java/beans/beancontext/BeanContextServicesSupport.java,
3773         java/beans/beancontext/BeanContextSupport.java: New files.
3774         * Makefile.am
3775         (awt_source_files): Added new files.
3776         * Makefile.in: Regenerated.
3777
3778 2003-03-10  Michael Koch  <konqueror@gmx.de>
3779
3780         * java/awt/FocusTraversalPolicy.java
3781         (FocusTraversalPolicy): Documentation added.
3782         (getComponentAfter): Documentation added.
3783         (getComponentBefore): Documentation added.
3784         (getFirstComponent): Documentation added.
3785         (getLastComponent): Documentation added.
3786         (getDefaultComponent): Documentation added.
3787         (getInitialComponent): Documentation added.
3788         * java/awt/ScrollPaneAdjustable.java
3789         (sp): New member variable.
3790         (orientation): New member variable.
3791         (value): New member variable.
3792         (minimum): New member variable.
3793         (maximum): New member variable.
3794         (visibleAmount): New member variable.
3795         (unitIncrement): New member variable.
3796         (blockIncrement): New member variable.
3797         (adjustmentListener): New member variable.
3798         (ScrollPaneAdjustable): Rewrote.
3799         (addAdjustmentListener): New method.
3800         (removeAdjustmentListener): New method.
3801         (getAdjustmentListeners): New method.
3802         (getBlockIncrement): New method.
3803         (getMaximum): New method.
3804         (getMinimum): New method.
3805         (getOrientation): New method.
3806         (getUnitIncrement): New method.
3807         (getValue): New method.
3808         (getVisibleAmount): New method.
3809         (setBlockIncrement): New method.
3810         (setUnitIncrement): New method.
3811         (setMaximum): Implemented.
3812         (setMinimum): Implemented.
3813         (setValue): New method.
3814         (setVisibleAmount): Implemented.
3815         (paramString): New method.
3816         * java/awt/Window.java
3817         (show): Use setVisible(true) instead of super.show().
3818         (hide): Use sevVisible(false) instead of super.hide().
3819         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3820         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3821         (postEvent): Deprecated.
3822         (applyResourceBundle): Deprecated.
3823         (processWindowFocusEvent): New method.
3824         (processWindowStateEvent): New method.
3825         * java/awt/datatransfer/DataFlavor.java: Reindented.
3826         * java/awt/font/TextHitInfo.java
3827         (charIndex): New member variable.
3828         (leadingEdge): New member variable.
3829         (TextHitInfo): New constructor.
3830         (getCharIndex): Implemented.
3831         (isLeadingEdge): Implemented.
3832         (getInsertionIndex): Implemented.
3833         (hashCode): Access charIndex directly.
3834         (equals): Reformated.
3835         (leading): Implemented.
3836         (trailing): Implemented.
3837         (beforeOffset): Implemented.
3838         (afterOffset): Implemented.
3839         (getOtherHit): Implemented.
3840         (getOffsetHit): Implemented.
3841         (toString): Implemented.
3842         * java/awt/image/BufferedImage.java
3843         (BufferedImage): Implements WritableRenderedImage.
3844         (observers): New member variable.
3845         (addTileObserver): New method.
3846         (removeTileObserver): New method.
3847
3848 2003-03-09  Tom Tromey  <tromey@redhat.com>
3849
3850         PR libgcj/9934:
3851         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3852         to lseek.  Return 0 if we can't compute the value.
3853
3854 2003-03-03  Michael Koch  <konqueror@gmx.de>
3855
3856         * java/net/NetworkInterface.java: Merged with classpath.
3857
3858 2003-03-03  Tom Tromey  <tromey@redhat.com>
3859
3860         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3861         of bytecode.
3862         (handle_ret_insn): Fail if returning to jsr that appears at end of
3863         bytecode.
3864
3865 2003-03-03  Michael Koch  <konqueror@gmx.de>
3866
3867         * Makefile.am
3868         (ordinary_java_source_files):
3869         Added gnu/java/nio/MappedByteFileBuffer.java.
3870         (nat_source_files):
3871         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3872         * Makefile.in: Regenerated.
3873
3874 2003-03-03  Michael Koch  <konqueror@gmx.de>
3875
3876         * java/net/DatagramSocket.java
3877         (connect): Merged comment from classpath.
3878         (receive): Merged documentation from classpath.
3879         * java/net/Socket.java
3880         (setSoTimeout): Clarified documentation.
3881         * java/net/URL.java
3882         (getPath): Merged from classpath.
3883         (getUserInfo): Merged from classpath.
3884         (getQuery): Merged from classpath.
3885         * java/net/URLStreamHandler.java
3886         (toExternalForm): Merged from classpath.
3887
3888 2003-03-02  Mark Wielaard  <mark@klomp.org>
3889
3890         * java/util/Properties.java (load): Only skip line if the first
3891         character is a comment, whitespaces don't count.
3892
3893 2003-03-02  Michael Koch  <konqueror@gmx.de>
3894
3895         * java/net/NetPermission.java:
3896         Merged copyright with classpath.
3897
3898 2003-03-02  Michael Koch  <konqueror@gmx.de>
3899
3900         * java/lang/Package.java:
3901         Remerged from classpath.
3902
3903 2003-03-02  Michael Koch  <konqueror@gmx.de>
3904
3905         * java/net/HttpURLConnection.java
3906         (HTTP_SERVER_ERROR): Deprecated.
3907         * java/net/MulticastSocket.java
3908         (send): Replaced checkMulticast with appropriate checkPermission call,
3909         deprecated.
3910         * java/net/URLDecoder.java
3911         (decode): Deprecated.
3912         * java/net/URLEncoder.java
3913         (encode): Deprecated.
3914
3915 2003-03-02  Michael Koch  <konqueror@gmx.de>
3916
3917         * javax/swing/text/Caret.java
3918         (getMagicCaretPosition): Fixed typo in method name.
3919         * javax/swing/text/DefaultCaret.java
3920         (getMagicCaretPosition): Fixed typo in method name.
3921
3922 2003-03-02  Michael Koch  <konqueror@gmx.de>
3923
3924         * java/awt/List.java
3925         (setMultipleSelections): Deprecated.
3926         (delItem): Deprecated.
3927         * java/awt/MenuComponent.java
3928         (getPeer): Deprecated.
3929         * java/awt/ScrollPane.java
3930         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3931         * java/awt/dnd/MouseDragGestureRecognizer.java
3932         (mouseClicked): Added comment.
3933         (mousePressed): Added comment.
3934         (mouseReleased): Added comment.
3935         (mouseEntered): Added comment.
3936         (mouseExited): Added comment.
3937         (mouseDragged): Added comment.
3938         (mouseMoved): Added comment.
3939         * java/awt/event/KeyEvent.java
3940         (KeyEvent): Deprecated.
3941         (setModifiers): Deprecated.
3942         
3943 2003-03-02  Michael Koch  <konqueror@gmx.de>
3944
3945         * gnu/java/nio/FileChannelImpl.java
3946         (fd): Type FileDescriptor instead of int.
3947         (lengthInternal): Removed.
3948         (FileChannelImpl): Fixed arguments, check type of file object.
3949         (size): Made it native.
3950         (implPosition): New native method.
3951         (implTruncate): New native method.
3952         (position): Implemented.
3953         (truncate): Implemented.
3954         (nio_mmap_file): Changed arguments.
3955         (nio_munmap_file): Changed arguments.
3956         (nio_msync): Changed arguments.
3957         * gnu/java/nio/natFileChannelImpl.cc
3958         (lengthInternal): Removed.
3959         (size): New method.
3960         (implPosition): New method.
3961         (implTruncate): New method.
3962         (nio_mmap_file): Changed arguments.
3963         (nio_munmap_file): Changed arguments.
3964         (nio_msync): Changed arguments.
3965
3966 2003-03-02  Michael Koch  <konqueror@gmx.de>
3967
3968         * java/awt/dnd/DropTargetContext.java:
3969         Compile fix: Forgot to commit import.
3970         
3971 2003-03-02  Michael Koch  <konqueror@gmx.de>
3972
3973         * java/awt/Component.java,
3974         java/awt/ScrollPane.java:
3975         Fixed typos.
3976
3977 2003-03-02  Michael Koch  <konqueror@gmx.de>
3978
3979         * java/awt/dnd/DnDEventMulticaster.java: New file.
3980         * java/awt/dnd/DragSource.java
3981         (flavorMap): New member variable.
3982         (dragSourceListener): New member variable.
3983         (dragSourceMotionListener): New member variable.
3984         (getFlavorMap): Implemented.
3985         (createDragGestureRecognizer): Implemented.
3986         (addDragSourceListener): Implemented.
3987         (removeDragSourceListener): Implemented.
3988         (getDragSourceListeners): Implemented.
3989         (addDragSourceMotionListener): Implemented.
3990         (removeDragSourceMotionListener): Implemented.
3991         (getDragSourceMotionListeners): Implemented.
3992         (getListeners): Implemented.
3993         * java/awt/dnd/DragSourceContext.java
3994         (peer): New member variable.
3995         (cursor): New member variable.
3996         (transferable): New member variable.
3997         (trigger): New member variable.
3998         (dragSourceListener): New member variable.
3999         (image): New member variable.
4000         (offset): New member variable.
4001         (DragSourceContext): Implemented.
4002         (getDragSource): Implemented.
4003         (getComponent): Implemented.
4004         (getTrigger): Implemented.
4005         (getSourceActions): Implemented.
4006         (setCursor): Implemented.
4007         (getCursor): Implemented.
4008         (addDragSourceListener): Implemented.
4009         (removeDragSourceListener): Implemented.
4010         (getTransferable): Implemented.
4011         * java/awt/dnd/DropTarget.java
4012         (DropTargetAutoScroller.component): New member variable.
4013         (DropTargetAutoScroller.point): New member variable.
4014         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4015         (DropTargetAutoScroller.updateLocation): Implemented.
4016         (active): Renamed from isActive, defaults to true now.
4017         (component): New member variable.
4018         (flavorMap): New member variable.
4019         (actions): New member variable.
4020         (dropTargetContext): New member variable.
4021         (dropTargetListener): New member variable.
4022         (DropTarget): Implemented.
4023         (getComponent): Implemented.
4024         (setComponent): Implemented.
4025         (setDefaultActions): Implemented.
4026         (getDefaultActions): Implemented.
4027         (setActive): Use active instead of isActive.
4028         (isActive): Use active instead of isActive.
4029         (addDropTargetListener): Implemented.
4030         (removeDropTargetListener): Implemented.
4031         (getFlavorMap): Implemented.
4032         (setFlavorMap): Implemented.
4033         (getDropTargetContext): Implemented.
4034         (createDropTargetContext): Implemented.
4035         (createDropTargetAutoScroller): Implemented.
4036         * java/awt/dnd/DropTargetContext.java
4037         (TransferableProxy.getTransferDataFlavors): Implemented.
4038         (TransferableProxy.isDataFlavorSupported): Implemented.
4039         (TransferableProxy.getTransferData): Implemented.
4040         (dropTarget):  New member variable.
4041         (dtcp): New member variable.
4042         (DropTargetContext): New package private constructor.
4043         (getDropTarget): Implemented.
4044         (getComponent): Implemented.
4045         (addNotify): Implemented.
4046         (removeNotify): Implemented.
4047         (getCurrentDataFlavorsAsList): Implemented.
4048         (isDataFlavorSupported): Implemented.
4049         * java/awt/dnd/MouseDragGestureRecognizer.java
4050         (registerListeners): Implemented.
4051         (unregisterListeners): Implemented.
4052         * Makefile.am
4053         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4054         * Makefile.in: Regenerated.
4055
4056 2003-03-02  Michael Koch  <konqueror@gmx.de>
4057
4058         * java/awt/Component.java
4059         (eventTypeEnabled): New method.
4060         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4061         * java/awt/Container.java
4062         (changeSupport): New member variable.
4063         (addPropertyChangeListener): New methods.
4064         * java/awt/ContainerOrderFocusTraversalPolicy.java
4065         (ContainerOrderFocusTraversalPolicy): Added comment.
4066         (getComponentAfter): Throw exception, documentation added.
4067         (getComponentBefore): Throw exception, documentation added.
4068         (getFirstComponent): Throw exception, documentation added.
4069         (getLastComponent): Throw exception, documentation added.
4070         (getDefaultComponent): Throw exception, documentation added.
4071         * java/awt/EventQueue.java: Reindented.
4072         * java/awt/FocusTraversalPolicy.java:
4073         (FocusTraversalPolicy): Added comment.
4074         (getComponentAfter): Documentation added.
4075         (getComponentBefore): Documentation added.
4076         (getFirstComponent): Documentation added.
4077         (getLastComponent): Documentation added.
4078         (getDefaultComponent): Documentation added.
4079         (getInitialComponent): Documentation added.
4080         * java/awt/ScrollPane.java
4081         (wheelScrollingEnabled): New member variable.
4082         (ScrollPane): Initialize wheelScollingEnabled.
4083         (eventTypeEnabled): New method.
4084         (isWheelScrollingEnabled): New method.
4085         (setWheelScrollingEnabled): New method.
4086
4087 2003-03-02  Michael Koch  <konqueror@gmx.de>
4088
4089         * java/net/DatagramSocket.java
4090         (closed): New member variable.
4091         (close): Use closed variable.
4092         (getInetAddress): No need to call isConnected().
4093         (getPort): No need to call isConnected().
4094         (disconnect): Reset remoteAddress and remotePort, fixed typo.
4095         (isClosed): Reimplemented.
4096         
4097 2003-03-02  Michael Koch  <konqueror@gmx.de>
4098
4099         * configure.in: Added check for memory mapping of files.
4100         * configure: Regenerated.
4101         * config.h.in: Regenerated.
4102
4103 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
4104
4105         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4106         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4107
4108 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4109
4110         * java/io/File.java (normalizePath): Remove trailing separator
4111         on Windows only if path is not of the form "x:\".
4112
4113         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4114         (java::io::File::attr): Change formatting a bit and use
4115         WIN32_EPOCH_MILLIS instead of magic numbers.
4116         (java::io::File::isAbsolute): Path must have at least 3 
4117         characters for a UNC network path.
4118         (java::io::File::init_native): Define.
4119         (java::io::File::performCreate): Likewise.
4120         (java::io::File::performSetReadOnly): Likewise.
4121         (java::io::File::performSetLastModified): Likewise.
4122         (java::io::File::performListRoots): Likewise.
4123
4124 2003-03-01  Tom Tromey  <tromey@redhat.com>
4125
4126         * java/lang/natObject.cc: Don't include assert.h.
4127         (heavy_lock_obj_finalization_proc): Use JvAssert.
4128         (remove_all_heavy): Likewise.
4129         (_Jv_MonitorEnter): Likewise.
4130         (_Jv_MonitorExit): Likewise.
4131         (wait): Likewise.
4132
4133 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4134
4135         * java/io/File (getAbsolutePath): Prefix drive specifier on
4136         Windows for paths starting with a '\'.
4137         (toURL): Make URL more consistent with what Sun's JDK returns.
4138
4139         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4140         true only if the path is a UNC network path or it starts with a
4141         drive specifier.
4142
4143         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4144         Be prepared to handle either '/' or '\\' in the file path for
4145         Windows if using the "file" protocol.
4146         Canonicalise the file path if using a relative path in the given
4147         context and the "file" protocol.
4148
4149 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
4150
4151         * java/lang/natWin32Process.cc (startProcess): Double-quote each
4152         program array element passed to CreateProcess.
4153
4154 2003-03-01  Tom Tromey  <tromey@redhat.com>
4155
4156         * java/rmi/registry/RegistryHandler.java: Deprecate.
4157
4158 2003-03-01  Tom Tromey  <tromey@redhat.com>
4159
4160         * javax/accessibility/AccessibleEditableText.java,
4161         javax/accessibility/AccessibleHyperlink.java: New versions from
4162         Classpath.
4163
4164         * gnu/java/locale/LocaleInformation_af_ZA.java,
4165         gnu/java/locale/LocaleInformation_ar_AE.java,
4166         gnu/java/locale/LocaleInformation_ar_BH.java,
4167         gnu/java/locale/LocaleInformation_ar_DZ.java,
4168         gnu/java/locale/LocaleInformation_ar_EG.java,
4169         gnu/java/locale/LocaleInformation_ar_IN.java,
4170         gnu/java/locale/LocaleInformation_ar_IQ.java,
4171         gnu/java/locale/LocaleInformation_ar_JO.java,
4172         gnu/java/locale/LocaleInformation_ar_KW.java,
4173         gnu/java/locale/LocaleInformation_ar_LB.java,
4174         gnu/java/locale/LocaleInformation_ar_LY.java,
4175         gnu/java/locale/LocaleInformation_ar_MA.java,
4176         gnu/java/locale/LocaleInformation_ar_OM.java,
4177         gnu/java/locale/LocaleInformation_ar_QA.java,
4178         gnu/java/locale/LocaleInformation_ar_SD.java,
4179         gnu/java/locale/LocaleInformation_ar_SY.java,
4180         gnu/java/locale/LocaleInformation_ar_TN.java,
4181         gnu/java/locale/LocaleInformation_ar_YE.java,
4182         gnu/java/locale/LocaleInformation_be_BY.java,
4183         gnu/java/locale/LocaleInformation_bn_IN.java,
4184         gnu/java/locale/LocaleInformation_br_FR.java,
4185         gnu/java/locale/LocaleInformation_bs_BA.java,
4186         gnu/java/locale/LocaleInformation_ca_ES.java,
4187         gnu/java/locale/LocaleInformation_cs_CZ.java,
4188         gnu/java/locale/LocaleInformation_cy_GB.java,
4189         gnu/java/locale/LocaleInformation_da_DK.java,
4190         gnu/java/locale/LocaleInformation_de_AT.java,
4191         gnu/java/locale/LocaleInformation_de_BE.java,
4192         gnu/java/locale/LocaleInformation_de_CH.java,
4193         gnu/java/locale/LocaleInformation_de_DE.java,
4194         gnu/java/locale/LocaleInformation_de_LU.java,
4195         gnu/java/locale/LocaleInformation_el_GR.java,
4196         gnu/java/locale/LocaleInformation_en_AU.java,
4197         gnu/java/locale/LocaleInformation_en_BW.java,
4198         gnu/java/locale/LocaleInformation_en_CA.java,
4199         gnu/java/locale/LocaleInformation_en_DK.java,
4200         gnu/java/locale/LocaleInformation_en_GB.java,
4201         gnu/java/locale/LocaleInformation_en_HK.java,
4202         gnu/java/locale/LocaleInformation_en_IE.java,
4203         gnu/java/locale/LocaleInformation_en_IN.java,
4204         gnu/java/locale/LocaleInformation_en_NZ.java,
4205         gnu/java/locale/LocaleInformation_en_PH.java,
4206         gnu/java/locale/LocaleInformation_en_SG.java,
4207         gnu/java/locale/LocaleInformation_en_US.java,
4208         gnu/java/locale/LocaleInformation_en_ZA.java,
4209         gnu/java/locale/LocaleInformation_en_ZW.java,
4210         gnu/java/locale/LocaleInformation_es_AR.java,
4211         gnu/java/locale/LocaleInformation_es_BO.java,
4212         gnu/java/locale/LocaleInformation_es_CL.java,
4213         gnu/java/locale/LocaleInformation_es_CO.java,
4214         gnu/java/locale/LocaleInformation_es_CR.java,
4215         gnu/java/locale/LocaleInformation_es_DO.java,
4216         gnu/java/locale/LocaleInformation_es_EC.java,
4217         gnu/java/locale/LocaleInformation_es_ES.java,
4218         gnu/java/locale/LocaleInformation_es_GT.java,
4219         gnu/java/locale/LocaleInformation_es_HN.java,
4220         gnu/java/locale/LocaleInformation_es_MX.java,
4221         gnu/java/locale/LocaleInformation_es_NI.java,
4222         gnu/java/locale/LocaleInformation_es_PA.java,
4223         gnu/java/locale/LocaleInformation_es_PE.java,
4224         gnu/java/locale/LocaleInformation_es_PR.java,
4225         gnu/java/locale/LocaleInformation_es_PY.java,
4226         gnu/java/locale/LocaleInformation_es_SV.java,
4227         gnu/java/locale/LocaleInformation_es_US.java,
4228         gnu/java/locale/LocaleInformation_es_UY.java,
4229         gnu/java/locale/LocaleInformation_es_VE.java,
4230         gnu/java/locale/LocaleInformation_et_EE.java,
4231         gnu/java/locale/LocaleInformation_eu_ES.java,
4232         gnu/java/locale/LocaleInformation_fa_IR.java,
4233         gnu/java/locale/LocaleInformation_fi_FI.java,
4234         gnu/java/locale/LocaleInformation_fo_FO.java,
4235         gnu/java/locale/LocaleInformation_fr_BE.java,
4236         gnu/java/locale/LocaleInformation_fr_CA.java,
4237         gnu/java/locale/LocaleInformation_fr_CH.java,
4238         gnu/java/locale/LocaleInformation_fr_FR.java,
4239         gnu/java/locale/LocaleInformation_fr_LU.java,
4240         gnu/java/locale/LocaleInformation_ga_IE.java,
4241         gnu/java/locale/LocaleInformation_gd_GB.java,
4242         gnu/java/locale/LocaleInformation_gl_ES.java,
4243         gnu/java/locale/LocaleInformation_gv_GB.java,
4244         gnu/java/locale/LocaleInformation_he_IL.java,
4245         gnu/java/locale/LocaleInformation_hi_IN.java,
4246         gnu/java/locale/LocaleInformation_hr_HR.java,
4247         gnu/java/locale/LocaleInformation_hu_HU.java,
4248         gnu/java/locale/LocaleInformation_id_ID.java,
4249         gnu/java/locale/LocaleInformation_it_CH.java,
4250         gnu/java/locale/LocaleInformation_it_IT.java,
4251         gnu/java/locale/LocaleInformation_iw_IL.java,
4252         gnu/java/locale/LocaleInformation_ja_JP.java,
4253         gnu/java/locale/LocaleInformation_ka_GE.java,
4254         gnu/java/locale/LocaleInformation_kl_GL.java,
4255         gnu/java/locale/LocaleInformation_ko_KR.java,
4256         gnu/java/locale/LocaleInformation_kw_GB.java,
4257         gnu/java/locale/LocaleInformation_lt_LT.java,
4258         gnu/java/locale/LocaleInformation_lv_LV.java,
4259         gnu/java/locale/LocaleInformation_mi_NZ.java,
4260         gnu/java/locale/LocaleInformation_mk_MK.java,
4261         gnu/java/locale/LocaleInformation_mr_IN.java,
4262         gnu/java/locale/LocaleInformation_mt_MT.java,
4263         gnu/java/locale/LocaleInformation_nl_BE.java,
4264         gnu/java/locale/LocaleInformation_nl_NL.java,
4265         gnu/java/locale/LocaleInformation_nn_NO.java,
4266         gnu/java/locale/LocaleInformation_no_NO.java,
4267         gnu/java/locale/LocaleInformation_oc_FR.java,
4268         gnu/java/locale/LocaleInformation_pl_PL.java,
4269         gnu/java/locale/LocaleInformation_pt_BR.java,
4270         gnu/java/locale/LocaleInformation_pt_PT.java,
4271         gnu/java/locale/LocaleInformation_ro_RO.java,
4272         gnu/java/locale/LocaleInformation_ru_RU.java,
4273         gnu/java/locale/LocaleInformation_ru_UA.java,
4274         gnu/java/locale/LocaleInformation_se_NO.java,
4275         gnu/java/locale/LocaleInformation_sk_SK.java,
4276         gnu/java/locale/LocaleInformation_sl_SI.java,
4277         gnu/java/locale/LocaleInformation_sq_AL.java,
4278         gnu/java/locale/LocaleInformation_sr_YU.java,
4279         gnu/java/locale/LocaleInformation_sv_FI.java,
4280         gnu/java/locale/LocaleInformation_sv_SE.java,
4281         gnu/java/locale/LocaleInformation_ta_IN.java,
4282         gnu/java/locale/LocaleInformation_te_IN.java,
4283         gnu/java/locale/LocaleInformation_tg_TJ.java,
4284         gnu/java/locale/LocaleInformation_tl_PH.java,
4285         gnu/java/locale/LocaleInformation_tr_TR.java,
4286         gnu/java/locale/LocaleInformation_uk_UA.java,
4287         gnu/java/locale/LocaleInformation_ur_PK.java,
4288         gnu/java/locale/LocaleInformation_uz_UZ.java,
4289         gnu/java/locale/LocaleInformation_vi_VN.java,
4290         gnu/java/locale/LocaleInformation_yi_US.java,
4291         gnu/java/locale/LocaleInformation_zh_CN.java,
4292         gnu/java/locale/LocaleInformation_zh_HK.java,
4293         gnu/java/locale/LocaleInformation_zh_SG.java,
4294         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4295         info; from Classpath.
4296
4297         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4298         isPaintPending): New methods.
4299         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4300         setMaximizedBounds): New methods.
4301         (beginLayout, endLayout, isPaintPending): Likewise.
4302         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4303         (requestFocus): Likewise.
4304         (isObscured): Likewise.
4305         (canDetermineObscurity): Likewise.
4306         (coalescePaintEvent): Likewise.
4307         (updateCursorImmediately): Likewise.
4308         (createVolatileImage): Likewise.
4309         (handlesWheelScrolling): Likewise.
4310         (createBuffers): Likewise.
4311         (getBackBuffer): Likewise.
4312         (flip): Likewise.
4313         (destroyBuffers): Likewise.
4314
4315         * Makefile.in: Rebuilt.
4316         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4317         RobotPeer.java.
4318         * gnu/java/awt/GLightweightPeer.java,
4319         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4320         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4321         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4322         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4323         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4324         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4325         java/awt/dnd/peer/DragSourceContextPeer.java,
4326         java/awt/dnd/peer/DropTargetContextPeer.java,
4327         java/awt/peer/ButtonPeer.java,
4328         java/awt/peer/CheckboxMenuItemPeer.java,
4329         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4330         java/awt/peer/ComponentPeer.java,
4331         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4332         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4333         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4334         java/awt/peer/MenuBarPeer.java,
4335         java/awt/peer/MenuComponentPeer.java,
4336         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4337         java/awt/peer/PopupMenuPeer.java,
4338         java/awt/peer/ScrollPanePeer.java,
4339         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4340         java/awt/peer/TextComponentPeer.java,
4341         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4342         New versions from Classpath.
4343         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4344         * java/awt/peer/RobotPeer.java: Likewise.
4345
4346 2003-03-01  Mark Wielaard  <mark@klomp.org>
4347
4348         * java/io/ObjectInputStream.java: Reindent.
4349         * java/io/ObjectOutputStream.java: Likewise.
4350
4351 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4352
4353         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4354         jvalue for each argument. Simplify.
4355         * testsuite/libjava.jni/calls.c (docall),
4356         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4357         misalignment.
4358
4359 2003-02-28  Mark Wielaard  <mark@klomp.org>
4360
4361         * Makefile.am (nat_source_files): Remove
4362         java/io/natObjectOutputStream.cc.
4363         * Makefile.in: Regenerated.
4364         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4365         * java/io/ObjectStreamField.java (typename): New field.
4366         (ObjectStreamField(String, Class)): Initialize new field.
4367         (ObjectStreamField(String, String)): New Constructor.
4368         (getTypeCode): Use new field.
4369         (getTypeString): Use new field.
4370         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4371         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4372         Handle reading of Proxy classes. Never drain(), just write
4373         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4374         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4375         (flush): Call flush(), not just drain().
4376         (writeBoolean): Always use blockDataOutput.
4377         (writeByte): Likewise.
4378         (writeShort): Likewise.
4379         (writeChar): Likewise.
4380         (writeInt): Likewise.
4381         (writeLong): Likewise.
4382         (writeFloat): Likewise.
4383         (writeDouble): Likewise.
4384         (writeBytes): Likewise.
4385         (putfield (put(String,Object))): Throw IllegalArgumentException if
4386         field cannot be found.
4387         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4388         (writeArraySizeAndElements): Write byte[] in one go.
4389         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4390         set BlockDataMode to false.
4391         (annotateProxyClass): New method.
4392         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4393         (getField): No longer native.
4394         (getMethod): Likewise.
4395         (setBlockDataMode): Always drain() on switch, return old mode.
4396         (static): New static code block.
4397         * java/io/natObjectOutputStream.cc: Removed.
4398         * java/io/ObjectInputStream.java (getField): No longer native.
4399         (getMethod): Likewise.
4400         (readObject): Remember and reset old BlockDataMode. Track whether
4401         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4402         TC_LONGSTRING.
4403         (defaultReadObject): Set BlockDataMode to false during readFields.
4404         (resolveClass): Create new SecurityManager if necessary.
4405         Use Class.forName() if null ClassLoader found.
4406         (read(byte[],int,int): Copy remaining bytes to data before calling
4407         readNextBlock().
4408         (readFields): Set and reset BlockDataMode on call_read_method.
4409         Catch NoSuchFieldErrors.
4410         (setBlockDataMode): Return old mode.
4411         (static): New static code block.
4412         * java/io/natObjectInputStream.cc (getField): Removed.
4413         (getMethod): Likewise.
4414
4415 2003-02-27  Michael Koch  <konqueror@gmx.de>
4416
4417         * java/beans/Beans.java,
4418         java/beans/FeatureDescriptor.java
4419         java/beans/PropertyEditorManager.java:
4420         Reformated to GNU style.
4421
4422 2003-02-25  Michael Koch  <konqueror@gmx.de>
4423
4424         * gnu/java/nio/MappedByteFileBuffer.java,
4425         gnu/java/nio/natMappedByteFileBuffer.cc:
4426         New files, both are not compiled yet to get not noncompiling CVS.
4427
4428 2003-02-24  Tom Tromey  <tromey@redhat.com>
4429
4430         * java/util/prefs/AbstractPreferences.java (isUserNode):
4431         Implemented.
4432
4433 2003-02-24  Tom Tromey  <tromey@redhat.com>
4434
4435         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4436         Deprecate.
4437         * java/lang/Thread.java (resume): Deprecate.
4438         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4439         in @deprecated.
4440
4441 2003-02-23  Tom Tromey  <tromey@redhat.com>
4442
4443         * Makefile.in: Rebuilt.
4444         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4445
4446 2003-02-23  Tom Tromey  <tromey@redhat.com>
4447
4448         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4449         libraries): Removed.
4450         (add_library): Removed.
4451         (_load): Don't call add_library.
4452         (loadLibraryInternal): Likewise.
4453         (init): Likewise.
4454         (lookup_data): New struct.
4455         (find_symbol): New function.
4456         (_Jv_FindSymbolInExecutable): Use it.
4457
4458 2002-02-21  Anthony Green  <green@redhat.com>
4459
4460         * java/lang/Thread.java (Thread): New constructor taking stack
4461         size parameter (ignored for now).
4462         * Many methods: Merged GNU Classpath documentation.
4463
4464         * java/lang/Class.java (finalize): throws a Throwable.
4465
4466 2003-02-21  Mark Wielaard  <mark@klomp.org>
4467
4468         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4469         argument is null.
4470
4471 2003-02-21  Mark Wielaard  <mark@klomp.org>
4472
4473         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4474         then 65535 chars throw IllegalArgumentException.
4475
4476 2003-02-21  Mark Wielaard  <mark@klomp.org>
4477
4478         * java/util/zip/ZipFile.java (finalize): New method.
4479
4480 2003-02-21  Michael Koch  <konqueror@gmx.de>
4481
4482         * gnu/java/nio/natSocketChannelImpl.cc:
4483         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4484         <cato@df.lth.se> for pointing to it.
4485
4486 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4487
4488         * java/math/BigInteger.java (euclidInv): Take result array as an
4489         argument.  Updated all callers.
4490         (modInverse): Removed unused variables.
4491
4492 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4493
4494         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4495         config.status.
4496         * configure: Rebuilt.
4497
4498 2003-02-19  Michael Koch  <konqueror@gmx.de>
4499
4500         * gnu/java/nio/natSocketChannelImpl.cc:
4501         Added support for platforms without network support.
4502
4503 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4504
4505         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4506         after config.h.  Use <> for consistency.
4507         * java/lang/natObject.cc: Likewise.
4508         * java/lang/natRuntime.cc: Likewise.
4509         * java/lang/natSystem.cc: Likewise.
4510         * java/util/natTimeZone.cc: Likewise.
4511         * win32.cc: Likewise.
4512         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4513         listen, write, read): Undef to avoid interference from OS macros.
4514
4515 2003-02-19  Michael Koch  <konqueror@gmx.de>
4516
4517         * gnu/java/nio/ByteBufferImpl.java
4518         (ByteBufferImpl): Renamed two variables.
4519         * gnu/java/nio/CharBufferImpl.java
4520         (CharBufferImpl): Renamed two variables.
4521         * gnu/java/nio/DoubleBufferImpl.java
4522         (DoubleBufferImpl): Renamed two variables.
4523         * gnu/java/nio/FloatBufferImpl.java
4524         (FloatBufferImpl): Renamed two variables.
4525         * gnu/java/nio/IntBufferImpl.java
4526         (IntBufferImpl): Renamed two variables.
4527         * gnu/java/nio/LongBufferImpl.java
4528         (LongBufferImpl): Renamed two variables.
4529         * gnu/java/nio/ShortBufferImpl.java
4530         (ShortBufferImpl): Renamed two variables.
4531         * java/nio/CharBuffer.java
4532         (wrap): Fixed arguments to CharBufferImpl constructor.
4533         (hasArray): Only not read-only buffers have backing arrays.
4534         (length): Documentation added.
4535         (subSequence): Documentation added.
4536         * java/nio/DoubleBuffer.java
4537         (hasArray): Only not read-only buffers have backing arrays.
4538         * java/nio/FloatBuffer.java
4539         (hasArray): Only not read-only buffers have backing arrays.
4540         * java/nio/IntBuffer.java
4541         (hasArray): Only not read-only buffers have backing arrays.
4542         * java/nio/LongBuffer.java
4543         (hasArray): Only not read-only buffers have backing arrays.
4544         * java/nio/ShortBuffer.java
4545         (hasArray): Only not read-only buffers have backing arrays.
4546         
4547 2003-02-19  Michael Koch  <konqueror@gmx.de>
4548
4549         * javax/accessibility/AccessibleContext.java
4550         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4551
4552 2003-02-19  Michael Koch  <konqueror@gmx.de>
4553
4554         * java/awt/ScrollPaneAdjustable.java: Reformated.
4555
4556 2003-02-19  Michael Koch <konqueror@gmx.de>
4557
4558         * gnu/awt/j2d/Graphics2DImpl.java
4559         (getFontRenderContext): New method.
4560         (drawGlyphVector): New method.
4561         * java/awt/Graphics2D.java
4562         (getFontRenderContext): New abstract method.
4563         (drawGlyphVector): New abstract method.
4564         
4565 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4566
4567         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4568         if necessary.
4569         
4570         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4571         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4572         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4573         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4574         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4575         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4576         (setFont, gtkSetFont): add.
4577         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4578         Propagate font to peer.  (setFont): add FIXME comment.
4579
4580         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4581         (gtkTextGetSize): fix height, width computation.
4582
4583         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4584         Make X font name a bit less bogus.
4585
4586         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4587         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4588
4589         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4590         (processAdjustmentEvent): Adjust value.
4591
4592         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4593         logic errors.
4594
4595         * java/awt/Component.java (setVisible, show, hide): Call show and
4596         hide methods in subclasses.
4597         (getPreferredSize): don't set prefSize before we have peer.
4598
4599         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4600         Guess (0,0) if we don't have peer.
4601
4602
4603 2003-02-18  Michael Koch  <konqueror@gmx.de>
4604
4605         * java/nio/channels/FileChannel.java
4606         (toString): New implementation, added documentation.
4607         (map): Added exception documentation.
4608         (size): Added exception documentation.
4609         (write): New methods, documentation work.
4610         (read): New methods, documentation work.
4611         (implCloseChannel): Rewrote exception documentation.
4612         (force): Throws IOException, added documentation.
4613         (lock): New methods.
4614         (tryLock): New methods.
4615         (position): New methods.
4616         (transferTo): New method.
4617         (transferFrom): New method.
4618         (truncate): New method.
4619         * java/nio/channels/spi/SelectorProvider.java
4620         (provider): Implemented.
4621         * Makefile.am
4622         (ordinary_java_source_files): Added the following files:
4623         gnu/java/nio/DatagramChannelImpl.java
4624         gnu/java/nio/FileChannelImpl.java
4625         gnu/java/nio/PipeImpl.java
4626         gnu/java/nio/SelectionKeyImpl.java
4627         gnu/java/nio/SelectorImpl.java
4628         gnu/java/nio/SelectorProviderImpl.java
4629         gnu/java/nio/ServerSocketChannelImpl.java
4630         gnu/java/nio/SocketChannelImpl.java
4631         java/nio/channels/FileLock.java
4632         (nat_java_source_files): Added the following files:
4633         gnu/java/nio/natFileChannelImpl.cc
4634         gnu/java/nio/natSelectorImpl.cc
4635         gnu/java/nio/natSocketChannelImpl.cc
4636         * Makefile.in: Regenerated.
4637
4638 2003-02-17  Tom Tromey  <tromey@redhat.com>
4639
4640         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4641         * java/awt/image/ImageFilter.java: Likewise.
4642
4643 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4644
4645         * java/math/BigInteger.java (euclidInv): Return array of
4646         `BigInteger's.  Changed all callers.
4647
4648 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4649
4650         * java/util/Properties.java (store): Move the code formerly in
4651         list(), into this method.
4652         (list (PrintStream)): Just call list (PrintWriter) with a 
4653         PrintWriter object constructed from the given PrintStream object.
4654         (list (PrintWriter)): Emulate the output of Properties.list()
4655         as found in JDK 1.3/1.4.
4656
4657 2003-02-17  Michael Koch  <konqueror@gmx.de>
4658
4659         * java/net/DatagramSocket.java
4660         (connect): Merged with classpath.
4661         (disconnect): Merged documentation with classpath.
4662         (receice): Merged documentation with classpath.
4663         (send): Merged documentation with classpath.
4664         
4665 2003-02-17  Michael Koch  <konqueror@gmx.de>
4666
4667         * java/awt/dnd/DragSourceContext.java
4668         (addDragSourceListener): Added documentation.
4669         * java/awt/dnd/DragSourceDragEvent.java
4670         (serialVersionUID): New member variable.
4671         (getDropAction): Reformated.
4672         * java/awt/dnd/DragSourceDropEvent.java
4673         (serialVersionUID): New member variable.
4674         (dropSuccess): Renamed from success for serialization issues.
4675         * java/awt/dnd/DragSourceEvent.java
4676         (serialVersionUID): New member variable.
4677         * java/awt/dnd/DropTarget.java
4678         (serialVersionUID): New member variable.
4679         (DropTarget): Implemented, documentation reworked.
4680         (setComponent): Documentation added.
4681         (getComponent): Documentation added.
4682         (setDefaultActions): Documentation added.
4683         (getDefaultActions): Documentation added.
4684         (addDropTargetListener): Documentation added.
4685         * java/awt/dnd/DropTargetContext.java
4686         (DropTargetContext): Documentation added.
4687         (TransferableProxy.TransferableProxy): New method.
4688         (dropComplete): Fixed documentation.
4689         (getTransferable): Fixed documentation.
4690         (createTransferableProxy): Implemented.
4691         * java/awt/dnd/DropTargetDragEvent.java
4692         (DropTargetDragEvent): Documentation added.
4693         (serialVersionUID): New member variable.
4694         (DropTargetDragEvent): Throw exceptions, documentation added.
4695         (acceptDrag): Implemented.
4696         (getCurrentDataFlavors): Implemented.3yy
4697         (getCurrentDataFlavorsAsList): Implemented.
4698         (isDataFlavorSupported): Implemented.
4699         (rejectDrag): Implemented.
4700         * java/awt/dnd/DropTargetDropEvent.java
4701         (DropTargetDropEvent): Documentation added.
4702         (serialVersionUID): New member variable.
4703         (actions): Renamed from srcActions for serialization issues.
4704         (isLocalTx): Renamed from isLocalTx for serialization issues.
4705         (DropTargetDropEvent): New implementation, throw exceptions,
4706         documentation added.
4707         (getCurrentDataFlavors): Implemented.
4708         (getCurrentDataFlavorsAsList): Implemented.
4709         (isDataFlavorSupported): Implemented.
4710         (getSourceActions): Implemented.
4711         (getDropAction): Implemented.
4712         (getTransferable): Implemented.
4713         (acceptDrop): Implemented.
4714         (rejectDrop): Implemented.
4715         * java/awt/dnd/DropTargetListener.java
4716         (drop): Fixed documentation.
4717         * java/awt/dnd/MouseDragGestureRecognizer.java
4718         (MouseDragGestureRecognizer): Documentation added.
4719
4720 2003-02-17  Michael Koch  <konqueror@gmx.de>
4721
4722         * java/awt/font/FontRenderContext.java,
4723         java/awt/font/ShapeGraphicAttribute.java,
4724         java/awt/font/MultipleMaster.java,
4725         java/awt/font/TransformAttribute.java,
4726         java/awt/font/GlyphJustificationInfo.java,
4727         java/awt/font/LineBreakMeasurer.java,
4728         java/awt/font/TextMeasurer.java,
4729         java/awt/font/TextLayout.java,
4730         java/awt/font/LineMetrics.java,
4731         java/awt/font/TextAttribute.java,
4732         java/awt/font/GlyphMetrics.java,
4733         java/awt/font/OpenType.java,
4734         java/awt/font/GlyphVector.java,
4735         java/awt/font/GraphicAttribute.java,
4736         java/awt/font/ImageGraphicAttribute.java,
4737         java/awt/font/NumericShaper.java: New files.
4738         * Makefile.am
4739         (awt_java_source_files): Added the following files:
4740         java/awt/font/FontRenderContext.java
4741         java/awt/font/ShapeGraphicAttribute.java
4742         java/awt/font/MultipleMaster.java
4743         java/awt/font/TransformAttribute.java
4744         java/awt/font/GlyphJustificationInfo.java
4745         java/awt/font/LineBreakMeasurer.java
4746         java/awt/font/TextMeasurer.java
4747         java/awt/font/TextLayout.java
4748         java/awt/font/LineMetrics.java
4749         java/awt/font/TextAttribute.java
4750         java/awt/font/GlyphMetrics.java
4751         java/awt/font/OpenType.java
4752         java/awt/font/GlyphVector.java
4753         java/awt/font/GraphicAttribute.java
4754         java/awt/font/ImageGraphicAttribute.java
4755         java/awt/font/NumericShaper.java
4756         * Makefile.in: Regenerated.
4757
4758 2003-02-17  Michael Koch  <konqueror@gmx.de>
4759
4760         * java/awt/print/Paper.java
4761         (Paper): Implements Cloneable.
4762         * java/awt/print/PrinterJob.java
4763         (setJobName): Return value must be void.
4764         (print): Throws PrinterException.
4765         
4766 2003-02-16  Tom Tromey  <tromey@redhat.com>
4767
4768         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4769         variable.
4770
4771 2003-02-15  Michael Koch  <konqueror@gmx.de>
4772
4773         * java/awt/datatransfer/DataFlavor.java
4774         (isRepresentationClassByteBuffer): Removed try-catch block.
4775         (isRepresentationClassCharBuffer): Removed try-catch block.
4776         (isRepresentationClassReader): Removed try-catch block.
4777
4778 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4779
4780         * java/nio/charset/Charset.java
4781         (isRegistered): Fixed method args and implementation.
4782         * java/nio/charset/CharsetEncoder.java
4783         (unmappableCharacterAction): New method.
4784
4785 2003-02-15  Michael Koch  <konqueror@gmx.de>
4786
4787         * java/awt/CheckboxMenuItem.java
4788         (CheckBoxMenuItem): Dont implement Serializable.
4789         (getListeners): New method,
4790         (getItemListeners): New method.
4791         * java/awt/Choice.java
4792         (getListeners): New method,
4793         (getItemListeners): New method.
4794         * java/awt/Container.java
4795         (getListeners): Added exception documentation.
4796         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4797         (getFocusTraversalKeys): Added documentation.
4798         (areFocusTraversalKeysSet): Added documentation.
4799         (applyComponentOrientation): Added documentation.
4800         * java/awt/ContainerOrderFocusTraversalPolicy.java
4801         (implicitDownCycleTraversal): Renamed from downCycle for
4802         serialization.
4803         (ContainerOrderFocusTraversalPolicy): Added documentation.
4804         (accept): Reformated.
4805         * java/awt/Dialog.java
4806         (Dialog): Dont implement Serializable.
4807         (Dialog): Added documentation.
4808         * java/awt/Font.java
4809         (Font): Dont use absolute class name.
4810         * java/awt/Frame.java
4811         (Frame): Font implement Serializable.
4812         * java/awt/List.java
4813         (getListeners): New method,
4814         (getActionListeners): New method.       
4815         (getItemListeners): New method.
4816         * java/awt/Menu.java
4817         (countItems): New deprecated method.
4818         * java/awt/Scrollbar.java
4819         (getListeners): New method,
4820         (getAdjustmentListeners): New method,
4821         * java/awt/TextComponent.java
4822         (getListeners): New method,
4823         (getTextListeners): New method,
4824         * java/awt/TextField.java
4825         (getListeners): New method,
4826         (getActionListeners): New method.       
4827         * java/awt/Window.java
4828         (windowFocusListener): New member variable.
4829         (windowStateListener): New member variable.
4830         (getWindowFocusListeners): New method.
4831         (getWindowStateListeners): New method.
4832         (addWindowFocusListener): New method.
4833         (addWindowStateListener): New method.
4834         (removeWindowFocusListener): New method.
4835         (removeWindowStateListener): New method.
4836         * java/awt/datatransfer/DataFlavor.java
4837         (isRepresentationClassByteBuffer): New method.
4838         (isRepresentationClassCharBuffer): New method.
4839         (isRepresentationClassReader): New method.
4840
4841 2003-02-14  Mark Wielaard  <mark@klomp.org>
4842
4843         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4844         zero when there is an exponent and the significant is zero.
4845         (divide): Always set scale to newScale even in special ZERO case.
4846
4847 2003-02-14  Tom Tromey  <tromey@redhat.com>
4848
4849         * java/lang/System.java (properties): Use Properties.clone.
4850         (setProperties): Likewise.
4851
4852 2003-02-14  Michael Koch  <konqueror@gmx.de>
4853
4854         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4855         * gnu/java/nio/ServerSocketChannelImpl.java
4856         (SocketAccept): Removed.
4857         (accept): Commented out use of SocketAccept.
4858
4859 2003-02-13  Tom Tromey  <tromey@redhat.com>
4860
4861         * verify.cc (state::seen_subrs): New field.
4862         (state::state): Initialize it.
4863         (state::clean_subrs): New method.
4864         (state::~state): Call it.
4865         (state::copy): Copy subroutine list.
4866         (state::add_subr): New method.
4867         (state::merge): Only register a change if the current subroutine
4868         hasn't yet been noted.
4869
4870 2003-02-13  Mark Wielaard  <mark@klomp.org>
4871
4872         * java/io/InputStreamReader.java (getEncoding): Return null when
4873         closed.
4874         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4875
4876 2003-02-13  Mark Wielaard  <mark@klomp.org>
4877  
4878         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4879         is zero.
4880
4881 2003-02-13  Mark Wielaard  <mark@klomp.org>
4882
4883         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4884         next byte cannot be buffered.
4885
4886 2003-02-13  Michael Koch  <konqueror@gmx.de>
4887  
4888         * java/awt/Label.java
4889         (Label): Don't implement Serializable directly.
4890         (addNotify): Fixed typo in documentation.
4891         * java/awt/List.java
4892         (List): Don't implement Serializable directly.
4893         * java/awt/PopupMenu.java
4894         (PopupMenu): Don't implement Serializable directly.
4895         * java/awt/ScrollPane.java
4896         (ScrollPane): Don't implement Serializable directly.
4897         * java/awt/Scrollbar.java
4898         (Scrollbar): Don't implement Serializable directly.
4899         * java/awt/TextArea.java
4900         (preferredSize): Fixed method arguments.
4901         * java/awt/TextField.java
4902         (TextField): Don't implement Serializable directly.
4903         * java/awt/color/ICC_ColorSpace.java
4904         (fromCIOXYZ): Documentation added.
4905         (getMinValue): Documentation added.
4906         (getMaxValue): Documentation added.
4907         * java/awt/datatransfer/DataFlavor.java
4908         (isMimeTypeEqual): May not be final.
4909         (clone): Throws CloneNotSupportedException.
4910         (getReaderForText): Don't throws UnsupportedEncodingException.
4911
4912 2003-02-13  Michael Koch  <konqueror@gmx.de>
4913  
4914         * gnu/java/awt/peer/gtk/GdkGraphics.java
4915         (drawString): New stubbed method.
4916         * java/awt/Graphics.java
4917         (drawString): New method.
4918
4919 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4920
4921         PR libgcj/9271:
4922         * java/security/SecureRandom.java (next): Avoid bias in results.
4923
4924 2003-02-13  Michael  <konqueror@gmx.de>
4925
4926         * gnu/java/nio/FileChannelImpl.java
4927         (lengthInternal): Must be native.
4928         (size): Check if channel is already closed.
4929         (implCloseChannel): Reformated.
4930         (read): w was unused, removed it.
4931         (read): Removed.
4932         (read): New method.
4933         (write): New method.
4934         (map): Check arguments.
4935         (force): Throws IOException, check if channel is closed.
4936         (transferTo): New method.
4937         (transferFrom): New method.
4938         (lock): New method.
4939         (tryLock): New method.
4940         (position): New method.
4941         (truncate): New method.
4942         (nio_mmap_file): Uncommented.
4943         (nio_munmap_file): Uncommented.
4944         (nio_msync): Uncommented.
4945         * gnu/java/nio/natFileChannelImpl.cc: New file.
4946         
4947 2003-02-13  Michael Koch  <konqueror@gmx.de>
4948
4949         * java/nio/ByteBuffer.java
4950         (endian): New member variable.
4951         (get): New methods.
4952         (equals): New method.
4953         (compareTo): New method.
4954         (order): New methods.
4955         (compact): New method.
4956         (isDirect): New method.
4957         (slice): New method.
4958         (duplicate): New method.
4959         (asReadOnlyBuffer): New method.
4960         (asCharBuffer): New method.
4961         (asDoubleBuffer): New method.
4962         (asFloatBuffer): New method.
4963         (asIntBuffer): New method.
4964         (asLongBuffer): New method.
4965         (asShortBuffer): New method.
4966         (get*): New methods.
4967         (put*): New methods.
4968         (toString): New method.
4969         * java/nio/CharBuffer.java
4970         (CharBuffer): Implement Comparable instead of Cloneable.
4971         (get): May not be final.
4972         (put): May not be final.
4973         
4974 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4975
4976         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4977         lastIndexOf( ) instead of indexOf( ) to find the colon before
4978         the line number, because Win32 file names might contain a 
4979         drive letter and a colon at the start of an absolute path.
4980
4981 2003-02-13  Michael Koch  <konqueror@gmx.de>
4982
4983         * gnu/java/nio/natSocketChannelImpl.cc
4984         (SocketConnect): This is not implemented yet.
4985         (SocketBind): This is not implemented yet.
4986
4987 2003-02-13  Michael Koch  <konqueror@gmx.de>
4988
4989         * gnu/java/nio/natByteBufferImpl.cc,
4990         gnu/java/nio/natCharBufferImpl.cc,
4991         gnu/java/nio/natDoubleBufferImpl.cc,
4992         gnu/java/nio/natFloatBufferImpl.cc,
4993         gnu/java/nio/natIntBufferImpl.cc,
4994         gnu/java/nio/natLongBufferImpl.cc,
4995         gnu/java/nio/natShortBufferImpl.cc:
4996         Added copyright and license.
4997         * java/nio/DoubleBuffer.java,
4998         java/nio/FloatBuffer.java,
4999         java/nio/IntBuffer.java,
5000         java/nio/LongBuffer.java,
5001         java/nio/ShortBuffer.java
5002         (array): Throw exceptions.
5003         (arrayOffset): Throw exceptions.
5004
5005 2003-02-13  Michael Koch  <konqueror@gmx.de>
5006  
5007         * gnu/java/util/prefs/FileBasedFactory.java,
5008         gnu/java/util/prefs/MemmoryBasedFactory.java,
5009         gnu/java/util/prefs/MemoryBasedPreferences.java,
5010         gnu/java/util/prefs/NodeReader.java,
5011         gnu/java/util/prefs/NodeWriter.java,
5012         java/util/prefs/AbstractPreferences.java,
5013         java/util/prefs/BackingStoreException.java,
5014         java/util/prefs/InvalidPreferencesFormatException.java,
5015         java/util/prefs/NodeChangeEvent.java,
5016         java/util/prefs/NodeChangeListener.java,
5017         java/util/prefs/PreferenceChangeEvent.java,
5018         java/util/prefs/PreferenceChangeListener.java,
5019         java/util/prefs/Preferences.java,
5020         java/util/prefs/PreferencesFactory.java:
5021         New files, all merged from classpath.
5022         * Makefile.am
5023         (ordinary_java_source_files): Added the following files:
5024         gnu/java/util/prefs/FileBasedFactory.java,
5025         gnu/java/util/prefs/MemmoryBasedFactory.java,
5026         gnu/java/util/prefs/MemoryBasedPreferences.java,
5027         gnu/java/util/prefs/NodeReader.java,
5028         gnu/java/util/prefs/NodeWriter.java,
5029         (core_java_source_files): Added the following files:
5030         java/util/prefs/AbstractPreferences.java,
5031         java/util/prefs/BackingStoreException.java,
5032         java/util/prefs/InvalidPreferencesFormatException.java,
5033         java/util/prefs/NodeChangeEvent.java,
5034         java/util/prefs/NodeChangeListener.java,
5035         java/util/prefs/PreferenceChangeEvent.java,
5036         java/util/prefs/PreferenceChangeListener.java,
5037         java/util/prefs/Preferences.java,
5038         java/util/prefs/PreferencesFactory.java
5039         * Makefile.in: Regenerated.
5040  
5041 2003-02-13  Michael Koch  <konqueror@gmx.de>
5042
5043         * java/net/NetPermission.java
5044         (NetPermission): Make doucmentation match the method declaration.
5045         * java/net/NetworkInterface.java
5046         (equals): Reformated for GNU coding style.
5047         * java/net/ServerSocket.java: Merged with classpath.
5048         * java/net/Socket.java: Partly merged with classpath (Added some @since).
5049         * java/net/SocketImpl.java
5050         (localPort): Merged with classpath (initialize with -1).
5051         * java/net/SocketPermission.java: Merged with classpath (reindented).
5052         * java/net/URLDecoder.java: Merged with classpath (reindented).
5053
5054 2003-02-13  Michael Koch  <konqueror@gmx.de>
5055
5056         * java/awt/GridBagConstraints.java
5057         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5058         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5059         * java/awt/KeyboardFocusManager.java
5060         (setGlobalCurrentFocusCycleRoot): Must be public.
5061         * java/awt/MenuComponent.java
5062         (MenuComponent): Must be public.
5063         * java/awt/Toolkit.java:
5064         Added some empty lines to make documentation more readable.
5065         (getFontPeer): Added @deprecated.
5066         (getColorModel): Added exception documentation.
5067         (getProperty): Fixed documentation.
5068  
5069 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
5070
5071         * configure.host (alpha*-*): Default to -mieee.
5072         * configure.in (IEEESPEC): New.
5073         * libgcj.spec.in (jc1): Add IEEESPEC.
5074         * configure: Rebuild.
5075
5076 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5077
5078         * include/win32.h: Include ws2tcpip.h instead of
5079         winsock.h to obtain definition of the socklen_t type.
5080         Remove IP_TOS definition - not needed with ws2tcpip.h
5081         (_Jv_connect): Correct slight formatting error.
5082
5083 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5084
5085         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5086         size of the arguments for a JNI function. For Win32,
5087         modify to search for all forms of possible exported
5088         names of an stdcall JNI function.
5089         (_Jv_JNIMethod::call): Modify to calculate the size
5090         of the arguments passed to a JNI function and pass
5091         it to _Jv_LookupJNIMethod.
5092
5093 2003-02-12  Michael Koch  <konqueror@gmx.de>
5094
5095         * java/nio/channels/Channels.java: New file.
5096         * Makefile.am
5097         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5098         * Makefile.in: Regenerated.
5099
5100 2003-02-12  Michael Koch  <konqueror@gmx.de>
5101
5102         * java/nio/ByteBuffer.java
5103         (allocate): Implemented.
5104         (wrap): Implemented.
5105         * java/nio/CharBuffer.java:
5106         Some documentation added and reworked.
5107         (endian): Removed.
5108         (allocate): Implemented.
5109         (wrap): Implemented.
5110         (array): Throw exceptions.
5111         (arrayOffset): Throw exceptions.
5112         (toString): Implemented.
5113         (length): Implemented.
5114         (put): Implemented.
5115         (charAt): Implemented.
5116
5117 2003-02-11  John Leuner  <jewel@debian.org>
5118
5119         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
5120         reads from end of file.
5121
5122 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
5123
5124         * java/io/natFileDescriptorWin32.cc 
5125         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5126         returns with Win32 error code ERROR_BROKEN_PIPE.
5127
5128 2003-02-11  Michael Koch  <konqueror@gmx.de>
5129
5130         * Makefile.in
5131         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5132
5133 2003-02-11  Michael Koch  <konqueror@gmx.de>
5134
5135         * gnu/java/nio/ByteBufferImpl.java:
5136         Reformated and removed some code.
5137         (backing_buffer): Removed.      
5138         (array_offset): Removed.
5139         (ro): Renamed to readOnly.
5140         (ByteBufferImpl): Use parent constructor, initialize readOnly.
5141         * gnu/java/nio/CharBufferImpl.java:
5142         Reformated and removed some code.
5143         (array_offset): Removed.
5144         (ro): Renamed to readOnly.
5145         (CharBufferImpl): Use parent constructor, initialize readOnly.
5146         (inc_pos): Removed.
5147         (order): New method.
5148         * gnu/java/nio/DoubleBufferImpl.java:
5149         Reformated and removed some code.
5150         (array_offset): Removed.
5151         (ro): Renamed to readOnly.
5152         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5153         (inc_pos): Removed.
5154         (order): New method.
5155         * gnu/java/nio/FloatBufferImpl.java:
5156         Reformated and removed some code.
5157         (array_offset): Removed.
5158         (ro): Renamed to readOnly.
5159         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5160         (inc_pos): Removed.
5161         (order): New method.
5162         * gnu/java/nio/IntBufferImpl.java:
5163         Reformated and removed some code.
5164         (array_offset): Removed.
5165         (ro): Renamed to readOnly.
5166         (IntBufferImpl): Use parent constructor, initialize readOnly.
5167         (inc_pos): Removed.
5168         (order): New method.
5169         * gnu/java/nio/LongBufferImpl.java:
5170         Reformated and removed some code.
5171         (array_offset): Removed.
5172         (ro): Renamed to readOnly.
5173         (LongBufferImpl): Use parent constructor, initialize readOnly.
5174         (inc_pos): Removed.
5175         (order): New method.
5176         * gnu/java/nio/ShortBufferImpl.java:
5177         Reformated and removed some code.
5178         (array_offset): Removed.
5179         (ro): Renamed to readOnly.
5180         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5181         (inc_pos): Removed.
5182         (order): New method.
5183         * Makefile.am
5184         (ordinary_java_source_files): Added the following files:
5185         gnu/java/nio/ByteBufferImpl.java
5186         gnu/java/nio/CharBufferImpl.java
5187         gnu/java/nio/DoubleBufferImpl.java
5188         gnu/java/nio/FloatBufferImpl.java
5189         gnu/java/nio/IntBufferImpl.java
5190         gnu/java/nio/LongBufferImpl.java
5191         gnu/java/nio/ShortBufferImpl.java
5192         java/nio/DoubleBuffer.java
5193         java/nio/FloatBuffer.java
5194         java/nio/IntBuffer.java
5195         java/nio/LongBuffer.java
5196         java/nio/ShortBuffer.java
5197         (nat_source_files): Added the following files:
5198         gnu/java/nio/natByteBufferImpl.cc
5199         gnu/java/nio/natCharBufferImpl.cc
5200         gnu/java/nio/natDoubleBufferImpl.cc
5201         gnu/java/nio/natFloatBufferImpl.cc
5202         gnu/java/nio/natIntBufferImpl.cc
5203         gnu/java/nio/natLongBufferImpl.cc
5204         gnu/java/nio/natShortBufferImpl.cc
5205         * Makefile.in: Regenerated.
5206
5207 2003-02-11  Michael Koch  <konqueror@gmx.de>
5208
5209         * gnu/java/nio/natCharBufferImpl.cc
5210         (nio_cast): Removed.
5211         (nio_put_*): Removed.
5212         (nio_get_*): Removed.
5213         * gnu/java/nio/natDoubleBufferImpl.cc
5214         (nio_cast): Removed.
5215         (nio_put_*): Removed.
5216         (nio_get_*): Removed.
5217         * gnu/java/nio/natFloatBufferImpl.cc
5218         (nio_cast): Removed.
5219         (nio_put_*): Removed.
5220         (nio_get_*): Removed.
5221         * gnu/java/nio/natIntBufferImpl.cc
5222         (nio_cast): Removed.
5223         (nio_put_*): Removed.
5224         (nio_get_*): Removed.
5225         * gnu/java/nio/natLongBufferImpl.cc
5226         (nio_cast): Removed.
5227         (nio_put_*): Removed.
5228         (nio_get_*): Removed.
5229         * gnu/java/nio/natShortBufferImpl.cc
5230         (nio_cast): Removed.
5231         (nio_put_*): Removed.
5232         (nio_get_*): Removed.
5233         * gnu/java/nio/SelectorProviderImpl.java
5234         (openDatagramChannel): Throws IOException.
5235         (openPipe): Throws IOException.
5236         (openSelector): Throws IOException.
5237         (openServerSocketChannel): Throws IOException.
5238         (openSocketChannel): Throws IOException.
5239         * gnu/java/nio/ServerSocketChannelImpl.java
5240         (ServerSocketChannelImpl): Throws IOException.
5241         (implCloseSelectableChannel): Throws IOException.
5242         (implConfigureBlocking): Throws IOException.
5243         * java/nio/ByteBuffer.java
5244         (readOnly): Removed.
5245         (hasArray): Use isReadOnly() instead of readOnly.
5246         (array): Use isReadOnly() instead of readOnly.
5247         (arrayOffset): Use isReadOnly() instead of readOnly.
5248         * java/nio/CharBuffer.java
5249         (CharBuffer): Implements Cloneable and CharSequence.
5250
5251 2003-02-11  Michael Koch  <konqueror@gmx.de>
5252
5253         * java/nio/DoubleBuffer.java
5254         (DoubleBuffer): Implements Comparable.
5255         (endian): Removed.
5256         (array_offset): New member variable.
5257         (DoubleBuffer): New constuctor.
5258         (get): May not be final.
5259         (put): May not be final.
5260         (arrayOffset): Implemented.
5261         (order): Made abstract.
5262         (order): Removed.
5263         (as*Buffer): Removed.
5264         (get*): Removed.
5265         (put*): Removed.
5266         * java/nio/FloatBuffer.java
5267         (FloatBuffer): Implements Comparable.
5268         (endian): Removed.
5269         (array_offset): New member variable.
5270         (FloatBuffer): New constuctor.
5271         (get): May not be final.
5272         (put): May not be final.
5273         (arrayOffset): Implemented.
5274         (order): Made abstract.
5275         (order): Removed.
5276         (as*Buffer): Removed.
5277         (get*): Removed.
5278         (put*): Removed.
5279         * java/nio/IntBuffer.java
5280         (IntBuffer): Implements Comparable.
5281         (endian): Removed.
5282         (array_offset): New member variable.
5283         (IntBuffer): New constuctor.
5284         (get): May not be final.
5285         (put): May not be final.
5286         (arrayOffset): Implemented.
5287         (order): Made abstract.
5288         (order): Removed.
5289         (as*Buffer): Removed.
5290         (get*): Removed.
5291         (put*): Removed.
5292         * java/nio/LongBuffer.java
5293         (LongBuffer): Implements Comparable.
5294         (endian): Removed.
5295         (array_offset): New member variable.
5296         (LongBuffer): New constuctor.
5297         (get): May not be final.
5298         (put): May not be final.
5299         (arrayOffset): Implemented.
5300         (order): Made abstract.
5301         (order): Removed.
5302         (as*Buffer): Removed.
5303         (get*): Removed.
5304         (put*): Removed.
5305         * java/nio/ShortBuffer.java
5306         (ShortBuffer): Implements Comparable.
5307         (endian): Removed.
5308         (array_offset): New member variable.
5309         (ShortBuffer): New constuctor.
5310         (get): May not be final.
5311         (put): May not be final.
5312         (arrayOffset): Implemented.
5313         (order): Made abstract.
5314         (order): Removed.
5315         (as*Buffer): Removed.
5316         (get*): Removed.
5317         (put*): Removed.
5318
5319 2003-02-11   Michael Koch  <konqueror@gmx.de>
5320
5321         * java/nio/channels/SelectionKey.java
5322         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5323         values.
5324
5325 2003-02-11  Michael Koch  <konqueror@gmx.de>
5326
5327         * java/nio/channels/DatagramChannel.java
5328         (write): Throws IOException.
5329         (connect): Throws IOException.
5330         (disconnect): Throws IOException.
5331         (read): Throws IOException.
5332         (receive): Throws IOException.
5333         (send): Throws IOException.
5334         * java/nio/channels/Pipe.java
5335         (open): Throws IOException.
5336         * java/nio/channels/SelectableChannel.java
5337         (configureBlocking): Throws IOException.
5338         * java/nio/channels/ServerSocketChannel.java
5339         (accept): Throws IOException.
5340         * java/nio/channels/SocketChannel.java
5341         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5342         GatheringByteChannel.
5343         (read): Throws IOException.
5344         (write): Throws IOException.
5345         (finishConnect): Throws IOException.
5346         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5347         (end): Throws AsynchronousCloseException.
5348         * java/nio/channels/spi/AbstractSelectableChannel.java
5349         (configureBlocking): Throws IOException.
5350         (implCloseChannel): Throws IOException.
5351         (implCloseSelectableChannel): Throws IOException.
5352         (implConfigureBlocking): Throws IOException.
5353         * java/nio/channels/spi/SelectorProvider.java
5354         (openDatagramChannel): Throws IOException.
5355         (openPipe): Throws IOException.
5356         (openSelector): Throws IOException.
5357         (openServerSocketChannel): Throws IOException.
5358         (openSocketChannel): Throws IOException.
5359
5360 2003-02-11  Michael Koch  <konqueror@gmx.de>
5361
5362         * gnu/java/nio/FileLockImpl.java,
5363         java/nio/channels/FileLock.java: New files.
5364
5365 2003-02-11  Michael Koch  <konqueror@gmx.de>
5366
5367         * java/nio/charset/IllegalCharsetNameException.java
5368         (serialVersionUID): New member variable.
5369         (charsetName): New member variable.
5370         (IllegalCharsetException): New implementation.
5371         (getCharsetName): New implementation.
5372         * java/nio/charset/UnsupportedCharsetException.java
5373         (serialVersionUID): New member variable.
5374         (charsetName): New member variable.
5375         (UnsupportedCharsetException): New implementation.
5376         (getCharsetName): New implementation.
5377
5378 2003-02-10  Tom Tromey  <tromey@redhat.com>
5379
5380         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5381         (ex): Renamed from sqlException.
5382
5383 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5384
5385         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5386         method used to ensure seeding has occurred and that a specific 
5387         seed can be set and used.
5388
5389 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5390
5391         * java/lang/Win32Process.java (destroy): Declare as native.
5392         (hasExited): New native method.
5393         (exitValue): Define.
5394         (getErrorStream): Likewise.
5395         (getInputStream): Likewise.
5396         (getOutputStream): Likewise.
5397         (waitFor): Declare as native.
5398         (startProcess): New native method.
5399         (cleanup): Likewise.
5400         (ConcreteProcess): Define.
5401         (outputStream, inputStream, errorStream): New members.
5402         (procHandle, exitCode): Likewise.
5403
5404         * java/lang/natWin32Process.cc
5405         (java::lang::ConcreteProcess::cleanup): Define.
5406         (java::lang::ConcreteProcess::destroy): Likewise.
5407         (java::lang::ConcreteProcess::hasExited): Likewise.
5408         (java::lang::ConcreteProcess::waitFor): Likewise.
5409         (new_string): Likewise.
5410         (java::lang::ConcreteProcess::startProcess): Likewise.
5411
5412 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5413
5414         * java/math/BigInteger.java:
5415         Updated notice to include years 2002 and 3.
5416         Added 2 private (int) arrays with values from the HAC (Handbook of
5417         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5418         and t[] that contains nbr. of tests --used in isProbablePrime().
5419
5420         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5421
5422         * java/math/BigInteger.java (make(int[],int), add(int,int),
5423         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5424         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5425         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5426         make(long).
5427
5428         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5429         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5430         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5431         BIs and returns void.
5432         (modInverse(BI)): Use new signatures of euclidInv().
5433
5434         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5435         static small primes instead of remainder().
5436         Use pre-computed max nbr of trials based on bitlength of BI to test.
5437         Use pre-computed small primes for the trial tests instead of random
5438         numbers.
5439
5440         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5441         not used.
5442
5443         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5444         invoacation of MPN.chars_per_word().  not used.
5445
5446         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5447         local var and used where needed.
5448
5449         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5450         Combined declaration with initialisation of locals.
5451         Removed unused var.
5452
5453         * java/math/BigInteger.java: Style changes
5454         (pow(int)): Removed 'else' keyword.
5455         (toString(int)): idem.
5456         (doubleValue()): idem.
5457         (bitLength()): idem.
5458         (equals(Object)): Use static methods name in same class w/o prepending
5459         class name.
5460         (doubleValue()): idem.
5461         (setNegative(BI)): idem.
5462         (negate()): idem.
5463         (and(BI,int)): idem.
5464         (and(BI)): idem.
5465         (gcd(BI)): idem.
5466         (byteArrayToIntArray()): Removed casting to (int). this is
5467         std. behaviour.
5468         (canonicalize()): idem.
5469         (alloc(int)): Always instantiate a new BI.
5470
5471 2003-02-10  Tom Tromey  <tromey@redhat.com>
5472
5473         * java/sql/Timestamp.java (compareTo(Object)): New method.
5474         (compareTo(Timestamp)): Likewise.
5475         (serialVersionUID): Updated.
5476
5477 2003-02-07  Mark Wielaard  <mark@klomp.org>
5478
5479         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5480         when verify is true.
5481         (JarFile(File, boolean)): Likewise.
5482         (manifestRead): Set manifestRead field correctly.
5483
5484 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5485
5486         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5487         tests; see patch #1016 on Savannah.
5488
5489 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5490
5491         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5492         (toString): do not return Strings starting with . and - erroneously.
5493         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5494         DiagBigDecimal.
5495
5496 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5497
5498         * java/beans/PropertyDescriptor.java
5499         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5500         methods.
5501         (PropertyDescriptor(String, Class, String, String)): Likewise.
5502         (PropertyDescriptor(String, Method, Method): Factor out getter and
5503         setter method sanity checks into new method.
5504         (findMethods): Don't do parameter sanity checking of get method here.
5505         (checkMethods): New method.
5506
5507 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5508
5509         * java/beans/PropertyDescriptor.java: Reformat.
5510
5511 2003-02-04  Tom Tromey  <tromey@redhat.com>
5512
5513         * java/io/PipedOutputStream.java (flush): Declare as throwing
5514         IOException.
5515         (close): Likewise.
5516         * java/io/PipedWriter.java (close): Declare as throwing
5517         IOException.
5518         * java/io/StringWriter.java (close): Declare as throwing
5519         IOException.
5520
5521 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5522
5523         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5524         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5525         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5526         "_JNI_OnLoad@8" (MSVC).
5527
5528 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5529
5530         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5531         convention on Win32 to invoke native JNI methods.
5532
5533 2003-02-03  Andrew Haley  <aph@redhat.com>
5534
5535         * configure.host (x86_64): Enable interpreter.
5536
5537 2003-02-03  Andrew Haley  <aph@redhat.com>
5538
5539         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5540         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5541         * configure.in (BACKTRACESPEC): New.
5542         * configure: Regenerate.
5543
5544 2003-02-02  Tom Tromey  <tromey@redhat.com>
5545
5546         * configure: Rebuilt.
5547         * configure.in (TOOLKIT) [xlib]: Set correctly.
5548
5549         * Makefile.in: Rebuilt.
5550         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5551         libstdc++.
5552
5553 2003-01-31  Mark WIelaard  <mark@klomp.org>
5554
5555         * Makefile.in: Rebuilt.
5556         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5557
5558 2003-01-31  Tom Tromey  <tromey@redhat.com>
5559
5560         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5561         cast to element type.
5562         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5563         (_Jv_JNI_GetObjectArrayElement): Likewise.
5564
5565         * Makefile.in: Rebuilt.
5566         * Makefile.am (cond_x_ltlibrary): Renamed library to
5567         lib-gnu-awt-xlib.la.
5568         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5569         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5570         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5571         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5572         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5573         (lib_gnu_awt_xlib_la_LINK): Likewise.
5574         (install-exec-hook): Removed.
5575         (lib-gnu-awt-xlib.la): Renamed.
5576
5577 2003-01-31  Tom Tromey  <tromey@redhat.com>
5578
5579         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5580         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5581         aclocal.m4 and lost in some merge.
5582
5583         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5584         Don't try to find graphics configuration.
5585         * java/awt/Toolkit.java (default_toolkit_name): Use new
5586         Configuration entry.
5587         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5588         New global.
5589         * configure: Rebuilt.
5590         * configure.in (TOOLKIT): New subst.
5591         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5592         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5593         directory.  Make output directories for .c files.
5594         * Makefile.in: Rebuilt.
5595         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5596         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5597         (all_java_source_files): Added new sources.
5598         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5599         (gtk_c_files): New macro.
5600         (gtk_c_source_files): New macro.
5601         (cond_gtk_ltlibrary): New macro.
5602         ($(gtk_c_files)): New target.
5603         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5604         (gtk_awt_peer_sources): New macro.
5605         (gtk_c_headers): New macro.
5606         ($(gtk_c_headers)): New target.
5607         (ACLOCAL_AMFLAGS): New macro.
5608         * gtk.m4, glib.m4, libart.m4: New files.
5609         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5610         gnu/java/awt/peer/gtk/GdkGraphics.java,
5611         gnu/java/awt/peer/gtk/GtkArg.java,
5612         gnu/java/awt/peer/gtk/GtkArgList.java,
5613         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5614         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5615         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5616         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5617         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5618         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5619         gnu/java/awt/peer/gtk/GtkClipboard.java,
5620         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5621         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5622         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5623         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5624         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5625         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5626         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5627         gnu/java/awt/peer/gtk/GtkImage.java,
5628         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5629         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5630         gnu/java/awt/peer/gtk/GtkListPeer.java,
5631         gnu/java/awt/peer/gtk/GtkMainThread.java,
5632         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5633         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5634         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5635         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5636         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5637         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5638         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5639         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5640         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5641         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5642         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5643         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5644         gnu/java/awt/peer/gtk/GtkToolkit.java,
5645         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5646         gnu/java/awt/peer/gtk/TestAWT.java,
5647         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5649         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5650         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5651         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5652         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5653         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5654         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5655         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5656         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5657         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5658         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5659         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5660         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5661         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5662         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5663         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5664         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5665         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5666         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5667         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5668         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5669         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5670         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5671         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5672         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5673         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5674         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5675         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5676         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5677         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5678         jni/classpath/native_state.c, jni/classpath/native_state.h,
5679         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5680
5681 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5682
5683         * java/util/Properties.java (load): Ignore backslash before EOF.
5684
5685 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5686
5687         * java/lang/natClass.cc (initializeClass): Check tables when
5688         (state == JV_STATE_IN_PROGRESS).
5689         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5690         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5691         interpreted classes.
5692         (linkClass0): Use _Jv_WaitForState.
5693
5694 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5695
5696         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5697         object when finished.
5698
5699 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5700
5701         * libjava/configure.host: Disable can_unwind_signal on darwin.
5702
5703 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5704
5705         Fixes PR java/9254:
5706         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5707         additionally containing id of the owner thread as well as
5708         the number of nested times the thread has acquired the mutex.
5709         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5710         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5711         (_Jv_MutexUnlock): Check if really the owner thread, reset
5712         owner thread id to 0 before leaving, if leaving for the last
5713         time.
5714         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5715         refcount.
5716         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5717         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5718         the passed mutex.
5719         Pass handle of the broadcast event, instead of a pointer to it
5720         in Win32 ResetEvent( ) call.
5721         Remove incorrect return values.
5722         (_Jv_CondDestroy): Close both event handles and delete
5723         critical section.
5724         (_Jv_CondNotify): Check if really the owner thread.
5725         (_Jv_CondNotifyAll): Check if really the owner thread.
5726         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5727         (really_start): Use SetEvent( ) to signal daemon_cond.
5728         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5729         WaitForSingleObject( ) instead to wait for daemon_cond to be
5730         signalled.
5731
5732 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5733
5734         * configure.in: Specifically define HAVE_BACKTRACE if building
5735         for MinGW.
5736         * include/win32.h: Remove HAVE_BACKTRACE definition.
5737         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5738         * configure: Rebuilt.
5739
5740 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5741
5742         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5743         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5744         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5745         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5746         * Makefile.in, configure: Rebuilt.
5747
5748 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5749
5750         Fixes PR java/9253:
5751         * java/io/natFileWin32.cc (performList): Append only "*.*"
5752         if the canonical file path already has a "\" at the end.
5753
5754 2003-01-24  Tom Tromey  <tromey@redhat.com>
5755
5756         * defineclass.cc (handleMethodsEnd): Precompute code for static
5757         method.
5758         (handleCodeAttribute): Likewise.
5759         * resolve.cc (ncode): Use run_class for unsynchronized static
5760         methods.
5761         * include/java-interp.h (class _Jv_InterpMethod): Declare
5762         run_class.
5763         * interpret.cc (run_synch_class): Initialize class.
5764         (run) [insn_invokestatic]: Don't initialize class.
5765         [insn_anewarray]: Likewise.
5766         [insn_multianewarray]: Likewise.
5767         (run_class): New function.
5768
5769 2003-01-24  Tom Tromey  <tromey@redhat.com>
5770
5771         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5772         comment.
5773
5774 2003-01-22  Andrew Haley  <aph@redhat.com>
5775
5776         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5777         * configure.host (CHECKREFSPEC): Define for x86_64.
5778
5779 2003-01-21  Tom Tromey  <tromey@redhat.com>
5780
5781         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5782         search at 2, not 3.
5783
5784 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5785
5786         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5787         looking at any characters.
5788         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5789         be used.
5790         (isAbsolute): Check path's length as well.
5791
5792 2003-01-17  Mark Wielaard  <mark@klomp.org>
5793
5794         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5795         (nat_source_files): Add natVMObjectStreamClass.cc.
5796         * Makefile.in: Regenerated.
5797         * gcj/javaprims.h (namespace java): Regenerated.
5798         * java/io/ObjectStreamClass.java (getClassUID): Call
5799         VMObjectStreamClass.hasClassInitializer().
5800         (hasClassInitializer): Removed.
5801         * java/io/VMObjectStreamClass.java: New class.
5802         * java/io/natVMObjectStreamClass.cc: New file.
5803         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5804
5805 2003-01-16  Mark Wielaard  <mark@klomp.org>
5806
5807         * java/net/SocketImpl.java (toString): Don't explicitly call
5808         toString() on possible null address.
5809
5810 2003-01-16  Michael Koch  <konqueror@gmx.de>
5811
5812         * java/net/MulticastSocket.java
5813         (setInterface): Reindented.
5814
5815 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5816
5817         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5818         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5819         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5820         translateY arguments.  Implement.
5821         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5822         down translation arguments.
5823         (drawPolyline, drawPolygon): Fix incorrect tests.
5824         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5825         translateX and translateY arguments.
5826
5827 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5828
5829         * Makefile.in: Rebuilt.
5830         * Makefile.am (xlib_includes): New macro.
5831         (INCLUDES): Use it.
5832
5833 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5834
5835         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5836         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5837         16-bit display mode.
5838
5839 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5840
5841         * java/awt/CardLayout.java (show): Rewrote.
5842         (gotoComponent): Removed `target' argument.  Simplified code.
5843         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5844         Changed all callers.
5845         (NONE): Removed.
5846         
5847 2003-01-14  Michael Koch  <konqueror@gmx.de>
5848
5849         * java/net/InetSocketAddress.java
5850         (serialVersionUID): New member variable.
5851         * java/net/NetPermission.java
5852         (NetPermission): Dont implement java.io.Serialization directly.
5853         * java/net/SocketAddress.java:
5854         (serialVersionUID): Documentation added.
5855         
5856 2003-01-14  Michael Koch  <konqueror@gmx.de>
5857
5858         * java/awt/Label.java
5859         (Label): Implements javax.accessibility.Accessible;
5860         * java/awt/List.java
5861         (List): Implements javax.accessibility.Accessible;
5862         * java/awt/ScrollPane.java
5863         (ScrollPane): Implements javax.accessibility.Accessible;
5864         * java/awt/Scrollbar.java
5865         (Scrollbar): Implements javax.accessibility.Accessible;
5866         * java/awt/TextComponent.java
5867         (setCaretPosition): Throw exception, documentation added.
5868         * java/awt/Toolkit.java:
5869         Added some newlines in method documentations.
5870         (createButton): Exception documentation added.
5871         (createTextField): Exception documentation added.
5872         (createLabel): Exception documentation added.
5873         (createList): Exception documentation added.
5874         (createCheckbox): Exception documentation added.
5875         (createScrollbar): Exception documentation added.
5876         (createScrollPane): Exception documentation added.
5877         (createTextArea): Exception documentation added.
5878         (createChoice): Exception documentation added.
5879         (createFrame): Exception documentation added.
5880         (createWindow): Exception documentation added.
5881         (createDialog): Exception documentation added.
5882         (createMenuBar): Exception documentation added.
5883         (createMenu): Exception documentation added.
5884         (createMenuItem): Exception documentation added.
5885         (createFileDialog): Exception documentation added.
5886         (createCheckboxMenuItem): Exception documentation added.
5887         (loadSystemColors): Exception documentation added.
5888         (setDynamicLayout): Exception documentation added.
5889         (isDynamicLayoutSet): Exception documentation added.
5890         (isDynamicLayoutActive): Exception documentation added.
5891         (getScreenSize): Exception documentation added.
5892         (getScreenResolution): Exception documentation added.
5893         (getScreenInsets): Exception documentation added.
5894         (getColorModel): Exception documentation added.
5895         (getSystemClipboard): Exception documentation added.
5896         (getSystemSelection): Exception documentation added.
5897         (getMenuShortcutKeyMask): Exception documentation added.
5898         (getSystemEventQueue): Exception documentation added.
5899         * java/awt/Window.java:
5900         Reindented some code.
5901         (Window): Centralized implementation, documentation added.
5902         (finalize): Documentation added.
5903         (hide): Fixed typo in comment.
5904         (getWindowListeners): Documentation added.
5905         * java/awt/color/ColorSpace.java
5906         (toRGB): Documentation added.
5907         * java/awt/color/ICC_ColorSpace.java
5908         (ICC_ColorSpace): Documentation added.
5909         (toRGB): Throw exception, documentation added.
5910         (fromRGB): Throw exception, documentation added.
5911         (toCIEXYZ): Documentation added.
5912         (fromCIEXYZ): Documentation added.
5913         (getMinValue): Documentation added.
5914         (getMaxValue): Documentation added.
5915         * java/awt/geom/Dimension2D.java
5916         (clone): Documentation added.
5917         * java/awt/geom/GeneralPath.java
5918         (clone): Documentation added.
5919         * java/awt/geom/Line2D.java
5920         (clone): Documentation added.
5921         * java/awt/geom/QuadCurve2D.java
5922         (clone): Documentation added.
5923         * java/awt/image/ColorModel.java
5924         (ColorModel): Throw exception, documentation added.
5925         * java/awt/image/ImageFilter.java
5926         (clone): Doesnt throw CloneNotSupportedException.
5927
5928 2003-01-14  Andrew Haley  <aph@redhat.com>
5929
5930         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5931         in a try block.
5932
5933 2003-01-10  Andrew Haley  <aph@redhat.com>
5934
5935         * include/dwarf2-signal.h: Remove x86_64.
5936         * configure.host (x86_64 DIVIDESPEC): Remove.
5937         * include/x86_64-signal.h: New file.
5938         * configure.in: Regenerate.
5939
5940 2003-01-10  Michael Koch  <konqueror@gmx.de>
5941
5942         * java/net/DatagramSocket.java
5943         (ch): Description added.
5944         (remotePort): Initialize with -1.
5945         (connect): Doesnt throws SocketException.
5946         * java/net/MulticastSocket.java
5947         (setInterface): Merge with Classpath.
5948         * java/net/ServerSocket.java
5949         (closed): New member variable.
5950         (bind): Check if socket is closed.
5951         (close): Close an associated channel too, set new value to closed.
5952         (isBound): Reindented.
5953         (isClosed): Implemented.
5954         * java/net/Socket.java
5955         (closed): New member variable.
5956         (bind): Check if socket is closed.
5957         (connect): Check if socket is closed.
5958         (close): Close an associated channel too, set new value to closed.
5959         (isClosed): Implemented.
5960
5961 2003-01-10  Michael Koch  <konqueror@gmx.de>
5962
5963         * java/awt/DisplayMode.java
5964         (equals): Fixed argument type and implementation.
5965
5966 2003-01-07  Tom Tromey  <tromey@redhat.com>
5967
5968         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5969         JV_HASH_SYNCHRONIZATION.
5970         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5971         JV_HASH_SYNCHRONIZATION.
5972
5973 2003-01-07  Michael Koch  <konqueror@gmx.de>
5974  
5975         * java/net/DatagramSocket.java:
5976         Added classpath license info.
5977         (DatagramSocket): Merged description with classpath.
5978         (close): Merged description with classpath.
5979         (getChannel): Merged description with classpath.
5980         (getInetAddress): Merged description with classpath.
5981         (getPort): Merged description with classpath.
5982         (getLocalAddress): Merged description with classpath.
5983         (getLocalPort): Merged description with classpath.
5984         (getSoTimeout): Merged description with classpath.
5985         (setSoTimeout): Merged description with classpath.
5986         (getSendBufferSize): Merged description with classpath.
5987         (setSendBufferSize): Merged description with classpath.
5988         (getReceiveBufferSize): Merged description with classpath.
5989         (setReceiveBufferSize): Merged description with classpath.
5990         
5991 2003-01-04  Tom Tromey  <tromey@redhat.com>
5992
5993         * java/awt/List.java: Merged with Classpath.
5994
5995 2003-01-03  Mark Wielaard  <mark@klomp.org>
5996
5997         * java/io/FileDescriptor.java (position): New private field.
5998         * java/io/natFileDescriptorPosix.cc (write): Up position.
5999         (setLength): Use and set position.
6000         (seek): Set position.
6001         (getFilePointer): Return position.
6002         (read): Up position.
6003
6004 2003-01-03  Mark Wielaard  <mark@klomp.org>
6005
6006         Merge with Classpath:
6007         * java/io/ObjectStreamClass.java (lookup): Split method and call
6008         lookupForClassObject().
6009         (lookupForClassObject): New method.
6010         (isProxyClass): New field.
6011         (setClass): Set isProxyClass, add object to classLookupTable, set
6012         superClass and calculateOffsets.
6013         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6014         and not a proxy class.
6015         (setFields): Set accessible true for serialPersistentFields.
6016         (getClassUID): Same for suid. And check if suid is of type long.
6017         (hasClassInitializer): Don't throw NoSuchMethodError.
6018
6019 2003-01-03  Mark Wielaard  <mark@klomp.org>
6020
6021         * java/io/FileInputStream.java (finalize): Don't explicitly
6022         finalize FileDescriptor.
6023
6024 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
6025
6026         * configure.host (sparc*-*): Enable bytecode interpreter.
6027
6028 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
6029
6030         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6031         Don't throw RemoteException.
6032         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6033         throw RemoteException.
6034
6035 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6036
6037         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6038         proxyHost): New static fields.
6039         (<clinit>): Initialize new fields.
6040         (connect): Use proxy if necessary.
6041         (usingProxy): Implement.
6042
6043 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
6044
6045         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6046         (TreeIterator.remove): Prefer IllegalStateException over
6047         ConcurrentModificationException, to match Sun.
6048
6049 2002-12-22  Anthony Green  <green@redhat.com>
6050
6051         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6052
6053 2003-01-02  Mark Wielaard  <mark@klomp.org>
6054
6055         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6056         public.
6057         (HTTP_USE_PROXY): Add field.
6058         (getResponseVals): Only set responseCode when not yet explicitly
6059         set by subclass.
6060
6061 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
6062             Mark Wielaard  <mark@klomp.org>
6063
6064         * java/util/zip/ZipFile.java (entries): Now HashMap.
6065         (readLeShort(DataInput, byte[])): Read from given byte array.
6066         (readLeInt(DataInput, byte[]): Likewise.
6067         (readLeShort(byte[] b, int off)): New method.
6068         (readLeInt(byte[] b, int off)): Likewise.
6069         (readEntries): Use byte arrays to read info in bigger chunks.
6070         (getEntries): Return HashMap.
6071         (getEntry): Use HashMap.
6072         (locBuf): New private field.
6073         (checkLocalHeader): Use locBuf to read info in one chunk.
6074         (getInputStream): Use entries HashMap, wrap PartialInputStream
6075         in BufferedInputStream.
6076         (ZipEntryEnumeration): Use HashMap and Interator.
6077
6078 2003-01-02  Mark Wielaard  <mark@klomp.org>
6079             Jeroen Frijters  <jeroen@sumatra.nl>
6080
6081         * java/net/URLClassLoader.java (Resource.getCodeSource):
6082         Fix check certs == null.
6083         (getCanonicalFileURL): Removed method.
6084         (JarURLLoader): Don't call removed method.
6085         (FileURLLoader): Likewise.
6086         (FileURLLoader.getResource): Don't canonicalize file name.
6087
6088 2003-01-01  Tom Tromey  <tromey@redhat.com>
6089
6090         * Makefile.in: Rebuilt.
6091         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6092         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6093         java/awt/BufferCapabilities.java, java/awt/Button.java,
6094         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6095         java/awt/Container.java, java/awt/Cursor.java,
6096         java/awt/EventQueue.java, java/awt/FileDialog.java,
6097         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6098         java/awt/MenuBar.java, java/awt/MenuComponent.java,
6099         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6100         java/awt/Scrollbar.java, java/awt/TextArea.java,
6101         java/awt/TextField.java, java/awt/color/CMMException.java,
6102         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6103         java/awt/color/ProfileDataException.java,
6104         java/awt/datatransfer/Clipboard.java,
6105         java/awt/datatransfer/DataFlavor.java,
6106         java/awt/datatransfer/FlavorMap.java,
6107         java/awt/datatransfer/SystemFlavorMap.java,
6108         java/awt/dnd/DragGestureEvent.java,
6109         java/awt/dnd/DragGestureRecognizer.java,
6110         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6111         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6112         java/awt/im/InputMethodHighlight.java,
6113         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6114         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6115
6116         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6117         `op' to BufferedImageOp.
6118
6119 2002-12-31  Tom Tromey  <tromey@redhat.com>
6120
6121         Fix for PR libgcj/7416:
6122         * javax/naming/InitialContext.java (init): Use
6123         gnu.classpath.home.url.
6124         * java/security/Security.java: Use new properties.
6125         (loadProviders): Accept base url; use it.
6126         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6127         gnu.classpath.home.url.
6128         (gnu.classpath.home.url): Define.
6129         (gnu.classpath.vm.shortname): Likewise.
6130
6131 2002-12-31  Tom Tromey  <tromey@redhat.com>
6132             Ranjit Mathew  <rmathew@hotmail.com>
6133
6134         Fix for PR libgcj/8997:
6135         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6136         Include platform.h.
6137         * include/posix.h (_Jv_platform_usleep): New function.
6138         * include/win32.h (_Jv_platform_usleep): New function.
6139
6140 2002-12-29  Tom Tromey  <tromey@redhat.com>
6141
6142         * gcj/javaprims.h: Updated.
6143         * scripts/classes.pl (scan): Removed stray semicolon.
6144
6145 2002-12-30  Mark Wielaard  <mark@klomp.org>
6146
6147         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6148         if zero or smaller.
6149
6150 2002-12-30  Mark Wielaard  <mark@klomp.org>
6151
6152         * java/util/Properties (formatForOutput): Don't fall through to
6153         default case after escaping character.
6154
6155 2002-12-30  Mark Wielaard  <mark@klomp.org>
6156
6157         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6158         against count.
6159
6160 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6161
6162         * boehm.cc: Remove stray semicolon.
6163         * interpret.cc: Likewise.
6164         * prims.cc: Likewise.
6165         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6166         earlier to ensure default arguments are processed.
6167         * gcj/array.h (JArray): Add forward declaration.
6168         (elements): Likewise.
6169         * gcj/javaprim.h: Remove stray semicolons.
6170         * include/bohm-gc.h: Likewise.
6171         * include/jni.h: Likewise.
6172         * include/jvm.h: Likewise.
6173         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6174         
6175 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6176
6177         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6178         of catch_type.
6179         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6180         idt tables after initializing superclass.
6181         * java/lang/natClassLoader.cc (uaddr): New typedef.
6182         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6183         if they are constant pool indicies.  Don't link vtable, otable yet.
6184
6185 2002-12-21  Anthony Green  <green@redhat.com>
6186
6187         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6188         libraries.
6189         * Makefile.in: Rebuilt.
6190
6191 2002-12-19  Anthony Green  <green@redhat.com>
6192
6193         * Makefile.am (ordinary_java_source_files): Add
6194         org/xml/sax/helpers/NewInstance.java.
6195         * Makefile.in: Rebuilt.
6196         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6197         org/xml/sax/helpers/package.html: New files.
6198         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6199         http://www.saxproject.org.
6200
6201 2002-12-19  Andrew Haley  <aph@redhat.com>
6202
6203         * java/util/natResourceBundle.cc: Include
6204         ArrayIndexOutOfBoundsException.h.
6205         (getCallingClassLoader): Don't put upper bound on stack search.
6206         Catch ArrayIndexOutOfBoundsException.
6207
6208 2002-12-19  Tom Tromey  <tromey@redhat.com>
6209
6210         * libtool-version: Increased `current'.
6211
6212 2002-12-19  Tom Tromey  <tromey@redhat.com>
6213
6214         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6215         comment.
6216         * java/lang/ClassLoader.java (defineClass): Use chained
6217         exception when rethrowing.
6218         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6219         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6220         constants.
6221         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6222         (_Jv_PrepareClass): Use it.
6223         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6224         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6225         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6226         (Class): _Jv_PrepareMissingMethods now friend.
6227         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6228         Record `NULL' for system class loader.
6229         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6230         system class loader.
6231         (_Jv_FindClassInCache): Likewise.
6232         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6233         (_Jv_FindClass): Special case system class loader.
6234         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6235         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6236         vtable slots.
6237         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6238         in a final class.
6239         (_getDeclaredMethod): Don't return synthetic methods.
6240         (getDeclaredMethods): Likewise.
6241         (_getMethod): Likewise.
6242         (_getMethods): Likewise.
6243
6244 2002-12-18  Raif Naffah  <raif@fl.net.au>
6245
6246         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6247         canonical form after divide().
6248         (modInverse): Likewise.
6249
6250 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6251             Mark Wielaard  <mark@klomp.org>
6252
6253         * java/security/SecurityRandom (digest): Removed field.
6254         (SecureRandom): Check all providers for case-insensitive SecureRandom
6255         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6256         if necessary.
6257         (getInstance(String,Provider,boolean): New method.
6258         (getInstance(String)): Use new method.
6259         (getInstance(String,String)): Likewise.
6260         (getInstance(String,Provider)): Likewise.
6261
6262 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6263
6264         * java/security/Security.java (loadProviders): Increment i only once.
6265
6266 2002-12-12  Mark Wielaard  <mark@klomp.org>
6267
6268         * java/lang/ClassLoader.java (resolveClass0): Transform
6269         ClassNotFoundException to NoClassDefFoundError. Transform all other
6270         throwables to LinkageError.
6271
6272 2002-12-11  Tom Tromey  <tromey@redhat.com>
6273
6274         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6275
6276         * java/lang/ClassLoader.java (loadedClasses): New field.
6277         (defineClass): Fixed indentation.  Put new class in
6278         loadedClasses.
6279         (findLoadedClass): Implement here.
6280         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6281
6282 2002-12-10  Tom Tromey  <tromey@redhat.com>
6283
6284         * Makefile.in: Rebuilt.
6285         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6286         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6287         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6288         * java/lang/natClassLoader.cc
6289         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6290
6291 2002-12-10  Mark Wielaard  <mark@klomp.org>
6292             Tom Tromey  <tromey@redhat.com>
6293
6294         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6295         (JarURLLoader): Use it.
6296         (FileURLLoader): Likewise.
6297         (JarURLResource.getURL): Use chained exception.
6298         (FileResource.getURL): Likewise.
6299         (FileURLLoader.getResource): Use canonical file name.
6300         (addURL): Indentation fix.
6301
6302 2002-12-10  Tom Tromey  <tromey@redhat.com>
6303
6304         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6305         From Laurent Bardet <l.bardet@magic.fr>.
6306
6307 2002-12-09  Tom Tromey  <tromey@redhat.com>
6308
6309         * include/win32.h (_Jv_platform_solib_prefix): New define.
6310         (_Jv_platform_solib_suffix): Likewise.
6311         * include/posix.h (_Jv_platform_solib_prefix): New define.
6312         (_Jv_platform_solib_suffix): Likewise.
6313         * java/lang/natRuntime.cc: Include StackTrace.h.
6314         (_load): Use findLibrary and new platform defines.
6315         (nativeGetLibname): Use new platform defines.
6316
6317         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6318         `t' won't be null.
6319
6320 2002-12-08  Mark Wielaard  <mark@klomp.org>
6321
6322         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6323         cache remote jar files.
6324         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6325         add File.separator to URL when it is a directory.
6326         * java/lang/ClassLoader.java: Add Classpath javadoc.
6327         (parent): final.
6328         (getParent): Add (disabled) security check.
6329         (findLibrary): New default method.
6330         * java/net/JarURLConnection.java (getManifest): Implement.
6331         (getInputStream): Only create InputStream when entry exists.
6332         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6333         when they exist.
6334         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6335
6336 2002-12-08  Mark Wielaard  <mark@klomp.org>
6337
6338         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6339         (lastDefaultLocale): New field.
6340         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6341         resourceBundleCache.
6342
6343 2002-12-06  Mark Wielaard  <mark@klomp.org>
6344
6345         * java/net/InetAddress.java (toString): Use hostname when not null,
6346         don't do an explicit reverse getHostName() lookup.
6347         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6348         NullPointerException.
6349
6350 2002-12-06  Tom Tromey  <tromey@redhat.com>
6351
6352         * include/java-interp.h (class _Jv_InterpMethod): Added
6353         JV_MARKOBJ_DECL.
6354         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6355         mark `prepared' field of interpreted method.
6356         * interpret.cc (compile): Use _Jv_AllocBytes.
6357
6358 2002-12-05  Andrew Haley  <aph@redhat.com>
6359
6360         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6361         #ifdef (HAVE_BACKTRACE) around the whole function body.
6362
6363 2002-12-05  Tom Tromey  <tromey@redhat.com>
6364
6365         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6366         * resolve.cc: Don't include AbstractMethodError.h.
6367         (_Jv_abstractMethodError): Removed.
6368         * defineclass.cc (handleMethodsBegin): Initialize method index to
6369         -1.
6370         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6371         method index for "new" final method.
6372         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6373         isVirtualMethod.  Added `flags' argument.
6374         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6375         class.
6376
6377 2002-12-04  Tom Tromey  <tromey@redhat.com>
6378
6379         * java/net/SocketPermission.java (hashCode): Rewrote.
6380
6381 2002-12-04  Tom Tromey  <tromey@redhat.com>
6382
6383         * Makefile.in: Rebuilt.
6384         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6385         natResourceBundle.
6386         * java/util/ResourceBundle.java (Security): Removed.
6387         (getCallingClassLoader): Now native.
6388         * java/util/natResourceBundle.cc: New file.
6389         * java/lang/natVMSecurityManager.cc: New file.
6390         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6391
6392 2002-12-03  Mark Wielaard  <mark@klomp.org>
6393
6394         * java/util/jar/JarFile.java (manifest): Not final.
6395         (manifestRead): New field.
6396         (JarFile): Don't read Manifest in constructor.
6397         (getManifest): New method.
6398         (JarEnumeration.nextElement): Use new method.
6399         (getEntry): Likewise.
6400         * java/util/zip/ZipFile.java (name): Final.
6401         (raf): Likewsie.
6402         (entries): Change type to Hashtable.
6403         (closed): New field.
6404         (ZipFile): Don't read enties in constructor.
6405         (readEntries): Use Hashtable.
6406         (close): Set new close flag and set entries to null inside
6407         synchronized block.
6408         (entries): Contruct enumeration using new getEntries() method and
6409         entries Hashtable.
6410         (getEntryIndex): Removed.
6411         (getEntries): New method.
6412         (getEntry): Use new getEntries() method and entries Hastable.
6413         (getInputStream): Likewise.
6414         (size): Return getEntries().size().
6415         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6416         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6417         (time): Removed
6418         (dostime): New field.
6419         (zipFileIndex): Removed.
6420         (ZipEntry(ZipEntry)): Copy dostime.
6421         (setDOSTime): Now final and doesn't convert dos time.
6422         (getDOSTime): Likewise.
6423         (setTime): Convert dos time.
6424         (getTime): Likewise.
6425         (getCalendar): New method.
6426         (setExtra): Use setTime().
6427         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6428
6429 2002-12-03  Tom Tromey  <tromey@redhat.com>
6430
6431         * java/lang/Character.java (forDigit): Formatting fix.
6432
6433 2002-12-03  Raif Naffah  <raif@fl.net.au>
6434
6435         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6436         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6437         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6438
6439 2002-12-03  Andrew Haley  <aph@redhat.com>
6440
6441         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6442         _Jv_PushClass.
6443         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6444         (_Jv_PopClass): New.
6445         (_Jv_PushClass): New.
6446         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6447         discover the ClassLoader of our caller.
6448         (_Jv_CheckArrayStore): Don't check that a class is assignment
6449         compatible with Object.
6450         * java/lang/natVMTHrowable.cc: Delete.
6451         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6452         java.lang.VMThrowable.
6453         (StackTrace(), StackTrace(int)): New constructors.
6454         (classAt, methodAt, update, methodAtAddress): New methods.
6455         (map): New field.
6456         * java/lang/VMThrowable.java: Use StackTrace instead of
6457         natVMTHrowable.
6458         * java/lang/Class.h (getClassLoaderInternal): New.
6459         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6460         Be friendly with gnu::gcj::runtime::StackTrace.
6461         (Object.chain): New field.
6462         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6463         gnu::gcj::runtime::StackTrace.
6464         * gnu/gcj/runtime/natStackTrace.cc: New file.
6465         * gnu/gcj/runtime/MethodRef.java: New file.
6466         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6467         instead of getClassLoader().
6468         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6469         java::lang::VMThrowable.
6470         * Makefile.am (core_java_source_files): Add MethodRef.java,
6471         StackTrace.java.
6472         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6473         * Makefile.in: Rebuild.
6474
6475 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6476
6477         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6478         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6479         yes also for sh-linux* and sh[34]*-linux*.
6480         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6481         set SIGNAL_HANDLER to use DWARF2 exception for them.
6482         * configure: Regenerate.
6483
6484 2002-12-02  Tom Tromey  <tromey@redhat.com>
6485
6486         * jni.cc: Added `name' argument.
6487         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6488         `const char *' argument.
6489         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6490
6491 2002-12-01  Tom Tromey  <tromey@redhat.com>
6492
6493         Bug compatibility, for PR libgcj/8738:
6494         * java/io/CharArrayWriter.java (close): Do nothing.
6495         (flush): Likewise.
6496         (reset): Don't touch `closed'.
6497         (write(int)): Don't throw IOException.
6498         (write(char[],int,int)): Likewise.
6499         (write(String,int,int)): Likewise.
6500         (closed): Removed.
6501
6502 2002-12-01  Mark Wielaard  <mark@klomp.org>
6503
6504         * java/lang/SecurityManager.java: Remerge comments, indenting and
6505         checkXXX methods with Classpath.
6506
6507 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6508
6509         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6510         getNormalizedComponents): Fix calculation which was using one too
6511         many bits in the unnormalized format.
6512
6513 2002-11-29  Gary Benson  <gbenson@redhat.com>
6514
6515         For PR libgcj/8759:
6516         * java/beans/Introspector.java (flushCaches): New method.
6517         (flushFromCaches): Likewise.
6518
6519 2002-11-29  Michael Koch <konqueror@gmx.de>
6520
6521         * java/nio/channels/DatagramChannel.java
6522         (open): Added exception documentation.
6523         (write): Added exception documentation.
6524         (connect): Added exception documentation.
6525         (disconnect): Added exception documentation.
6526         (isConnected): Added exception documentation.
6527         (read): Added exception documentation.
6528         (receive): Added exception documentation.
6529         (send): Added exception documentation.
6530         (validOps): Added exception documentation.
6531         * java/nio/channels/SocketChannel.java
6532         (open): Added exception documentation.
6533         (read): Added exception documentation.
6534         (write): Added exception documentation.
6535         (connect): Added exception documentation.
6536         (finishConnect): Added exception documentation.
6537
6538 2002-11-29  Michael Koch <konqueror@gmx.de>
6539
6540         * gnu/java/nio/DatagramChannelImpl:
6541         (fd): New member variable to store file descriptor of socket.
6542         * gnu/java/nio/SelectionKeyImpl.java:
6543         (ops): Removed.
6544         (readyOps): New member variable.
6545         (interestOps): New member variable.
6546         (readyOps): Implemented.
6547         (readyOps): New method to set member variable readyOps.
6548         (interestOps): Replaced ops by interestOps.
6549         * gnu/java/nio/SelectorImpl.java:
6550         (SelectorImpl): Initialize key sets.
6551         (select): Call select with -1 instead of Long.MAX_VALUE).
6552         (java_do_select): Make it a native method.
6553         (getFDsAsArray): New helper method.
6554         (select): Remove canceled keys, give only interested file discriptors
6555         to java_do_select, set ready ops.
6556         (add): No need to initialize keys set here.
6557         (add_selected): No need to initialize selected set here.
6558         (deregisterCanceledKeys): New helper method.
6559         (register): Set interest ops, set attachments, added handling of datagram
6560         channels.
6561         * gnu/java/nio/ServerSocketChannelImpl:
6562         (SocketAccept): Renamed from NioSocketAccept.
6563         (implConfigureBlocking): Implemented.
6564         (accept): Use SocketAccept instead of NioSocketAccept.
6565         * gnu/java/nio/SocketChannelImpl:
6566         Reactivate native methods.
6567
6568 2002-11-29  Michael Koch <konqueror@gmx.de>
6569
6570         * gnu/java/nio/natByteBufferImpl.cc,
6571         gnu/java/nio/natCharBufferImpl.cc,
6572         gnu/java/nio/natDoubleBufferImpl.cc,
6573         gnu/java/nio/natFloatBufferImpl.cc,
6574         gnu/java/nio/natIntBufferImpl.cc,
6575         gnu/java/nio/natLongBufferImpl.cc,
6576         gnu/java/nio/natSelectorImpl.cc,
6577         gnu/java/nio/natServerSocketChannelImpl.cc,
6578         gnu/java/nio/natShortBufferImpl.cc,
6579         gnu/java/nio/natSocketChannelImpl.cc:
6580         New files that implement native functionalities.
6581
6582 2002-11-29  Michael Koch <konqueror@gmx.de>
6583
6584         * gnu/java/nio/ByteBufferImpl.java
6585         (ByteBufferImpl): Moved position() after limit.
6586         (nio_*): Use native implementation.
6587         * gnu/java/nio/CharBufferImpl.java:
6588         Reformated.
6589         (endian): New member variable string endianess of buffer.
6590         (CharBufferImpl): Moved position() after limit.
6591         (nio_*): Use native implementation.
6592         (subSequence): Implemented.
6593         * gnu/java/nio/DoubleBufferImpl.java
6594         (DoubleBufferImpl): Moved position() after limit.
6595         (nio_*): Use native implementation.
6596         * gnu/java/nio/FloatBufferImpl.java
6597         Reformated.
6598         (FloatBufferImpl): Moved position() after limit.
6599         (nio_*): Use native implementation.
6600         * gnu/java/nio/IntBufferImpl.java
6601         Added needed imports, Reformated.
6602         (IntBufferImpl): Moved position() after limit.
6603         (nio_*): Use native implementation.
6604         * gnu/java/nio/LongBufferImpl.java
6605         Reformated.
6606         (LongBufferImpl): Moved position() after limit.
6607         (nio_*): Use native implementation.
6608         * gnu/java/nio/ShortBufferImpl.java
6609         Reformated.
6610         (ShortBufferImpl): Moved position() after limit.
6611         (nio_*): Use native implementation.
6612
6613 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6614
6615         * java/util/Locale.java (toString): Improve efficiency if country
6616         and variant are both empty.
6617
6618 2002-11-26  Tom Tromey  <tromey@redhat.com>
6619
6620         * verify.cc (pop_init_ref): New method.
6621         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6622         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6623         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6624         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6625         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6626         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6627         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6628         let `this' argument be uninitialized.  Don't let `null' be passed
6629         as `this' to construtor.
6630
6631 2002-11-26  Mark Wielaard  <mark@klomp.org>
6632
6633         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6634         * javax/transaction/HeuristicMixedException.java: Likewise.
6635         * javax/transaction/HeuristicRollbackException.java: Likewise.
6636         * javax/transaction/InvalidTransactionException.java: Likewise.
6637         * javax/transaction/NotSupportedException.java: Likewise.
6638         * javax/transaction/RollbackException.java: Likewise.
6639         * javax/transaction/Status.java: Likewise.
6640         * javax/transaction/Synchronization.java: Likewise.
6641         * javax/transaction/SystemException.java: Likewise.
6642         * javax/transaction/Transaction.java: Likewise.
6643         * javax/transaction/TransactionManager.java: Likewise.
6644         * javax/transaction/TransactionRequiredException.java: Likewise.
6645         * javax/transaction/TransactionRolledbackException.java: Likewise.
6646         * javax/transaction/UserTransaction.java: Likewise.
6647         * javax/transaction/xa/XAException.java: Likewise.
6648         * javax/transaction/xa/XAResource.java: Likewise.
6649         * javax/transaction/xa/Xid.java: Likewise.
6650
6651 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6652
6653         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6654         define.
6655         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6656         * include/posix.h (socklen_t): Define if not already defined.
6657
6658 2002-11-25  Tom Tromey  <tromey@redhat.com>
6659
6660         * verify.cc (type::compatible): Backed out broken change.
6661
6662         * verify.cc (type::compatible): Check initialization status
6663         first.
6664         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6665         Don't use NULLCHECK.
6666
6667 2002-11-23  H.J. Lu <hjl@gnu.org>
6668
6669         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6670         Include ../config/accross.m4.
6671         * aclocal.m4; Rebuild.
6672         * configure: Likewise.
6673
6674 2002-11-23  Mark Wielaard  <mark@klomp.org>
6675
6676         * javax/naming/AuthenticationException.java: Update copyright header.
6677         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6678         * javax/naming/Binding.java: Likewise.
6679         * javax/naming/CannotProceedException.java: Likewise.
6680         * javax/naming/CommunicationException.java: Likewise.
6681         * javax/naming/CompositeName.java: Likewise.
6682         * javax/naming/CompoundName.java: Likewise.
6683         * javax/naming/ConfigurationException.java: Likewise.
6684         * javax/naming/Context.java: Likewise.
6685         * javax/naming/ContextNotEmptyException.java: Likewise.
6686         * javax/naming/InitialContext.java: Likewise.
6687         * javax/naming/InsufficientResourcesException.java: Likewise.
6688         * javax/naming/InterruptedNamingException.java: Likewise.
6689         * javax/naming/LimitExceededException.java: Likewise.
6690         * javax/naming/LinkException.java: Likewise.
6691         * javax/naming/LinkLoopException.java: Likewise.
6692         * javax/naming/LinkRef.java: Likewise.
6693         * javax/naming/MalformedLinkException.java: Likewise.
6694         * javax/naming/NameAlreadyBoundException.java: Likewise.
6695         * javax/naming/NameClassPair.java: Likewise.
6696         * javax/naming/NameNotFoundException.java: Likewise.
6697         * javax/naming/NameParser.java: Likewise.
6698         * javax/naming/NamingEnumeration.java: Likewise.
6699         * javax/naming/NamingSecurityException.java: Likewise.
6700         * javax/naming/NoInitialContextException.java: Likewise.
6701         * javax/naming/NoPermissionException.java: Likewise.
6702         * javax/naming/NotContextException.java: Likewise.
6703         * javax/naming/OperationNotSupportedException.java: Likewise.
6704         * javax/naming/PartialResultException.java: Likewise.
6705         * javax/naming/Reference.java: Likewise.
6706         * javax/naming/Referenceable.java: Likewise.
6707         * javax/naming/ReferralException.java: Likewise.
6708         * javax/naming/ServiceUnavailableException.java: Likewise.
6709         * javax/naming/SizeLimitExceededException.java: Likewise.
6710         * javax/naming/TimeLimitExceededException.java: Likewise.
6711         * javax/naming/directory/Attribute.java: Likewise.
6712         * javax/naming/directory/AttributeInUseException.java: Likewise.
6713         * javax/naming/directory/AttributeModificationException.java: Likewise.
6714         * javax/naming/directory/Attributes.java: Likewise.
6715         * javax/naming/directory/BasicAttribute.java: Likewise.
6716         * javax/naming/directory/BasicAttributes.java: Likewise.
6717         * javax/naming/directory/DirContext.java: Likewise.
6718         * javax/naming/directory/InitialDirContext.java: Likewise.
6719         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6720         Likewise.
6721         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6722         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6723         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6724         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6725         * javax/naming/directory/ModificationItem.java: Likewise.
6726         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6727         * javax/naming/directory/SchemaViolationException.java: Likewise.
6728         * javax/naming/directory/SearchControls.java: Likewise.
6729         * javax/naming/directory/SearchResult.java: Likewise.
6730         * javax/naming/event/EventContext.java: Likewise.
6731         * javax/naming/event/EventDirContext.java: Likewise.
6732         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6733         * javax/naming/event/NamingEvent.java: Likewise.
6734         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6735         * javax/naming/event/NamingListener.java: Likewise.
6736         * javax/naming/event/ObjectChangeListener.java: Likewise.
6737         * javax/naming/ldap/Control.java: Likewise.
6738         * javax/naming/ldap/ControlFactory.java: Likewise.
6739         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6740         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6741         * javax/naming/ldap/HasControls.java: Likewise.
6742         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6743         * javax/naming/ldap/LdapContext.java: Likewise.
6744         * javax/naming/ldap/LdapReferralException.java: Likewise.
6745         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6746         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6747         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6748         * javax/naming/spi/DirObjectFactory.java: Likewise.
6749         * javax/naming/spi/DirStateFactory.java: Likewise.
6750         * javax/naming/spi/DirectoryManager.java: Likewise.
6751         * javax/naming/spi/InitialContextFactory.java: Likewise.
6752         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6753         * javax/naming/spi/NamingManager.java: Likewise.
6754         * javax/naming/spi/ObjectFactory.java: Likewise.
6755         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6756         * javax/naming/spi/ResolveResult.java: Likewise.
6757         * javax/naming/spi/Resolver.java: Likewise.
6758         * javax/naming/spi/StateFactory.java: Likewise.
6759
6760         * javax/naming/spi/NamingManager.java (ofb): Package private.
6761
6762 2002-11-21  Mark Wielaard  <mark@klomp.org>
6763
6764         * java/net/URL.java: Merge with Classpath (partly).
6765         * java/net/URLStreamHandler: Merge with Classpath.
6766
6767 2002-11-22  Michael Koch <konqueror@gmx.de>
6768
6769         * include/posix.h:
6770         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6771         * include/win32.h:
6772         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6773         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6774
6775 2002-11-21  Michael Koch <konqueror@gmx.de>
6776
6777         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6778         Only the new network functions should be in it.
6779
6780 2002-11-21  Michael Koch <konqueror@gmx.de>
6781
6782         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6783         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6784
6785 2002-11-21  Michael Koch <konqueror@gmx.de>
6786
6787         * java/nio/channels/AsynchronousCloseException.java,
6788         java/nio/channels/CancelledKeyException.java,
6789         java/nio/channels/ClosedByInterruptException.java,
6790         java/nio/channels/ConnectionPendingException.java,
6791         java/nio/channels/FileLockInterruptionException.java,
6792         java/nio/channels/IllegalSelectorException.java,
6793         java/nio/channels/NoConnectionPendingException.java,
6794         java/nio/channels/NonReadableChannelException.java,
6795         java/nio/channels/NonWritableChannelException.java,
6796         java/nio/channels/NotYetBoundException.java,
6797         java/nio/channels/NotYetConnectedException.java,
6798         java/nio/channels/OverlappingFileLockException.java,
6799         java/nio/channels/UnresolvedAddressException.java,
6800         java/nio/channels/UnsupportedAddressTypeException.java:
6801         New files.
6802         * Makefile.am (ordinary_java_source_files): Added new files.
6803         * Makefile.in: Regenerated.
6804
6805 2002-11-21  Michael Koch <konqueror@gmx.de>
6806
6807         * include/posix.h
6808         (_Jv_socket): New method.
6809         (_Jv_connect): New method.
6810         (_Jv_close): New method.
6811         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6812         (_Jv_bind): New method.
6813         (_Jv_listen): New method.
6814         (_Jv_write): New method.
6815         (_Jv_read): New method.
6816         * include/win32.h
6817         (_Jv_socket): New method.
6818         (_Jv_connect): New method.
6819         (_Jv_close): New method.
6820         (_Jv_bind): New method.
6821         (_Jv_listen): New method.
6822         (_Jv_write): New method.
6823         (_Jv_read): New method.
6824         * java/net/natNetworkInterface.cc:
6825         Include platform.h, removed inclusion of socket.h
6826         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6827         ::close() by _Jv_close().
6828         * java/net/natPlainDatagramSocketImpl.cc:
6829         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6830         added some new lines to make code more readable.
6831         (create): Replaced ::socket() by _Jv_socket().
6832         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6833         * java/net/natPlainSocketImpl.cc:
6834         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6835         removed include of socket.h, removed some windows defines
6836         (now in include/win32.h).
6837         (create): Replaced ::socket() by _Jv_socket().
6838         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6839         (write): Replaced ::read by _Jv_write().
6840         (read): Replaced ::read by _Jv_read().
6841
6842 2002-11-20  Michael Koch <konqueror@gmx.de>
6843
6844         * Makefile.am (ordinary_java_source_files):
6845         Added java/nio/channels/FileChannel.java.
6846         * Makefile.in: Regenerated.
6847
6848 2002-11-20  Michael Koch <konqueror@gmx.de>
6849
6850         * java/io/FileInputStream.java
6851         (getChannel): New method.
6852         * java/io/FileOutputStream.java
6853         (getChannel): New method.
6854         * java/net/ServerSocket.java
6855         (bind): Removed duplicate code and called another bind method instead.
6856         * java/nio/channels/SelectionKey.java
6857         (isValid): Removed wrong exception documentation.
6858         * java/nio/channels/ServerSocketChannel.java
6859         (accept): Added exception documentation.
6860         (open): Fixed typo, added exception documentation.
6861         * java/nio/channels/spi/AbstractSelectableChannel.java
6862         (implCloseChannel): Added exception documentation.
6863         (add): Reformated.
6864         (register): Added exception documentation.
6865
6866 2002-11-20  Andreas Jaeger  <aj@suse.de>
6867
6868         * configure: Regenerated with new libtool.m4.
6869
6870 2002-11-19  Tom Tromey  <tromey@redhat.com>
6871
6872         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6873         `referent'.
6874         (finalize_referred_to_object): Don't modify `referent' or `copy'
6875         fields.
6876         (add_to_hash): Correctly set `n->next' when updating list.
6877         * java/lang/ref/Reference.java (enqueue): Return false if already
6878         enqueued.
6879
6880 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6881
6882         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6883         to function and function pointer declarations in accordance with
6884         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6885         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6886         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6887         JNI function definitions.
6888
6889 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6890
6891         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6892         that was causing CoderResults to be cached, not WeakReferences
6893         to CoderResults.
6894
6895 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6896
6897         * java/security/KeyStore.java (getInstance): Fix
6898         comment and throw IllegalArgumentException if
6899         given provider is null.
6900         (getInstance): New method for jdk1.4 compatibility.
6901
6902 2002-11-18  Michael Koch <konqueror@gmx.de>
6903
6904         * java/net/PlainSocketImpl.java: Fix imports.
6905
6906 2002-11-18  Michael Koch <konqueror@gmx.de>
6907
6908         * java/nio/channels/SelectionKey.java
6909         (isValid): Added exception documentation.
6910         * java/nio/channels/Selector.java
6911         (open): Declare "throws IOException".
6912
6913 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6914
6915         * java/nio/charset/Charset.java
6916         (<clinit>): New method.
6917         (encode): Synchronize use of cached encoder object.
6918         (decode): Synchronize use of cached encoder object.
6919
6920 2002-11-18  Michael Koch <konqueror@gmx.de>
6921
6922         * gnu/java/nio/ByteBufferImpl.java,
6923         gnu/java/nio/CharBufferImpl.java,
6924         gnu/java/nio/DatagramChannelImpl.java,
6925         gnu/java/nio/DoubleBufferImpl.java,
6926         gnu/java/nio/FileChannelImpl.java,
6927         gnu/java/nio/FloatBufferImpl.java,
6928         gnu/java/nio/IntBufferImpl.java,
6929         gnu/java/nio/LongBufferImpl.java,
6930         gnu/java/nio/PipeImpl.java,
6931         gnu/java/nio/SelectionKeyImpl.java,
6932         gnu/java/nio/SelectorImpl.java,
6933         gnu/java/nio/SelectorProviderImpl.java,
6934         gnu/java/nio/ServerSocketChannelImpl.java,
6935         gnu/java/nio/ShortBufferImpl.java,
6936         gnu/java/nio/SocketChannelImpl.java,
6937         java/nio/DoubleBuffer.java,
6938         java/nio/FloatBuffer.java,
6939         java/nio/IntBuffer.java,
6940         java/nio/LongBuffer.java,
6941         java/nio/ShortBuffer.java,
6942         java/nio/channels/FileChannel.java: New files.
6943
6944 2002-11-18  Michael Koch <konqueror@gmx.de>
6945
6946         * Makefile.am (ordinary_java_source_files):
6947         Added java/nio/ReadOnlyBufferException.java and
6948         java/nio/channels/ClosedSelectorException.java.
6949         * Makefile.in: Regenerated.
6950
6951 2002-11-18  Michael Koch <konqueror@gmx.de>
6952
6953         * java/net/PlainSocketImpl.java: Reworked imports.
6954         * java/net/ServerSocket.java
6955         (ServerSocket): Create socket.
6956         * java/net/SocketAddress.java: Documentation added.
6957         * java/net/natPlainSocketImpl.cc: Reindented.
6958         * java/nio/ReadOnlyBufferException.java: New file
6959         * java/nio/channels/ClosedChannelException.java: Documentation added.
6960         * java/nio/channels/ClosedSelectorException.java: New file.
6961
6962 2002-11-17  Mark Wielaard  <mark@klomp.org>
6963
6964         * java/net/HttpURLConnection.java ((getPermission): Take port
6965         into consideration.
6966         (getErrorStream): Implement.
6967
6968 2002-11-17  Mark Wielaard  <mark@klomp.org>
6969
6970         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6971
6972 2002-11-16  Mark Wielaard  <mark@klomp.org>
6973
6974         Integrate work by Raif S. Naffah (raif@fl.net.au)
6975         * java/security/DummyKeyPairGenerator.java (clone): New method.
6976         * java/security/DummyMessageDigest.java (clone): New method.
6977         (engineUpdate): Now public.
6978         (engineReset): Likewise.
6979         (engineDigest): Likewise.
6980         (engineGetDigestLength): New method.
6981         * java/security/DummySignature.java (clone): New method.
6982         * java/security/KeyPairGenerator.java (provider): Now package private.
6983         (getInstance(String)): Use getInstance(String,Provider).
6984         (getInstance(String,String): Use getInstance(String,Provider)
6985         (getInstance(String,Provider): New method.
6986         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6987         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6988         * java/security/MessageDigest.java (provider): Now package private.
6989         (getInstance(String): Use getInstance(String,Provider).
6990         (getInstance(String,String): Use getInstance(String,Provider)
6991         (getInstance(String,Provider): New method.
6992         * java/security/Provider.java (toCanonicalKey): New method.
6993         (get): New method that uses toCanonicalKey().
6994         (put): Use toCanonicalKey().
6995         (remove): Likewise.
6996         * java/security/Security.java (insertProviderAt): Provider index is one
6997         based, not zero based.
6998         (addProvider): Likewise.
6999         (removeProvider): Likewise.
7000         * java/security/Signature.java (provider): Now package private.
7001         (getInstance(String)): Use getInstance(String,Provider).
7002         (getInstance(String,String): Use getInstance(String,Provider)
7003         (getInstance(String,Provider): New method.
7004         (getInstance(String,String,Provider): Don't cast DummySignature.
7005
7006 2002-11-15  Tom Tromey  <tromey@redhat.com>
7007
7008         For PR libgcj/8593:
7009         * java/util/zip/GZIPInputStream.java (read): Check file size.
7010         Look in inflater for remaining input bytes.
7011         (read4): Added buf and offset arguments.
7012
7013 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
7014
7015         * java/applet/AppletContext.java: Fix typo and remove redundant
7016         modifiers.
7017
7018 2002-11-14  Tom Tromey  <tromey@redhat.com>
7019
7020         * java/lang/natRuntime.cc (insertSystemProperties): Set
7021         gnu.classpath.home.
7022
7023 2002-11-13  Michael Koch <konqueror@gmx.de>
7024
7025         * java/nio/ByteBuffer.java
7026         (allocate): New method.
7027         (wrap): New method.
7028         (put): New method.
7029         (get): New method.
7030
7031 2002-11-13  Michael Koch <konqueror@gmx.de>
7032
7033         * java/nio/channels/AlreadyConnectedException.java:
7034         Removed unneeded import.
7035         (AlreadyConnectedException): Documentation added.
7036         * java/nio/channels/Pipe.java
7037         (SinkChannel.SinkChannel): Documentation added.
7038         (SinkChannel.validOps): New method.
7039         (SourceChannel.SourceChannel): Documentation added.
7040         (SourceChannel.validOps): New method.
7041         (Pipe): Documentation added.
7042         (open): Documentation added.
7043         (SinkChannel.channel): Documentation added.
7044         (SourceChannel.channel): Documentation added.
7045         * java/nio/channel/SelectableChannel.java
7046         (SelectableChannel): Documentation added.
7047         (blockingLock): Documentation added.
7048         (configureBlocking):Documentation added.
7049         (isBlocking):Documentation added.
7050         (isRegistered):Documentation added.
7051         (keyFor):Documentation added.
7052         (provider):Documentation added.
7053         (register): Documentation added.
7054         (validOps): Documentation added.
7055         * jaba/nio/channels/SelectionKey.java
7056         (SelectionKey): Documentation added.
7057         (attach): Documentation added.
7058         (attachment): Documentation added.
7059         (isAcceptable): Documentation added.
7060         (isConnetable): Documentation added.
7061         (isReadable): Documentation added.
7062         (isWritable): Documentation added.
7063         (cancel): Documentation added.
7064         (channel): Documentation added.
7065         (interestOps): Documentation added.
7066         (isValid): Documentation added.
7067         (readyOps): Documentation added.
7068         (selector): Documentation added.
7069         * jaba/nio/channels/Selector.java
7070         (Selector): Documentation added.
7071         (open): Documentation added.
7072         (close): Documentation added.
7073         (isOpen): Documentation added.
7074         (keys): Documentation added.
7075         (provider): Documentation added.
7076         (select): Documentation added.
7077         (selectedKeys): Documentation added.
7078         (selectNow): Documentation added.
7079         (wakeup): Documentation added.
7080         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7081         (AbstractInterruptibleChannel): Documentation added.
7082         (opened): Default to true;
7083         (begin): Documentation added.
7084         (close): Set opened to false, documentation added.
7085         (isOpen): Documentation added.
7086         * java/nio/channels/spi/AbstractSelectionKey.java
7087         (AbstractSelectionKey): Documentation added.
7088         (cancel): Documentation added.
7089         (isValid): Documentation added.
7090         * java/nio/channels/spi/AbstractSelector.java
7091         (AbstractSelector): Documentation added.
7092         (begin): Documentation added.
7093         (close): Documentation added.
7094         (isOpen): Documentation added.
7095         (deregister): Documentation added.
7096         (end): Documentation added.
7097         (provider): Documentation added.
7098         (implCloseSelector): Documentation added.
7099         (register): Documentation added.
7100         * java/nio/channels/spi/SelectorProvider.java
7101         (SelectorProvider): Documentation added.
7102         (openDatagramChannel): Documentation added.
7103         (openPipe): Documentation added.
7104         (openSelector): Documentation added.
7105         (openServerSocketChannel): Documentation added.
7106         (openSocketChannel): Documentation added.
7107         (provider): Documentation added.
7108
7109 2002-11-12  Michael Koch <konqueror@gmx.de>
7110
7111         * java/nio/Buffer.java: Implemented.
7112         * java/nio/CharBuffer.java: New file.
7113         * java/nio/InvalidMarkException.java: New file.
7114         * java/nio/channels/DatagramChannel.java: Implemented.
7115         * java/nio/channels/ServerSocketChannel.java: Implemented.
7116         * java/nio/channels/SocketChannel.java: Implemented.
7117         * java/nio/channels/spi/AbstractChannel.java: Removed.
7118         * java/nio/channels/spi/AbstractSelectableChannel.java:
7119         Implemented.
7120         * java/nio/charset/Charset.java:
7121         Merge from Classpath.
7122         * java/nio/charset/CharsetDecoder.java: New file.
7123         * java/nio/charset/CharsetEncoder.java: New file.
7124         * java/nio/charset/CoderResult.java: New file.
7125         * Makefile.am (ordinary_java_source_files): Added new files.
7126         * Makefile.in: Regenerated.
7127
7128 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7129
7130         * gnu/java/nio/charset/ISO_8859_1.java,
7131         gnu/java/nio/charset/Provider.java,
7132         gnu/java/nio/charset/US_ASCII.java,
7133         gnu/java/nio/charset/UTF_16.java,
7134         gnu/java/nio/charset/UTF_16BE.java,
7135         gnu/java/nio/charset/UTF_16Decoder.java,
7136         gnu/java/nio/charset/UTF_16Encoder.java,
7137         gnu/java/nio/charset/UTF_16LE.java,
7138         gnu/java/nio/charset/UTF_8.java: New files.
7139
7140 2002-11-11  Michael Koch <konqueror@gmx.de>
7141
7142         * java/nio/charset/CharacterCodingException.java:
7143         This class must be public.
7144         * java/nio/charset/CoderMalfunctionError.java:
7145         This class must be public.
7146         * java/nio/charset/CodingErrorAction.java:
7147         This class must be public.
7148         * java/nio/charset/IllegalCharsetNameException.java:
7149         This class must be public, better implementation.
7150         * java/nio/charset/MalformedInputException.java:
7151         This class must be public, better implementation.
7152         * java/nio/charset/UnmappableCharacterException.java:
7153         This class must be public, better implementation.
7154         * java/nio/charset/UnsupportedCharsetException.java:
7155         This class must be public, better implementation.
7156
7157 2002-11-11  Michael Koch <konqueror@gmx.de>
7158
7159         * java/nio/BufferOverflowException.java,
7160         java/nio/BufferUnderflowException.java: New file.
7161         * Makefile.am (ordinary_java_source_files):
7162         Added new files.
7163         * Makefile.in: Regenerated.
7164
7165 2002-11-10  Tom Tromey  <tromey@redhat.com>
7166
7167         * java/awt/Container.java (validate): Use tree lock.
7168         (getComponent): Likewise.
7169         (getComponents): Likewise.
7170         (addImpl): Likewise.
7171         (remove): Likewise.
7172         (removeAll): Likewise.
7173         (processEvent): Fixed indentation.
7174         (getComponentAt): Use tree lock.
7175         (findComponentAt): Likewise.
7176         (removeNotify): Likewise.
7177         (isAncestorOf): Likewise.
7178         (list): Likewise.
7179         (visitChildren): Likewise.
7180         (findNextFocusComponent): Likewise.
7181         (addNotifyContainerChildren): Likewise.
7182         (getAccessibleChildrenCount): Likewise.
7183         (getAccessibleChild): Likewise.
7184
7185         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7186         (getSize): Likewise.
7187         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7188         (getSize): Likewise.
7189         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7190         (calcSize): Likewise.
7191         * java/awt/CardLayout.java (getSize): Use tree lock.
7192         (gotoComponent): Likewise.
7193         (layoutContainer): Likewise.
7194
7195         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7196         count is 0.
7197         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7198         count is 0.
7199
7200         * java/io/Externalizable.java, java/io/FilePermission.java,
7201         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7202         java/io/SerializablePermission.java, java/text/Format.java,
7203         java/util/AbstractMap.java, java/util/HashMap.java,
7204         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7205         versions from Classpath.
7206
7207 2002-11-10  Anthony Green  <green@redhat.com>
7208
7209         * java/util/jar/Attributes.java (Name): Fix name check.
7210
7211 2002-11-10  Mark Wielaard  <mark@klomp.org>
7212
7213         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7214         with getName() as message.
7215         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7216         type as message.
7217
7218         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7219         unused.
7220
7221 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7222
7223         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7224         for Win32. JNICALL has been defined to __stdcall to be compatible
7225         with Sun's JDKs.
7226
7227 2002-11-10  Tom Tromey  <tromey@redhat.com>
7228
7229         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7230         (setRows): Check newRows, not rows.
7231
7232         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7233
7234 2002-11-09  Tom Tromey  <tromey@redhat.com>
7235
7236         * java/applet/Applet.java, java/applet/AppletContext.java,
7237         java/applet/AppletStub.java, java/applet/AudioClip.java,
7238         java/awt/CardLayout.java,
7239         java/awt/ContainerOrderFocusTraversalPolicy.java,
7240         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7241         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7242         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7243         java/awt/color/ICC_ColorSpace.java,
7244         java/awt/color/ICC_Profile.java,
7245         java/awt/color/ICC_ProfileGray.java,
7246         java/awt/color/ICC_ProfileRGB.java,
7247         java/awt/datatransfer/DataFlavor.java,
7248         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7249         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7250         New versions from Classpath.
7251         * Makefile.in: Rebuilt.
7252         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7253         ICC_ProfileRGB.
7254
7255         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7256         display policy.
7257
7258         * java/awt/List.java (processEvent): Added missing `else's.
7259
7260         * java/awt/Window.java (show): validate() before showing.  Make
7261         parent displayable.
7262         (isDisplayable): New method.
7263
7264 2002-11-07  Mark Wielaard  <mark@klomp.org>
7265
7266         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7267         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7268
7269         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7270         annotation.
7271         (loadClass): Take String as codebases.
7272         (getClassAnnotation): Use MyClassLoader annotations.
7273         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7274         call exportObject(this).
7275
7276         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7277         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7278         (setAnnotation): Don't set locBytesStream and locStream.
7279         (replaceObject): Removed.
7280         (flush): Don't test locStream.
7281         (getLocBytes): LikeWise.
7282         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7283         (leaseCache): New field.
7284         (dirty): Use leaseCache.
7285         (LeaseRecord): New inner class.
7286         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7287         explicitly call exportObject().
7288         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7289         false to communicate with Sun JDK130.
7290         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7291         * gnu/java/rmi/server/RMIObjectInputStream.java
7292         (UnicastConnectionManager): Removed field.
7293         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7294         Use UnicastServer.getExportedRef().
7295         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7296         (expireTime): Likewise.
7297         (CONNECTION_TIMEOUT): Likewise.
7298         (disconnect): Call sock.close().
7299         (isExpired): New method.
7300         (resetTime): Likewise.
7301         (run): Use do while loop and catch Exception for discardConnection().
7302         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7303         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7304         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7305         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7306         (exportObject): Use refcache.
7307         (unexportObject): Likewise.
7308         (getExportedRef): New method.
7309         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7310         constructor.
7311         (exportObject): Save manager.serverobj.
7312         (getStub): New method.
7313
7314 2002-11-07  Mark Wielaard  <mark@klomp.org>
7315
7316         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7317         (getByte): Likewise.
7318         (getShort): Likewise.
7319         (getInt): Likewise.
7320         (getLong): Likewise.
7321         (getFloat): Likewise.
7322         (getDouble): Likewise.
7323         (get): Likewise.
7324         (setChar): Likewise.
7325         (setByte): Likewise.
7326         (setShort): Likewise.
7327         (setInt): Likewise.
7328         (setLong): Likewise.
7329         (setFloat): Likewise.
7330         (setDouble): Likewise.
7331
7332 2002-11-07  Michael Koch <konqueror@gmx.de>
7333
7334         * java/awt/Choice.java,
7335         java/awt/Container.java,
7336         java/awt/GridBagLayout.java:
7337         Fixed documentation.
7338         * java/awt/peer/ContainerPeer.java:
7339         Reindented.
7340
7341 2002-11-07  Michael Koch <konqueror@gmx.de>
7342
7343         * java/awt/color/ICC_Profile.java:
7344         Added missing constants.
7345         * java/awt/color/ICC_ColorSpace.java
7346         (getMinValue): Added dummy implementation.
7347         (getMaxValue): Added dummy implementation.
7348         * java/awt/datatransfer/DataFlavor.java
7349         (imageFlavor): Added.
7350         (isMimeTypeEqual): Must be final.
7351         (getDefaultRepresentationClass): Must be non-static.
7352         (getDefaultRepresentationClassAsString): Must be non-static.
7353         * java/awt/dnd/DragSourceContext.java
7354         (dragExit): Corrected argument.
7355         (dragDropEnd): Corrected argument.
7356         * java/awt/dnd/DragSourceListener.java.java
7357         (dragExit): Corrected argument.
7358         (dragDropEnd): Corrected argument.
7359         * java/awt/font/TextHitInfo.java
7360         (toString): Added stubbed implementation.
7361         * java/awt/geom/PathIterator.java:
7362         The constants must be static.
7363         * java/awt/image/VolatileImage.java
7364         (IMAGE_INCOMPATIBLE): Fixed typo.
7365         * java/awt/image/renderable/RenderableImage.java
7366         (HINTS_OBSERVED): Must be static.
7367         * java/beans/BeanInfo.java:
7368         Constants must be final.
7369
7370 2002-11-06  Tom Tromey  <tromey@redhat.com>
7371
7372         From svens@it.uu.se.  For PR libgcj/8481.
7373         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7374
7375 2002-11-06  Tom Tromey  <tromey@redhat.com>
7376
7377         * jni.cc (array_from_valist): Assume that jlong won't be
7378         promoted.
7379
7380 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7381
7382         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7383         Return 20.
7384         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7385         Return 16.
7386
7387 2002-11-03  Tom Tromey  <tromey@redhat.com>
7388
7389         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7390         VMClassLoader, not findClass.
7391
7392 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7393
7394         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7395         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7396         _Jv_DetermineVTableIndex, to determine vtable offset.
7397         (_Jv_DetermineVTableIndex): Remove.
7398         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7399
7400         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7401
7402 2002-11-03  Tom Tromey  <tromey@redhat.com>
7403
7404         * java/nio/channels/AlreadyConnectedException.java: Extend
7405         IllegalStateException, per spec.
7406
7407 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7408
7409         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7410
7411 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7412
7413         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7414         size items.
7415
7416 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7417
7418         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7419         initial estimated size to avoid enlarge buffer frequently.
7420
7421 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7422
7423         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7424         ClassLoader when null.
7425         (ProxyType.hashCode): Loader null check no longer needed.
7426         (ProxyType.sameTypes): New method.
7427         (ProxyType.equals): Use new method.
7428
7429 2002-10-31  Mark Wielaard  <mark@klomp.org>
7430
7431         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7432         length of String.
7433         * java/net/URLEncoder.java (encode): Likewise.
7434
7435 2002-10-31  Mark Wielaard  <mark@klomp.org>
7436
7437         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7438         when stream is closed.
7439         (closeEntry): Likewise.
7440         (read): Likewise.
7441         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7442         ZipException when no entry active.
7443         (closeEntry): Likewise.
7444         (write): Likewise.
7445
7446 2002-11-02  Tom Tromey  <tromey@redhat.com>
7447
7448         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7449         * java/lang/natClass.cc (initializeClass): Don't return just
7450         because self==thread.
7451
7452         For PR java/8415:
7453         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7454         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7455
7456 2002-11-02  Andreas Schwab  <schwab@suse.de>
7457
7458         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7459         pass GCJFLAGS.
7460         (FLAGS_TO_PASS): Define.
7461         * Makefile.in: Regenerated.
7462
7463 2002-11-01  Michael Koch  <konqueror@gmx.de>
7464
7465         * java/nio/ByteOrder.java: New file.
7466         * java/nio/channels/DatagramChannel.java:
7467         (DatagramChannel): New constructor.
7468         * java/nio/channels/Pipe.java: New file.
7469         * java/nio/channels/SelectableChannel.java: New file.
7470         * java/nio/channels/SelectionKey.java: New file.
7471         * java/nio/channels/Selector.java: New file.
7472         * java/nio/channels/ServerSocketChannel.java
7473         (ServerSocketChannel): New constructor.
7474         * java/nio/channels/SocketChannel.java
7475         (SocketChannel): New constructor.
7476         * java/nio/channels/Pipe.java: New file.
7477         * java/nio/channels/spi/AbstractChannel.java: New file.
7478         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7479         * java/nio/channels/spi/AbstractSelectableChannel.java:
7480         License added
7481         (AbstractSelectableChannel): New stubbed method.
7482         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7483         * java/nio/channels/spi/AbstractSelector.java: New file.
7484         * java/nio/channels/spi/SelectorProvider.java: New file.
7485         * java/nio/charset/Charset.java: New file.
7486         * java/nio/charset/CoderMalfunctionError.java: New file.
7487         * java/nio/charset/CodingErrorAction.java: New file.
7488         * java/nio/charset/spi/CharsetProvider.java
7489         (charsetForName): Uncommented.
7490         * Makefile.am (java_native_source_files): Added new files.
7491         * Makefile.in: Regenerated.
7492
7493 2002-11-01  Michael Koch  <konqueror@gmx.de>
7494
7495         * java/net/InetAddress.java:
7496         (isAnyLocalAddress): Implemented.
7497         (isLoopbackAddress): Implemented, comment added.
7498         (isLinkLocalAddress): Implemented, documentation added.
7499         (isSiteLocalAddress): Implemented, documentation added.
7500         (isMCGlobal): Implemented, documentation added.
7501         (isMCNodeLocal): Implemented, documentation added.
7502         (isMCLinkLocal): Implemented, documentation added.
7503         (isMCSiteLocal): Implemented, documentation added.
7504         (isMCOrgLocal): Implemented, documentation added.
7505         (getHostName): Documentation added.
7506         (getCanonicalHostName): Implemented, documentation added.
7507         (getAddress): Documentation added.
7508         (hashCode): Documentation added.
7509         (equals): Documentation added.
7510         (toString): Fixed implementation.
7511         (getByAddress): Use Inet4Address and Inet6Address.
7512         (lookup): New linewrap.
7513         (getByName): SecurityManager check added, support Inet4Address and
7514         Inet6address, comments added.
7515         (getAllByName): SecurityManager check added, comments added.
7516         * java/net/Inet6Address.java:
7517         (Inet6Address): Initialize parent class with addr instead of null.
7518         * java/net/URL.java
7519         (equals): Documentation added.
7520         (getFile): Documentation added.
7521         (hashCode): Documentation added.
7522         * java/net/natInetAddress.cc:
7523         (aton): Fix IPv6 support.
7524         * java/net/natPlainDatagramSocketImpl.cc:
7525         (peek): Throw PortUnreachableException when suitable.
7526         (peekData): Throw PortUnreachableException when suitable.
7527         (send): Throw PortUnreachableException when suitable.
7528         (receive): Throw PortUnreachableException when suitable.
7529
7530 2002-10-27  Mark Wielaard  <mark@klomp.org>
7531
7532         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7533         argument.
7534         (readLeShort): Likewise and use byte[].
7535         (readLeInt): Likewise.
7536         (readEntries): Use new versions of methods and use byte[] for reading
7537         a complete zip entry. Add ZipFile name to exceptions.
7538         (entries): Add ZipFile name to exceptions.
7539         (getEntry): Likewise.
7540         (checkLocalHeader): Use new versions of methods and add ZipFile name
7541         to exceptions.
7542
7543 2002-10-31  Mark Anderson  <mark@panonet.net>
7544
7545         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7546         added
7547
7548 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7549
7550         * configure.in: Disable hash sync when not using threads.
7551         * configure: Regenerated.
7552
7553 2002-10-24  Tom Tromey  <tromey@redhat.com>
7554
7555         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7556         (_Jv_FindSymbolInExecutable): Removed argument name.
7557         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7558         java.library.path is set.
7559
7560         * gij.cc (help): Document --showversion.
7561         (version): Don't exit.
7562         (main): Handle --showversion.  Exit if --version given.
7563
7564 2002-10-23  Tom Tromey  <tromey@redhat.com>
7565
7566         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7567         (array_from_valist): Correctly handle promotion for jint, jlong,
7568         jfloat, and jdouble.
7569
7570 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7571
7572         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7573         GetFileAttributesEx( ) to find file length and modification times,
7574         as the latter is not present on Windows 95.
7575
7576 2002-10-21  Michael Koch  <konqueror@gmx.de>
7577
7578         * java/net/URL.java
7579         (URL): Activate SecurityManager checks.
7580         (equals): Use URLStreamHandler implementation instead of doing it
7581         alone. This allows special protocol stream handlers to change default
7582         behaviour.
7583         (hashCode): Use URLStreamHandler implementation instead of doing it
7584         alone. This allows special protocol stream handlers to change default
7585         behaviour.
7586         * java/net/URLStreamHandler.java
7587         (equals): Implemented default URL equality check.
7588         (hostsEqual): Implemented default URL equality check.
7589         (hashCode): Implemented default URL hashCode algorithm.
7590         * java/net/natPlainDatagramSocketImpl.cc:
7591         No lines longer then 80 characters.
7592
7593 2002-10-20  Adam Megacz <adam@xwt.org>
7594
7595         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7596         * configure.in: enabled hash sync on Win32
7597         * include/win32-threads.h (_Jv_ThreadId_t): added.
7598         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7599         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7600         removed some posix-isms, use Thread::sleep() instead of usleep,
7601         added code to clear bottom three bits if platform has a broken
7602         linker.
7603         * include/win32-threads.h (_Jv_ThreadId_t): added.
7604
7605 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7606
7607         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7608         runtime property "gnu.gcj.progname" containing the name used to
7609         invoke the current Java program (similar to argv[0] for C
7610         programs).
7611
7612 2002-10-15  Tom Tromey  <tromey@redhat.com>
7613
7614         Fix for PR libgcj/8234:
7615         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7616         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7617
7618 2002-10-13  Mark Wielaard  <mark@klomp.org>
7619
7620         * mauve-libgcj: Enable Mauve tests that compile now.
7621
7622 2002-10-11  Mark Wielaard  <mark@klomp.org>
7623
7624         Fix for PR libgcj/8142
7625         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7626         loading native modules.
7627
7628 2002-10-10  Michael Koch  <konqueror@gmx.de>
7629
7630         * javax/swing/AbstractListModel.java
7631         (getListDataListeners): New stubbed method.
7632         javax/swing/DefaultBoundedRangeModel.java
7633         (getChangeListeners): New stubbed method.
7634         javax/swing/DefaultSingleSelectionModel.java
7635         (getChangeListeners): New stubbed method.
7636
7637 2002-10-10  Michael Koch  <konqueror@gmx.de>
7638
7639         * gcj/.cvsignore: New file to ignore files generated during build.
7640         * include/.cvsignore: New file to ignore files generated during build.
7641
7642 2002-10-10  Michael Koch  <konqueror@gmx.de>
7643
7644         * java/net/HttpURLConnection.java
7645         (getPermission): New method.
7646         (getErrorStream): New stub method.
7647         (getHeaderFieldDate): New stub method.
7648         * java/net/Inet4Address.java:
7649         (isLinkLocalAddress): Typo fixed.
7650         * java/net/InetAddress.java:
7651         (readResolve): New stubbed method (for serialization).
7652         (isAnyLocalAddress): New stubbed method.
7653         (isLoopbackAddress): New stubbed method.
7654         (isLinkLocalAddress): New stubbed method.
7655         (isSiteLocalAddress): New stubbed method.
7656         (isMCGlobal): New stubbed method.
7657         (isMCNodeGlobal): New stubbed method.
7658         (isMCLinkLocal): New stubbed method.
7659         (isMCSiteLocal): New stubbed method.
7660         (isMCOrgLocal): New stubbed method.
7661         (getCanonicalHostName): New stubbed method.
7662         (getByAddress): Create instances of Inet4Address/Inet6Address,
7663         instead of InetAddress, documentation added.
7664         * java/net/MulticastSocket.java
7665         (getInterface): Removed FIXME.
7666         (getNetworkInterface): New method.
7667         (setNetworkInterface): New method.
7668         * java/net/NetworkInterface.java:
7669         (toString): Use property "line.separator" instead of "\n".
7670         * java/net/URLConnection.java
7671         (getContent): New stubbed method.
7672         * java/net/URLStreamHandler.java:
7673         (equals): New stubbed method.
7674         (hostsEqual): New stubbed method.
7675         (hashCode): New stubbed method.
7676         * java/net/natNetworkInterface.cc:
7677         (getRealNetworkInterfaces): Create Inet4Address object
7678         instead of InetAddress.
7679
7680 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7681
7682         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7683         unsigned long temporary to implement insn_iushr shifts.
7684
7685 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7686
7687         * configure.host [s390*-*]: Enable Java interpreter.
7688         Enable hash synchronization.  Add sysdeps dir.
7689         * sysdep/s390/locks.h: New file.
7690
7691 2002-10-06  Mark Wielaard  <mark@klomp.org>
7692
7693         * java/lang/Thread.java (setDaemon): Check startable_flag,
7694         not isAlive().
7695
7696 2002-10-07  Michael Koch  <konqueror@gmx.de>
7697
7698         * java/nio/Buffer.java: New stub file.
7699         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7700         of class Charset.
7701         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7702         * Makefile.in: Regenerated.
7703
7704 2002-10-07  Michael Koch  <konqueror@gmx.de>
7705
7706         * java/nio/ByteBuffer.java:
7707         removed import of not commited class.
7708
7709 2002-10-07  Michael Koch  <konqueror@gmx.de>
7710
7711         * java/nio/ByteBuffer.java,
7712         java/nio/MappedByteBuffer.java:
7713         New files, forgot to add these dummies.
7714         * Makefile.am (java_native_source_files): Added new files.
7715         * Makefile.in: Regenerated.
7716
7717 2002-10-07  Michael Koch  <konqueror@gmx.de>
7718
7719         * java/nio/channels/AlreadyConnectedException.java,
7720         java/nio/channels/ClosedChannelException.java,
7721         java/nio/channels/ReadableByteChannel.java,
7722         java/nio/channels/InterruptibleChannel.java,
7723         java/nio/channels/Channel.java,
7724         java/nio/channels/ByteChannel.java,
7725         java/nio/channels/GatheringByteChannel.java,
7726         java/nio/channels/ScatteringByteChannel.java,
7727         java/nio/channels/WritableByteChannel.java,
7728         java/nio/charset/CharacterCodingException.java,
7729         java/nio/charset/IllegalCharsetNameException.java,
7730         java/nio/charset/MalformedInputException.java,
7731         java/nio/charset/UnmappableCharacterException.java,
7732         java/nio/charset/UnsupportedCharsetException.java,
7733         java/nio/charset/spi/CharsetProvider.java: New file.
7734         These files are exceptions or interfaces,
7735         no real or abstract classes.
7736         * Makefile.am (java_native_source_files): Added new files.
7737         * Makefile.in: Regenerated.
7738
7739 2002-10-05  Michael Koch  <konqueror@gmx.de>
7740
7741         * java/net/InetAddress.java
7742         (getByAddress): Fixed documentation.
7743         (getByAddress): New method.
7744         * java/net/Inet4Address.java: New file.
7745         * java/net/URL.java
7746         (URL): Documentation added.
7747         (getContent): Documentation added.
7748         (getContent): New stubbed method.
7749         (getQuery): New method.
7750         (openConnection): Documentation added.
7751         (openStream): Documentation added.
7752         (setURLStreamHandlerFactory): Documentation added.
7753         * java/net/URI.java: New stub file.
7754         * Makefile.am
7755         (java_native_source_files): Added java/net/Inet4Address.java,
7756         java/net/Inet6Address.java and java/net/URI.java.
7757         * Makefile.in: Regenerated.
7758
7759 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7760
7761         * java/lang/ProtectionDomain.java (linesep): Remove field.
7762         (toString): Use System.getProperty("line.separator").
7763
7764 2002-10-04  Michael Koch  <konqueror@gmx.de>
7765
7766         * java/security/Identity.java: Added serialVersionUID.
7767         * java/security/KeyPair.java: Added serialVersionUID.
7768         * java/security/Provider.java: Added serialVersionUID.
7769         * java/security/SecureRandom.java: Added serialVersionUID.
7770         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7771         * java/security/SignedObject.java: Added serialVersionUID.
7772         * java/security/cert/Certificate.java: Added serialVersionUID.
7773
7774 2002-10-04  Mark Wielaard <mark@klomp.org>
7775
7776         * java/security/Security.java: Use java.home or gnu.classpath.home
7777         to load providers.
7778         (loadProviders): Extra dir argument.
7779         (getProvider): Return null when not found.
7780
7781 2002-10-04  Mark Wielaard  <mark@klomp.org>
7782
7783         * java/lang/Throwable.java: Remerge with Classpath.
7784
7785 2002-10-04  Michael Koch  <konqueror@gmx.de>
7786
7787         * java/net/InetAddress.java:
7788         (isMulticastAddress): Added documentation.
7789         (getHostAddress): Added documentation.
7790         (toString): Added documentation.
7791         (getByAddress): Fixed documentation.
7792         (getByName): Added documentation.
7793         (getAllByName): Added documentation.
7794         (getLocalHost): Added documentation.
7795
7796 2002-10-04  Michael Koch  <konqueror@gmx.de>
7797
7798         * java/beans/beancontext/BeanContextChildSupport.java:
7799         Added serialVersionUID.
7800         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7801         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7802         * javax/naming/Name.java: Added serialVersionUID.
7803
7804 2002-10-03  Adam Megacz <adam@xwt.org>
7805
7806         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7807         some functionality that isn't supported yet on WIN32.
7808
7809 2002-10-03  Tom Tromey  <tromey@redhat.com>
7810
7811         * Makefile.in: Rebuilt.
7812         * Makefile.am (awt_java_source_files): Added new files.
7813
7814 2002-10-03  Michael Koch  <konqueror@gmx.de>
7815
7816         * java/net/InetAddress.java
7817         (class InetAddress): Removed final keyword.
7818         (equals): Fixed typo.
7819         (getByAddress): New method.
7820
7821 2002-10-03  Michael Koch  <konqueror@gmx.de>
7822
7823         * java/awt/dnd/Autoscroll.java:
7824         New file, merge from Classpath.
7825         * java/awt/dnd/DragSourceAdapter.java:
7826         (dragExit): Fixed typos in argument type.
7827         (dragDropEnd): Fixed typos in argument type.
7828         * java/awt/dnd/DragSourceDropEvent.java:
7829         New file, merge from Classpath.
7830         * java/awt/dnd/DropTarget.java:
7831         Added stubs, merge from Classpath.
7832         * java/awt/dnd/DropTargetAdapter.java:
7833         New file, merge from Classpath.
7834         * java/awt/dnd/DropTargetContext.java:
7835         New file, merge from Classpath.
7836         * java/awt/dnd/DropTargetDragEvent.java:
7837         New file, merge from Classpath.
7838         * java/awt/dnd/DropTargetDropEvent.java:
7839         New file, merge from Classpath.
7840         * java/awt/dnd/DropTargetEvent.java:
7841         New file, merge from Classpath.
7842         * java/awt/dnd/DropTargetListener.java:
7843         New file, merge from Classpath.
7844         * java/awt/dnd/MouseDragGestureRecognizer.java:
7845         New file, merge from Classpath.
7846         * java/awt/dnd/peer/DropTargetContextPeer.java:
7847         New file, merge from Classpath.
7848
7849 2002-10-03  Michael Koch  <konqueror@gmx.de>
7850
7851         * java/net/DatagramPacket.java
7852         (setLength): Fixed typo and be HTML-aware.
7853         * java/net/InetSocketAddress.java
7854         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7855         (equals): Added comment about equality of InetSocketAddress objects.
7856         * java/net/ServerSocket.java
7857         (accept): Added checks.
7858         (isClosed): New stubbed method.
7859         * java/net/SocketOptions.java: Reindention.
7860         * java/net/SocketPermission
7861         (SocketPermission): Documentation fixed.
7862
7863 2002-10-03  Michael Koch  <konqueror@gmx.de>
7864
7865         * java/net/DatagramSocket.java
7866         (receive): Check with SecurityManager AFTER the packet is received,
7867         check if connected to multicast address, documentation added.
7868         (send): Only check SecurityManager if connected, check address of
7869         packet to send.
7870         (connect): Implemented, documentation added.
7871         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7872         * java/net/InetSocketAddress.java
7873         (whole file): Reindented.
7874         (hostname): New attribute.
7875         (InetSocketAddress): Initialize new attribute.
7876         (getAddress): Documentation added.
7877         (getHostName): Documentation added.
7878         (getPort): Documentation added.
7879         (hashCode): Documentation added.
7880         (isUnresolved): Documentation added.
7881         (toString): Conform to output of JDK 1.4.1, documentation added.
7882         * java/net/MulticastSocket.java
7883         (joinGroup): Removed FIXME, documentation added.
7884         (leaveGroup): Removed FIXME, documentation added.
7885         (send): Documentation added.
7886         * java/net/Socket.java
7887         (inputShutdown): New variable.
7888         (outputShutdown): New variable.
7889         (Socket): Initialize new variables.
7890         (getRemoteSocketAddress): Check if connected.
7891         (shutdownInput): Set new variable.
7892         (shutdownOutput): Set new variable.
7893         (isConnected): New method.
7894         (isClosed): New method.
7895         (isInputShutdown): New method.
7896         (isOutputShutdown): New method.
7897         * java/net/URLStreamHandler.java
7898         (URLStreamHandler): New method.
7899         (openConnection): Added documentation.
7900         (parseURL): Added documentation.
7901         (getHostAddress): New method.
7902         (getDefaultPort): New method.
7903
7904 2002-10-02  Tom Tromey  <tromey@redhat.com>
7905
7906         * java/rmi/activation/ActivationDesc.java,
7907         java/rmi/activation/ActivationGroupDesc.java,
7908         java/rmi/activation/ActivationGroupID.java,
7909         java/rmi/activation/ActivationID.java: New versions from
7910         Classpath.
7911
7912 2002-09-30  Bo Thorsen  <bo@suse.de>
7913
7914         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7915
7916 2002-09-30  Tom Tromey  <tromey@redhat.com>
7917
7918         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7919         from Classpath.
7920         * Makefile.in: Rebuilt.
7921         * Makefile.am (rmi_java_source_files): Added new files.
7922         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7923         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7924         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7925         Classpath.
7926         * gnu/java/rmi/dgc/DGCImpl.java,
7927         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7928         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7929         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7930         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7931         gnu/java/rmi/server/RMIHashes.java,
7932         gnu/java/rmi/server/RMIObjectInputStream.java,
7933         gnu/java/rmi/server/RMIObjectOutputStream.java,
7934         gnu/java/rmi/server/UnicastConnection.java,
7935         gnu/java/rmi/server/UnicastConnectionManager.java,
7936         gnu/java/rmi/server/UnicastRef.java,
7937         gnu/java/rmi/server/UnicastServer.java,
7938         gnu/java/rmi/server/UnicastServerRef.java,
7939         java/rmi/MarshalledObject.java,
7940         java/rmi/server/RMIClassLoader.java,
7941         java/rmi/server/RemoteObject.java,
7942         java/rmi/server/UnicastRemoteObject.java,
7943         java/security/SecureClassLoader.java: Merged from Classpath.
7944
7945 2002-09-29  Anthony Green  <green@redhat.com>
7946
7947         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7948         Imported from GNU Classpath.
7949         * java/lang/reflect/natProxy.cc: New file.
7950         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7951         from GNU Classpath.
7952         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7953         Classpath.
7954         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7955         Classpath.
7956         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7957         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7958         New statics.
7959         * gcj/javaprims.h ("Java"): Add new classes.
7960         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7961         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7962         java/lang/reflect/Proxy$$ProxyType.h): And this.
7963         (inner_nat_headers): Add these new headers.
7964         (ordinary_java_source_files): Add new files.
7965         (nat_source_files): Add new file.
7966         * Makefile.in: Rebuilt.
7967
7968 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7969
7970         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7971         a single configuration.
7972
7973 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7974
7975         * java/util/TimeZone.java (getDSTSavings): New method.
7976         Fixes PR libgcj/7786.
7977
7978 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7979
7980         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7981         to see if `the_method == 0' before looking up vtable index.
7982         Fixes PR libgcj/7709.
7983
7984 2002-09-25  Tom Tromey  <tromey@redhat.com>
7985
7986         * java/lang/natClassLoader.cc:
7987         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7988         * resolve.cc: Include NoClassDefFoundError.h, not
7989         ClassNotFoundException.h.
7990         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7991
7992         * defineclass.cc: Don't include ClassNotFoundException.h.
7993
7994         * resolve.cc: Include StringBuffer.
7995         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7996
7997         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7998         allocated but not initialized.
7999
8000 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8001
8002         Fix for PR libgcj/7766:
8003         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8004         (getNextEntry): Set it.
8005         (closeEntry): Likewise.
8006         (read): Likewise.
8007         (close): Likewise.
8008         (available): Use it.
8009
8010 2002-09-25  Michael Koch  <konqueror@gmx.de>
8011
8012         * java/net/DatagramSocket.java
8013         (DatagramSocket): Initialize new instance variables.
8014         (close): Reset new instance variables.
8015         (getLocalAddress): Remove unneeded SecurityManager usage.
8016         (getLocalPort): Check if socket is already bound.
8017         (isConnected): New method.
8018         (getInetAddress): Implemented.
8019         (getPort): Better Implementation, documentation fixed.
8020         (getRemoteSocketAddress): New method.
8021         * java/net/JarURLConnection.java
8022         (element): Typo fixed.
8023         (getMainAttributes): New method.
8024         (getAttributes): New method (stub only).
8025         (getManifest): New method (stub only).
8026         * java/net/NetPermission.java: Added serialVersionsUID.
8027         * java/net/Socket.java
8028         (connect): Check blocking mode of associated channel,
8029         documentation added.
8030         (getLocalSocketAddress): Better implementation.
8031         (getRemoteSocketAddress): Implemented.
8032         (isBound): New method.
8033         (setSendBufferSize): Documentation added.
8034         * java/net/SocketAddress.java: Added serialVersionsUID.
8035         * java/net/SocketPermission.java: Added serialVersionsUID.
8036         * java/net/URL.java
8037         (URL): Wrap for shorter lines, initialize new instance variables,
8038         documentation added.
8039         (equals): Check new instance variables too.
8040         (getContent): Documentation added.
8041         (getPath): Documentation added.
8042         (getAuthority): New method.
8043         (getHost): Documentation added.
8044         (getPort): Documentation added.
8045         (getDefaultPort): New method.
8046         (getProtocol): Documentation added.
8047         (getUserInfo): Documentation added.
8048         (set): Initialize new instance variables, documentation added.
8049         * java/net/URLStreamHandler.java
8050         (setURL): New method.
8051         * java/net/natPlainDatagramSocketImpl.cc
8052         (connect): Fix exception name.
8053         (disconnect): Fix exception name.
8054
8055 2002-09-25  Michael Koch  <konqueror@gmx.de>
8056
8057         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8058         * java/nio/channels/DatagramChannel.java:
8059         extends AbstractSelectableChannel
8060         * java/nio/channels/ServerSocketChannel.java:
8061         extends AbstractSelectableChannel
8062         * java/nio/channels/SocketChannel.java:
8063         extends AbstractSelectableChannel
8064         * Makefile.am (ordinary_java_source_files):
8065         java/nio/channels/spi/AbstractSelectableChannel.java added.
8066         * Makefile.in: Regenerated.
8067
8068 2002-09-25  Michael Koch  <konqueror@gmx.de>
8069
8070         * java/net/DatagramSocket.java
8071         (DatagramSocket): Exception documentation added.
8072         (bind): Exception documentation added, addded SecurityManager check,
8073         added SocketAddress type check.
8074         (getSoTimeout): Check impl.
8075         (receive): Fix SecurityManager check, check impl, documentation added.
8076         (send): Check channel mode, documentation added.
8077         (connect): New method.
8078         (disconnect): Implemented.
8079         (getLocalSocketAddress): New method.
8080         (getReceiveBufferSize): Check impl.
8081         (setReuseAddress): Check impl.
8082         (getReuseAddress): Check impl.
8083         (setBroadcast): Check impl.
8084         (getBroadcast): Check impl.
8085         (setTrafficClass): Check impl, Documentation cleared.
8086         (getTrafficClass): Check impl.
8087         (getSendBufferSize): Check impl.
8088         (setReceiveBufferSize): Check impl, documentation added.
8089         (setSendBufferSize): Documentation added.
8090         (setDatagramSocketImplFactory): New method.
8091         * java/net/HttpURLConnection.java
8092         (HTTP_INTERNAL_ERROR): The correct code is 500.
8093         (HTTP_NOT_IMPLEMENTED): Added new constant.
8094         (setFollowRedirects): Documentation added.
8095         (getInstanceFollowRedirects): New method.
8096         (setInstanceFollowRedirects): New method.
8097         (setRequestMethod): Documentation added.
8098         (getResponseCode): Documentation added.
8099         (getResponseMessage): Documentation added.
8100         * java/net/JarURLConnection.java
8101         (JarURLConnection): protected since JDK 1.4.
8102         (getJarEntry): java.io.IOException to IOException, documentation added.
8103         (getJarFile): Documentation added.
8104         * java/net/ServerSocket.java
8105         (ServerSocket): Private to public, exception added.
8106         (ServerSocket): java.io.IOException to IOException, documentation added.
8107         (bind): Check socket address type, documentation added.
8108         (bind): java.io.IOException to IOException, documentation added.
8109         (accept): Documentation added.
8110         (implAccept): Check ch is not non-blocking, documentation added.
8111         (setSoTimeout): Documentation fixed.
8112         (setReceiveBufferSize): Documentation added.
8113         * java/net/Socket.java
8114         (Socket): Documentation added.
8115         (bind): Documentation added.
8116         (connect): Check socket address type, documentation added.
8117         (getRemoteSocketAddress): New method.
8118         (getLocalSocketAddress): New method.
8119         (setSoLinger): Documentation added.
8120         (getReuseAddress): New method.
8121         (setReuseAddress): New method.
8122         (getTrafficClass): New method.
8123         (setTrafficClass): New method.
8124         * java/net/URLStreamHandler.java
8125         (openConnection): java.io.IOException to IOException.
8126         (parseURL): Documentation added.
8127         (sameFile): public to protected, documentation added.
8128         (setURL): Documentation added.
8129         * java/nio/IllegalBlockingModeException.java: New file.
8130         * Makefile.am (ordinary_java_source_files):
8131         added java/nio/IllegalBlockingModeException.java
8132         * Makefile.in: Regenerated.
8133
8134 2002-09-25  Michael Koch  <konqueror@gmx.de>
8135
8136         * java/net/DatagramPacket
8137         (DatagramPacket): Exception documentation added.
8138         (setData): Likewise.
8139         (setSocketAddress): Likewise.
8140         * java/net/DatagramSocketImpl.java
8141         (peek): Documentation addded.
8142         (peekData): Documentation addded.
8143         (send): Documentation addded.
8144         (receive): Documentation addded.
8145         (connect): New method.
8146         (disconnect): New method.
8147         (joinGroup): New abstract method.
8148         (leaveGroup): New abstract method.
8149         * java/net/InetSocketAddress.java
8150         (InetSocketAddress): Documentation added.
8151         (equals): final keyword added.
8152         (getAddress): final keyword added.
8153         (getHostName): final keyword added.
8154         (getPort): final keyword added.
8155         (hashCode): final keyword added.
8156         (isUnresolved): final keyword added.
8157         * java/net/MulticastSocket.java
8158         (MulticastSocket): Documentation added.
8159         (MulticastSocket): New method.
8160         (joinGroup): Documentation added.
8161         (joinGroup): New method.
8162         (leaveGroup): Documentation added.
8163         (leaveGroup): New method.
8164         (send): Documentation added.
8165         * java/net/NetworkInterface.java
8166         (getByName): Documentation added.
8167         (getByInetAddress): Documentation added.
8168         (getNetworkInterfaces): Documentation added.
8169         * java/net/PlainDatagramSocketImpl.java
8170         (connect): New method.
8171         (disconnect): New method.
8172         * java/net/SocketImpl.java
8173         (create): Documentation added.
8174         (shutdownInput): Convert public to protected, as it always was.
8175         (shutdownOutput): Convert public to protected, as it always was.
8176         * java/net/SocketOptions.java
8177         (whole file): Reintented.
8178         * java/net/URLClassLoader.java
8179         (URLClassLoader): SecurityManager check added, documentation added.
8180         (findResources): Documentation added.
8181         (findClass): Documentation added.
8182         (newInstance): More correct method arguments.
8183         * java/net/URLConnection.java
8184         (connect): Documentation added.
8185         (getContent): Documentation added.
8186         (getPermission): Documentation added.
8187         (getInputStream): Documentation added.
8188         (getOutputStream): Documentation added.
8189         (setDoInput): Throw correct exception, documentation added.
8190         (setDoOutput): Throw correct exception, documentation added.
8191         (setAllowUserInteraction): Throw correct exception, documentation added.
8192         (setUseCaches): Throw correct exception, documentation added.
8193         (setIfModifiedSince): Throw correct exception, documentation added.
8194         (setRequestProperty): Throw exception, documentation added.
8195         (addRequestProperty): Throw exception, documentation added.
8196         (getRequestProperty): Throw exception, documentation added.
8197         (getRequestProperties): Documentation added.
8198         (setContentHandlerFactory): Documentation added.
8199         (guessContentTypeFromName): protected to public.
8200         (setFileNameMap): Documentation added.
8201         * java/net/URLDecoder.java
8202         (URLDecoder): New method.
8203         (decode): Documentation added.
8204         (whole file): Reindented.
8205         * java/net/URLEncoder.java
8206         (encode): Documentation added.
8207         * java/net/natPlainDatagramSocketImpl.cc
8208         (connect): New method.
8209         (disconnect): New method.
8210         * javax/naming/RefAddr:
8211         (addrType): addrType was never final.
8212         (equals): Fix typo in method name.
8213         * javax/naming/BinaryRefAddr:
8214         (equals): Fix typo in method name.
8215
8216 2002-09-22  Tom Tromey  <tromey@redhat.com>
8217
8218         Fix for PR libgcj/6576:
8219         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8220         didn't find a given bundle.
8221         (getBundle): Don't require base bundle.
8222         (setParent): Removed old comment.
8223         (tryLocalBundle): Try components even if preceding components were
8224         empty.
8225
8226 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8227
8228         * Makefile.am (all-multi): Fix multilib parallel build.
8229
8230 2002-09-21  Michael Koch  <konqueror@gmx.de>
8231
8232         * java/net/Socket.java
8233         (sendUrgentData): New method.
8234         (getChannel): New method.
8235         * java/net/ServerSocket.java
8236         (getChannel): New method.
8237         (isBound): New method.
8238         * java/net/DatagramSocket.java
8239         (DatagramSocket): Two new methods.
8240         (bind): New method.
8241         (getChannel): New method.
8242         (isBound): New method.
8243         (send): Added newline to to make shorter lines.
8244         * java/net/PlainDatagramSocketImpl.java
8245         (mcastGrp): Added argument.
8246         (join): Use new mcastGrp.
8247         (leave): Use new mcastGrp.
8248         (joinGroup): New method.
8249         (leaveGroup): New method.
8250         * java/net/natPlainDatagramSocketImpl.cc
8251         (mcastGrp): Added argument, no yet really implemented.
8252         (getOption): Added newline for shorter lines.
8253         * java/net/natPlainSocketImpl.cc
8254         (read, setOption, getOption): Added newline for shorter lines.
8255
8256 2002-09-19  Tom Tromey  <tromey@redhat.com>
8257
8258        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8259        newly-created exception.
8260
8261 2002-09-18  Michael Koch  <konqueror@gmx.de>
8262
8263         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8264         java/util/regex/PatternSyntaxException.java:
8265         Merge with classpath, new files.
8266         * Makefile.am (core_java_source_files):
8267         Added java/util/regex/Matcher.java,
8268         java/util/regex/Pattern.java,
8269         java/util/regex/PatternSyntaxException.java
8270         * Makefile.in: Regenerated.
8271         * include/config.h.in: Added HAVE_NET_IF_H.
8272         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8273         Removed #if 0 ... #endif.
8274
8275 2002-09-17  Michael Koch  <konqueror@gmx.de>
8276
8277         * java/net/natNetworkInterface.cc:
8278         Removed unneed and yet wrong includes.
8279
8280 2002-09-17  Michael Koch  <konqueror@gmx.de>
8281
8282         * java/net/NetworkInterface.java: New file.
8283         * java/net/natNetworkInterface.java: New file.
8284         * configure.in: Added check for net/if.h.
8285         * configure: Regenerated.
8286         * Makefile.am
8287         (ordinary_java_source_files): Added NetworkInterface.java.
8288         (nat_source_files): Added natNetworkInterface.cc.
8289         * Makefile.in: Regenerated.
8290
8291 2002-09-16  Tom Tromey  <tromey@redhat.com>
8292
8293         * java/net/URLClassLoader.java (findClass): Code source for a
8294         class from a jar is not necessarily a jar: URL.
8295
8296 2002-09-16  Michael Koch  <konqueror@gmx.de>
8297
8298         * java/lang/AssertionError.java:
8299         Merge with classpath, fixes HTML.
8300         * java/rmi/server/LogStream.java:
8301         Merge with classpath, fixes some constants.
8302         * java/net/server/RemoteServer.java:
8303         Merge with classpath, adds serialVersionUID.
8304         * javax/naming/BinaryRefAddr.java:
8305         Merge with classpath, s/equal/equals/.
8306         * javax/naming/NamingException.java:
8307         Merge with classpath, fixed typo.
8308         * javax/naming/RefAddr.java:
8309         Merge with classpath, s/equal/equals/.
8310         * java/awt/Toolkit.java:
8311         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8312         and typo fixed.
8313
8314 2002-09-15  Adam Megacz <adam@xwt.org>
8315
8316         * java/net/natPlainSocketImpl.cc: fixed typo.
8317
8318 2002-09-15  Adam Megacz <adam@xwt.org>
8319
8320         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8321         which don't work on Win32 (yet).
8322
8323 2002-09-14  Adam Megacz <adam@xwt.org>
8324
8325         * java/net/natPlainDatagramSocket.cc: removed #include
8326         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8327         * include/win32.h: included definition for IP_TOS to satisfy
8328         natPlainDatagramSocket.cc
8329
8330 2002-09-13  Michael Koch  <konqueror@gmx.de>
8331
8332         * java/net/DatagramPacket.java (DatagramPacket):
8333         Added linebreak for 80 chars per line.
8334         * java/net/JarURLConection.java
8335         (getInputStreami, getJarEntry): Likewise.
8336         * java/net/SocketPErmission.java
8337         (SocketPermission class docu, implies): Likewise.
8338         * java/net/URLClassLoader.java (findResources): Likewise.
8339         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8340
8341 2002-09-13  Michael Koch  <konqueror@gmx.de>
8342
8343         * java/nio/channels/DatagramChannel.java,
8344         java/nio/channels/ServerSocketChannel.java
8345         java/nio/channels/SocketChannel.java:
8346         New dummy files to make java.net fully JDK 1.4 compatible
8347         * Makefile.am (ordinary_java_source_files): Added
8348         java/net/DatagramSocketImplFactory.java (long forgotten),
8349         java/nio/SocketChannel.java,
8350         java/nio/ServerSocketChannel.java,
8351         java/nio/DatagramChannel.java
8352         * Makefile.in: Regenrated.
8353
8354 2002-09-12  Michael Koch  <konqueror@gmx.de>
8355
8356         * java/net/DatagramSocketImpl.java
8357         (peekData): New method.
8358         * java/net/PlainDatagramSocketImpl.java
8359         (peekData): New method.
8360         * java/net/natPlainDatagramSocketImpl.cc
8361         (peekData): New method.
8362         * java/net/URLConnection
8363         (getPermission): New method.
8364         (addRequestProperty): New method.
8365         (getRequestProperties): New method.
8366         (guessContentTypeFromStream): New method, not really implemented.
8367         (URLConnection): Added/updated documentation.
8368         (connect): Added/updated documentation.
8369         (getURL): Added/updated documentation.
8370         (getContentLength): Added/updated documentation.
8371         (getContentType: Added/updated documentation.
8372         (getContentEncoding): Added/updated documentation.
8373         (getExpiration): Added/updated documentation.
8374         (getDate): Added/updated documentation.
8375         (getLastModified): Added/updated documentation.
8376         (getHeaderField): Added/updated documentation.
8377         (getHeaderFields): Added/updated documentation.
8378         (getHeaderFieldInt): Added/updated documentation.
8379         (getHeaderFieldDate): Added/updated documentation.
8380         (getHeaderFieldKey): Added/updated documentation.
8381         (getContent): Added/updated documentation.
8382         (getInputStream): Added/updated documentation.
8383         (getOutputStream): Added/updated documentation.
8384         (toString): Added/updated documentation.
8385         (setDoInput): Added/updated documentation.
8386         (getDoInput): Added/updated documentation.
8387         (setDoOutput): Added/updated documentation.
8388         (getDoOutput): Added/updated documentation.
8389         (setAllowUserInteraction): Added/updated documentation.
8390         (getAllowUserInteraction): Added/updated documentation.
8391         (setDefaultAllowUserInteraction): Added/updated documentation.
8392         (getDefaultAllowUserInteraction): Added/updated documentation.
8393         (setUseCaches): Added/updated documentation.
8394         (getUseCaches): Added/updated documentation.
8395         (setIfModifiedSince): Added/updated documentation.
8396         (getIfModifiedSince): Added/updated documentation.
8397         (getDefaultUseCaches): Added/updated documentation.
8398         (setDefaultUseCaches): Added/updated documentation.
8399         (setRequestProperty): Added/updated documentation.
8400         (getRequestProperty): Added/updated documentation.
8401         (setDefaultRequestProperty): Added/updated documentation.
8402         (getDefaultRequestProperty): Added/updated documentation.
8403         (setContentHandlerFactory): Added/updated documentation.
8404         (guessContentTypeFromName): Added/updated documentation.
8405         (getFileNameMap): Added/updated documentation.
8406         (setFileNameMap): Added/updated documentation.
8407
8408 2002-09-11  Michael Koch  <konqueror@gmx.de>
8409
8410         * java/net/Socket.java
8411         (Socket): protected to public (since JDK 1.4). Added @specnote.
8412         (bind): New method.
8413         (connect): Two new methods.
8414         (getKeepalive): Get correct socket option.
8415         (setKeepalive): Set correct socket option.
8416         (getOOBInline): New method.
8417         (setOOBInline): New method.
8418         * java/net/ServerSocket.java
8419         (bind): Two new methods.
8420         (getInetAddress): Reimplemented, catch exception.
8421         (getLocalSocketAddress): New method.
8422         (setReuseAddress): New method.
8423         (getReuseAdress): New method.
8424         (setReceiveBufferSize): New method.
8425         (getReceiveBufferSize): New method.
8426         (toString): Made string JDK 1.4 compliant.
8427
8428 2002-09-10  Michael Koch  <konqueror@gmx.de>
8429
8430         * java/net/SocketImpl.java
8431         (connect): New method.
8432         (supportsUrgentData): New method.
8433         (sendUrgentData): New method.
8434         * java/net/PlainSocketImpl.java
8435         (connect): One new method and two new implementation.
8436         (sendUrgentData): New method.
8437         * java/natPlainSocketImpl.cc
8438         (connect): Arguments changed, added support for timeouts.
8439         (getOption): Another __java_boolean to jboolean.
8440
8441 2002-09-07  Adam Megacz <adam@xwt.org>
8442
8443         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8444         definition of IP_TOS.
8445
8446 2002-09-04  Michael Koch  <konqueror@gmx.de>
8447
8448         * java/net/DatagramSocket.java
8449         (DatagramSocket): Added documentation.
8450         (close): Likewise.
8451         (getLocalAddress): Likewise.
8452         (getLocalPort): Likewise.
8453         (receive): Likewise.
8454         (send): Likewise.
8455         (setSoTimeout): Likewise.
8456         (connect): New method.
8457         (disconnect): New method.
8458         (getInetAddress): New method (FIXME)
8459         (getPort): New method.
8460         (setReuseAddress): New method.
8461         (getReuseAddress): New method.
8462         (setBroadcast): New method.
8463         (getBroadcast): New method.
8464         (setTrafficClass): New method.
8465         (getTrafficClass): New method.
8466         * java/net/MulticastSocket.java):
8467         (getTTL): Added @see in documentation.
8468         (setTTL): Added @see in documentation.
8469         (setLoopbackMode): New method.
8470         (getLoopbackMode): New method.
8471         * java/net/PlainSocketImpl.java:
8472         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8473         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8474         * java/net/PlainDatagramSocketImpl.java
8475         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8476         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8477         * java/net/natPlainSocketImpl.cc
8478         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8479         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8480         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8481         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8482         This should also fix SO_KEEPALIVE
8483         * java/net/natPlainDatagramSocketImpl.cc
8484         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8485         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8486         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8487         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8488
8489 2002-09-04  Michael Koch  <konqueror@gmx.de>
8490
8491         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8492         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8493         IP_MULTICAST_LOOP, IP_TOS
8494
8495 2002-09-03  Tom Tromey  <tromey@redhat.com>
8496
8497         * java/lang/Class.h (_getDeclaredMethod): Declare.
8498         (_getMethod): Now private.
8499         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8500         getDeclaredMethod.  Now returns NULL on failure.
8501         * java/lang/Class.java (_getDeclaredMethod): Declare.
8502         (getDeclaredMethod): No longer native; implements access checks.
8503
8504 2002-09-01  Mark Wielaard  <mark@klomp.org>
8505
8506         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8507         (sanitizeStack): Correctly reset unknown and interpreter counters,
8508         detect interpreter runtime frames.
8509         (demangleInterpreterMethod): New method.
8510         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8511         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8512         filling in addrs[].
8513
8514 2002-09-02  Michael Koch  <konqueror@gmx.de>
8515
8516         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8517         re-indented documentation.
8518
8519 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8520
8521         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8522         public, per 1.4 spec.  Fixes PR libgcj/7785.
8523
8524 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8525
8526         * Makefile.in: Rebuilt.
8527         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8528
8529 2002-08-29  Tom Tromey  <tromey@redhat.com>
8530
8531         * java/net/JarURLConnection.java (getCertificates): New method
8532         from Classpath.
8533         * java/net/URLClassLoader.java (URLClassLoader): Extends
8534         SecureClassLoader.
8535         (definePackage): New method from Classpath.
8536         (getPermissions): Likewise.
8537         (newInstance): Likewise.
8538         (findClass): Construct CodeSource for new class (from Classpath).
8539         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8540         methods.
8541         * java/net/URL.java (getUserInfo): New method.
8542         (set(String,String,int,String,String,String,String,String)): New
8543         method.
8544         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8545         (shutdownInput, shutdownOutput): Declare.
8546         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8547         Define.
8548         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8549         (getOption): Likewise.
8550         (shutdownInput): New method.
8551         (shutdownOutput): Likewise.
8552         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8553         keepalive.
8554         (getOption): Likewise.
8555         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8556         * java/net/Socket.java (setKeepAlive): New method.
8557         (getKeepAlive): Likewise.
8558         (shutdownInput, shutdownOutput): New methods.
8559
8560 2002-08-29  Michael Koch  <konqueror@gmx.de>
8561
8562         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8563         new methods are:
8564         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8565           address),
8566         DatagramPacket(byte[] buf, int length, SocketAddress address),
8567         void setSocketAddress(SocketAddress address)
8568         public SocketAddress getSocketAddress()
8569
8570 2002-08-29  Tom Tromey  <tromey@redhat.com>
8571
8572         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8573         ftruncate is missing.
8574         * configure, include/config.h.in: Rebuilt.
8575         * acconfig.h (HAVE_FTRUNCATE): Mention.
8576         * configure.in: Check for ftruncate.
8577
8578 2002-08-29  Tom Tromey  <tromey@redhat.com>
8579
8580         * include/jvm.h (struct _Jv_frame_info): New structure.
8581         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8582         java-interp.h.
8583         (lookupInterp): New method.
8584         (getAddrAsString): Use _Jv_frame_info.
8585         (dladdrLookup): Likewise.
8586         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8587         interpreted frame.
8588         (lookupInterp): Declare.
8589         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8590         (fillInStackTrace): Collect information on interpreted frames.
8591         Use _Jv_frame_info.
8592         * interpret.cc: Include Thread.h.
8593         (run): Create and push _Jv_MethodChain object.
8594         (_Jv_EndOfInterpreter): New global.
8595         * java/lang/Thread.java (interp_frame): New field.
8596         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8597         Include NameFinder.h.
8598
8599 2002-08-28  Tom Tromey  <tromey@redhat.com>
8600
8601         * java/lang/Class.h: Include Package.h.
8602         (Class::getProtectionDomain): Declare.
8603         (Class::getPackage): Declare.
8604
8605 2002-08-28  Michael Koch <konqueror@gmx.de>
8606
8607         * java/net/InetSocketAddress.java: Added some documentation and argument
8608         checks for the port numbers.
8609         * java/net/DatagramSocketImplFactory.java: New file.
8610
8611 2002-08-28  Michael Koch <konqueror@gmx.de>
8612
8613         * java/net/Authenticator.java: added some documentation.
8614
8615 2002-08-27  Tom Tromey  <tromey@redhat.com>
8616
8617         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8618         class.
8619         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8620
8621 2002-08-27  Michael Koch <konqueror@gmx.de>
8622
8623         * java/net/BindException.java,
8624         java/net/JarURLConnection.java,
8625         java/net/FileNameMap.java,
8626         java/net/HttpURLConnection.java,
8627         java/net/InetSocketAddress.java,
8628         java/net/DatagramPacket.java,
8629         java/net/DatagramSocket.java,
8630         java/net/DatagramSocketImpl.java,
8631         java/net/MulticastSocket.java,
8632         java/net/PasswordAuthentication.java,
8633         java/net/ServerSocket.java,
8634         java/net/Socket.java,
8635         java/net/URLClassLoader.java,
8636         java/net/URLConnection.java: add/update of some @since/@deprecated
8637
8638 2002-08-27  Tony Kimball <alk@pobox.com>
8639             Tom Tromey  <tromey@redhat.com>
8640
8641         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8642         define.
8643         (::close): Removed.
8644         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8645         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8646         (::close): Removed.
8647         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8648         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8649
8650 2002-08-25  Adam Megacz <adam@xwt.org>
8651
8652         * include/win32.h (getcwd): copied function declaration as
8653         temporary fix for header confusion.
8654
8655 2002-08-24  Mark Wielaard <mark@klomp.org>
8656
8657         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8658         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8659         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8660         and natNameFinder.cc.
8661         * Makefile.in: Regenerate.
8662         * prims.cc: Use trace_enabled from VMThrowable.
8663         * name-finder.cc: Removed.
8664         * gcj/javaprims.h: Add class VMThrowable.
8665         * gnu/gcj/runtime/NameFinder.java: New file.
8666         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8667         * include/name-finder.h: Removed.
8668         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8669         method stackTraceString().
8670         (printStackTrace (PrintWriter)): Likewise.
8671         (stackTraceString): Complete rewrite of old printStackTrace using
8672         StringBuffer.
8673         (stackTraceStringBuffer): New helper method for stackTraceString().
8674         (fillInStackTrace): Delegate to VMTrowable.
8675         (getStackTrace): Likewise.
8676         (getStackTrace0): Removed.
8677         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8678         (setStackTrace): Copy given array.
8679         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8680         * java/lang/VMThrowable.java: New class.
8681         * java/lang/natVMThrowable.cc: New file.
8682
8683 2003-08-23  Michael Koch  <konqueror@gmx.de>
8684
8685         * java/net/URLConnection.java,
8686         java/netJarURLConnection.java,
8687         gnu/gcj/protocol/core/Connection.java,
8688         gnu/gcj/protocol/file/Connection.java,
8689         gnu/gcj/protocol/http/Connection.java: Added implementation of
8690         getHeaderFields().
8691
8692 2002-08-22  Tom Tromey  <tromey@redhat.com>
8693
8694         * gij.cc (help): Document -cp and -classpath.
8695         (main): Handle -classpath.
8696
8697 2002-08-21  Tom Tromey  <tromey@redhat.com>
8698
8699         * Makefile.in: Rebuilt.
8700         * Makefile.am (ordinary_java_source_files): Added
8701         SocketAddress.java, InetSocketAddress.java.
8702         * java/net/PortUnreachableException.java: Merged with Classpath.
8703         * java/net/SocketTimeoutException.java: Likewise.
8704         * java/net/URISyntaxException.java: Likewise.
8705         * java/net/SocketAddress.java: New class from Classpath.
8706         * java/net/InetSocketAddress.java: Likewise.
8707
8708 2003-08-21  Michael Koch  <konqueror@gmx.de>
8709
8710         * java/net/Authenticator.java: updated JDK 1.4
8711         * java/net/ContentHandler.java: updated JDK 1.4
8712
8713 2002-08-20  Michael Koch  <konqueror@gmx.de>
8714
8715         * java/net/URISyntaxException.java: New file.
8716         * java/net/SocketTimeoutException.java: New file.
8717         * java/net/PortUnreachableException.java: New file.
8718         * Makefile.am: Updated.
8719         * Makefile.in: Rebuilt.
8720
8721 2002-08-18  Mark Wielaard  <mark@klomp.org>
8722
8723         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8724         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8725         MessageDigestSpi (fixes Classpath bug #783).
8726
8727 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8728
8729         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8730         (startProcess): Allocate path for chdir in async-signal-safe way.
8731
8732 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8733
8734         Fix for PR libgcj/7570 and PR libgcj/7578:
8735         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8736         (startProcess): Handle new `dir' argument.
8737         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8738         argument.
8739         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8740         argument.
8741         (startProcess): Likewise.
8742         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8743         argument.
8744         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8745         (exec): Don't create new environment if ENV==null.  Pass DIR to
8746         execInternal.
8747         * java/lang/natRuntime.cc: Include java/io/File.h.
8748         (execInternal): Added `dir' argument.
8749
8750 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8751
8752         * java/io/RandomAccessFile.java (skipBytes): Return number of
8753         bytes skipped.
8754
8755 2002-08-01  Mark Wielaard  <mark@klomp.org>
8756
8757         Reenable patch since shared library troubles on powerpc are solved:
8758         * gnu/java/security/provider/Gnu.java: Reference all implementation
8759         classes by using Class.getName().
8760         * gnu/java/security/der/DEREncodingException.java,
8761         gnu/java/security/provider/DERReader.java,
8762         gnu/java/security/provider/DERWriter.java,
8763         gnu/java/security/provider/DSAKeyPairGenerator.java,
8764         gnu/java/security/provider/DSAParameterGenerator.java,
8765         gnu/java/security/provider/DSAParameters.java,
8766         gnu/java/security/provider/DSASignature.java,
8767         gnu/java/security/provider/GnuDSAPrivateKey.java,
8768         gnu/java/security/provider/GnuDSAPublicKey.java,
8769         gnu/java/security/provider/MD5.java,
8770         gnu/java/security/util/Prime.java: New classes
8771         * Makefile.am (ordinary_java_source_files): Add above files.
8772         * Makefile.in: Regenerate.
8773         * gnu/java/security/provider/DefaultPolicy.java
8774         (getPermissions): Don't maintain static class variable of Permissions.
8775         * gnu/java/security/provider/SHA.java
8776         (engineUpdate): algorithm change.
8777         (engineDigest): algorithm change.
8778
8779 2002-08-09  Mark Wielaard  <mark@klomp.org>
8780
8781         * java/awt/image/MemoryImageSource.java: Change constructor to take
8782         int[] not byte[].
8783         * java/awt/Graphics2D.java: Uncomment methods that can now be
8784         compiled.
8785         * java/awt/GridBagLayout.java: New stub implementation.
8786         * javax/swing/text/html/HTML.java: Stub implementation.
8787         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8788         implementation.
8789
8790         * Makefile.am: Add new files.
8791         * Makefile.in: Rebuilt.
8792
8793 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8794
8795         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8796         methods in Graphics2D.
8797
8798 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8799
8800         AWT/Swing merge from GNU Classpath.
8801
8802         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8803         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8804         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8805         java/awt/color/ProfileDataException.java,
8806         java/awt/CompositeContext.java, java/awt/Composite.java,
8807         java/awt/ContainerOrderFocusTraversalPolicy.java,
8808         java/awt/datatransfer/FlavorTable.java,
8809         java/awt/DefaultFocusTraversalPolicy.java,
8810         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8811         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8812         java/awt/dnd/DragGestureListener.java,
8813         java/awt/dnd/DragGestureRecognizer.java,
8814         java/awt/dnd/DragSourceAdapter.java,
8815         java/awt/dnd/DragSourceContext.java,
8816         java/awt/dnd/DragSourceDragEvent.java,
8817         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8818         java/awt/dnd/DragSourceListener.java,
8819         java/awt/dnd/DragSourceMotionListener.java,
8820         java/awt/dnd/DropTarget.java,
8821         java/awt/dnd/InvalidDnDOperationException.java,
8822         java/awt/dnd/peer/DragSourceContextPeer.java,
8823         java/awt/event/AWTEventListenerProxy.java,
8824         java/awt/event/MouseWheelEvent.java,
8825         java/awt/event/MouseWheelListener.java,
8826         java/awt/event/WindowFocusListener.java,
8827         java/awt/event/WindowStateListener.java,
8828         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8829         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8830         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8831         java/awt/geom/FlatteningPathIterator.java,
8832         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8833         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8834         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8835         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8836         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8837         java/awt/image/ImagingOpException.java,
8838         java/awt/image/RasterFormatException.java,
8839         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8840         java/awt/image/VolatileImage.java,
8841         java/awt/image/WritableRenderedImage.java,
8842         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8843         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8844         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8845         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8846         java/awt/PageAttributes.java, java/awt/print/Book.java,
8847         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8848         java/awt/print/Paper.java, java/awt/print/Printable.java,
8849         java/awt/print/PrinterAbortException.java,
8850         java/awt/print/PrinterException.java,
8851         java/awt/print/PrinterGraphics.java,
8852         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8853         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8854         java/awt/Stroke.java, java/awt/TexturePaint.java,
8855         javax/accessibility/AccessibleAction.java,
8856         javax/accessibility/AccessibleBundle.java,
8857         javax/accessibility/AccessibleComponent.java,
8858         javax/accessibility/AccessibleContext.java,
8859         javax/accessibility/AccessibleEditableText.java,
8860         javax/accessibility/AccessibleExtendedComponent.java,
8861         javax/accessibility/AccessibleExtendedTable.java,
8862         javax/accessibility/AccessibleHyperlink.java,
8863         javax/accessibility/AccessibleHypertext.java,
8864         javax/accessibility/AccessibleIcon.java,
8865         javax/accessibility/Accessible.java,
8866         javax/accessibility/AccessibleKeyBinding.java,
8867         javax/accessibility/AccessibleRelation.java,
8868         javax/accessibility/AccessibleRelationSet.java,
8869         javax/accessibility/AccessibleResourceBundle.java,
8870         javax/accessibility/AccessibleRole.java,
8871         javax/accessibility/AccessibleSelection.java,
8872         javax/accessibility/AccessibleState.java,
8873         javax/accessibility/AccessibleStateSet.java,
8874         javax/accessibility/AccessibleTable.java,
8875         javax/accessibility/AccessibleTableModelChange.java,
8876         javax/accessibility/AccessibleText.java,
8877         javax/accessibility/AccessibleValue.java,
8878         javax/swing/AbstractAction.java,
8879         javax/swing/AbstractButton.java,
8880         javax/swing/AbstractCellEditor.java,
8881         javax/swing/AbstractListModel.java,
8882         javax/swing/AbstractSet.java, javax/swing/Action.java,
8883         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8884         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8885         javax/swing/border/CompoundBorder.java,
8886         javax/swing/border/EmptyBorder.java,
8887         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8888         javax/swing/border/LineBorder.java,
8889         javax/swing/border/MatteBorder.java,
8890         javax/swing/border/TitledBorder.java,
8891         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8892         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8893         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8894         javax/swing/CellRendererPane.java,
8895         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8896         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8897         javax/swing/colorchooser/ColorSelectionModel.java,
8898         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8899         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8900         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8901         javax/swing/DefaultBoundedRangeModel.java,
8902         javax/swing/DefaultButtonModel.java,
8903         javax/swing/DefaultCellEditor.java,
8904         javax/swing/DefaultCellRenderer.java,
8905         javax/swing/DefaultComboBoxModel.java,
8906         javax/swing/DefaultDesktopManager.java,
8907         javax/swing/DefaultFocusManager.java,
8908         javax/swing/DefaultListCellRenderer.java,
8909         javax/swing/DefaultListModel.java,
8910         javax/swing/DefaultListSelectionModel.java,
8911         javax/swing/DefaultSingleSelectionModel.java,
8912         javax/swing/DesktopManager.java,
8913         javax/swing/event/AncestorEvent.java,
8914         javax/swing/event/AncestorListener.java,
8915         javax/swing/event/CaretEvent.java,
8916         javax/swing/event/CaretListener.java,
8917         javax/swing/event/CellEditorListener.java,
8918         javax/swing/event/ChangeEvent.java,
8919         javax/swing/event/ChangeListener.java,
8920         javax/swing/event/DocumentEvent.java,
8921         javax/swing/event/DocumentListener.java,
8922         javax/swing/event/EventListenerList.java,
8923         javax/swing/event/HyperlinkEvent.java,
8924         javax/swing/event/HyperlinkListener.java,
8925         javax/swing/event/InternalFrameAdapter.java,
8926         javax/swing/event/InternalFrameEvent.java,
8927         javax/swing/event/InternalFrameListener.java,
8928         javax/swing/event/ListDataEvent.java,
8929         javax/swing/event/ListDataListener.java,
8930         javax/swing/event/ListSelectionEvent.java,
8931         javax/swing/event/ListSelectionListener.java,
8932         javax/swing/event/MenuDragMouseEvent.java,
8933         javax/swing/event/MenuDragMouseListener.java,
8934         javax/swing/event/MenuEvent.java,
8935         javax/swing/event/MenuKeyEvent.java,
8936         javax/swing/event/MenuKeyListener.java,
8937         javax/swing/event/MenuListener.java,
8938         javax/swing/event/MouseInputAdapter.java,
8939         javax/swing/event/MouseInputListener.java,
8940         javax/swing/event/PopupMenuEvent.java,
8941         javax/swing/event/PopupMenuListener.java,
8942         javax/swing/event/SwingPropertyChangeSupport.java,
8943         javax/swing/event/TableColumnModelEvent.java,
8944         javax/swing/event/TableColumnModelListener.java,
8945         javax/swing/event/TableModelEvent.java,
8946         javax/swing/event/TableModelListener.java,
8947         javax/swing/event/TreeExpansionEvent.java,
8948         javax/swing/event/TreeExpansionListener.java,
8949         javax/swing/event/TreeModelEvent.java,
8950         javax/swing/event/TreeModelListener.java,
8951         javax/swing/event/TreeSelectionEvent.java,
8952         javax/swing/event/TreeSelectionListener.java,
8953         javax/swing/event/TreeWillExpandListener.java,
8954         javax/swing/event/UndoableEditEvent.java,
8955         javax/swing/event/UndoableEditListener.java,
8956         javax/swing/filechooser/FileFilter.java,
8957         javax/swing/filechooser/FileSystemView.java,
8958         javax/swing/filechooser/FileView.java,
8959         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8960         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8961         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8962         javax/swing/JApplet.java, javax/swing/JButton.java,
8963         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8964         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8965         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8966         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8967         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8968         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8969         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8970         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8971         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8972         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8973         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8974         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8975         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8976         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8977         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8978         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8979         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8980         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8981         javax/swing/JToolTip.java, javax/swing/JTree.java,
8982         javax/swing/JViewport.java, javax/swing/JWindow.java,
8983         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8984         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8985         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8986         javax/swing/MenuSelectionManager.java,
8987         javax/swing/MutableComboBoxModel.java,
8988         javax/swing/OverlayLayout.java,
8989         javax/swing/plaf/ActionMapUIResource.java,
8990         javax/swing/plaf/basic/BasicBorders.java,
8991         javax/swing/plaf/basic/BasicButtonUI.java,
8992         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8993         javax/swing/plaf/basic/BasicDefaults.java,
8994         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8995         javax/swing/plaf/basic/BasicIconFactory.java,
8996         javax/swing/plaf/basic/BasicLabelUI.java,
8997         javax/swing/plaf/basic/BasicListUI.java,
8998         javax/swing/plaf/basic/BasicLookAndFeel.java,
8999         javax/swing/plaf/basic/BasicOptionPaneUI.java,
9000         javax/swing/plaf/basic/BasicPanelUI.java,
9001         javax/swing/plaf/basic/BasicRadioButtonUI.java,
9002         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9003         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9004         javax/swing/plaf/basic/BasicTextUI.java,
9005         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9006         javax/swing/plaf/basic/BasicTreeUI.java,
9007         javax/swing/plaf/basic/BasicViewportUI.java,
9008         javax/swing/plaf/BorderUIResource.java,
9009         javax/swing/plaf/ButtonUI.java,
9010         javax/swing/plaf/ColorChooserUI.java,
9011         javax/swing/plaf/ColorUIResource.java,
9012         javax/swing/plaf/ComboBoxUI.java,
9013         javax/swing/plaf/ComponentInputMapUIResource.java,
9014         javax/swing/plaf/ComponentUI.java,
9015         javax/swing/plaf/DesktopIconUI.java,
9016         javax/swing/plaf/DesktopPaneUI.java,
9017         javax/swing/plaf/DimensionUIResource.java,
9018         javax/swing/plaf/FileChooserUI.java,
9019         javax/swing/plaf/FontUIResource.java,
9020         javax/swing/plaf/IconUIResource.java,
9021         javax/swing/plaf/InputMapUIResource.java,
9022         javax/swing/plaf/InsetsUIResource.java,
9023         javax/swing/plaf/InternalFrameUI.java,
9024         javax/swing/plaf/LabelUI.java,
9025         javax/swing/plaf/ListUI.java,
9026         javax/swing/plaf/MenuBarUI.java,
9027         javax/swing/plaf/MenuItemUI.java,
9028         javax/swing/plaf/OptionPaneUI.java,
9029         javax/swing/plaf/PanelUI.java,
9030         javax/swing/plaf/PopupMenuUI.java,
9031         javax/swing/plaf/ProgressBarUI.java,
9032         javax/swing/plaf/RootPaneUI.java,
9033         javax/swing/plaf/ScrollBarUI.java,
9034         javax/swing/plaf/ScrollPaneUI.java,
9035         javax/swing/plaf/SeparatorUI.java,
9036         javax/swing/plaf/SliderUI.java,
9037         javax/swing/plaf/SplitPaneUI.java,
9038         javax/swing/plaf/TabbedPaneUI.java,
9039         javax/swing/plaf/TableHeaderUI.java,
9040         javax/swing/plaf/TableUI.java,
9041         javax/swing/plaf/TextUI.java,
9042         javax/swing/plaf/ToolBarUI.java,
9043         javax/swing/plaf/ToolTipUI.java,
9044         javax/swing/plaf/TreeUI.java,
9045         javax/swing/plaf/UIResource.java,
9046         javax/swing/plaf/ViewportUI.java,
9047         javax/swing/ProgressMonitorInputStream.java,
9048         javax/swing/ProgressMonitor.java,
9049         javax/swing/Renderer.java,
9050         javax/swing/RepaintManager.java,
9051         javax/swing/RootPaneContainer.java,
9052         javax/swing/Scrollable.java,
9053         javax/swing/ScrollPaneConstants.java,
9054         javax/swing/ScrollPaneLayout.java,
9055         javax/swing/SingleSelectionModel.java,
9056         javax/swing/SizeRequirements.java,
9057         javax/swing/SizeSequence.java,
9058         javax/swing/SwingConstants.java,
9059         javax/swing/SwingUtilities.java,
9060         javax/swing/table/AbstractTableModel.java,
9061         javax/swing/table/DefaultTableCellRenderer.java,
9062         javax/swing/table/DefaultTableColumnModel.java,
9063         javax/swing/table/DefaultTableModel.java,
9064         javax/swing/table/TableCellEditor.java,
9065         javax/swing/table/TableCellRenderer.java,
9066         javax/swing/table/TableColumn.java,
9067         javax/swing/table/TableColumnModel.java,
9068         javax/swing/table/TableModel.java,
9069         javax/swing/text/AbstractDocument.java,
9070         javax/swing/text/AttributeSet.java,
9071         javax/swing/text/BadLocationException.java,
9072         javax/swing/text/Caret.java,
9073         javax/swing/text/CharacterIterator.java,
9074         javax/swing/text/ComponentView.java,
9075         javax/swing/text/DefaultCaret.java,
9076         javax/swing/text/DefaultEditorKit.java,
9077         javax/swing/text/Document.java,
9078         javax/swing/text/EditorKit.java,
9079         javax/swing/text/Element.java,
9080         javax/swing/text/GapContent.java,
9081         javax/swing/text/JTextComponent.java,
9082         javax/swing/text/Keymap.java,
9083         javax/swing/text/MutableAttributeSet.java,
9084         javax/swing/text/PlainDocument.java,
9085         javax/swing/text/PlainEditorKit.java,
9086         javax/swing/text/Position.java,
9087         javax/swing/text/Segment.java,
9088         javax/swing/text/StyledDocument.java,
9089         javax/swing/text/StyledEditorKit.java,
9090         javax/swing/text/Style.java,
9091         javax/swing/text/TextAction.java,
9092         javax/swing/text/ViewFactory.java,
9093         javax/swing/text/View.java,
9094         javax/swing/Timer.java,
9095         javax/swing/ToggleButtonModel.java,
9096         javax/swing/ToolTipManager.java,
9097         javax/swing/tree/AbstractLayoutCache.java,
9098         javax/swing/tree/DefaultMutableTreeNode.java,
9099         javax/swing/tree/DefaultTreeCellEditor.java,
9100         javax/swing/tree/DefaultTreeCellRenderer.java,
9101         javax/swing/tree/DefaultTreeModel.java,
9102         javax/swing/tree/DefaultTreeSelectionModel.java,
9103         javax/swing/tree/ExpandVetoException.java,
9104         javax/swing/tree/FixedHeightLayoutCache.java,
9105         javax/swing/tree/MutableTreeNode.java,
9106         javax/swing/tree/RowMapper.java,
9107         javax/swing/tree/TreeCellEditor.java,
9108         javax/swing/tree/TreeCellRenderer.java,
9109         javax/swing/tree/TreeModel.java,
9110         javax/swing/tree/TreeNode.java,
9111         javax/swing/tree/TreePath.java,
9112         javax/swing/tree/TreeSelectionModel.java,
9113         javax/swing/tree/VariableHeightLayoutCache.java,
9114         javax/swing/UIDefaults.java,
9115         javax/swing/UIManager.java,
9116         javax/swing/undo/AbstractUndoableEdit.java,
9117         javax/swing/undo/CannotRedoException.java,
9118         javax/swing/undo/CannotUndoException.java,
9119         javax/swing/undo/CompoundEdit.java,
9120         javax/swing/undo/StateEditable.java,
9121         javax/swing/undo/StateEdit.java,
9122         javax/swing/undo/UndoableEdit.java,
9123         javax/swing/undo/UndoableEditSupport.java,
9124         javax/swing/undo/UndoManager.java,
9125         javax/swing/UnsupportedLookAndFeelException.java,
9126         javax/swing/ViewportLayout.java,
9127         javax/swing/WindowConstants.java: New files, from GNU Classpath.
9128
9129         * java/awt/ActiveEvent.java,
9130         java/awt/Adjustable.java, java/awt/AWTError.java,
9131         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9132         java/awt/AWTException.java, java/awt/AWTPermission.java,
9133         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9134         java/awt/Color.java, java/awt/Component.java,
9135         java/awt/ComponentOrientation.java, java/awt/Container.java,
9136         java/awt/datatransfer/MimeTypeParseException.java,
9137         java/awt/datatransfer/Transferable.java,
9138         java/awt/datatransfer/UnsupportedFlavorException.java,
9139         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9140         java/awt/event/ActionListener.java,
9141         java/awt/event/AdjustmentEvent.java,
9142         java/awt/event/AdjustmentListener.java,
9143         java/awt/event/AWTEventListener.java,
9144         java/awt/event/ComponentAdapter.java,
9145         java/awt/event/ComponentEvent.java,
9146         java/awt/event/ComponentListener.java,
9147         java/awt/event/ContainerAdapter.java,
9148         java/awt/event/ContainerEvent.java,
9149         java/awt/event/ContainerListener.java,
9150         java/awt/event/FocusAdapter.java,
9151         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9152         java/awt/event/HierarchyBoundsAdapter.java,
9153         java/awt/event/HierarchyBoundsListener.java,
9154         java/awt/event/HierarchyEvent.java,
9155         java/awt/event/HierarchyListener.java,
9156         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9157         java/awt/event/InputMethodListener.java,
9158         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9159         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9160         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9161         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9162         java/awt/event/MouseListener.java,
9163         java/awt/event/MouseMotionAdapter.java,
9164         java/awt/event/MouseMotionListener.java,
9165         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9166         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9167         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9168         java/awt/event/WindowListener.java, java/awt/Font.java,
9169         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9170         java/awt/geom/Ellipse2D.java,
9171         java/awt/geom/IllegalPathStateException.java,
9172         java/awt/geom/Line2D.java,
9173         java/awt/geom/NoninvertibleTransformException.java,
9174         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9175         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9176         java/awt/geom/RoundRectangle2D.java,
9177         java/awt/GraphicsConfiguration.java,
9178         java/awt/IllegalComponentStateException.java,
9179         java/awt/image/IndexColorModel.java,
9180         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9181         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9182         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9183         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9184         java/awt/MenuItem.java, java/awt/PaintContext.java,
9185         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9186         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9187         java/awt/PrintJob.java, java/awt/Rectangle.java,
9188         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9189         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9190         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9191
9192         * java/awt/im/spi/InputMethod.java,
9193         java/awt/im/spi/InputMethodContext.java,
9194         java/awt/im/spi/InputMethodDescriptor.java,
9195         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9196         java/awt/image/renderable/ParameterBlock.java,
9197         java/awt/image/renderable/RenderContext.java,
9198         java/awt/image/renderable/RenderableImage.java,
9199         java/awt/image/renderable/RenderableImageOp.java,
9200         java/awt/image/renderable/RenderableImageProducer.java,
9201         java/awt/image/renderable/RenderedImageFactory.java: New files from
9202         classpath.
9203
9204         * gnu/java/awt/EventModifier.java,
9205         gnu/java/awt/image/ImageDecoder.java,
9206         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9207
9208         * gnu/awt/xlib/XGraphicsConfiguration.java,
9209         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9210         API.
9211
9212         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9213         GNU Classpath.
9214
9215         * Makefile.am: Add new files.
9216         * Makefile.in: Rebuilt.
9217
9218 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9219
9220         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9221         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9222         findResource, getResources, findResources): Add javadoc from classpath.
9223         (getSystemResources): Implemented.
9224
9225 2002-08-01  Mark Wielaard  <mark@klomp.org>
9226
9227         Revert patch that breaks libgcj shared library on powerpc:
9228         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9229         implementation classes by using Class.getName(). Uses Strings again.
9230         * gnu/java/security/der/DEREncodingException.java,
9231         gnu/java/security/provider/DERReader.java,
9232         gnu/java/security/provider/DERWriter.java,
9233         gnu/java/security/provider/DSAKeyPairGenerator.java,
9234         gnu/java/security/provider/DSAParameterGenerator.java,
9235         gnu/java/security/provider/DSAParameters.java,
9236         gnu/java/security/provider/DSASignature.java,
9237         gnu/java/security/provider/GnuDSAPrivateKey.java,
9238         gnu/java/security/provider/GnuDSAPublicKey.java,
9239         gnu/java/security/provider/MD5.java,
9240         gnu/java/security/util/Prime.java: Removed.
9241         * Makefile.am (ordinary_java_source_files): Remove above files.
9242         * Makefile.in: Regenerate.
9243         * gnu/java/security/provider/DefaultPolicy.java
9244         (getPermissions): Revert to maintaining static class variable of
9245         Permissions.
9246         * gnu/java/security/provider/SHA.java
9247         (engineUpdate): Revert algorithm change.
9248         (engineDigest): Revert algorithm change.
9249
9250 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9251
9252         * configure.host: Add SH support.
9253         * sysdep/sh/locks.h: New file.
9254
9255 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9256
9257         * java/awt/Frame.java (Frame): Remove println calls.
9258
9259 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9260
9261         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9262         * configure: Rebuilt.
9263
9264 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9265
9266         * sysdep/powerpc/locks.h: Formatting.
9267         (_LARX): Define.
9268         (_STCX): Define.
9269         (compare_and_swap): Use _LARX and _STCX.
9270         (compare_and_swap_release): Likewise.
9271
9272 2002-07-26  Tom Tromey  <tromey@redhat.com>
9273
9274         * java/net/Authenticator.java: New version from Classpath.
9275         * java/net/DatagramSocketImpl.java: New version from Classpath.
9276
9277 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9278
9279         * configure.host: Add powerpc64*-* entry.
9280
9281 2002-07-26  Tom Tromey  <tromey@redhat.com>
9282
9283         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9284         fcntl.h.
9285
9286 2002-07-24  Tom Tromey  <tromey@redhat.com>
9287
9288         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9289         argument to _load.
9290
9291 2002-07-24  Tom Tromey  <tromey@redhat.com>
9292             Tony Kimball <alk@pobox.com>
9293
9294         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9295         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9296         * java/io/RandomAccessFile.java (setLength): New method.
9297         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9298         * java/io/FileDescriptor.java (setLength): New method.
9299
9300 2002-07-24  Mark Wielaard  <mark@klomp.org>
9301
9302         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9303         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9304         field call setAccessible(true).
9305         (setByteField): Likewise.
9306         (setCharField): Likewise.
9307         (setDoubleField): Likewise.
9308         (setFloatField): Likewise.
9309         (setIntField): Likewise.
9310         (setLongField): Likewise.
9311         (setShortField): Likewise.
9312         (setObjectField): Likewise.
9313
9314 2002-07-24  Tom Tromey  <tromey@redhat.com>
9315
9316         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9317         use toString() to format array element.
9318
9319 2002-07-23  Mark Wielaard  <mark@klomp.org>
9320
9321         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9322         MessageDigestSpi (fixes Classpath bug #783).
9323
9324 2002-07-21  Mark Wielaard  <mark@klomp.org>
9325
9326         * gnu/java/security/provider/Gnu.java: Reference all implementation
9327         classes by using Class.getName().
9328
9329 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9330
9331         * java/lang/ieeefp.h: Add x86-64 support.
9332         * configure.in: Likewise.
9333         * configure.host: Likewise.
9334         * configure: Regenerated.
9335         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9336
9337 2002-07-16  Mark Wielaard  <mark@klomp.org>
9338
9339         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9340         (whitespaceChars): call resetChar().
9341
9342 2002-07-15  Tom Tromey  <tromey@redhat.com>
9343
9344         * Makefile.in: Rebuilt.
9345         * Makefile.am (awt_java_source_files): Added new files.
9346         * java/beans/ExceptionListener.java: Merged with Classpath.
9347         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9348         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9349         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9350         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9351         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9352         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9353         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9354
9355 2002-07-14  Mark Wielaard  <mark@klomp.org>
9356
9357         * gnu/java/security/der/DEREncodingException.java,
9358         gnu/java/security/provider/DERReader.java,
9359         gnu/java/security/provider/DERWriter.java,
9360         gnu/java/security/provider/DSAKeyPairGenerator.java,
9361         gnu/java/security/provider/DSAParameterGenerator.java,
9362         gnu/java/security/provider/DSAParameters.java,
9363         gnu/java/security/provider/DSASignature.java,
9364         gnu/java/security/provider/GnuDSAPrivateKey.java,
9365         gnu/java/security/provider/GnuDSAPublicKey.java,
9366         gnu/java/security/provider/MD5.java,
9367         gnu/java/security/util/Prime.java: New files from Classpath.
9368         * Makefile.am (ordinary_java_source_files): Add new files.
9369         * Makefile.in: Regenerate.
9370
9371 2002-07-14  C. Brian Jones <cbj@gnu.org>
9372
9373         * gnu/java/security/provider/DefaultPolicy.java
9374         (getPermissions): do not maintain static class variable of
9375         Permissions
9376         * gnu/java/security/provider/SHA.java
9377         (engineUpdate): algorithm change
9378         (engineDigest): algorithm change
9379
9380 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9381
9382         For PR libgcj/7292:
9383         * java/lang/Character.java (toString(char)): Now static.
9384
9385 2002-07-12  Mark Wielaard  <mark@klomp.org>
9386
9387         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9388         (getStackTrace0): new method.
9389         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9390         (printStackTrace(PrintWriter)): replace with pure java implementation.
9391         (printRawStackTrace): removed.
9392         (getStackTrace0): new method.
9393         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9394         * gcj/javaprims.h: regenerate class list.
9395         * include/name-finder.h (lookup): new returns StackTraceElement*.
9396         (method_name, file_name): fields removed.
9397         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9398         (~_Jv_name_finder): close new descriptors.
9399         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9400         (createStackTraceElement): new method.
9401         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9402
9403 2002-07-10  Tom Tromey  <tromey@redhat.com>
9404
9405         * configure: Rebuilt.
9406         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9407
9408 2002-07-08  Mark Wielaard  <mark@klomp.org>
9409
9410         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9411         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9412         java.sql.DatabaseMetaData.TestJdbc20
9413
9414 2002-07-05  Tony Kimball  <alk@pobox.com>
9415
9416         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9417
9418 2002-07-04  Tom Tromey  <tromey@redhat.com>
9419             Jeff Sturm  <jsturm@one-point.com>
9420
9421         Fix for PR libgcj/7060:
9422         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9423         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9424         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9425         * java/lang/Class.java (getMethod): New Java implementation;
9426         complies with spec.
9427         (_getMethod): New native method.
9428
9429 2002-07-02  Tom Tromey  <tromey@redhat.com>
9430             David Hovemeyer  <daveho@cs.umd.edu>
9431
9432         * java/text/ChoiceFormat.java
9433         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9434         in check loop.
9435         * java/text/MessageFormat.java
9436         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9437         to MessageFormat.
9438
9439 2002-07-01  Tom Tromey  <tromey@redhat.com>
9440
9441         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9442         StringTokenizer on null string.  For PR libgcj/7180.
9443         From daveho@cs.umd.edu.
9444
9445 2002-06-24  Tom Tromey  <tromey@redhat.com>
9446
9447         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9448         (IntegerClass): Likewise.
9449         * java/lang/natClass.cc (CloneableClass): Removed.
9450         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9451         ConstructorClass): Likewise.
9452         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9453         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9454         SerializableClass): Likewise.
9455         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9456         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9457         LongClass, FloatClass, DoubleClass): Likewise.
9458
9459         * verify.cc (branch_prepass): Updated for change to exception
9460         handler type.
9461         (verify_instructions_0): Likewise.
9462         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9463         (handleExceptionTableEntry): Updated for change to exception
9464         handler type.
9465         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9466         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9467         (union _Jv_InterpPC): New.
9468         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9469         (class _Jv_InterpMethod): Added new `prepared' field.
9470         (class _Jv_InterpMethod): Added `compile' method.  Removed
9471         `continue1' and `find_exception'.  Changed arguments to `run'.
9472         * interpret.cc (union insn_slot): New.
9473         (find_exception): Removed.
9474         (run_normal): Removed most logic.
9475         (run_synch_object): Likewise; also, use JvSynchronize.
9476         (run_synch_class): Likewise.
9477         (run): Removed.
9478         (continue1): Renamed as `run'.  Compile bytecode if required.
9479         Add new code to allow refinement of direct-threaded code at
9480         runtime.  Handle exceptions.
9481         (SAVE_PC): Removed.
9482         (compile): New method.
9483         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9484         (NULLARRAYCHECK): Don't use SAVE_PC.
9485         (pc_t): New typedef.
9486         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9487         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9488
9489 2002-06-23  Tom Tromey  <tromey@redhat.com>
9490
9491         * configure: Rebuilt.
9492         * configure.in (INTERPRETER): New subst.
9493         (AM_RUNTESTFLAGS): Don't subst.
9494
9495         * Makefile.in: Rebuilt.
9496         * Makefile.am ($(srcdir)/java/lang/Object.h,
9497         $(srcdir)/java/lang/Class.h): Added dummy targets.
9498
9499 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9500
9501         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9502
9503         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9504         java/sql/Savepoint.java: New files.
9505         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9506         java/sql/Blob.java, java/sql/CallableStatement.java,
9507         java/sql/Clob.java, java/sql/Connection.java,
9508         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9509         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9510         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9511         java/sql/Ref.java, java/sql/ResultSet.java,
9512         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9513         java/sql/SQLException.java, java/sql/SQLInput.java,
9514         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9515         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9516         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9517         (JDK 1.4) specification.
9518         * javax/sql/ConnectionEvent.java,
9519         javax/sql/ConnectionEventListener.java,
9520         javax/sql/ConnectionPoolDataSource.java,
9521         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9522         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9523         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9524         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9525         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9526         javax/sql/XADataSource.java: New files.
9527         * Makefile.am: Add new files.
9528         * Makefile.in: Rebuilt.
9529
9530 2002-06-20  Tom Tromey  <tromey@redhat.com>
9531
9532         For PR libgcj/7073:
9533         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9534         exists.
9535         * defineclass.cc (handleClassBegin): Superclass for interface is
9536         `null'.
9537
9538 2002-06-18  Tom Tromey  <tromey@redhat.com>
9539
9540         * gcj/javaprims.h: Updated class declaration list.
9541         * Makefile.in: Rebuilt.
9542         * Makefile.am (core_java_source_files): Removed
9543         BasicMapEntry.java.
9544         * java/util/BasicMapEntry.java: Removed.
9545
9546 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9547
9548         * java/net/natPlainDatagramSocketImpl.cc (receive):
9549         Check bounds of argument to FD_SET.
9550         (setOption): Throw exception if socket is closed.
9551
9552         * java/net/natPlainSocketImpl.cc (accept, read):
9553         Check bounds of argument to FD_SET.
9554         (setOption): Throw exception if socket is closed.
9555
9556 2002-06-18  Tom Tromey  <tromey@redhat.com>
9557
9558         * gcj/javaprims.h: Updated class declaration list.
9559         * Makefile.in: Rebuilt.
9560         * Makefile.am (core_java_source_files): Added
9561         PropertyPermissionCollection.java.
9562         * java/lang/Thread.java (group, name): Now package-private.
9563         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9564         * java/util/AbstractList.java: Likewise.
9565         * java/util/AbstractMap.java: Likewise.
9566         * java/util/Calendar.java: Likewise.
9567         * java/util/Collections.java: Likewise.
9568         * java/util/HashMap.java: Likewise.
9569         * java/util/Hashtable.java: Likewise.
9570         * java/util/LinkedHashMap.java: Likewise.
9571         * java/util/LinkedList.java: Likewise.
9572         * java/util/List.java: Likewise.
9573         * java/util/ListResourceBundle.java: Likewise.
9574         * java/util/Map.java: Likewise.
9575         * java/util/Observable.java: Likewise.
9576         * java/util/Properties.java: Likewise.
9577         * java/util/PropertyPermission.java: Likewise.
9578         * java/util/PropertyPermissionCollection.java: Likewise.
9579         * java/util/PropertyResourceBundle.java: Likewise.
9580         * java/util/Random.java: Likewise.
9581         * java/util/SimpleTimeZone.java: Likewise.
9582         * java/util/StringTokenizer.java: Likewise.
9583         * java/util/TimerTask.java: Likewise.
9584         * java/util/TreeMap.java: Likewise.
9585         * java/util/WeakHashMap.java: Likewise.
9586         * java/util/jar/Attributes.java: Likewise.
9587         * java/util/jar/JarException.java: Likewise.
9588         * java/util/jar/Manifest.java: Likewise.
9589
9590 2002-06-17  Tom Tromey  <tromey@redhat.com>
9591
9592         * gcj/javaprims.h: Updated class declaration list.
9593         * Makefile.in: Rebuilt.
9594         * Makefile.am (core_java_source_files): Added new file.
9595         * java/util/EventListenerProxy.java: New file.
9596         * java/util/EventListener.java: Re-merge with Classpath.
9597         * java/util/EventObject.java: Re-merge with Classpath.
9598
9599 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9600
9601         * java/lang/ClassNotFoundException.java: New Classpath version.
9602
9603 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9604
9605         * java/rmi/activation/ActivateFailedException.java: Remerge from
9606         Classpath version.
9607         * java/rmi/activation/ActivationException.java: Ditto.
9608         * java/rmi/activation/UnknownGroupException.java: Ditto.
9609         * java/rmi/activation/UnknownObjectException.java: Ditto.
9610         * java/rmi/server/ExportException: Ditto.
9611         * java/rmi/server/ServerCloneException: Ditto.
9612         * java/rmi/server/ServerNotActiveException: Ditto.
9613         * java/rmi/server/SkeletonMismatchException: Ditto.
9614         * java/rmi/server/SkeletonNotFoundException: Ditto.
9615         * java/rmi/server/SocketSecurityException: Ditto.
9616
9617 2002-06-16  Tom Tromey  <tromey@redhat.com>
9618
9619         * gcj/javaprims.h: Updated class declaration list.
9620
9621         * java/io/LineNumberInputStream.java: Merged with Classpath.
9622
9623         * java/lang/RuntimeException.java: Re-merge with Classpath.
9624         * java/util/ArrayList.java: Likewise.
9625         * java/util/Arrays.java: Likewise.
9626         * java/util/BitSet.java: Likewise.
9627         * java/util/Dictionary.java: Likewise.
9628         * java/util/IdentityHashMap.java: Likewise.
9629         * java/util/MissingResourceException.java: Likewise.
9630         * java/util/Observer.java: Likewise.
9631         * java/util/TooManyListenersException.java: Likewise.
9632         * java/util/zip/DataFormatException.java: Likewise.
9633         * java/util/zip/ZipException.java: Likewise.
9634
9635 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9636
9637         * java/rmi/AccessException.java: Remerge from Classpath.
9638         * java/rmi/AlreadyBoundException.java: Ditto.
9639         * java/rmi/ConnectException.java: Ditto.
9640         * java/rmi/ConnectIOException.java: Ditto.
9641         * java/rmi/MarshalException.java: Ditto.
9642         * java/rmi/NoSuchObjectException.java: Ditto.
9643         * java/rmi/NotBoundException.java: Ditto.
9644         * java/rmi/RemoteException.java: Ditto.
9645         * java/rmi/RMISecurityException.java: Ditto.
9646         * java/rmi/ServerError.java: Ditto.
9647         * java/rmi/ServerException.java: Ditto.
9648         * java/rmi/ServerRuntimeException.java: Ditto.
9649         * java/rmi/StubNotFoundException.java: Ditto.
9650         * java/rmi/UnexpectedExcpetion.java: Ditto.
9651         * java/rmi/UnknownHostException.java: Ditto.
9652         * java/rmi/UnmarshalException.java: Ditto.
9653
9654 2002-06-15  Tom Tromey  <tromey@redhat.com>
9655
9656         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9657         * java/lang/ArithmeticException.java: Likewise.
9658         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9659         * java/lang/ArrayStoreException.java: Likewise.
9660         * java/lang/Byte.java: Likewise.
9661         * java/lang/CharSequence.java: Likewise.
9662         * java/lang/ClassCastException.java: Likewise.
9663         * java/lang/ClassCircularityError.java: Likewise.
9664         * java/lang/ClassFormatError.java: Likewise.
9665         * java/lang/CloneNotSupportedException.java: Likewise.
9666         * java/lang/Cloneable.java: Likewise.
9667         * java/lang/Comparable.java: Likewise.
9668         * java/lang/Compiler.java: Likewise.
9669         * java/lang/Error.java: Likewise.
9670         * java/lang/ExceptionInInitializerError.java: Likewise.
9671         * java/lang/IllegalAccessError.java: Likewise.
9672         * java/lang/IllegalAccessException.java: Likewise.
9673         * java/lang/IllegalArgumentException.java: Likewise.
9674         * java/lang/IllegalMonitorStateException.java: Likewise.
9675         * java/lang/IllegalStateException.java: Likewise.
9676         * java/lang/IllegalThreadStateException.java: Likewise.
9677         * java/lang/IncompatibleClassChangeError.java: Likewise.
9678         * java/lang/IndexOutOfBoundsException.java: Likewise.
9679         * java/lang/InheritableThreadLocal.java: Likewise.
9680         * java/lang/InstantiationError.java: Likewise.
9681         * java/lang/InstantiationException.java: Likewise.
9682         * java/lang/InternalError.java: Likewise.
9683         * java/lang/InterruptedException.java: Likewise.
9684         * java/lang/LinkageError.java: Likewise.
9685         * java/lang/NegativeArraySizeException.java: Likewise.
9686         * java/lang/NoClassDefFoundError.java: Likewise.
9687         * java/lang/NoSuchFieldError.java: Likewise.
9688         * java/lang/NoSuchFieldException.java: Likewise.
9689         * java/lang/NoSuchMethodError.java: Likewise.
9690         * java/lang/NoSuchMethodException.java: Likewise.
9691         * java/lang/NullPointerException.java: Likewise.
9692         * java/lang/NumberFormatException.java: Likewise.
9693         * java/lang/OutOfMemoryError.java: Likewise.
9694         * java/lang/Process.java: Likewise.
9695         * java/lang/Runnable.java: Likewise.
9696         * java/lang/RuntimePermission.java: Likewise.
9697         * java/lang/SecurityException.java: Likewise.
9698         * java/lang/Short.java: Likewise.
9699         * java/lang/StackOverflowError.java: Likewise.
9700         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9701         * java/lang/ThreadDeath.java: Likewise.
9702         * java/lang/ThreadLocal.java: Likewise.
9703         * java/lang/UnknownError.java: Likewise.
9704         * java/lang/UnsatisfiedLinkError.java: Likewise.
9705         * java/lang/UnsupportedClassVersionError.java: Likewise.
9706         * java/lang/UnsupportedOperationException.java: Likewise.
9707         * java/lang/VerifyError.java: Likewise.
9708         * java/lang/VirtualMachineError.java: Likewise.
9709         * java/lang/reflect/InvocationTargetException.java: Likewise.
9710         * java/net/BindException.java: Likewise.
9711         * java/net/ConnectException.java: Likewise.
9712         * java/net/MalformedURLException.java: Likewise.
9713         * java/net/NoRouteToHostException.java: Likewise.
9714         * java/net/ProtocolException.java: Likewise.
9715         * java/net/SocketException.java: Likewise.
9716         * java/net/UnknownHostException.java: Likewise.
9717         * java/net/UnknownServiceException.java: Likewise.
9718
9719         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9720         * java/io/CharConversionException.java: Likewise.
9721         * java/io/EOFException.java: Likewise.
9722         * java/io/FileNotFoundException.java: Likewise.
9723         * java/io/IOException.java: Likewise.
9724         * java/io/InterruptedIOException.java: Likewise.
9725         * java/io/InvalidClassException.java: Likewise.
9726         * java/io/InvalidObjectException.java: Likewise.
9727         * java/io/NotActiveException.java: Likewise.
9728         * java/io/NotSerializableException.java: Likewise.
9729         * java/io/ObjectStreamException.java: Likewise.
9730         * java/io/ObjectStreamConstants.java: Likewise.
9731         * java/io/OptionalDataException.java: Likewise.
9732         * java/io/PipedInputStream.java: Likewise.
9733         * java/io/PushbackInputStream.java: Likewise.
9734         * java/io/StreamCorruptedException.java: Likewise.
9735         * java/io/SyncFailedException.java: Likewise.
9736         * java/io/UTFDataFormatException.java: Likewise.
9737         * java/io/UnsupportedEncodingException.java: Likewise.
9738         * java/io/WriteAbortedException.java: Likewise.
9739
9740 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9741
9742         * java/text/ChoiceFormat.java: Update comments from Classpath.
9743         * java/text/ParseException.java (serialVersionUID): New
9744         field from Classpath.
9745         * java/text/ParseException.java: Update formatting & comments
9746         from Classpath.
9747
9748 2002-06-15  Tom Tromey  <tromey@redhat.com>
9749
9750         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9751         been read but none output by inflater.
9752         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9753         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9754         is_finished.
9755         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9756         version.
9757         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9758         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9759         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9760         version.
9761         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9762
9763 2002-06-13  Tom Tromey  <tromey@redhat.com>
9764
9765         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9766         true and OFFSET!=0.
9767         * java/lang/String.java (String(char[],int,int,boolean): New
9768         constructor.
9769         * java/lang/Long.java: Imported new version from Classpath.
9770         * java/lang/Number.java: Likewise.
9771         * java/lang/Integer.java: Likewise.
9772         * java/lang/Long.java: Likewise.
9773         * java/lang/Float.java: Likewise.
9774         * java/lang/Boolean.java: Likewise.
9775         * java/lang/Double.java: Likewise.
9776         * java/lang/Void.java: Likewise.
9777
9778 2002-06-12  Tom Tromey  <tromey@redhat.com>
9779
9780         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9781         Fixes PR libgcj/6652.
9782
9783 2002-06-10  Tom Tromey  <tromey@redhat.com>
9784
9785         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9786         (Class::getPackagePortion): Likewise.
9787         * java/lang/Class.java (desiredAssertionStatus): New method from
9788         Classpath.
9789         (getPackagePortion): Likewise.
9790         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9791         packageAssertionStatus, classAssertionStatus): New methods from
9792         Classpath.
9793         * java/lang/ClassLoader.java (defaultAssertionStatus,
9794         systemPackageAssertionStatus, packageAssertionStatus,
9795         systemClassAssertionStatus, classAssertionStatus): New fields from
9796         Classpath.
9797         (setDefaultAssertionStatus, setPackageAssertionStatus,
9798         setClassAssertionStatus, clearAssertionStatus): New methods from
9799         Classpath.
9800         * Makefile.in: Rebuilt.
9801         * Makefile.am (core_java_source_files): Added AssertionError.java.
9802         * java/lang/AssertionError.java: New from Classpath.
9803
9804 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9805
9806         * configure.host: Disable hash synchronization and slow_pthread_self
9807         for cygwin.
9808
9809 2002-06-06  Adam Megacz <adam@xwt.org>
9810
9811         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9812         locking, just like the Sun JVM does.
9813
9814 2002-06-05  H.J. Lu  (hjl@gnu.org)
9815
9816         * Makefile.am (libgcj_convenience.la): Revert the last change.
9817         (libgcj.la): Likewise.
9818         * Makefile.in: Regenerated.
9819
9820 2002-06-04  H.J. Lu  (hjl@gnu.org)
9821
9822         * Makefile.am (libgcj_convenience.la): New target.
9823         (libgcj.la): Depend on libgcj_convenience.la.
9824         * Makefile.in: Regenerated.
9825
9826 2002-06-04  H.J. Lu  (hjl@gnu.org)
9827
9828         * configure.in (--with-newlib): New option:
9829         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9830         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9831         Linux.
9832         * configure: Regenerated.
9833
9834 2002-06-04  Tom Tromey  <tromey@redhat.com>
9835
9836         * java/util/natTimeZone.cc: Include <stdio.h>.
9837
9838 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9839
9840         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9841         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9842         Set SIGNAL_HANDLER=include/s390-linux.h.
9843         * configure: Regenerate.
9844         * include/s390-linux.h: New file.
9845
9846 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9847
9848         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9849         not "stackTrace".
9850
9851 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9852
9853         Merge JDK 1.4 java.security changes from classpath.
9854
9855         * java/security/AccessControlException.java: Merge from Classpath.
9856         * java/security/AccessController.java: Likewise.
9857         * java/security/AllPermission.java: Likewise.
9858         * java/security/BasicPermission.java: Likewise.
9859         * java/security/Certificate.java: Likewise.
9860         * java/security/CodeSource.java: Likewise.
9861         * java/security/DigestException.java: Likewise.
9862         * java/security/DigestOutputStream.java: Likewise.
9863         * java/security/DomainCombiner.java: Likewise.
9864         * java/security/GeneralSecurityException.java: Likewise.
9865         * java/security/Guard.java: Likewise.
9866         * java/security/GuardedObject.java: Likewise.
9867         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9868         * java/security/InvalidKeyException.java: Likewise.
9869         * java/security/InvalidParameterException.java: Likewise.
9870         * java/security/Key.java: Likewise.
9871         * java/security/KeyException.java: Likewise.
9872         * java/security/KeyManagementException.java: Likewise.
9873         * java/security/KeyStoreException.java: Likewise.
9874         * java/security/MessageDigest.java: Likewise.
9875         * java/security/NoSuchAlgorithmException.java: Likewise.
9876         * java/security/NoSuchProviderException.java: Likewise.
9877         * java/security/Permission.java: Likewise.
9878         * java/security/PermissionCollection.java: Likewise.
9879         * java/security/Permissions.java: Likewise.
9880         * java/security/Policy.java: Likewise.
9881         * java/security/Principal.java: Likewise.
9882         * java/security/PrivateKey.java: Likewise.
9883         * java/security/PrivilegedAction.java: Likewise.
9884         * java/security/PrivilegedActionException.java: Likewise.
9885         * java/security/PrivilegedExceptionAction.java: Likewise.
9886         * java/security/ProtectionDomain.java: Likewise.
9887         * java/security/ProviderException.java: Likewise.
9888         * java/security/PublicKey.java: Likewise.
9889         * java/security/SecureClassLoader.java: Likewise.
9890         * java/security/SecurityPermission.java: Likewise.
9891         * java/security/SignatureException.java: Likewise.
9892         * java/security/UnrecoverableKeyException.java: Likewise.
9893         * java/security/UnresolvedPermission.java: Likewise.
9894         * java/security/acl/AclNotFoundException.java: Likewise.
9895         * java/security/acl/LastOwnerException.java: Likewise.
9896         * java/security/acl/NotOwnerException.java: Likewise.
9897         * java/security/cert/CRLException.java: Likewise.
9898         * java/security/cert/CertificateEncodingException.java: Likewise.
9899         * java/security/cert/CertificateException.java: Likewise.
9900         * java/security/cert/CertificateExpiredException.java: Likewise.
9901         * java/security/cert/CertificateFactory.java: Likewise.
9902         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9903         * java/security/cert/CertificateParsingException.java: Likewise.
9904         * java/security/spec/InvalidKeySpecException.java: Likewise.
9905         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9906
9907         * java/security/cert/CertPath.java: New file.
9908         * java/security/cert/CertPathBuilderException.java: New file.
9909         * java/security/cert/CertPathValidatorException.java: New file.
9910         * java/security/cert/CertStoreException.java: New file.
9911
9912         * Makefile.am: Add new CertPath classes.
9913         * Makefile.in: Rebuilt.
9914
9915         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9916
9917 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9918
9919         Merge JDK 1.4 exception chaining support from classpath.
9920
9921         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9922         (stackTraceBytes): Rename from stackTrace.
9923         * java/lang/Exception.java: Merge from classpath.
9924         * java/lang/StackTraceElement: New file from classpath.
9925         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9926         * Makefile.am: Add StackTraceElement.
9927         * Makefile.in: Rebuilt.
9928
9929 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9930
9931         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9932         they build first.
9933         * Makefile.in: Rebuilt.
9934
9935 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9936
9937         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9938         * configure.in: Likewise.
9939         * aclocal.m4: Regenerate.
9940         * configure: Regenerate.
9941
9942 2002-05-13  Tom Tromey  <tromey@redhat.com>
9943
9944         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9945         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9946         Include platform.h.
9947
9948         Fixes PR libgcj/6389:
9949         * Makefile.in: Rebuilt.
9950         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9951         * java/util/natTimeZone.cc: New file.
9952         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9953         * java/lang/System.java: Merged with Classpath.
9954         * java/lang/Runtime.java: Merged with Classpath.
9955         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9956         security check.
9957         (setIn0): Renamed from setIn; don't run security check.
9958         (setOut0): Renamed from setOut; don't run security check.
9959         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9960         init_properties): Moved to natRuntime.cc.
9961         Moved many includes to natRuntime.cc.
9962         (isWordsBigEndian): New method.
9963         * java/lang/natRuntime.cc: Include Long.h, also other includes
9964         previously in natSystem.cc.
9965         (maxMemory): New function.
9966         (exitInternal): Renamed from `_exit'.
9967         (exit): Removed.
9968         (init): Don't set finalize_on_exit.
9969         (exitInternal): Use `finalizeOnExit'.
9970         (file_encoding, getpwuid_adaptor): New functions from
9971         natSystem.cc.
9972         (insertSystemProperties): New method, renamed from
9973         System::init_properties.  Don't set user.timezone.
9974         (_load): Don't call checkLink.
9975         (execInternal): New method.
9976         (availableProcessors): Likewise.
9977         (nativeGetLibname): Likewise.
9978
9979 2002-05-11  Mark Wielaard  <mark@klomp.org>
9980
9981         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9982         space characters.
9983         (previous_internal): Likewise.
9984
9985 2002-05-09  Tom Tromey  <tromey@redhat.com>
9986
9987         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9988
9989         * java/util/ResourceBundle.java: New version from Classpath.
9990         * java/util/Locale.java: Likewise.
9991
9992 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9993
9994         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9995         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9996         LD_LIBRARY_PATH.
9997
9998 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9999
10000         * libjava/Makefile.am (all_java_source_files): New variable.
10001         (all_java_class_files): Likewise.
10002         .java.class: New rule.
10003         (CLEANFILES): Remove tmp-list.
10004         * libjava/Makefile.in: Regenerated.
10005
10006 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
10007
10008         * testsuite/lib/libjava.exp (test_libjava_from_javac):
10009         Append .exe to executable names.  Fix for cygwin.
10010
10011 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
10012
10013         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10014         script entry, and set LD to it when configuring multilibs.
10015         * configure: Rebuilt.
10016
10017 2002-05-07  Tom Tromey  <tromey@redhat.com>
10018
10019         * java/lang/natString.cc (unintern): Fixed typo.
10020
10021 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10022
10023         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10024         with -no-install on *-*-cygwin*.
10025
10026 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10027
10028         * testsuite/lib/libjava.exp (test_libjava_from_source):
10029         Add comment explaining last patch
10030
10031 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
10032
10033         * testsuite/lib/libjava.exp (test_libjava_from_source):
10034         Append .exe to executable names.  If no suffix is present,
10035         then ".exe" is added by default on win32.  Harmless
10036         elsewhere so always do it.
10037
10038 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
10039             Tom Tromey  <tromey@redhat.com>
10040
10041         * java/lang/natSystem.cc (getSystemTimeZone): Use
10042         HAVE_UNDERSCORE_TIMEZONE.
10043         * include/config.h.in: Rebuilt.
10044         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10045         * aclocal.m4, configure: Rebuilt.
10046         * acinclude.m4: Run AC_EXEEXT.
10047         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10048         Add test for `_timezone'.
10049
10050 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
10051
10052         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10053         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10054         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10055         * Makefile.in: Rebuilt.
10056
10057 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
10058
10059         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10060         use sigaction instead of __libc_sigaction.
10061
10062 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10063
10064         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10065         (libjava_init): Use it to find libgcj.spec.
10066         (libjava_arguments): Likewise.
10067
10068 2002-05-02  David S. Miller  <davem@redhat.com>
10069
10070         PR bootstrap/6525
10071         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10072         __libc_sigaction on Sparc.
10073
10074 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
10075
10076         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10077         sys/filio.h, if present.
10078
10079 2002-04-30  Tom Tromey  <tromey@redhat.com>
10080
10081         * java/io/BufferedReader.java (fill): Handle case where markPos
10082         point to ignored \n.  Fixes PR libgcj/6301.
10083
10084 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
10085
10086         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10087
10088 2002-04-29  Adam King <aking@dreammechanics.com>
10089
10090         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10091         of file in APPEND mode.
10092
10093 2002-04-25  David S. Miller  <davem@redhat.com>
10094
10095         PR target/6422
10096         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10097         program counter to next program counter minus 8.  Update
10098         comments in this macro to explain why.
10099
10100 2002-04-26  Tom Tromey  <tromey@redhat.com>
10101
10102         * verify.cc (construct_primitive_array_type) [void_type]: New
10103         case.
10104         (branch_prepass): Added dummy entries for unused instruction
10105         values.
10106         (verify_instructions_0): Likewise.
10107         * interpret.cc (continue1): Comment fix.
10108         * include/java-insns.h (op_xxxunusedxxx1): Removed.
10109         * Makefile.in: Rebuilt.
10110         * Makefile.am: Added -Wswitch-enum.
10111
10112 2002-04-24  Tom Tromey  <tromey@redhat.com>
10113
10114         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10115         correct length of UTF-8 encoded name.  Strip leading `/'.
10116         (_Jv_RegisterResource): Use _Jv_Malloc.
10117
10118 2002-04-23  Adam Megacz <adam@xwt.org>
10119
10120         * win32.cc, include/win32.cc (backtrace): Added this function
10121         because Win32 does not supply it.
10122
10123 2002-04-21  David S. Miller  <davem@redhat.com>
10124
10125         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10126         magic instruction reading sequence.
10127
10128 2002-04-21  Mark Wielaard  <mark@klomp.org>
10129
10130         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10131
10132 2002-04-19  David S. Miller  <davem@redhat.com>
10133
10134         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10135         arg.
10136         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10137         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10138         on Sparc too.
10139         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10140         for 64-bit sparc.
10141         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10142         * sysdeps/sparc/locks.h: New file.
10143         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10144         on all sparc Solaris configurations.  Set to
10145         include/dwarf2-signal.h on sparc Linux.
10146         * configure: Regenerate
10147         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10148
10149 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
10150
10151         * configure: Rebuilt.
10152         * configure.in (backtrace): Function doesn't work on IA-64.
10153
10154 2002-04-17  Adam King <aking@dreammechanics.com>
10155
10156         * java/io/File.java (normalizePath): Add Win32 support for auto
10157         conversion of a '/' path separator to Win32's '\' separator.
10158
10159 2002-04-16  Tom Tromey  <tromey@redhat.com>
10160
10161         Fix for PR libgcj/6081:
10162         * Makefile.in: Rebuilt.
10163         * Makefile.am (install-data-local): Use GNU make trick to avoid
10164         shell limit.
10165
10166 2002-04-16  Adam King <aking@dreammechanics.com>
10167             Tom Tromey  <tromey@redhat.com>
10168
10169         * java/io/natFileWin32.cc (performList): Return the correct array
10170         type.  Don't duplicate the creation of a File since it's already
10171         done earlier in the method and the existing code would cause a
10172         ArrayStoreException.  Don't use fixed-size array.
10173         (_access, _stat, attr, getCanonicalPath, performMkdir,
10174         performRenameTo): Don't use fixed-size array.
10175         (getCanonicalPath): Use throw, not _Jv_Throw.
10176
10177 2002-04-15  DJ Delorie  <dj@redhat.com>
10178
10179         * configure.in: Allow building in $srcdir.
10180         * configure: Regenerated.
10181
10182 2002-04-14  Mark Wielaard <mark@klomp.org>
10183
10184         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10185         * java/net/natSocketImpl.cc (close): Likewise.
10186
10187 2002-04-14  Mark Wielaard <mark@klomp.org>
10188
10189         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10190
10191 2002-04-13  Adam King <aking@dreammechanics.com>
10192
10193         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10194         the f/F/d/D modifiers.
10195
10196 2002-04-12  Anthony Green  <green@redhat.com>
10197
10198         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10199         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10200         * Makefile.in: Rebuilt.
10201         * configure.in: Substitute gcc_version.
10202         * configure: Rebuilt.
10203
10204 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10205
10206         * configure.host: Set can_unwind_signal on hosts which support it.
10207         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10208         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10209         exceptions and can_unwind_signal isn't set.
10210         * configure: Rebuilt.
10211
10212 2002-04-11  Tom Tromey  <tromey@redhat.com>
10213
10214         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10215
10216 2002-04-11  Adam King <aking@dreammechanics.com>
10217             Tom Tromey  <tromey@redhat.com>
10218
10219         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10220         _Jv_ThrowNullPointerException): Mark as noreturn.
10221         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10222         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10223         fixes.
10224
10225 2002-04-10  Tom Tromey  <tromey@redhat.com>
10226
10227         * Makefile.in: Rebuilt.
10228         * Makefile.am (java/lang/Thread.h): Mark
10229         _Jv_AttachCurrentThreadAsDaemon as friend.
10230         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10231         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10232         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10233         function.
10234         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10235         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10236         (_Jv_JNI_InvokeFunctions): Added
10237         _Jv_JNI_AttachCurrentThreadAsDaemon.
10238         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10239         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10240         (JNI_CreateJavaVM): Likewise.
10241         (_Jv_JNI_AttachCurrentThread): Likewise.
10242         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10243         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10244         (_Jv_JNIFunctions): Initialize new fields.
10245         (_Jv_JNI_NewDirectByteBuffer): New function.
10246         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10247         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10248         * include/jni.h (JNI_VERSION_1_4): New macro.
10249         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10250         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10251         (JNINativeInterface::NewDirectByteBuffer): New field.
10252         (JNINativeInterface::GetDirectBufferAddress): New field.
10253         (JNINativeInterface::GetDirectBufferCapacity): New field.
10254         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10255         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10256         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10257
10258 2002-04-09  Tom Tromey  <tromey@redhat.com>
10259
10260         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10261
10262 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10263
10264         Fix for PR libgcj/6187:
10265         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10266         distance.
10267
10268 2002-04-07  Mark Wielaard <mark@klomp.org>
10269
10270         * java/util/AbstractMap.java (putAll): Use entrySet size.
10271         (toString): Explicitly use getKey() and getValue().
10272
10273 2002-04-07  Mark Wielaard <mark@klomp.org>
10274
10275         * java/util/Hashtable.java (contains): Remove NullPointer check.
10276         (containsValue): Add NullPointer check.
10277         (remove): Always throw NullPointerException when key
10278         is null.
10279
10280 2002-04-07  Adam King <aking@dreammechanics.com>
10281
10282         * java/lang/natSystem.cc (init_properties): Call new function
10283         _Jv_platform_initProperties.
10284         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10285         support for the System properties os.name, os.arch, os.version,
10286         user.name, user.home, and user.dir.
10287         * include/posix.h, include/win32.h, posix.cc: New function
10288         _Jv_platform_initProperties.
10289
10290 2002-04-06  Mark Wielaard <mark@klomp.org>
10291
10292         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10293
10294 2002-04-06  Mark Wielaard <mark@klomp.org>
10295
10296         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10297         all of the remaining elements.
10298         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10299         (removeRange): If toIndex == fromIndex do
10300         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10301         (removeAll): Always throw NullPointerException when collection is
10302         null.
10303         (retrainAll): Likewise.
10304
10305 2002-04-05  Mark Wielaard <mark@klomp.org>
10306
10307         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10308         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10309
10310 2002-04-05  Adam Megacz <adam@xwt.org>
10311
10312         * exception.cc (abort): added static modifier
10313
10314 2002-04-04  Adam Megacz <adam@xwt.org>
10315
10316         * include/win32.h (_Jv_platform_close_on_exec): added inline
10317         modifier.
10318
10319 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10320
10321         * configure.host: Add case statement to support generic port
10322         properties.  Add *-*-freebsd* section.
10323
10324 2002-04-04  Mark Wielaard  <mark@klomp.org>
10325
10326         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10327         test.
10328         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10329         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10330         that depend on awt code and BufferedByteOutputStream.interrupt.
10331
10332 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10333
10334         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10335         incorrect "hi" value when count > 40.
10336
10337 2002-04-03  Mark Wielaard  <mark@klomp.org>
10338
10339         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10340         ordering.
10341
10342 2002-04-02  Tom Tromey  <tromey@redhat.com>
10343
10344         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10345         not `0'.
10346
10347 2002-04-02  Mark Wielaard  <mark@klomp.org>
10348
10349         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10350         list of testsuite crashers.
10351
10352 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10353
10354         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10355         when resizing table.
10356
10357 2002-04-01  Mark Wielaard  <mark@klomp.org>
10358
10359         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10360         NegativeArraySizeException
10361         (clear(int)): Use sign extended shift.
10362         (flip(int)): Likewise.
10363         (get(int)): Likewise.
10364         (nextClearBit(int)): Likewise.
10365         (nextSetBit(int)): Likewise.
10366         (set(int)): Likewise.
10367
10368 2002-04-01  Mark Wielaard  <mark@klomp.org>
10369
10370         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10371         that can be compiled now and add testsuite crashers to ignore list.
10372
10373 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10374
10375         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10376
10377         * libgcj.spec.in: Override libgcc, not lib.
10378         * libgcj-test.spec.in: Likewise.
10379
10380 2002-03-29  Tom Tromey  <tromey@redhat.com>
10381
10382         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10383         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10384
10385 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10386
10387         * java/net/PlainDatagramSocketImpl.java
10388         (close): Use native implementation.
10389         (finalize): New method.
10390
10391         * java/net/PlainSocketImpl.java (finalize): New method.
10392
10393         * java/net/natPlainDatagramSocketImpl.cc
10394         (java/io/FileDescriptor.h): Don't include.
10395         (close): Implement method here.
10396         (create): Don't assign fd.
10397
10398         * java/net/natPlainSocketImpl.cc
10399         (java/io/FileDescriptor.h): Don't include.
10400         (create): Don't assign fd.
10401         (accept): Likewise.
10402         (close): Synchronize.
10403
10404 2002-03-27  Richard Henderson  <rth@redhat.com>
10405
10406         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10407
10408 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10409
10410         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10411         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10412         instead of syscall on IA-64.
10413         Add FIXME comment.
10414
10415 2002-03-27  Anthony Green  <green@redhat.com>
10416
10417         * libgcj.spec.in: Add CHECKREFSPEC.
10418         * configure.in: Ditto.
10419         * configure.host: Ditto.  Check references for xscale-elf.
10420         * configure: Rebuilt.
10421
10422 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10423
10424         * include/dwarf2-signal.h: Temporarily back out last change.
10425
10426 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10427
10428         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10429
10430 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10431
10432         * configure.in, configure: enable dwarf2-exception-style
10433         exception handling on IA-64.
10434         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10435         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10436         Add FIXME comment.
10437
10438 2002-03-25  Tom Tromey  <tromey@redhat.com>
10439
10440         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10441         (jv_convert_LDFLAGS): Likewise.
10442         (gij_LDFLAGS): Likewise.
10443         (rmic_LDFLAGS): Likewise.
10444         (rmiregistry_LDFLAGS): Likewise.
10445         * configure.in (THREADLDFLAGS): New subst; set correctly for
10446         *BSD.
10447
10448 2002-03-25  Tom Tromey  <tromey@redhat.com>
10449
10450         For PR libgcj/5303:
10451         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10452         and --version.
10453         (help): New method.
10454         (version): Likewise.
10455         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10456         "GNU".
10457         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10458         "GNU".
10459
10460 2002-03-25  Tom Tromey  <tromey@redhat.com>
10461
10462         * java/awt/Component.java (processEvent): Check ComponentEvent
10463         after KeyEvent.
10464
10465 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10466
10467         * java/io/PushbackReader.java: Reformat.
10468
10469         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10470         calculate correct number of bytes skipped.
10471
10472         Based on patch from Intel's ORP team:
10473         * java/io/PushbackInputStream.java (available): Calculate correct
10474         number of bytes in buffer.
10475         (read): Remove redundant bound check. Return bytes from both the
10476         buffer and the stream.
10477
10478 2002-03-24  Tom Tromey  <tromey@redhat.com>
10479
10480         * java/awt/TextComponent.java (TextComponent): Editable by
10481         default.
10482
10483         * java/awt/MenuItem.java (eventMask): No longer private.
10484         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10485         superclass if we didn't handle event.
10486         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10487         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10488         * java/awt/Choice.java (dispatchEventImpl): New method.
10489         * java/awt/List.java (dispatchEventImpl): New method.
10490         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10491         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10492         * java/awt/TextField.java (dispatchEventImpl): New method.
10493
10494 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10495
10496         * java/beans/IntrospectionException.java: Update to 1.4.
10497         * java/beans/PropertyVetoException.java: Ditto.
10498
10499 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10500
10501         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10502         Arrays.equals instead of ArrayHelper.equalsArray.
10503
10504 2002-03-24  C. Brian Jones <cbj@gnu.org>
10505
10506         * java/beans/Introspector.java: added new static final fields
10507         introduced in 1.2, lots of other updates remain to be done
10508
10509 2002-03-24  C. Brian Jones <cbj@gnu.org>
10510
10511         * java/beans/Introspector.java: reformatting
10512
10513 2002-03-24  C. Brian Jones <cbj@gnu.org>
10514
10515         * java/beans/Introspector.java: default beanInfoSearchPath will
10516         not include sun.beans.infos given we provide no such package and
10517         the API doesn't really require it; gnu.java.beans.info is the
10518         default.
10519
10520 2002-03-24  Mark Wielaard  <mark@klomp.org>
10521
10522         Thanks to Orp developers
10523         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10524         switch TRUE and FALSE return values.
10525
10526 2002-03-23  Tom Tromey  <tromey@redhat.com>
10527
10528         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10529         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10530
10531 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10532
10533         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10534         MONTH entry.  Fixes PR libgcj/6045.
10535
10536 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10537
10538         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10539
10540 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10541
10542         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10543         not release_set.
10544         * sysdep/powerpc/locks.h (write_barrier): New function.
10545         * sysdep/i386/locks.h (write_barrier): New function.
10546
10547 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10548
10549         * include/jni.h Use correct C comments.
10550
10551 2002-03-18  Tom Tromey  <tromey@redhat.com>
10552
10553         * include/jni.h (JNIIMPORT): New macro.
10554         (JNIEXPORT): Likewise.
10555         (JNICALL): Likewise.
10556
10557 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10558
10559         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10560         systems.
10561
10562 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10563
10564         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10565         INIT_SEGV: Use old_i386_kernel_sigaction.
10566         INIT_FP: Likewise.
10567
10568 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10569
10570         * java/lang/natSystem.cc (init_properties): Update VM version
10571         properties.
10572         * configure.in: Set GCJVERSION.
10573         * acconfig.h: Add GCJVERSION.
10574         * configure: Rebuilt.
10575         * include/config.h.in: Rebuilt.
10576
10577 2002-03-17  Anthony Green  <green@redhat.com>
10578
10579         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10580
10581 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10582
10583         Build a single libgcj.so, without separate gc and zlib libraries.
10584         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10585         SYS_ZLIBS if system zlib is used.
10586         * configure: Rebuilt.
10587         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10588         * Makefile.in: Rebuilt.
10589         * libtool-version: Increment .so version number.
10590
10591         * Makefile.am: Escape quotes in echo.
10592         * Makefile.in: Rebuilt.
10593
10594 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10595
10596         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10597         * Makefile.in: Rebuilt.
10598
10599 2002-03-15  Anthony Green  <green@redhat.com>
10600
10601         * configure.host (FILE): New macro for specifing File
10602         implementation.
10603         * configure: Rebuilt.
10604         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10605
10606 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10607
10608         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10609         already implicitly brought in from libgcj.la.
10610         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10611         * Makefile.in: Rebuilt.
10612
10613 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10614
10615         * THANKS: Fix punctuation, alphabetization.
10616
10617 2002-03-15  Tom Tromey  <tromey@redhat.com>
10618             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10619
10620         Fix for PR libgcj/5944.
10621         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10622
10623 2002-03-15  Anthony Green  <green@redhat.com>
10624
10625         * configure.in (tool_include_dir): Define.
10626         * configure: Rebuilt.
10627         * gcj/Makefile.am: Install libgcj-config.h relative to
10628         tool_include_dir.
10629         * gcj/Makefile: Rebuilt.
10630         * gcj/libgcj-config.h: Add warning comment.
10631
10632 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10633
10634         * configure.host (powerpc*-darwin*): Enable interpreter.
10635
10636 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10637
10638         * include/posix.h: Add multiple include header protection.
10639         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10640
10641 2002-03-10  Adam Megacz <adam@xwt.org>
10642
10643         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10644
10645 2002-03-10  Tom Tromey  <tromey@redhat.com>
10646
10647         * java/awt/GridLayout.java (layoutContainer): Handle case where
10648         there are no items in container.
10649
10650         * java/lang/Win32Process.java: Added comment.
10651         * include/posix.h (_Jv_platform_close_on_exec): New function.
10652         Include fcntl.h.
10653         * include/win32.h (_Jv_platform_close_on_exec): New function.
10654         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10655         flag.
10656         (accept): Likewise.
10657         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10658         close-on-exec flag.
10659         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10660         flag.
10661
10662 2002-03-09  Tom Tromey  <tromey@redhat.com>
10663
10664         * verify.cc (state::NO_STACK): New constant.
10665         (state::is_unmerged_ret_state): Handle case where stacktop is
10666         NO_STACK.
10667         (state::merge): Handle NO_STACK merges.
10668         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10669         for instruction following jsr.
10670         (stacktop, stackdepth): Removed unused variables.
10671         (pop_jump): Ignore case where all remaining states are skipped.
10672
10673 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10674
10675         * java/awt/ImageMediaEntry: Removed.
10676         * java/awt/MediaEntry: Removed.
10677
10678 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10679
10680         Hashtable synchronization for PowerPC.
10681         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10682         slow_pthread_self. Set up symlink for sysdeps directory.
10683         * configure: Rebuild.
10684         * configure.host: Document more shell variables. Set sysdeps_dir
10685         for most platforms. Set slow_pthread_self for i686. Set
10686         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10687         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10688         that memory barrier is emitted where required.
10689         * prims.cc: 64-bit align static primitive class instances.
10690         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10691         read_barrier() to enforce ordering of reads.
10692         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10693         primitives for PowerPC.
10694         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10695         moved from natObject.cc.
10696         * sysdep/alpha/locks.h: Likewise.
10697         * sysdep/ia64/locks.h: Likewise.
10698         * sysdep/generic/locks.h: Likewise.
10699         * java/lang/natObject.cc: Move thread synchronization primitives to
10700         system-dependent headers.
10701
10702 2002-03-09  Adam Megacz  <adam@xwt.org>
10703
10704         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10705         bytes read and no failure code returned.
10706
10707 2002-03-09  Adam Megacz  <adam@xwt.org>
10708
10709         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10710         definitions to simulate -mthreads.
10711
10712 2002-03-09  Adam Megacz  <adam@xwt.org>
10713
10714         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10715         avoid precision loss.
10716
10717 2002-03-09  Per Bothner  <per@bothner.com>
10718
10719         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10720         * gnu/gcj/xlib/XImage.java:  Likewise.
10721         * gnu/gcj/xlib/XColor.java:  Likewise.
10722
10723 2002-03-09  Adam Megacz  <adam@xwt.org>
10724
10725         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10726         IOException so that Throwable.printStackTrace fails correctly.
10727
10728 2002-03-08  Adam Megacz  <adam@xwt.org>
10729
10730         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10731         fixed.
10732
10733 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10734
10735         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10736         truncated to int.
10737
10738 2002-03-08  Tom Tromey  <tromey@redhat.com>
10739
10740         * include/jni.h: Include stdio.h.
10741
10742 2002-03-08  Tom Tromey  <tromey@redhat.com>
10743
10744         * posix.cc (internal_gettimeofday): New function.
10745         (_Jv_select): Use it.
10746
10747 2002-03-07  Adam Megacz  <adam@xwt.org>
10748
10749         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10750         WIN32, and added thunks for read(), write(), and close().
10751         * java/net/natPlainSocketImpl.cc (accept, read, read):
10752         Disabled timeouts on WIN32 pending discussion.
10753
10754 2002-03-07  Adam Megacz  <adam@xwt.org>
10755
10756         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10757         returns jlong. Added implementation
10758         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10759         returns jlong.
10760         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10761         returns jlong.
10762         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10763         returns jlong.
10764         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10765         _Jv_platform_gettimeofday signature.
10766
10767 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10768
10769         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10770         (read): Call recv() directly, not _Jv_recv().
10771
10772 2002-03-06  Tom Tromey  <tromey@redhat.com>
10773
10774         * java/io/natFileDescriptorEcos.cc (init): Don't use
10775         GetStdHandle.
10776         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10777         is negative.
10778         (init): Don't use GetStdHandle.
10779
10780         * include/config.h.in: Rebuilt.
10781         * configure: Rebuilt.
10782         * Makefile.in: Rebuilt.
10783
10784 2002-03-06  Adam Megacz  <adam@xwt.org>
10785
10786         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10787         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10788         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10789         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10790
10791 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10792
10793         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10794         the code for generating include/java-chartables.h.
10795         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10796         merge with Classpath.
10797         * scripts/unicode-muncher.pl: Copy from Classpath.
10798         * scritps/MakeCharTables.java: New file.
10799         * gnu/gcj/convert/Blocks-3.txt: New file.
10800         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10801         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10802         * gnu/java/lang/CharData.java: Copy from Classpath.
10803         * Makefile.am (ordinary_java_source_files): Add
10804         gnu/java/lang/CharData.java.
10805         * configure.in: Remove --enable-fast-character option.
10806         * java/lang/Character.java: Merge algorithms and Javadoc with
10807         Classpath.
10808         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10809         efficiently.
10810         * include/java-chardecomp.h: Regenerate.
10811         * include/java-chartables.h: Regenerate.
10812
10813 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10814
10815         * java/awt/MediaTracker.java: Implemented.
10816         * Makefile.am: Add MediaTracker.
10817         * Makefile.in: Rebuilt.
10818
10819 2002-03-05  Tom Tromey  <tromey@redhat.com>
10820
10821         * java/lang/natPosixProcess.cc (fail): Removed.
10822         (startProcess): Simplified error-handling.  Preserve
10823         LD_LIBRARY_PATH across exec.
10824
10825         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10826         AbstractMethodError.
10827
10828 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10829
10830         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10831         * Makefile.in: Rebuilt.
10832
10833 2002-03-03 Mark Wielaard <mark@klomp.org>
10834
10835         * java/util/Timer (TaskQueue.stop): set elements to zero.
10836
10837 2002-02-28  Anthony Green  <green@redhat.com>
10838
10839         * java/lang/reflect/natMethod.cc (result): Add void* element.
10840         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10841         constructor test.
10842
10843 2002-02-27  Adam Megacz <adam@xwt.org>
10844
10845         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10846         '#undef STRICT'.
10847
10848 2002-02-26  Tom Tromey  <tromey@redhat.com>
10849
10850         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10851         * gij.cc (version): Use __VERSION__.
10852         * include/config.h.in: Rebuilt.
10853         * acconfig.h (GCJVERSION): Removed.
10854         * configure: Rebuilt.
10855         * configure.in (GCJVERSION): Removed.
10856
10857 2002-02-26  Andreas Schwab  <schwab@suse.de>
10858
10859         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10860         glibcpp_CXX, since libjava uses even another CXX.
10861         * aclocal.m4, configure: Regenerated.
10862
10863 2002-02-26  Tom Tromey  <tromey@redhat.com>
10864
10865         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10866         `1'.
10867
10868 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10869
10870         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10871         dependency tracking for .java files.
10872         * Makefile.in: Rebuilt.
10873
10874 2002-02-24  Adam Megacz  <adam@xwt.org>
10875
10876         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10877         typo. Sorry.
10878
10879 2002-02-24  Adam Megacz  <adam@xwt.org>
10880
10881         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10882         for Win32, changed #ifdefs to check WIN32 instead of the
10883         (now-obsolete) USE_WINSOCK, and removed support for socket
10884         timeouts on Win32 pending further discussion.
10885
10886 2002-02-24  Adam Megacz  <adam@xwt.org>
10887
10888         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10889         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10890         delete
10891
10892 2002-02-24  Adam Megacz  <adam@xwt.org>
10893
10894         * java/lang/Win32Process.java: Created a dummy class to allow
10895         build process to run to completion.
10896
10897 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10898
10899         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10900         Define ffi_result union for ffi_call result.  Cast
10901         ffi_result members to jvalue.
10902
10903 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10904
10905         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10906         * testsuite/Makefile.in: Likewise.
10907
10908 2002-02-20  Per Bothner  <per@bothner.com>
10909
10910         * java/net/URL.java (getPath):  New JDK 1.3 method.
10911
10912         * java/net/URLStreamHandler.java (parseURL):
10913         It is wrong to prepend '/' to the file part of a relative url.
10914
10915         * java/net/URLStreamHandler.java (parseURL):
10916         Minor optizations - append '/' rather than "/".
10917
10918         * java/net/URLStreamHandler.java (parseURL):
10919         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10920         We probably should canonicalize for a context-relative url, though.
10921         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10922         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10923         (sameFile):  New method.  Uses canonicalizeFilename.
10924
10925 2002-02-22  Tom Tromey  <tromey@redhat.com>
10926
10927         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10928         java.vendor and java.vm.vendor.
10929         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10930         recent copyright date.
10931         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10932         * gij.cc (version): Print `Inc'.
10933
10934 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10935
10936         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10937         * aclocal.m4, configure: Rebuilt.
10938
10939 2002-02-20  Per Bothner  <per@bothner.com>
10940
10941         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10942         and/or output streams immediately here, instead of using File.exists.
10943         (inputStream, outputStream):  New fields to save open streams.
10944         (getInputStream, getOutputStream):  Use already-opened streams.
10945
10946 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10947
10948         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10949         Use it.
10950         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10951         * aclocal.m4, configure, Makefile.in: Rebuilt.
10952
10953 2002-02-19  Tom Tromey  <tromey@redhat.com>
10954
10955         Fix for PR libgcj/5696:
10956         * verify.cc (is_assignable_from_slow): Never call
10957         _Jv_IsAssignableFrom.
10958         (verify_instructions_0): Added new debug statement.
10959         (state::print): Print information about whether local has
10960         changed.
10961         (state::merge): Don't call note_variable when merging locals.
10962         (state::set_exception): Removed old FIXME comment.
10963
10964 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10965
10966         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10967         enable SO_BROADCAST.
10968
10969 2002-02-18  Jason Merrill  <jason@redhat.com>
10970
10971         * name-finder.cc (toHex): Use word mode, not long long.
10972
10973         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10974
10975 2002-02-15  Tom Tromey  <tromey@redhat.com>
10976
10977         Fix for PR libgcj/5695:
10978         * verify.cc (is_assignable_from_slow): Check to see if target is
10979         an Object before checking to see if source is an interface.
10980         (verify_instructions_0) [op_invokeinterface]: Handle case where
10981         we're making an interface call on Object.
10982
10983 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10984
10985         * Makefile.in: Rebuilt with Eric's change below.
10986
10987         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10988         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10989         Removed functions which are now implemented in Math.java.
10990
10991 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10992
10993         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10994         * Makefile.am (core_java_source_files): Add
10995         java/lang/StrictMath.java.
10996         * java/lang/Math.java: Merge with Classpath.
10997         * java/lang/StrictMath.java: New file - merge with Classpath.
10998
10999 2002-02-14  Mark Wielaard  <mark@klomp.org>
11000
11001         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11002         package as a workaround for gcj 3.0.x
11003
11004 2002-02-14  Mark Wielaard <mark@klomp.org>
11005
11006         * java/security/BasicPermission.java: extends with fully qualified
11007         classname as workaround for gcj 3.0.4.
11008
11009 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11010
11011         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11012         around gcj bug of wrong emitted qualifier for inherited method.
11013         * java/net/SocketImpl.java (setOption, getOption): Ditto.
11014         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11015         constructor to reduce amount of emitted bytecode. While this
11016         happens to work around a jikes 1.15 bug, it is still a useful
11017         patch even for correct compilers.
11018         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11019         * gnu/java/rmi/server/UnicastRemoteCall.java
11020         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11021
11022 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11023
11024         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11025         * java/net/SocketImpl.java: Ditto.
11026         * java/rmi/server/RMIClassLoader.java: Ditto.
11027         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11028
11029 2002-02-14  Mark Wielaard <mark@klomp.org>
11030
11031         Thanks to Takashi Okamoto
11032         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11033         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11034         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11035
11036 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11037
11038         Fix for PR libgcj/5670:
11039         * verify.cc (is_assignable_from_slow): If `source' is interface,
11040         recursively look for merge with `target'.
11041
11042 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
11043
11044         * include/jni.h: Fix typo.
11045
11046 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
11047
11048         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11049         correctly.
11050
11051 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11052
11053         Fix for PR libgcj/5671:
11054         * verify.cc (state::merge): Handle case where we're merging
11055         against an interface.
11056
11057 2002-02-12  Tom Tromey  <tromey@redhat.com>
11058
11059         * exception.cc (std::abort): Mark as noreturn.
11060
11061 2002-02-12  Adam Megacz <adam@xwt.org>
11062
11063         * java/lang/Win32Process.java: Filled in a placeholder
11064         implementation so Win32 will build.
11065
11066 2002-02-12  Adam Megacz <adam@xwt.org>
11067
11068         * java/io/natFilePosix.cc: Copied this from natFile.cc.
11069         * java/io/natFile.cc: Removed from repository.
11070         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11071
11072 2002-02-12  Adam Megacz <adam@xwt.org>
11073
11074         * win32.cc: Added two #includes to make win32.cc compile.
11075
11076 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11077
11078         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11079         declarations.
11080         (_Jv_InitGC): Don't bother locking, as this is always called from a
11081         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11082
11083 2002-02-11  Adam Megacz <adam@xwt.org>
11084
11085         * include/win32.h: Added _Jv_platform_gettimeofday.
11086         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11087
11088 2002-02-11  Adam Megacz <adam@xwt.org>
11089
11090         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11091         Added #undef STRICT to make windows.h and
11092         java/lang/reflect/Modifier.h cooperate.
11093
11094 2002-02-11  Adam Megacz <adam@xwt.org>
11095
11096         * java/io/natFileWin32.cc: Created a placeholder class with lots
11097         of FIXMEs.
11098
11099 2002-02-11  Adam Megacz <adam@xwt.org>
11100
11101         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11102         std::abort() to simply abort(). Also added "fake" std::abort() so
11103         we can #include unwind-pe.h without having to link against
11104         libstdc++-v3.
11105
11106 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
11107
11108         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11109
11110 2002-02-08  Tom Tromey  <tromey@redhat.com>
11111
11112         * interpret.cc (convert): New function.
11113         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11114         convert.
11115         Include Long.h.
11116
11117 2002-02-08  Anthony Green  <green@redhat.com>
11118
11119         * configure.host: Add support for xscale-elf embedded target.
11120
11121 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
11122
11123         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11124         dereferenced.
11125         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11126         frame.
11127
11128 2002-02-07  Tom Tromey  <tromey@redhat.com>
11129
11130         * java/io/natFile.cc (_access): Use __builtin_alloca.
11131         (_stat): Likewise.
11132         (attr): Likewise.
11133         (getCanonicalPath): Likewise.
11134         (performList): Likewise.
11135         (performMkdir): Likewise.
11136         (performSetReadOnly): Likewise.
11137         (performRenameTo): Likewise.
11138         (performSetLastModified): Likewise.
11139         (performCreate): Likewise.
11140         (performDelete): Likewise.
11141
11142 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11143
11144         * HACKING: Fix URL for the automake-gcj.
11145
11146 2002-02-07  Tom Tromey  <tromey@redhat.com>
11147
11148         * java/lang/natThrowable.cc: Updated copyright.
11149         * java/io/natFileWin32.cc: Updated copyright.
11150         * java/io/natFileDescriptorWin32.cc: Updated copyright.
11151         * win32-threads.cc: Updated copyright.
11152         * name-finder.cc: Updated copyright.
11153         * include/name-finder.h: Updated copyright.
11154
11155         * include/name-finder.h: Conditionally include sys/wait.h.
11156         * include/config.h.in: Rebuilt.
11157
11158         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11159         Size buffer based on real size of string.
11160         (_stat): Likewise.
11161         (attr): Likewise.
11162         (getCanonicalPath): Likewise.
11163         (performList): Likewise.
11164         (performMkdir): Likewise.
11165         (performSetReadOnly): Likewise.
11166         (unixroot): Removed.
11167         (performRenameTo): Likewise.
11168         (performSetLastModified): Likewise.
11169         (performCreate): Likewise.
11170         (performDelete): Likewise.
11171         (performListRoots): Always return new array.
11172
11173         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11174         * win32.cc (win32_exception_handler): Now static.
11175         * include/win32.h (_Jv_platform_initialize): Declare.
11176         (win32_exception_handler): Don't declare.
11177         * java/lang/natSystem.cc (currentTimeMillis): Use
11178         _Jv_platform_gettimeofday.
11179         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11180         (_Jv_select): Use new name.
11181         (_Jv_platform_initialize): New function.
11182         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11183         _Jv_gettimeofday.
11184         (_Jv_platform_initialize): Declare.
11185
11186         * configure: Rebuilt.
11187         * configure.in: Removed unnecessary parens.
11188
11189 2002-02-06  Adam Megacz <adam@xwt.org>
11190
11191        * configure.in: Changed mingw) to *mingw*).
11192        * win32.cc: Created this file.
11193        * win32.h: Created this file.
11194        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11195        win32_exception_handler from prims.cc to win32.cc, added
11196        header in win32.h.
11197        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11198        longer needed now that we have platform.h
11199
11200 2002-02-06  Adam Megacz <adam@xwt.org>
11201
11202         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11203         use uint<n>_t instead of LONG and BYTE
11204
11205 2002-02-06  Adam Megacz <adam@xwt.org>
11206
11207         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11208
11209 2002-02-06  Anthony Green  <green@redhat.com>
11210
11211         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11212         Implement missing method stubs.
11213         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11214         targets.
11215         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11216         concept of timezones.
11217         (init_properties): Don't refer to _Jv_Environment_Properties
11218         when this feature is not available.
11219         * include/config.h.in: Rebuilt.
11220         * acconfig.h: Add DISABLE_MAIN_ARGS.
11221         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11222         * configure: Rebuilt.
11223         * configure.in: Add --disable-main-args option.  Test for
11224           opendir function.  Replace AC_CHECK_SIZEOF with
11225           AC_COMPILE_CHECK_SIZEOF.
11226         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11227         * aclocal.m4: Rebuilt.
11228         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11229
11230 2002-02-06  Tom Tromey  <tromey@redhat.com>
11231
11232         * verify.cc (require_array_type): If argument is a null array of
11233         references, return null as the element type.
11234
11235 2002-02-06  Mark Wielaard  <mark@klomp.org>
11236
11237         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11238         duplicate of a wide type.
11239
11240 2002-02-06  Tom Tromey  <tromey@redhat.com>
11241
11242         * verify.cc (type::isnull): New method.
11243         (require_array_type): Handle case where array is null.
11244         (verify_instructions_0) [op_arraylength]: Likewise.
11245
11246 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11247
11248         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11249         Symlink PLATFORMH to platform.h.
11250         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11251         PLATFORMOBJS.
11252         * java/lang/natSystem.cc: #include platform.h not posix.h.
11253         * Makefile.in: Rebuilt with libgcj automake.
11254         * configure: Rebuilt.
11255
11256 2002-02-05  Richard Henderson  <rth@redhat.com>
11257
11258         * Makefile.in: Undo munging last change.
11259
11260 2002-02-04  Adam Megacz <adam@xwt.org>
11261
11262         * win32.cc: Created it.
11263         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11264         which is set to posix.cc or win32.cc.
11265         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11266
11267 2002-02-04  Adam Megacz <adam@xwt.org>
11268
11269         * configure.in: Corrected mingw case branches; added * before
11270         and after.
11271
11272 2002-02-04  Adam Megacz <adam@xwt.org>
11273
11274         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11275         if compiling for win32
11276
11277 2002-02-04  Adam Megacz <adam@xwt.org>
11278
11279         * win32-threads.cc: #undef STRICT after gc.h inclusion
11280
11281 2002-02-02  Tom Tromey  <tromey@redhat.com>
11282
11283         * Makefile.in: Rebuilt.
11284
11285 2002-02-02  Jason Merrill  <jason@redhat.com>
11286
11287         * Makefile.am (clean-nat): New target.
11288
11289 2002-02-02  Tom Tromey  <tromey@redhat.com>
11290
11291         * java/io/natFile.cc: Removed old "FIXME" comments.
11292
11293 2002-02-01  Tom Tromey  <tromey@redhat.com>
11294
11295         * java/lang/natPosixProcess.cc (myclose): New function.
11296         (fail): Use it.
11297         (startProcess): Likewise.
11298
11299 2002-02-01  Adam Megacz <adam@xwt.org>
11300
11301         * prims.cc: Added #undef STRICT after #include<windows.h>.
11302
11303 2002-02-01  Adam Megacz <adam@xwt.org>
11304
11305         * prims.cc
11306         (_Jv_CreateJavaVM): We now use WIN32 instead of
11307         USE_WIN32_SIGNALLING and USE_WINSOCK.
11308         (win32_exception_handler): Now throws an exception out of
11309         the signal handler; assumes SJLJ.
11310
11311 2002-02-01  Adam Megacz <adam@xwt.org>
11312
11313         * win32-threads.cc:
11314         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11315         wait() algorithm to make it safe.
11316         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11317         Added lazy creation of Win32 Events for better performance
11318         (really_start): This now uses GC_CreateThread so boehm-gc
11319         knows about new threads even when statically linked.
11320
11321 2002-02-01  Adam Megacz <adam@xwt.org>
11322
11323         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11324         enable safer wait() algorithm.
11325         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11326         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11327         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11328         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11329         instead of mutex.
11330         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11331
11332 2002-02-01  Adam Megacz <adam@xwt.org>
11333
11334         * configure.in: Added support for mingw.
11335         * java/lang/Win32Process.java: Created as empty file.
11336         * java/lang/natWin32Process.cc: Created as empty file.
11337
11338 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11339
11340         PR java/4972
11341         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11342         for libiconv in LIBICONV variable.
11343         * configure: Regenerated.
11344
11345 2002-01-31  Tom Tromey  <tromey@redhat.com>
11346
11347         * verify.cc (state::enter_subroutine): New method.
11348         (handle_jsr_insn): Use it.
11349         (state::merge): When processing a `ret', correctly use
11350         subroutine's state to determine which local variables have
11351         changed.
11352         (push_exception_jump): Don't let stack overflow.
11353
11354 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11355
11356         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11357         --version output.
11358
11359 2002-01-30  Tom Tromey  <tromey@redhat.com>
11360
11361         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11362         parameter for `recv' return type.
11363
11364         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11365         (state::merge): ... not here.
11366         (subr_entry_info): New structure.
11367         (entry_points): New field.
11368         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11369         entry_points.
11370
11371 2002-01-29  Tom Tromey  <tromey@redhat.com>
11372
11373         * java/awt/List.java (addNotify): Correctly check to see if peer
11374         does not exist.
11375
11376         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11377         to compute height of each cell, and number of columns to compute
11378         width of each cell.
11379         * java/awt/Window.java (getOwnedWindows): Don't return null.
11380         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11381         of component.  Increment x using horizontal gap, not vertical
11382         gap.
11383
11384 2002-01-28  Tom Tromey  <tromey@redhat.com>
11385
11386         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11387         `nargs' byte is number of words, not number of arguments.
11388
11389 2002-01-27  Tom Tromey  <tromey@redhat.com>
11390
11391         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11392         (when): Likewise.
11393         * java/awt/event/InputEvent.java (modifiers, when): Now
11394         package-private.
11395
11396         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11397         and to-do list.
11398         (state::merge): Use current class' class loader.
11399         (state::print): Print subroutine.
11400         (state::merge): Don't look at subroutine of unmerged `ret'.
11401
11402 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11403
11404         * nogc.cc: Remove warnings.
11405         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11406         New functions.
11407
11408 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11409
11410         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11411         int, int):  Remove empty "if" statement to work around compiler bug.
11412         (newPixels(int[], ColorModel, int, int): Likewise.
11413
11414 2002-01-25  Per Bothner  <per@bothner.com>
11415
11416         * verify.cc (verify_fail):  Change from being a top-level function
11417         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11418         Pass the current verifier to type: and state: methods as needed,
11419         for better error messages, and for resolve.
11420         (resolve):  Pass current class's loader for Class.forName and
11421         _Jv_FindClassFromSignature, rather than using the default loader.
11422         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11423         (get_type_val_for_signature):  Make non-static.
11424         (various methods):  Pass start_PC implicitly, not explicitly.
11425
11426 2002-01-25  Tom Tromey  <tromey@redhat.com>
11427
11428         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11429         loop termination condition.
11430         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11431         width.
11432
11433 2002-01-24  Tom Tromey  <tromey@redhat.com>
11434
11435         * java/awt/Shape.java: Merged with Classpath.
11436         * java/awt/Scrollbar.java: Merged with Classpath.
11437
11438         * java/awt/Container.java (addNotify): Unconditionally call
11439         addNotifyContainerChildren and superclass addNotify.
11440
11441         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11442         getAlpha, not getBlue.
11443
11444 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11445
11446         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11447
11448         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11449         (grabPixels(long)): Wait to be notified that the ImageProducer has
11450         completed.
11451
11452 2002-01-24  Per Bothner  <per@bothner.com>
11453
11454         * verify.cc (is_assignable_from_slow): If target is an interface,
11455         we must still check the source's superclass before giving up.
11456
11457 2002-01-24  Tom Tromey  <tromey@redhat.com>
11458
11459         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11460
11461 2002-01-23  Tom Tromey  <tromey@redhat.com>
11462
11463         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11464         `else'.
11465
11466         * Makefile.in: Rebuilt.
11467         * Makefile.am (awt_java_source_files): Added new files.
11468         * java/awt/Toolkit.java: Merged with Classpath.
11469         * java/awt/PrintGraphics.java: New file from Classpath.
11470         * java/awt/PrintJob.java: New file from Classpath.
11471         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11472         * java/awt/datatransfer/ClipboardOwner.java: New file from
11473         Classpath.
11474         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11475         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11476         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11477         Classpath.
11478         * java/awt/datatransfer/StringSelection.java: New file from
11479         Classpath.
11480         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11481         Classpath.
11482         * java/awt/datatransfer/Transferable.java: New file from
11483         Classpath.
11484         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11485         from Classpath.
11486
11487         * Makefile.in: Rebuilt.
11488         * Makefile.am (awt_java_source_files): Added new files.
11489         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11490         Classpath.
11491         * java/awt/image/CropImageFilter.java: New file from Classpath.
11492         * java/awt/image/FilteredImageSource.java: New file from
11493         Classpath.
11494         * java/awt/image/ImageFilter.java: New file from Classpath.
11495         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11496         * java/awt/image/PixelGrabber.java: New file from Classpath.
11497         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11498         * java/awt/image/ReplicateScaleFilter.java: New file from
11499         Classpath.
11500         * java/awt/image/ImageProducer.java: Replaced with Classpath
11501         version.
11502         * java/awt/image/ImageObserver.java: Replaced with Classpath
11503         version.
11504         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11505         version.
11506         * java/awt/GridBagConstraints.java (clone): Catch
11507         CloneNotSupportedException.
11508
11509 2002-01-23  Per Bothner  <per@bothner.com>
11510
11511         * java/lang/reflect/natField.cc (setAddr):  New function.
11512         Calls getAddr and then checks that the field isn't final.
11513         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11514         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11515         (set):  Call setAddr before check that new value has right type,
11516         to better match specified semantics.
11517
11518 2002-01-22  Tom Tromey  <tromey@redhat.com>
11519
11520         * java/awt/TextField.java: Replaced with Classpath version.
11521         * java/awt/TextArea.java: Replaced with Classpath version.
11522         * java/awt/TextComponent.java: Replaced with Classpath version.
11523
11524         * java/awt/GridBagConstraints.java: Updated copyright.
11525
11526 2002-01-22  Mark Wielaard <mark@klomp.org>
11527
11528         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11529         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11530         java/awt/Dialog.java java/awt/FileDialog.java
11531         java/awt/Font.java java/awt/FontMetrics.java
11532         java/awt/Image.java java/awt/ImageMediaEntry.java
11533         java/awt/Insets.java java/awt/List.java
11534         java/awt/MediaEntry.java java/awt/MediaTracker.java
11535         java/awt/Menu.java java/awt/MenuBar.java
11536         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11537         java/awt/PaintContext.java java/awt/Panel.java
11538         java/awt/PopupMenu.java java/awt/SystemColor.java
11539         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11540         java/awt/peer/CheckboxMenuItemPeer.java
11541         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11542         java/awt/peer/ComponentPeer.java
11543         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11544         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11545         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11546         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11547         java/awt/peer/MenuBarPeer.java
11548         java/awt/peer/MenuComponentPeer.java
11549         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11550         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11551         java/awt/peer/ScrollPanePeer.java
11552         java/awt/peer/ScrollbarPeer.java
11553         java/awt/peer/TextAreaPeer.java
11554         java/awt/peer/TextComponentPeer.java
11555         java/awt/peer/TextFieldPeer.java
11556         java/awt/peer/WindowPeer.java: Add license clarification.
11557
11558 2002-01-22  Mark Wielaard <mark@klomp.org>
11559
11560         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11561         gnu/gcj/runtime/StringBuffer.java
11562         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11563         gnu/java/awt/ComponentDataBlitOp.java
11564         gnu/java/awt/GLightweightPeer.java
11565         gnu/java/beans/BeanInfoEmbryo.java
11566         gnu/java/beans/EmptyBeanInfo.java
11567         gnu/java/beans/ExplicitBeanInfo.java
11568         gnu/java/beans/IntrospectionIncubator.java
11569         gnu/java/beans/editors/ColorEditor.java
11570         gnu/java/beans/editors/FontEditor.java
11571         gnu/java/beans/editors/NativeBooleanEditor.java
11572         gnu/java/beans/editors/NativeByteEditor.java
11573         gnu/java/beans/editors/NativeDoubleEditor.java
11574         gnu/java/beans/editors/NativeFloatEditor.java
11575         gnu/java/beans/editors/NativeIntEditor.java
11576         gnu/java/beans/editors/NativeLongEditor.java
11577         gnu/java/beans/editors/NativeShortEditor.java
11578         gnu/java/beans/editors/StringEditor.java
11579         gnu/java/beans/info/ComponentBeanInfo.java
11580         gnu/java/io/ClassLoaderObjectInputStream.java
11581         gnu/java/io/NullOutputStream.java
11582         gnu/java/io/ObjectIdentityWrapper.java
11583         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11584         gnu/java/lang/reflect/TypeSignature.java
11585         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11586         gnu/java/locale/Calendar_en.java
11587         gnu/java/locale/Calendar_nl.java
11588         gnu/java/locale/LocaleInformation.java
11589         gnu/java/locale/LocaleInformation_de.java
11590         gnu/java/locale/LocaleInformation_en.java
11591         gnu/java/locale/LocaleInformation_nl.java
11592         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11593         gnu/java/rmi/registry/RegistryImpl.java
11594         gnu/java/rmi/rmic/Compile_gcj.java
11595         gnu/java/rmi/rmic/Compiler.java
11596         gnu/java/rmi/rmic/CompilerProcess.java
11597         gnu/java/rmi/rmic/RMIC.java
11598         gnu/java/rmi/rmic/TabbedWriter.java
11599         gnu/java/rmi/server/ProtocolConstants.java
11600         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11601         gnu/java/rmi/server/RMIHashes.java
11602         gnu/java/rmi/server/RMIObjectInputStream.java
11603         gnu/java/rmi/server/RMIObjectOutputStream.java
11604         gnu/java/rmi/server/UnicastConnection.java
11605         gnu/java/rmi/server/UnicastConnectionManager.java
11606         gnu/java/rmi/server/UnicastRef.java
11607         gnu/java/rmi/server/UnicastRemoteCall.java
11608         gnu/java/rmi/server/UnicastRemoteStub.java
11609         gnu/java/rmi/server/UnicastServer.java
11610         gnu/java/rmi/server/UnicastServerRef.java
11611         gnu/java/security/provider/DefaultPolicy.java
11612         gnu/java/security/provider/Gnu.java
11613         gnu/java/security/provider/SHA.java
11614         gnu/java/security/provider/SHA1PRNG.java
11615         gnu/java/text/BaseBreakIterator.java
11616         gnu/java/text/CharacterBreakIterator.java
11617         gnu/java/text/LineBreakIterator.java
11618         gnu/java/text/SentenceBreakIterator.java
11619         gnu/java/text/WordBreakIterator.java
11620         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11621         java/applet/AppletContext.java java/applet/AppletStub.java
11622         java/applet/AudioClip.java java/awt/AWTError.java
11623         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11624         java/awt/AWTException.java java/awt/AWTPermission.java
11625         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11626         java/awt/Button.java java/awt/Canvas.java
11627         java/awt/CardLayout.java java/awt/Checkbox.java
11628         java/awt/CheckboxGroup.java java/awt/Component.java
11629         java/awt/ComponentOrientation.java java/awt/Container.java
11630         java/awt/Dimension.java java/awt/Event.java
11631         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11632         java/awt/FlowLayout.java java/awt/Frame.java
11633         java/awt/Graphics.java java/awt/Graphics2D.java
11634         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11635         java/awt/IllegalComponentStateException.java
11636         java/awt/ItemSelectable.java java/awt/Label.java
11637         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11638         java/awt/MenuComponent.java java/awt/MenuItem.java
11639         java/awt/Paint.java java/awt/Point.java
11640         java/awt/Rectangle.java java/awt/RenderingHints.java
11641         java/awt/Transparency.java java/awt/Window.java
11642         java/awt/color/ColorSpace.java
11643         java/awt/color/ICC_ColorSpace.java
11644         java/awt/color/ICC_Profile.java
11645         java/awt/event/HierarchyBoundsAdapter.java
11646         java/awt/event/HierarchyBoundsListener.java
11647         java/awt/event/HierarchyEvent.java
11648         java/awt/event/HierarchyListener.java
11649         java/awt/geom/AffineTransform.java
11650         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11651         java/awt/geom/IllegalPathStateException.java
11652         java/awt/geom/Line2D.java
11653         java/awt/geom/NoninvertibleTransformException.java
11654         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11655         java/awt/geom/Rectangle2D.java
11656         java/awt/geom/RectangularShape.java
11657         java/awt/geom/RoundRectangle2D.java
11658         java/awt/image/BufferedImage.java
11659         java/awt/image/ColorModel.java
11660         java/awt/image/ComponentColorModel.java
11661         java/awt/image/ComponentSampleModel.java
11662         java/awt/image/DataBuffer.java
11663         java/awt/image/DataBufferByte.java
11664         java/awt/image/DataBufferInt.java
11665         java/awt/image/DataBufferUShort.java
11666         java/awt/image/DirectColorModel.java
11667         java/awt/image/PackedColorModel.java
11668         java/awt/image/Raster.java java/awt/image/RasterOp.java
11669         java/awt/image/SampleModel.java
11670         java/awt/image/SinglePixelPackedSampleModel.java
11671         java/awt/image/WritableRaster.java
11672         java/beans/AppletInitializer.java
11673         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11674         java/beans/Beans.java java/beans/Customizer.java
11675         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11676         java/beans/FeatureDescriptor.java
11677         java/beans/IndexedPropertyDescriptor.java
11678         java/beans/IntrospectionException.java
11679         java/beans/Introspector.java java/beans/MethodDescriptor.java
11680         java/beans/ParameterDescriptor.java
11681         java/beans/PropertyChangeEvent.java
11682         java/beans/PropertyChangeListener.java
11683         java/beans/PropertyChangeSupport.java
11684         java/beans/PropertyDescriptor.java
11685         java/beans/PropertyEditor.java
11686         java/beans/PropertyEditorManager.java
11687         java/beans/PropertyEditorSupport.java
11688         java/beans/PropertyVetoException.java
11689         java/beans/SimpleBeanInfo.java
11690         java/beans/VetoableChangeListener.java
11691         java/beans/VetoableChangeSupport.java
11692         java/beans/Visibility.java
11693         java/beans/beancontext/BeanContext.java
11694         java/beans/beancontext/BeanContextChild.java
11695         java/beans/beancontext/BeanContextChildComponentProxy.java
11696         java/beans/beancontext/BeanContextChildSupport.java
11697         java/beans/beancontext/BeanContextContainerProxy.java
11698         java/beans/beancontext/BeanContextEvent.java
11699         java/beans/beancontext/BeanContextMembershipEvent.java
11700         java/beans/beancontext/BeanContextMembershipListener.java
11701         java/beans/beancontext/BeanContextProxy.java
11702         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11703         java/beans/beancontext/BeanContextServiceProvider.java
11704         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11705         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11706         java/beans/beancontext/BeanContextServiceRevokedListener.java
11707         java/beans/beancontext/BeanContextServices.java
11708         java/beans/beancontext/BeanContextServicesListener.java
11709         java/io/BufferedInputStream.java
11710         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11711         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11712         java/io/ByteArrayOutputStream.java
11713         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11714         java/io/CharConversionException.java java/io/DataInput.java
11715         java/io/DataInputStream.java java/io/DataOutput.java
11716         java/io/EOFException.java java/io/Externalizable.java
11717         java/io/FileFilter.java java/io/FileNotFoundException.java
11718         java/io/FilePermission.java java/io/FileReader.java
11719         java/io/FileWriter.java java/io/FilenameFilter.java
11720         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11721         java/io/FilterReader.java java/io/FilterWriter.java
11722         java/io/IOException.java java/io/InputStream.java
11723         java/io/InterruptedIOException.java
11724         java/io/InvalidClassException.java
11725         java/io/InvalidObjectException.java
11726         java/io/NotActiveException.java
11727         java/io/NotSerializableException.java java/io/ObjectInput.java
11728         java/io/ObjectInputStream.java
11729         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11730         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11731         java/io/ObjectStreamConstants.java
11732         java/io/ObjectStreamException.java
11733         java/io/ObjectStreamField.java
11734         java/io/OptionalDataException.java java/io/OutputStream.java
11735         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11736         java/io/PipedReader.java java/io/PipedWriter.java
11737         java/io/PrintWriter.java java/io/PushbackInputStream.java
11738         java/io/PushbackReader.java java/io/Reader.java
11739         java/io/SequenceInputStream.java java/io/Serializable.java
11740         java/io/SerializablePermission.java
11741         java/io/StreamCorruptedException.java
11742         java/io/StreamTokenizer.java
11743         java/io/StringBufferInputStream.java java/io/StringReader.java
11744         java/io/StringWriter.java java/io/SyncFailedException.java
11745         java/io/UTFDataFormatException.java
11746         java/io/UnsupportedEncodingException.java
11747         java/io/WriteAbortedException.java java/io/Writer.java
11748         java/lang/AbstractMethodError.java
11749         java/lang/ArithmeticException.java
11750         java/lang/ArrayIndexOutOfBoundsException.java
11751         java/lang/ArrayStoreException.java java/lang/Boolean.java
11752         java/lang/Byte.java java/lang/CharSequence.java
11753         java/lang/ClassCastException.java
11754         java/lang/ClassCircularityError.java
11755         java/lang/ClassFormatError.java
11756         java/lang/ClassNotFoundException.java
11757         java/lang/CloneNotSupportedException.java
11758         java/lang/Cloneable.java java/lang/Comparable.java
11759         java/lang/Compiler.java java/lang/Double.java
11760         java/lang/Error.java java/lang/Exception.java
11761         java/lang/ExceptionInInitializerError.java
11762         java/lang/Float.java java/lang/IllegalAccessError.java
11763         java/lang/IllegalAccessException.java
11764         java/lang/IllegalArgumentException.java
11765         java/lang/IllegalMonitorStateException.java
11766         java/lang/IllegalStateException.java
11767         java/lang/IllegalThreadStateException.java
11768         java/lang/IncompatibleClassChangeError.java
11769         java/lang/IndexOutOfBoundsException.java
11770         java/lang/InheritableThreadLocal.java
11771         java/lang/InstantiationError.java
11772         java/lang/InstantiationException.java java/lang/Integer.java
11773         java/lang/InternalError.java
11774         java/lang/InterruptedException.java
11775         java/lang/LinkageError.java java/lang/Long.java
11776         java/lang/NegativeArraySizeException.java
11777         java/lang/NoClassDefFoundError.java
11778         java/lang/NoSuchFieldError.java
11779         java/lang/NoSuchFieldException.java
11780         java/lang/NoSuchMethodError.java
11781         java/lang/NoSuchMethodException.java
11782         java/lang/NullPointerException.java java/lang/Number.java
11783         java/lang/NumberFormatException.java
11784         java/lang/OutOfMemoryError.java java/lang/Package.java
11785         java/lang/Process.java java/lang/Runnable.java
11786         java/lang/RuntimeException.java
11787         java/lang/RuntimePermission.java
11788         java/lang/SecurityException.java
11789         java/lang/SecurityManager.java java/lang/Short.java
11790         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11791         java/lang/StringIndexOutOfBoundsException.java
11792         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11793         java/lang/ThreadLocal.java java/lang/UnknownError.java
11794         java/lang/UnsatisfiedLinkError.java
11795         java/lang/UnsupportedClassVersionError.java
11796         java/lang/UnsupportedOperationException.java
11797         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11798         java/lang/Void.java java/lang/ref/PhantomReference.java
11799         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11800         java/lang/ref/SoftReference.java
11801         java/lang/ref/WeakReference.java
11802         java/lang/reflect/AccessibleObject.java
11803         java/lang/reflect/InvocationTargetException.java
11804         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11805         java/lang/reflect/ReflectPermission.java
11806         java/math/BigDecimal.java java/math/BigInteger.java
11807         java/net/Authenticator.java java/net/BindException.java
11808         java/net/ConnectException.java java/net/ContentHandler.java
11809         java/net/ContentHandlerFactory.java
11810         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11811         java/net/FileNameMap.java java/net/MalformedURLException.java
11812         java/net/MulticastSocket.java java/net/NetPermission.java
11813         java/net/NoRouteToHostException.java
11814         java/net/PasswordAuthentication.java
11815         java/net/ProtocolException.java java/net/ServerSocket.java
11816         java/net/Socket.java java/net/SocketException.java
11817         java/net/SocketImpl.java java/net/SocketImplFactory.java
11818         java/net/SocketOptions.java java/net/SocketPermission.java
11819         java/net/URLDecoder.java java/net/URLEncoder.java
11820         java/net/URLStreamHandlerFactory.java
11821         java/net/UnknownHostException.java
11822         java/net/UnknownServiceException.java
11823         java/rmi/AccessException.java
11824         java/rmi/AlreadyBoundException.java
11825         java/rmi/ConnectException.java
11826         java/rmi/ConnectIOException.java
11827         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11828         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11829         java/rmi/NotBoundException.java
11830         java/rmi/RMISecurityException.java
11831         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11832         java/rmi/RemoteException.java java/rmi/ServerError.java
11833         java/rmi/ServerException.java
11834         java/rmi/ServerRuntimeException.java
11835         java/rmi/StubNotFoundException.java
11836         java/rmi/UnexpectedException.java
11837         java/rmi/UnknownHostException.java
11838         java/rmi/UnmarshalException.java
11839         java/rmi/activation/Activatable.java
11840         java/rmi/activation/ActivateFailedException.java
11841         java/rmi/activation/ActivationDesc.java
11842         java/rmi/activation/ActivationException.java
11843         java/rmi/activation/ActivationGroup.java
11844         java/rmi/activation/ActivationGroupDesc.java
11845         java/rmi/activation/ActivationGroupID.java
11846         java/rmi/activation/ActivationID.java
11847         java/rmi/activation/ActivationInstantiator.java
11848         java/rmi/activation/ActivationMonitor.java
11849         java/rmi/activation/ActivationSystem.java
11850         java/rmi/activation/Activator.java
11851         java/rmi/activation/UnknownGroupException.java
11852         java/rmi/activation/UnknownObjectException.java
11853         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11854         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11855         java/rmi/registry/Registry.java
11856         java/rmi/registry/RegistryHandler.java
11857         java/rmi/server/ExportException.java
11858         java/rmi/server/LoaderHandler.java
11859         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11860         java/rmi/server/Operation.java
11861         java/rmi/server/RMIClassLoader.java
11862         java/rmi/server/RMIClientSocketFactory.java
11863         java/rmi/server/RMIFailureHandler.java
11864         java/rmi/server/RMIServerSocketFactory.java
11865         java/rmi/server/RMISocketFactory.java
11866         java/rmi/server/RemoteCall.java
11867         java/rmi/server/RemoteObject.java
11868         java/rmi/server/RemoteRef.java
11869         java/rmi/server/RemoteServer.java
11870         java/rmi/server/RemoteStub.java
11871         java/rmi/server/ServerCloneException.java
11872         java/rmi/server/ServerNotActiveException.java
11873         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11874         java/rmi/server/SkeletonMismatchException.java
11875         java/rmi/server/SkeletonNotFoundException.java
11876         java/rmi/server/SocketSecurityException.java
11877         java/rmi/server/UID.java
11878         java/rmi/server/UnicastRemoteObject.java
11879         java/rmi/server/Unreferenced.java
11880         java/security/AccessControlContext.java
11881         java/security/AccessControlException.java
11882         java/security/AccessController.java
11883         java/security/AlgorithmParameterGenerator.java
11884         java/security/AlgorithmParameterGeneratorSpi.java
11885         java/security/AlgorithmParameters.java
11886         java/security/AlgorithmParametersSpi.java
11887         java/security/AllPermission.java
11888         java/security/BasicPermission.java
11889         java/security/Certificate.java java/security/CodeSource.java
11890         java/security/DigestException.java
11891         java/security/DigestInputStream.java
11892         java/security/DigestOutputStream.java
11893         java/security/DomainCombiner.java
11894         java/security/DummyKeyPairGenerator.java
11895         java/security/DummyMessageDigest.java
11896         java/security/DummySignature.java
11897         java/security/GeneralSecurityException.java
11898         java/security/Guard.java java/security/GuardedObject.java
11899         java/security/Identity.java java/security/IdentityScope.java
11900         java/security/InvalidAlgorithmParameterException.java
11901         java/security/InvalidKeyException.java
11902         java/security/InvalidParameterException.java
11903         java/security/Key.java java/security/KeyException.java
11904         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11905         java/security/KeyManagementException.java
11906         java/security/KeyPair.java java/security/KeyPairGenerator.java
11907         java/security/KeyPairGeneratorSpi.java
11908         java/security/KeyStore.java
11909         java/security/KeyStoreException.java
11910         java/security/KeyStoreSpi.java
11911         java/security/MessageDigest.java
11912         java/security/MessageDigestSpi.java
11913         java/security/NoSuchAlgorithmException.java
11914         java/security/NoSuchProviderException.java
11915         java/security/Permission.java
11916         java/security/PermissionCollection.java
11917         java/security/Permissions.java java/security/Policy.java
11918         java/security/Principal.java java/security/PrivateKey.java
11919         java/security/PrivilegedAction.java
11920         java/security/PrivilegedActionException.java
11921         java/security/PrivilegedExceptionAction.java
11922         java/security/ProtectionDomain.java
11923         java/security/Provider.java
11924         java/security/ProviderException.java
11925         java/security/PublicKey.java
11926         java/security/SecureClassLoader.java
11927         java/security/SecureRandom.java
11928         java/security/SecureRandomSpi.java java/security/Security.java
11929         java/security/SecurityPermission.java
11930         java/security/Signature.java
11931         java/security/SignatureException.java
11932         java/security/SignatureSpi.java
11933         java/security/SignedObject.java java/security/Signer.java
11934         java/security/UnrecoverableKeyException.java
11935         java/security/UnresolvedPermission.java
11936         java/security/acl/Acl.java java/security/acl/AclEntry.java
11937         java/security/acl/AclNotFoundException.java
11938         java/security/acl/Group.java
11939         java/security/acl/LastOwnerException.java
11940         java/security/acl/NotOwnerException.java
11941         java/security/acl/Owner.java java/security/acl/Permission.java
11942         java/security/cert/CRL.java
11943         java/security/cert/CRLException.java
11944         java/security/cert/Certificate.java
11945         java/security/cert/CertificateEncodingException.java
11946         java/security/cert/CertificateException.java
11947         java/security/cert/CertificateExpiredException.java
11948         java/security/cert/CertificateFactory.java
11949         java/security/cert/CertificateFactorySpi.java
11950         java/security/cert/CertificateNotYetValidException.java
11951         java/security/cert/CertificateParsingException.java
11952         java/security/cert/X509CRL.java
11953         java/security/cert/X509CRLEntry.java
11954         java/security/cert/X509Certificate.java
11955         java/security/cert/X509Extension.java
11956         java/security/interfaces/DSAKey.java
11957         java/security/interfaces/DSAKeyPairGenerator.java
11958         java/security/interfaces/DSAParams.java
11959         java/security/interfaces/DSAPrivateKey.java
11960         java/security/interfaces/DSAPublicKey.java
11961         java/security/interfaces/RSAKey.java
11962         java/security/interfaces/RSAPrivateCrtKey.java
11963         java/security/interfaces/RSAPrivateKey.java
11964         java/security/interfaces/RSAPublicKey.java
11965         java/security/spec/AlgorithmParameterSpec.java
11966         java/security/spec/DSAParameterSpec.java
11967         java/security/spec/DSAPrivateKeySpec.java
11968         java/security/spec/DSAPublicKeySpec.java
11969         java/security/spec/EncodedKeySpec.java
11970         java/security/spec/InvalidKeySpecException.java
11971         java/security/spec/InvalidParameterSpecException.java
11972         java/security/spec/KeySpec.java
11973         java/security/spec/PKCS8EncodedKeySpec.java
11974         java/security/spec/RSAKeyGenParameterSpec.java
11975         java/security/spec/RSAPrivateCrtKeySpec.java
11976         java/security/spec/RSAPrivateKeySpec.java
11977         java/security/spec/RSAPublicKeySpec.java
11978         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11979         java/sql/BatchUpdateException.java java/sql/Blob.java
11980         java/sql/CallableStatement.java java/sql/Clob.java
11981         java/sql/Connection.java java/sql/DataTruncation.java
11982         java/sql/DatabaseMetaData.java java/sql/Date.java
11983         java/sql/Driver.java java/sql/DriverManager.java
11984         java/sql/DriverPropertyInfo.java
11985         java/sql/PreparedStatement.java java/sql/Ref.java
11986         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11987         java/sql/SQLData.java java/sql/SQLException.java
11988         java/sql/SQLInput.java java/sql/SQLOutput.java
11989         java/sql/SQLWarning.java java/sql/Statement.java
11990         java/sql/Struct.java java/sql/Time.java
11991         java/sql/Timestamp.java java/sql/Types.java
11992         java/text/Annotation.java
11993         java/text/AttributedCharacterIterator.java
11994         java/text/AttributedString.java
11995         java/text/AttributedStringIterator.java
11996         java/text/BreakIterator.java java/text/CharacterIterator.java
11997         java/text/ChoiceFormat.java java/text/Collator.java
11998         java/text/DateFormat.java java/text/DateFormatSymbols.java
11999         java/text/DecimalFormat.java
12000         java/text/DecimalFormatSymbols.java
12001         java/text/FieldPosition.java java/text/Format.java
12002         java/text/MessageFormat.java java/text/NumberFormat.java
12003         java/text/ParseException.java java/text/ParsePosition.java
12004         java/text/SimpleDateFormat.java
12005         java/text/StringCharacterIterator.java
12006         java/util/AbstractCollection.java java/util/AbstractList.java
12007         java/util/AbstractMap.java
12008         java/util/AbstractSequentialList.java
12009         java/util/AbstractSet.java java/util/ArrayList.java
12010         java/util/Arrays.java java/util/BasicMapEntry.java
12011         java/util/BitSet.java java/util/Calendar.java
12012         java/util/Collection.java java/util/Collections.java
12013         java/util/Comparator.java
12014         java/util/ConcurrentModificationException.java
12015         java/util/Date.java java/util/Dictionary.java
12016         java/util/EmptyStackException.java java/util/Enumeration.java
12017         java/util/EventListener.java java/util/EventObject.java
12018         java/util/GregorianCalendar.java java/util/HashMap.java
12019         java/util/HashSet.java java/util/Hashtable.java
12020         java/util/IdentityHashMap.java java/util/Iterator.java
12021         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12022         java/util/LinkedList.java java/util/List.java
12023         java/util/ListIterator.java java/util/ListResourceBundle.java
12024         java/util/Locale.java java/util/Map.java
12025         java/util/MissingResourceException.java
12026         java/util/NoSuchElementException.java
12027         java/util/Observable.java java/util/Observer.java
12028         java/util/Properties.java java/util/PropertyPermission.java
12029         java/util/PropertyResourceBundle.java java/util/Random.java
12030         java/util/RandomAccess.java java/util/ResourceBundle.java
12031         java/util/Set.java java/util/SimpleTimeZone.java
12032         java/util/SortedMap.java java/util/SortedSet.java
12033         java/util/Stack.java java/util/StringTokenizer.java
12034         java/util/TimeZone.java java/util/Timer.java
12035         java/util/TimerTask.java
12036         java/util/TooManyListenersException.java
12037         java/util/TreeMap.java java/util/TreeSet.java
12038         java/util/Vector.java java/util/WeakHashMap.java
12039         java/util/jar/Attributes.java java/util/jar/JarEntry.java
12040         java/util/jar/JarException.java java/util/jar/JarFile.java
12041         java/util/jar/JarInputStream.java
12042         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12043         java/util/zip/Adler32.java java/util/zip/CRC32.java
12044         java/util/zip/CheckedInputStream.java
12045         java/util/zip/CheckedOutputStream.java
12046         java/util/zip/Checksum.java
12047         java/util/zip/DataFormatException.java
12048         java/util/zip/Deflater.java
12049         java/util/zip/DeflaterOutputStream.java
12050         java/util/zip/GZIPInputStream.java
12051         java/util/zip/GZIPOutputStream.java
12052         java/util/zip/Inflater.java
12053         java/util/zip/InflaterInputStream.java
12054         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12055         java/util/zip/ZipException.java java/util/zip/ZipFile.java
12056         java/util/zip/ZipInputStream.java
12057         java/util/zip/ZipOutputStream.java
12058         javax/naming/BinaryRefAddr.java
12059         javax/naming/InvalidNameException.java javax/naming/Name.java
12060         javax/naming/NamingException.java javax/naming/RefAddr.java
12061         javax/naming/StringRefAddr.java: Add license clarification.
12062
12063 2002-01-22  Tom Tromey  <tromey@redhat.com>
12064
12065         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12066         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12067         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12068         version.
12069         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12070         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12071         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12072         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12073         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12074         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12075         * java/awt/peer/FontPeer.java: Replace with Classpath version.
12076         * java/awt/peer/FramePeer.java: Replace with Classpath version.
12077         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12078         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12079         * java/awt/peer/ListPeer.java: Replace with Classpath version.
12080         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12081         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12082         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12083         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12084         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12085         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12086         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12087         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12088         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12089         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12090         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12091         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12092         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12093         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12094         (minimumSize, preferredSize, reshape): Likewise.
12095         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12096         getColorModel): New methods.
12097         * java/awt/PopupMenu.java: Merged with Classpath.
12098         * java/awt/MenuBar.java: Merged with Classpath.
12099         * java/awt/SystemColor.java: Replace with Classpath version.
12100         * java/awt/Panel.java: Merged with Classpath.
12101         * java/awt/PaintContext.java: Updated copyright.
12102         * java/awt/MenuShortcut.java: Merged with Classpath.
12103         * java/awt/MenuContainer.java: Merged with Classpath.
12104         * java/awt/Menu.java: Merged with Classpath.
12105         * java/awt/MediaEntry.java: New file from Classpath.
12106         * java/awt/MediaTracker.java: New file from Classpath.
12107         * java/awt/List.java: Merged with Classpath version.
12108         * java/awt/Insets.java: Merged with Classpath version.
12109         * java/awt/ImageMediaEntry.java: New file from Classpath.
12110         * java/awt/Image.java: Replaced with Classpath version.
12111         * java/awt/FontMetrics.java: Merged with Classpath version.
12112         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12113         constant.
12114         * java/awt/Font.java: Merged with Classpath version.
12115         * java/awt/Dialog.java: Merged with Classpath version.
12116         * java/awt/Color.java: Merged with Classpath version.
12117         * java/awt/Choice.java: Merged with Classpath version.
12118         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12119         * java/awt/Adjustable.java: Replace with Classpath version.
12120         * java/awt/MenuItem.java (paramString): Don't include class name
12121         or brackets.  Call superclass paramString.
12122         * java/awt/MenuComponent.java (toString): Call paramString.
12123         (paramString): Compute string; don't call toString.
12124         * java/awt/Label.java (paramString): Don't include class name
12125         or brackets.  Call superclass paramString.
12126         * java/awt/Checkbox.java (paramString): Don't include class name
12127         or brackets.  Call superclass paramString.
12128         * java/awt/Button.java (paramString): Don't include class name or
12129         brackets.  Call superclass paramString.
12130         * java/awt/MenuComponent.java (getTreeLock): Now protected.
12131
12132 2002-01-20  Andreas Schwab  <schwab@suse.de>
12133
12134         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12135         function and of parameter recv_func to ssize_t, as specified by
12136         POSIX.
12137
12138 2002-01-19  Per Bothner  <per@bothner.com>
12139
12140         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
12141         uncompressed_size in readiness for next entry.
12142
12143 2002-01-18  Tom Tromey  <tromey@redhat.com>
12144
12145         * java/net/natPlainSocketImpl.cc: Include
12146         IllegalArgumentException.h.
12147         (_Jv_recv): New template function.
12148         (BooleanClass): Removed.
12149         (read): Use _Jv_recv.
12150         (setOption): Use Boolean::class$.  Throw exception if object is
12151         not Boolean or Integer.
12152
12153 2002-01-17  Tom Tromey  <tromey@redhat.com>
12154
12155         * java/awt/MenuComponent.java: Merged with Classpath.
12156         * java/awt/MenuItem.java: Merged with Classpath.
12157         * java/awt/Button.java: Merged with Classpath.
12158
12159         * java/awt/ActiveEvent.java: Updated copyright.
12160
12161         * java/awt/AWTError.java: Replaced with Classpath version.
12162         * java/awt/AWTException.java: Replaced with Classpath version.
12163         * java/awt/IllegalComponentStateException.java: Replaced with
12164         Classpath version.
12165
12166 2002-01-16  Tom Tromey  <tromey@redhat.com>
12167
12168         * java/awt/Canvas.java (serialVersionUID): New constant.
12169         Updated copyright.  Added javadoc from Classpath.
12170         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12171
12172         * java/awt/CheckboxGroup.java: Merged with Classpath.
12173         * java/awt/Checkbox.java: Merged with Classpath.
12174
12175         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12176         Classpath.
12177         * java/awt/Point.java: Updated copyright.
12178
12179         * java/awt/Point.java (toString): Use getClass().getName().
12180         Added javadoc.
12181
12182         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12183         commented code.
12184         (hash): Correctly compute initial value for `h'.
12185
12186         * java/awt/Label.java: Merged with Classpath.
12187
12188 2002-01-15  Tom Tromey  <tromey@redhat.com>
12189
12190         * java/awt/AWTPermission.java: Updated copyright.
12191
12192         * java/awt/LayoutManager2.java: Merged with Classpath.
12193         * java/awt/LayoutManager.java: Merged with Classpath.
12194         * java/awt/GridLayout.java: Updated copyright and javadoc.
12195         (getSize): Use `parent.ncomponents'.  Handle insets.
12196         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12197         there are fewer children than columns.  Correctly compute size of
12198         each cell in the grid.  Handle case where there isn't enough
12199         space.
12200         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12201         all users.
12202         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12203         before calling setVisible() on it.  Last item is `num - 1', not
12204         `num'.
12205         (layoutContainer): Hoist invariants out of loop.
12206
12207         Start of AWT merge with Classpath:
12208         * Makefile.in: Rebuilt.
12209         * Makefile.am (awt_java_source_files): Reference files in
12210         gnu/java/awt, not gnu/gcj/awt.
12211         * java/awt/image/BufferedImage.java: Updated copyright.
12212         * java/awt/image/ComponentColorModel.java: Updated copyright.
12213         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12214         * java/awt/image/DataBuffer.java: Updated copyright.
12215         * java/awt/image/DataBufferByte.java: Updated copyright.
12216         * java/awt/image/DataBufferInt.java: Updated copyright.
12217         * java/awt/image/DataBufferUShort.java: Updated copyright.
12218         * java/awt/image/IndexColorModel.java: Updated copyright.
12219         * java/awt/image/PackedColorModel.java: Updated copyright.
12220         * java/awt/image/Raster.java: Updated copyright.
12221         * java/awt/image/RasterOp.java: Updated copyright.
12222         * java/awt/image/SampleModel.java: Updated copyright.
12223         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12224         * java/awt/image/WritableRaster.java: Updated copyright.
12225         * java/awt/color/ColorSpace.java: Updated copyright.
12226         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12227         * java/awt/color/ICC_Profile.java: Updated copyright.
12228         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12229         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12230         * java/awt/event/HierarchyEvent.java: Updated copyright.
12231         * java/awt/event/HierarchyListener.java: Updated copyright.
12232         * java/awt/geom/AffineTransform.java: Updated copyright.
12233         * java/awt/geom/Dimension2D.java: Updated copyright.
12234         * java/awt/geom/Ellipse2D.java: Updated copyright.
12235         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12236         * java/awt/geom/Line2D.java: Updated copyright.
12237         * java/awt/geom/NoninvertibleTransformException.java: Updated
12238         copyright.
12239         * java/awt/geom/PathIterator.java: Updated copyright.
12240         * java/awt/geom/Point2D.java: Updated copyright.
12241         * java/awt/geom/Rectangle2D.java: Updated copyright.
12242         * java/awt/geom/RectangularShape.java: Updated copyright.
12243         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12244         * java/awt/Toolkit.java: Updated import for file moves.
12245         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12246         Classpath.
12247         (hashCode): New method from Classpath.
12248         * java/awt/Graphics2D.java: Updated copyright.
12249         * java/awt/Transparency.java: Updated copyright.
12250         * java/awt/Paint.java: Updated copyright.
12251         * java/awt/Graphics.java: New version from Classpath.
12252         * java/awt/EventDispatchThread.java: Updated copyright.
12253         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12254         children.
12255         (gotoComponent): Wrap around on next/previous.
12256         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12257         * gnu/gcj/awt/Buffers.java: Removed.
12258         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12259         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12260         * gnu/java/awt/BitMaskExtent.java: Added.
12261         * gnu/java/awt/Buffers.java: Added.
12262         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12263         * gnu/java/awt/GLightweightPeer.java: Added.
12264         * java/awt/geom/Line2D.java (clone): Ignore
12265         CloneNotSupportedException.
12266         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12267         * java/awt/Frame.java: Merged with Classpath.
12268         * java/awt/RenderingHints.java: Copyright update.
12269         * java/awt/Paint.java: Copyright update.
12270         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12271         * java/awt/image/ColorModel.java: Merged with Classpath.
12272         * java/awt/Window.java (show): New Implementation from Classpath.
12273         (isShowing): Use super.isShowing().
12274         * java/awt/EventQueue.java: Merged with Classpath.
12275         * java/awt/AWTEventMulticaster.java (save): Throw
12276         RuntimeException.
12277         (saveInternal): Likewise.
12278         * java/awt/AWTEvent.java: Now implements Serializable.
12279         * java/awt/Event.java: Copyright update.
12280         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12281         * java/awt/image/BufferedImage.java: Copyright update.
12282         * java/awt/GraphicsConfiguration.java: Copyright update.
12283         * java/awt/Component.java: (addNotify): Don't call
12284         addNotifyContainerChildren().
12285         (addNotifyContainerChildren): Removed.
12286         (setPeer): New method from Classpath.
12287         (setTreeLock): Likewise.
12288         (setVisible): Rewrote.
12289         (show): Use it.
12290         (hide): Likewise.
12291         (validate): Set `valid'.
12292         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12293         (createImage(ImageProducer)): Likewise.
12294         (prepareImage): Likewise.
12295         * java/awt/Container.java (addImpl): Handle case where constraint
12296         is not a String.  Post event via system event queue.
12297         (remove): Post event via system event queue.
12298         (validateTree): Only validate child if it is invalid.
12299         (getAlignmentX): Call super method as default.
12300         (getAlignmentY): Likewise.
12301         (addContainerListener): Now synchronized.
12302         (removeContainerListener): Likewise.
12303         (addNotifyContainerChildren): Now private.
12304         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12305         @author.
12306         * java/awt/FlowLayout.java (serialVersionUID): New field.
12307         (setAlignment): Better exception message.
12308         (layoutContainer): Don't compute component's preferred size unless
12309         we're going to use it.
12310         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12311         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12312         (firstLine, lastLine, firstItem, lastItem): New fields.
12313         (addLayoutComponent): Handle case where constraints is null.
12314         Also, handle relative locations.
12315         (removeLayoutComponent): Handle relative locations.
12316         (MIN, MAX, PREF): New constants.
12317         (calcCompSize): New method.
12318         (calcSize): New method.
12319         (minimumLayoutSize): Use it.
12320         (preferredLayoutSize): Likewise.
12321         (maximumLayoutSize): Likewise.
12322         (toString): Include more information.
12323         (setBounds): New method.
12324         (layoutContainer): Use libgcj implementation; extended to handle
12325         relative locations.
12326
12327 2002-01-15  Tom Tromey  <tromey@redhat.com>
12328
12329         * java/lang/Float.java (equals): Preserve old code.
12330         * java/lang/Double.java (equals): Preserve old code.
12331
12332 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12333
12334         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12335         * java/lang/Float.java (equals, compare): Ditto.
12336
12337 2002-01-13  Mark Wielaard  <mark@klomp.org>
12338
12339         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12340         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12341         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12342         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12343
12344 2002-01-11  Mark Wielaard  <mark@klomp.org>
12345
12346         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12347         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12348         InetAddress.
12349         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12350         * java/net/Socket.java: Merge with Classpath.
12351         * java/net/ServerSocket.java: Likewise.
12352
12353 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12354
12355         * interpret.cc (NULLARRAYCHECK): New macro.
12356         (SAVE_PC): Just store `pc'.
12357         (find_exception): Subtract one from `pc' here.
12358         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12359         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12360         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12361         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12362         don't call SAVE_PC.
12363         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12364         call SAVE_PC.
12365
12366 2002-01-11  Tom Tromey  <tromey@redhat.com>
12367
12368         * java/lang/natSystem.cc (init_properties): Only look for default
12369         locale if LC_MESSAGES is defined.
12370         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12371         * configure.in: Call AM_LC_MESSAGES.
12372         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12373
12374 2002-01-10  Tom Tromey  <tromey@redhat.com>
12375
12376         For PR libgcj/5303:
12377         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12378         --version.  Recognize GNU-style long options.  Print GNU-style
12379         error messages.
12380         (usage): Print GNU-style help.  Exit with status 0.
12381         (error): New method.
12382         (run): Print error message if no class names found.
12383         (main): Don't print usage on error.
12384
12385 2002-01-09  Tom Tromey  <tromey@redhat.com>
12386
12387         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12388         property.
12389         (help, version): Use println(), not println("").
12390
12391         For PR libgcj/5303:
12392         * gnu/gcj/convert/Convert.java (error): Program is called
12393         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12394         -1.
12395         (main): Handle --help and --version.
12396         (help): New method.
12397         (version): Likewise.
12398
12399 2002-01-08  Tom Tromey  <tromey@redhat.com>
12400
12401         * Makefile.in: Rebuilt.
12402         * Makefile.am (ordinary_java_source_files): Added new files.
12403         * gnu/java/locale/LocaleInformation.java: Extend
12404         LocaleInformation_en.
12405         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12406         and time/date formats.
12407         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12408         generated.
12409         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12410         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12411         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12412         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12413         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12414         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12415         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12416         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12417         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12418         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12419         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12420         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12421         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12422         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12423         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12424         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12425         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12426         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12427         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12428         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12429         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12430         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12431         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12432         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12433         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12434         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12435         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12436         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12437         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12438         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12439         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12440         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12441         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12442         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12443         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12444         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12445         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12446         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12447         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12448         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12449         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12450         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12451         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12452         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12453         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12454         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12455         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12456         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12457         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12458         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12459         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12460         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12461         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12462         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12463         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12464         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12465         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12466         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12467         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12468         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12469         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12470         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12471         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12472         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12473         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12474         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12475         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12476         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12477         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12478         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12479         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12480         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12481         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12482         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12483         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12484         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12485         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12486         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12487         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12488         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12489         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12490         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12491         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12492         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12493         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12494         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12495         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12496         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12497         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12498         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12499         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12500         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12501         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12502         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12503         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12504         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12505         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12506         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12507         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12508         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12509         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12510         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12511         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12512         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12513         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12514         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12515         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12516         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12517         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12518         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12519         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12520         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12521         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12522         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12523         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12524         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12525         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12526         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12527         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12528         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12529         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12530         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12531         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12532         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12533         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12534         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12535         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12536         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12537         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12538         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12539
12540         For PR libgcj/5031:
12541         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12542         choose default locale.
12543
12544         * Makefile.in: Rebuilt.
12545         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12546
12547 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12548
12549         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12550         sockets.
12551         (close): New function closes the socket.
12552         (write): New functions for output to socket.
12553         (read): New functions for reading from socket.
12554         * java/net/PlainSocketImpl.java: Glue for new timeout
12555         implementation.
12556         (write): Call the native impl.
12557         (read): Likewise.
12558         (getInputStream): Get a stream to read from the socket.
12559         (getOutputStream): Get a stream to write to the socket.
12560
12561 2002-01-08  Tom Tromey  <tromey@redhat.com>
12562
12563         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12564
12565 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12566
12567         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12568         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12569
12570 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12571
12572         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12573         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12574         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12575         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12576         insn_bastore, insn_castore, insn_sastore]: Use it.
12577         (continue1) [insn_arraylength]: Check for null array.
12578
12579 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12580
12581         * configure, include/config.h.in: Rebuilt.
12582         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12583         * configure.in: Call AC_STRUCT_TIMEZONE.
12584
12585 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12586
12587         * configure.host: Disable the interpreter for Darwin.
12588
12589 2002-01-04  Tom Tromey  <tromey@redhat.com>
12590
12591         * java/lang/Thread.java (stop): No longer synchronized.
12592         (start): Likewise.
12593
12594 2002-01-02  Tom Tromey  <tromey@redhat.com>
12595
12596         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12597         patch.
12598
12599 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12600
12601         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12602         PPC Darwin, not for all of Darwin.