OSDN Git Service

2003-07-25 Mark Wielaard <mark@klomp.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-07-25  Mark Wielaard  <mark@klomp.org>
2
3         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4         added.
5         * Makefile.in: Likewise.
6
7 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
8
9         * java/awt/Component.java
10         (getPreferredSize): Call preferredSize.
11         (preferredSize): Moved body of getPreferredSize here.
12         (getMinimumSize): Call minimumSize.
13         (minimumSize): Moved body of getMinimumSize here.
14         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
15         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
16         pass -1
17         * java/awt/Container.java
18         (validate): Don't validate if there is no peer.
19         (update): Clear background before calling paint.
20         * java/awt/GridBagLayout.java
21         Completed the implementation and fixed several bugs.
22         * java/awt/MediaTracker.java
23         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
24         combine flags.
25         * java/awt/Window.java
26         (Window): Don't call setVisible(false). Windows are invisible by
27         default and calling virtual methods from constructor causes
28         compatibility problems (e.g. subclasses may assume that the peer
29         already exists).
30
31 2003-07-25  Michael Koch  <konqueror@gmx.de>
32
33         * java/awt/GridBagLayout.java:
34         Totally reworked and partly implemented.
35         * java/awt/GridBagLayoutInfo.java:
36         New file.
37
38 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
39
40         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
41         Don't pack label in an event box.
42
43 2003-07-24  Tom Tromey  <tromey@redhat.com>
44
45         For PR libgcj/7482:
46         * verify.cc (ref_intersection): New class.
47         (type_val): Removed unresolved_reference_type,
48         uninitialized_unresolved_reference_type.
49         (is_assignable_from_slow): Rewrote.
50         (type::data): Removed.
51         (type::klass): New field.
52         (type::type): Added verifier argument.
53         (type::resolve): Removed.
54         (type::set_uninitialized): Updated for change to type_val.
55         (type::set_initialized): Likewise.
56         (type::isinitialized): Likewise.
57         (type::print): Likewise.
58         (construct_primitive_array_type): Likewise.
59         (type::compatible): Updated for change to type_val and to use
60         ref_intersection.
61         (type::isarray): Updated to use ref_intersection.
62         (type::isinterface): Likewise.
63         (type::element_type): Likewise.
64         (type::to_array): Likewise.
65         (type::verify_dimensions): Rewrote.
66         (type::merge): Likewise.
67         (check_class_constant): Updated for type constructor change.
68         (check_constant): Likewise.
69         (check_field_constant): Likewise.
70         (get_one_type): Likewise.
71         (initialize_stack): Likewise.
72         (verify_instructions_0): Likewise.
73         (verify_instructions_0) [op_invokeinterface]: Removed special
74         case.
75         (isect_list): New field.
76         (_Jv_BytecodeVerifier): Initialize it.
77         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
78
79 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
80
81         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
82         unless field size is 2.
83
84 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
85
86         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
87         (connectHooks): New method.
88         (handleEvent): Remove.
89         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
90         (createHooks): Remove declaration.
91         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
92         (generates_key_typed_event): Change to handle only certain
93         keyvals.
94         (awt_event_handler): Add special handling for GtkTextView.
95         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
96         (textcomponent_commit_cb): New function.
97         (textcomponent_changed_cb): Likewise.
98         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
99         (connectHooks): Remove.
100
101 2003-07-23  Tom Tromey  <tromey@redhat.com>
102
103         * java/lang/natSystem.cc (arraycopy): Check for overflow.
104
105         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
106
107 2003-07-22  Tom Tromey  <tromey@redhat.com>
108
109         * boehm.cc (_Jv_BuildGCDescr): Wrote.
110         Include limits.h.
111
112 2003-07-22  Tom Tromey  <tromey@redhat.com>
113
114         * java/awt/Window.java (getWarningString): Just return the
115         string.
116         (Window): Set warningString; check with security manager.
117
118 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
119
120         * gnu/awt/xlib/XGraphicsConfiguration.java
121         (FontMetricsCache): Made static.
122  
123 2003-07-22  Tom Tromey  <tromey@redhat.com>
124
125         * java/net/URLEncoder.java (encode(String)): Use platform default
126         encoding.
127         (encode(String,String)): Convert to 2-digit upper-case hex
128         number.
129         (hex): New field.
130
131 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
132
133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
134         (create): Remove unused method implementation.
135         (connectHooks): Remove debug messages.
136
137 2003-07-20  Anthony Green  <green@redhat.com>
138
139         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
140         CloneNotSupportedException.
141         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
142         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
143         * gnu/gcj/xlib/GC.java (clone): Ditto.
144         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
145         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
146
147         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
148         handler.
149         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
150
151 2003-07-20  Steve Pribyl <steve@netfuel.com.>
152
153         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
154         String.  Put dlerror() message into exception.
155         Include UnsatisfiedLinkError.
156         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
157         String.  Now native.
158
159 2003-07-20  Tom Tromey  <tromey@redhat.com>
160
161         * java/lang/Runtime.java: Comment fix.
162         * java/lang/ClassLoader.java (isAncestorOf): New method.
163         (getParent): Uncommented security check.  Use isAncestorOf.
164         * include/jvm.h (_Jv_CheckAccess): Declare.
165         * java/lang/reflect/natConstructor.cc (newInstance): Perform
166         access check.
167         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
168         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
169         class loader to _Jv_GetArrayClass.
170         Include ArrayIndexOutOfBoundsException.h.
171         * java/lang/reflect/Field.java: Update comment to reflect status.
172         (equals): Fixed indentation.
173         * java/lang/Class.h (Class): Declare memberAccessCheck, not
174         checkMemberAccess.  Make _Jv_CheckAccess a friend.
175         * java/lang/Class.java (memberAccessCheck): New method from
176         Classpath.
177         (checkMemberAccess): Removed.
178         (getDeclaredMethod): Use memberAccessCheck.
179         (getField): Likewise.
180         (getMethod): Likewise.
181         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
182         (_Jv_SearchMethodInClass): Likewise.
183         * prims.cc (_Jv_CheckAccess): New function.
184         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
185         (_Jv_JNI_GetAnyFieldID): Likewise.
186         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
187         (getClassLoader): Added security check.
188         (getConstructor): Call memberAccessCheck.
189         (getDeclaredClasses): Likewise.
190         (getDeclaredField): Likewise.
191         (getDeclaredFields): Likewise.
192         (_getConstructors): Likewise.
193         (getDeclaredConstructor): Likewise.
194         (getDeclaredMethods): Likewise.
195         (getFields): Likewise.
196         (getMethods): Likewise.
197         (newInstance): Likewise.
198         (_Jv_MakeVTable): Put method name in exception.
199         * java/lang/reflect/natMethod.cc (getType): Use
200         getClassLoaderInternal.
201         (_Jv_GetTypesFromSignature): Likewise.
202         (invoke): Perform access check.
203         (_Jv_CallAnyMethodA): Removed old FIXME comments.
204         Include ArrayIndexOutOfBoundsException.h.
205         * java/lang/reflect/natField.cc (getType): Use
206         getClassLoaderInternal.
207         (_Jv_CheckFieldAccessibility): Removed.
208         (getAddr): Use _Jv_CheckAccess; find caller.
209         Include ArrayIndexOutOfBoundsException.h.
210
211 2003-07-20  Michael Koch  <konqueror@gmx.de>
212
213         * java/net/URL.java
214         (URL): Fixed documentation to name an argument correcty, Reformatted
215         one method declaration.
216         (getURLStreamHandler): Added documentation from classpath.
217
218 2003-07-19  Tom Tromey  <tromey@redhat.com>
219
220         * mauve-libgcj: Don't run CollationElementIterator tests.
221
222 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
223
224         * java/net/URLClassLoader.java (addURL): Moved implementation to
225         private addURLImpl() to avoid calling addURL from the constructor.
226         (addURLImpl): Contains the code that was previously in addURL.
227         (addURLs): Call addURLImpl(), not addURL().
228
229 2003-07-18  Graydon Hoare  <graydon@redhat.com>
230
231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
232         Handle missing event cases, connect to "value-changed" signal.
233
234 2003-07-18  Graydon Hoare  <graydon@redhat.com>
235
236         * java/awt/geom/CubicCurve2D.java,
237         java/awt/geom/Line2D.java,
238         java/awt/geom/QuadCurve2D.java,
239         java/awt/geom/Rectangle2D.java: 
240         Fix path some calculations, make path iterators follow
241         a consistent style.
242
243 2003-07-18  Mark Wielaard  <mark@klomp.org>
244
245         * java/util/logging/Handler.java (isLoggable): Check record level
246         smaller or equal.
247
248 2003-07-17  Michael Koch  <konqueror@gmx.de>
249
250         * gnu/java/awt/peer/gtk/GtkToolkit.java:
251         Reworked imports.
252
253 2003-07-14  Michael Koch  <konqueror@gmx.de>
254
255         * gnu/java/rmi/server/UnicastServerRef.java:
256         New version from classpath.
257
258 2003-07-14  Michael Koch  <konqueror@gmx.de>
259
260         * java/awt/image/MemoryImageSource.java,
261         java/beans/PropertyEditorManager.java,
262         javax/naming/CompoundName.java,
263         javax/naming/spi/NamingManager.java,
264         javax/swing/AbstractButton.java,
265         javax/swing/ButtonModel.java,
266         javax/swing/SwingUtilities.java,
267         javax/swing/UIManager.java,
268         javax/swing/colorchooser/DefaultColorSelectionModel.java,
269         javax/swing/event/AncestorEvent.java,
270         javax/swing/event/InternalFrameEvent.java,
271         java/util/zip/ZipFile.java:
272         New versions from classpath.
273
274 2003-07-13  Michael Koch  <konqueror@gmx.de>
275
276         * gnu/java/nio/FileChannelImpl.java,
277         gnu/java/nio/natFileChannelImpl.cc: Removed.
278         * java/io/FileInputStream.java,
279         java/io/FileOutputStream.java,
280         java/io/RandomAccessFile.java,
281         java/nio/MappedByteBufferImpl.java:
282         Import java.nio.channels.FileChannelImpl instead of
283         gnu.java.nio.FileChannelImpl.
284         * java/nio/channels/FileChannelImpl.java,
285         java/nio/channels/natFileChannelImpl.cc:
286         New files.
287         * Makefile.am
288         (ordinary_java_source_files):
289         Removed gnu/java/nio/FileChannelImpl.java and added
290         java/nio/channels/FileChannelImpl.java.
291         (nat source_files):
292         Removed gnu/java/nio/natFileChannelImpl.cc and added
293         java/nio/channels/natFileChannelImpl.cc.
294         * Makefile.in: Regenerated.
295
296 2003-07-13  Michael Koch  <konqueror@gmx.de>
297
298         * javax/swing/plaf/basic/BasicBorders.java,
299         javax/swing/plaf/basic/BasicLabelUI.java,
300         javax/swing/plaf/basic/BasicLookAndFeel.java,
301         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
302         javax/swing/plaf/basic/BasicTextUI.java,
303         javax/swing/plaf/metal/MetalLookAndFeel.java:
304         New versions from classpath.
305
306 2003-07-13  Michael Koch  <konqueror@gmx.de>
307
308         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
309         * gnu/java/awt/peer/gtk/GdkGraphics.java
310         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
311         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
312         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
313         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
314         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
315         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
316         * gnu/java/awt/peer/gtk/GtkClipboard.java
317         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
318         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
319         * gnu/java/awt/peer/gtk/GtkFramePeer.java
320         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
321         * gnu/java/awt/peer/gtk/GtkImage.java
322         * gnu/java/awt/peer/gtk/GtkImagePainter.java
323         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
324         * gnu/java/awt/peer/gtk/GtkListPeer.java
325         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
326         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
327         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
328         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
329         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
330         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
331         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
332         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
333         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
334         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
335         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
336         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
337
338 2003-07-13  Michael Koch  <konqueror@gmx.de>
339
340         * gnu/java/locale/LocaleInformation_de.java
341         * gnu/java/locale/LocaleInformation_en.java
342         * gnu/java/locale/LocaleInformation_nl.java
343
344 2003-07-13  Michael Koch  <konqueror@gmx.de>
345
346         * gnu/java/awt/EmbeddedWindow.java,
347         gnu/java/awt/EmbeddedWindowSupport.java,
348         gnu/java/awt/natEmbeddedWindow.cc:
349         New files.
350         * java/awt/Window.java
351         (Window): New constructor to support embedded windows.
352         * Makefile.am
353         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
354         gnu/java/awt/EmbeddedWindowSupport.java.
355         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
356         * Makefile.in: Regenerated.
357
358 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
359
360         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
361         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
362         * java/awt/im/InputContext.java: Remove a redundant
363         partial line.
364
365 2003-07-09  Tom Tromey  <tromey@redhat.com>
366
367         * Makefile.in: Rebuilt.
368         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
369
370 2003-07-09  Mark Wielaard  <mark@klomp.org>
371
372         * java/io/ObjectOutputStream.java (writeObject): break after
373         calling writeClassDescriptor().
374
375 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
376
377         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
378
379 2003-07-09  Michael Koch  <konqueror@gmx.de>
380
381         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
382         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
383         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
384         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
385         Explicitly import used classes.
386         * java/awt/Container.java: New version from classpath.
387
388 2003-07-09  Michael Koch  <konqueror@gmx.de>
389
390         * libgcj.pc.in: New file.
391         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
392         * Makefile.in: Regenerated.
393         * configure: Regenrated.
394         * configure.in: Create libgcj.pc from libgcj.pc.in.
395
396 2003-07-08  Mark Wielaard <mark@klomp.org>
397
398         * gcj/cni.h: CNI now expands to Compiled Native Interface.
399
400         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
401         * java/lang/fdlibm.h: Likewise.
402
403 2003-07-07  Adam Megacz <adam@xwt.org>
404
405         * posix.cc: added #include<stdio.h>
406                 
407 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
408
409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
410         formatting.
411
412         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
413         (setCaretPosition, setEditable): Rely entirely on native
414         implementation.
415         (getArgs): Remove.
416         (postTextEvent): New method.
417         (handleEvent): New method.
418         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
419         method.
420         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
422         (keysym_to_awt_keycode): Fix range checks.
423         (generates_key_typed_event): New function.
424         (awt_event_handler): Post AWT_KEY_RELEASED events to event
425         queue.
426         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
427         (gtkInit): Store TextComponent's postTextEvent method ID.
428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
429         (setText): Post TEXT_VALUE_CHANGED event to event queue.
430
431 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
432
433         * configure.in: Check for usleep declaration.
434         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
435         * configure: Regenerate.
436         * include/config.h.in: Likewise.
437         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
438
439 2003-07-01  Michael Koch  <konqueror@gmx.de>
440
441         * gnu/gcj/convert/natIconv.cc
442         (iconv_init): Fixed possible memory leak by releasing allocated iconv
443         handle.
444
445 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
446
447         * glib-2.0.m4: New file.
448         * gtk-2.0.m4: New file.
449         * glib.m4: Remove.
450         * gtk.m4: Remove.
451         * configure.in: Update AM_PATH_GTK macro call to
452         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
453         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
454         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
455         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
456         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
457         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
458         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
459         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
460         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
461         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
462         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
463         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
464         jni/gtk-peer/gthread-jni.c,
465         jni/gtk-peer/gthread-jni.h:
466         New versions from classpath.
467         * aclocal.m4: Regenerate.
468         * configure: Regenerate.
469         * Makefile.in: Regenerate.
470         * gcj/Makefile.in: Regenerate.
471         * include/Makefile.in: Regenerate.
472         * testsuite/Makefile.in: Regenerate.
473
474 2003-06-30  Gary Benson  <gbenson@redhat.com>
475
476         For PR libgcj/11349:
477         * javax/naming/spi/NamingManager.java (getURLContext): Use
478         correct name for factory class.
479
480 2003-06-28  Michael Koch  <konqueror@gmx.de>
481
482         * java/io/PrintStream.java
483         (checkError): Call flush() instead of direct flushing of the Writer
484         object.
485         (print): Call print(String) instead of direct print method of the
486         Writer Object.
487         (println): Call println(String) instead of direct println method of the
488         Writer Object.
489         (write): Simplified.
490
491 2003-06-28  Michael Koch  <konqueror@gmx.de>
492
493         * java/net/ServerSocket.java
494         (setChannel): New method.
495         * java/net/Socket.java
496         (setChannel): New method.
497
498 2003-06-27  Michael Koch  <konqueror@gmx.de>
499
500         * java/beans/beancontext/BeanContextSupport.java:
501         New version from classpath.
502
503 2003-06-27  Michael Koch  <konqueror@gmx.de>
504
505         * java/awt/Window.java,
506         java/awt/font/GraphicAttribute.java,
507         java/awt/font/ImageGraphicAttribute.java,
508         java/awt/image/DataBufferByte.java,
509         java/awt/image/DataBufferInt.java,
510         java/awt/image/DataBufferUShort.java,
511         java/awt/image/DirectColorModel.java,
512         java/awt/image/PixelGrabber.java:
513         New versions from classpath.
514
515 2003-06-27  Michael Koch  <konqueror@gmx.de>
516
517         * java/security/Certificate.java
518         (getGuarantor): Removed wrong @deprecated tag.
519         (getPrincipal): Likewise.
520         (getPublicKey): Likewise.
521         (encode): Likewise.
522         (decode): Likewise.
523         (getFormat): Likewise.
524         (toString): Likewise.
525         * java/security/cert/PolicyQualifierInfo.java
526         (PolicyQualifierInfo): Made final.
527         * javax/security/auth/x500/X500Principal.java
528         (serialVersionUID): New member variable.
529
530 2003-06-27  Michael Koch  <konqueror@gmx.de>
531
532         * java/text/Format.java
533         (serialVersionUID): Fixed value.
534
535 2003-06-27  Michael Koch  <konqueror@gmx.de>
536
537         * java/net/Inet4Address.java
538         (Inet4Address): Made package-private.
539         * java/net/Inet6Address.java
540         (Inet4Address): Made package-private.
541
542 2003-06-27  Michael Koch  <konqueror@gmx.de>
543
544         * java/io/RandomAccessFile.java
545         (readLine): Removed wrong @deprecated tag.
546         (getChannel): Made final.
547
548 2003-06-27  Michael Koch  <konqueror@gmx.de>
549
550         * gnu/java/nio/FileChannelImpl.java
551         (write): Removed.
552
553 2003-06-27  Michael Koch  <konqueror@gmx.de>
554
555         * java/nio/ByteBufferImpl.java
556         (ByteBufferImpl): Made it a package-private class
557         * java/nio/CharBufferImpl.java
558         (CharBufferImpl): Made it a package-private class
559         * java/nio/DirectByteBufferImpl.java
560         (DirectByteBufferImpl): Made it a package-private class
561         * java/nio/DoubleBufferImpl.java
562         (DoubleBufferImpl): Made it a package-private class
563         * java/nio/FloatBufferImpl.java
564         (FloatBufferImpl): Made it a package-private class
565         * java/nio/IntBufferImpl.java
566         (IntBufferImpl): Made it a package-private class
567         * java/nio/LongBufferImpl.java
568         (LongBufferImpl): Made it a package-private class
569         * java/nio/ShortBufferImpl.java
570         (ShortBufferImpl): Made it a package-private class
571         * java/nio/channels/FileChannel.java
572         (write): Made final.
573         * java/nio/channels/ServerSocketChannel.java
574         (ServerSocketChanne): Made protected.
575
576 2003-06-27  Michael Koch  <konqueror@gmx.de>
577
578         * javax/naming/CompositeName.java
579         (serialVersionUID): New member variable.
580         * javax/naming/CompoundName.java
581         (serialVersionUID): New member variable.
582         * javax/naming/InitialContext.java
583         (InitialContext): Throws NamingException.
584         (init): Likewise.
585         * javax/naming/LinkRef.java
586         (serialVersionUID): New member variable.
587         (gteLinkName): Throws NamingException.
588         * javax/naming/NamingException.java
589         (serialVersionUID): New member variable.
590         * javax/naming/NamingSecurityException.java
591         (NamingSecurityException): Made abstract.
592         (serialVersionUID): New member variable.
593         * javax/naming/ReferralException.java
594         (serialVersionUID): New member variable.
595         * javax/naming/StringRefAddr.java
596         (serialVersionUID): New member variable.
597         * javax/naming/directory/BasicAttribute.java:
598         Reworked imports.
599         (serialVersionUID): New member variable.
600         (get): Throws NamingException.
601         (getAll): Throws NamingException.
602         * javax/naming/directory/BasicAttributes.java:
603         Reworked imports.
604         (serialVersionUID): New member variable.
605         * javax/naming/ldap/UnsolicitedNotificationEvent.java
606         (serialVersionUID): New member variable.
607
608 2003-06-27  Michael Koch  <konqueror@gmx.de>
609
610         * Makefile.am
611         (awt_java_source_files): Added new files:
612         javax/swing/Popup.java,
613         javax/swing/PopupFactory.java
614         * Makefile.in: Regenerated.
615
616 2003-06-27  Michael Koch  <konqueror@gmx.de>
617
618         * javax/swing/JWindow.java,
619         javax/swing/event/AncestorEvent.java,
620         javax/swing/event/HyperlinkEvent.java,
621         javax/swing/event/InternalFrameEvent.java,
622         javax/swing/event/ListDataEvent.java,
623         javax/swing/event/TableModelEvent.java,
624         javax/swing/plaf/PopupMenuUI.java,
625         javax/swing/plaf/SplitPaneUI.java,
626         javax/swing/plaf/TabbedPaneUI.java,
627         javax/swing/plaf/TextUI.java,
628         javax/swing/plaf/TreeUI.java,
629         javax/swing/plaf/basic/BasicTextUI.java,
630         javax/swing/plaf/basic/BasicTreeUI.java:
631         New versions from classpath.
632         * javax/swing/Popup.java,
633         javax/swing/PopupFactory.jav:
634         New source files from classpath.
635         * javax/swing/plaf/doc-files/TreeUI-1.png:
636         New binary files from classpath.
637
638 2003-06-25  Michael Koch  <konqueror@gmx.de>
639
640         * Makefile.am
641         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
642         * Makefile.in: Regenerated.
643
644 2003-06-25  Michael Koch  <konqueror@gmx.de>
645
646         * javax/swing/plaf/ActionMapUIResource.java,
647         javax/swing/plaf/BorderUIResource.java,
648         javax/swing/plaf/ButtonUI.java,
649         javax/swing/plaf/ColorChooserUI.java,
650         javax/swing/plaf/ColorUIResource.java,
651         javax/swing/plaf/ComboBoxUI.java,
652         javax/swing/plaf/ComponentInputMapUIResource.java,
653         javax/swing/plaf/ComponentUI.java,
654         javax/swing/plaf/DesktopIconUI.java,
655         javax/swing/plaf/DesktopPaneUI.java,
656         javax/swing/plaf/DimensionUIResource.java,
657         javax/swing/plaf/FileChooserUI.java,
658         javax/swing/plaf/FontUIResource.java,
659         javax/swing/plaf/IconUIResource.java,
660         javax/swing/plaf/InputMapUIResource.java,
661         javax/swing/plaf/InsetsUIResource.java,
662         javax/swing/plaf/InternalFrameUI.java,
663         javax/swing/plaf/LabelUI.java,
664         javax/swing/plaf/ListUI.java,
665         javax/swing/plaf/MenuBarUI.java,
666         javax/swing/plaf/MenuItemUI.java,
667         javax/swing/plaf/OptionPaneUI.java,
668         javax/swing/plaf/PanelUI.java,
669         javax/swing/plaf/ProgressBarUI.java,
670         javax/swing/plaf/RootPaneUI.java,
671         javax/swing/plaf/ScrollBarUI.java,
672         javax/swing/plaf/ScrollPaneUI.java,
673         javax/swing/plaf/SeparatorUI.java,
674         javax/swing/plaf/SliderUI.java,
675         javax/swing/plaf/TableHeaderUI.java,
676         javax/swing/plaf/TableUI.java,
677         javax/swing/plaf/ToolBarUI.java,
678         javax/swing/plaf/ToolTipUI.java,
679         javax/swing/plaf/ViewportUI.java:
680         New versions from classpath.
681         * javax/swing/plaf/SpinnerUI.java: 
682         New file from classpath
683
684 2003-06-25  Michael Koch  <konqueror@gmx.de>
685
686         * java/awt/image/ColorModel.java:
687         New version from classpath.
688
689 2003-06-25  Michael Koch  <konqueror@gmx.de>
690
691         * java/net/PlainDatagramSocketImpl.java:
692         Partly merged with classpath, this mainly adds documentation.
693
694 2003-06-25  Michael Koch  <konqueror@gmx.de>
695
696         * java/io/ObjectInputStream.java
697         (readClassDescriptor): New method.
698         (readObject): Moved functionality to readClassDescriptor().
699         * java/io/ObjectOutputStream.java
700         (writeClassDescriptor): New method.
701         (writeObject): Moved functionality to writeClassDescriptor().
702
703 2003-06-25  Michael Koch  <konqueror@gmx.de>
704
705         * javax/swing/plaf/basic/BasicListUI.java,
706         javax/swing/plaf/basic/BasicOptionPaneUI.java:
707         Added missing methods.
708
709 2003-06-25  Michael Koch  <konqueror@gmx.de>
710
711         * javax/swing/event/AncestorEvent.java
712         javax/swing/event/HyperlinkEvent.java
713         javax/swing/event/InternalFrameEvent.java
714         javax/swing/event/ListDataEvent.java
715         javax/swing/event/TableModelEvent.java:
716         Compile fixes.
717
718 2003-06-24  Michael Koch  <konqueror@gmx.de>
719
720         * java/net/URL.java:
721         Renamed "handler" to "ph" in the whole file to match classpaths
722         version.
723         * java/net/URLStreamHandler.java:
724         (equals): Renamed "handler" to "ph".
725
726 2003-06-24  Michael Koch  <konqueror@gmx.de>
727
728         * javax/swing/event/AncestorEvent.java,
729         javax/swing/event/HyperlinkEvent.java,
730         javax/swing/event/InternalFrameEvent.java,
731         javax/swing/event/ListDataEvent.java,
732         javax/swing/event/TableModelEvent.java,
733         javax/swing/event/TreeWillExpandListener.java,
734         javax/swing/plaf/ComponentUI.java,
735         javax/swing/plaf/DesktopIconUI.java,
736         javax/swing/plaf/DesktopPaneUI.java,
737         javax/swing/plaf/DimensionUIResource.java,
738         javax/swing/plaf/FileChooserUI.java,
739         javax/swing/plaf/FontUIResource.java,
740         javax/swing/plaf/IconUIResource.java,
741         javax/swing/plaf/InputMapUIResource.java,
742         javax/swing/plaf/InsetsUIResource.java,
743         javax/swing/plaf/InternalFrameUI.java,
744         javax/swing/plaf/LabelUI.java,
745         javax/swing/plaf/ListUI.java,
746         javax/swing/plaf/MenuBarUI.java,
747         javax/swing/plaf/MenuItemUI.java,
748         javax/swing/plaf/OptionPaneUI.java,
749         javax/swing/plaf/PanelUI.java,
750         javax/swing/plaf/ProgressBarUI.java,
751         javax/swing/plaf/doc-files/ComponentUI-1.dia,
752         javax/swing/plaf/doc-files/ComponentUI-1.png:
753         New versions from classpath.
754
755 2003-06-24  Michael Koch  <konqueror@gmx.de>
756
757         * java/nio/Buffer.java
758         (cap): Made package-private.
759         (pos): Likewise.
760         (limit): Likewise.
761         (mark): Likewise.
762
763 2003-06-24  Michael Koch  <konqueror@gmx.de>
764
765         * java/net/SocketImpl.java
766         (shutdownInput): Made it non-abstract method throwing an exception
767         like in SUNs JRE.
768         (shutdownOutput): Likewise.
769         * java/net/SocketInputStream.java,
770         java/net/SocketOutputStream.java:
771         New files from classpath.
772
773 2003-06-24  Michael Koch  <konqueror@gmx.de>
774
775         * java/awt/Font.java,
776         java/awt/Window.java,
777         java/awt/color/ColorSpace.java,
778         java/awt/datatransfer/StringSelection.java,
779         java/awt/image/ColorModel.java:
780         New versions from classpath.
781
782 2003-06-24  Michael Koch  <konqueror@gmx.de>
783
784         * Makefile.am
785         (awt_java_source_files): Added new files:
786         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
787         javax/swing/plaf/basic/BasicSplitPaneUI.java
788         * Makefile.in: Regenerated.
789
790 2003-06-24  Michael Koch  <konqueror@gmx.de>
791
792         * javax/swing/text/JTextComponent.java:
793         New version from classpath.
794
795 2003-06-24  Michael Koch  <konqueror@gmx.de>
796
797         * javax/swing/Timer.java,
798         javax/swing/plaf/ActionMapUIResource.java,
799         javax/swing/plaf/ButtonUI.java,
800         javax/swing/plaf/ColorChooserUI.java,
801         javax/swing/plaf/ColorUIResource.java,
802         javax/swing/plaf/ComboBoxUI.java,
803         javax/swing/plaf/ComponentInputMapUIResource.java,
804         javax/swing/plaf/basic/BasicBorders.java:
805         New versions from classpath.
806         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
807         javax/swing/plaf/basic/BasicSplitPaneUI.java:
808         New file from classpath.
809         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
810         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
811         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
812         javax/swing/plaf/doc-files/ComponentUI-1.dia,
813         javax/swing/plaf/doc-files/ComponentUI-1.png:
814         New binary files from classpath.
815
816 2003-06-24  Michael Koch  <konqueror@gmx.de>
817
818         * java/io/LineNumberReader.java
819         (skip): Dont do line number accounting here as this is already done in
820         read(), simplified.
821
822 2003-06-21  Michael Koch  <konqueror@gmx.de>
823
824         * java/io/File.java
825         (static): Load javaio lib if existing (only in classpath).
826         (File): Revised documentation to show the correct argument name.
827         (createTempFile): Partly merged with classpath.
828         (compareTo): Simplified.
829         (lastModified): Throw exception if time < 0.
830         (deleteOnExit): Revised documentation.
831
832 2003-06-21  Michael Koch  <konqueror@gmx.de>
833
834         * java/net/PlainSocketImpl.java:
835         Reformatted.
836         (PlainSocketImpl): Merged class documentaion with classpath.
837         (in): Moved.
838         (out): Moved.
839         (PlainSocketImpl): New empty constructor.
840         (finalize): Moved.
841         (setOption): Merged documentation from classpath.
842         (getOption): Likewise.
843         (create): Likewise.
844         (connect): Likewise.
845         (bind): Likewise.
846         (listen): Likewise.
847         (accept): Likewise.
848         (available): Likewise.
849         (close): Likewise.
850         (read): Likewise.
851         (write): Likewise.
852         (getInputStream): Made synchronozed to get sure that only one stream
853         object can be created for this socket, merged documentation from
854         classpath.
855         (getOutputStream): Likewise.
856
857 2003-06-21  Michael Koch  <konqueror@gmx.de>
858
859         * java/net/PlainSocketImpl.java:
860         Reformatting.
861         (static): New implicit method.
862         (read): Made package private.
863         (write): Likewise.
864
865 2003-06-21  Michael Koch  <konqueror@gmx.de>
866
867         * java/util/SimpleTimeZone.java:
868         Removed unneeded import, reformatting.
869
870 2003-06-21  Michael Koch  <konqueror@gmx.de>
871
872         * java/text/DateFormat.java,
873         java/text/SimpleDateFormat.java,
874         java/util/Locale.java:
875         New versions from classpath.
876
877 2003-06-21  Michael Koch  <konqueror@gmx.de>
878
879         * javax/swing/SpinnerModel.java:
880         New file from classpath.
881         * javax/swing/border/LineBorder.java,
882         javax/swing/border/SoftBevelBorder.java,
883         javax/swing/plaf/BorderUIResource.java,
884         javax/swing/plaf/basic/BasicBorders.java:
885         New versions from classpath.
886         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
887         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
888         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
889         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
890         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
891         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
892         New binary files from classpath.
893
894 2003-06-21  Michael Koch  <konqueror@gmx.de>
895
896         * java/util/logging/LogRecord.java,
897         java/util/logging/Logger.java,
898         java/util/logging/SocketHandler.java,
899         java/util/logging/SimpleFormatter.java,
900         java/util/logging/Formatter.java,
901         java/util/logging/ErrorManager.java,
902         java/util/logging/Handler.java,
903         java/util/logging/FileHandler.java,
904         java/util/logging/LogManager.java,
905         java/util/logging/Level.java,
906         java/util/logging/ConsoleHandler.java,
907         java/util/logging/StreamHandler.java,
908         java/util/logging/LoggingPermission.java,
909         java/util/logging/Filter.java,
910         java/util/logging/MemoryHandler.java,
911         java/util/logging/XMLFormatter.java:
912         New files from classpath.
913
914 2003-06-20  Michael Koch  <konqueror@gmx.de>
915
916         * java/io/ObjectStreamField.java
917         (unshared): new member variable.
918         (ObjectStreamField): New constructor.
919         (isUnshared): New method.
920
921 2003-06-20  Michael Koch  <konqueror@gmx.de>
922
923         * java/net/URLStreamHandler.java
924         (hostsEqual): Rewritten.
925
926 2003-06-20  Michael Koch  <konqueror@gmx.de>
927
928         * gnu/java/nio/MappedByteFileBuffer.java,
929         gnu/java/nio/natMappedByteFileBuffer.cc:
930         Removed
931         * java/nio/MappedByteBufferImpl.java:
932         New file.
933         * gnu/java/nio/FileChannelImpl.java:
934         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
935         * Makefile.am
936         (ordinary_java_source_files): Removed
937         gnu/java/nio/MappedByteFileBuffer.java and added
938         java/nio/MappedByteBufferImpl.java.
939         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
940         * Makefile.in: Regenerated.
941
942 2003-06-19  Michael Koch  <konqueror@gmx.de>
943
944         * gnu/java/nio/DatagramChannelImpl.java
945         (fd): Removed.
946         (blocking): New member variable.
947         (socket): Likewise.
948         (DatagramChannelImpl): Throws IOException, initialize socket.
949         (socket):Implemented.
950         (implCloseSelectableChannel): Throws IOException, implemented.
951         (implConfigureBlocking): Likewise.
952         (connect): Likewise.
953         (disconnect): Likewise.
954         (isConnected): Likewise.
955         (write): Likewise.
956         (read): Likewise.
957         (receive): Throws IOException.
958         (send): Likewise.
959         * gnu/java/nio/SocketChannelImpl.java
960         (read): Implemented.
961         (write): Implemented.
962
963 2003-06-19  Michael Koch  <konqueror@gmx.de>
964
965         * javax/swing/JComponent.java,
966         javax/swing/JInternalFrame.java,
967         javax/swing/MenuSelectionManager.java,
968         javax/swing/SwingUtilities.java,
969         javax/swing/ToggleButtonModel.java:
970         New versions from classpath.
971
972 2003-06-19  Michael Koch  <konqueror@gmx.de>
973
974         * java/text/CollationElementIterator.java
975         (NULLORDER): Initialize with -1 as JDK documentation says.
976
977 2003-06-19  Michael Koch  <konqueror@gmx.de>
978
979         * java/net/HttpURLConnection.java,
980         java/net/Inet4Address.java,
981         java/net/Inet6Address.java,
982         java/net/SocketImpl.java,
983         java/net/URLClassLoader.java:
984         Reworked import statements.
985         * java/net/InetAddress.java
986         (getByAddress): Simplified.
987         * java/net/ServerSocket.java
988         (ServerSocket): Moved special handling during bind operation to
989         bind().
990         (bind): Handle different cases when trying to bind a socket.
991         * java/net/URLConnection.java
992         (getHeaderFieldDate): Merged with classpath.
993         (getHeaderFieldInt): Likewise.
994
995 2003-06-19  Michael Koch  <konqueror@gmx.de>
996
997         * java/util/zip/InflaterInputStream.java
998         (InflaterInputStream): Throw NullPointerException if in is null (as
999         JDK does).
1000
1001 2003-06-19  Michael Koch  <konqueror@gmx.de>
1002
1003         * java/awt/Font.java
1004         javax/swing/UIManager.java
1005         javax/swing/border/AbstractBorder.java
1006         javax/swing/border/BevelBorder.java
1007         javax/swing/border/Border.java
1008         javax/swing/border/CompoundBorder.java
1009         javax/swing/border/EmptyBorder.java
1010         javax/swing/border/EtchedBorder.java
1011         javax/swing/border/LineBorder.java
1012         javax/swing/border/MatteBorder.java
1013         javax/swing/border/TitledBorder.java
1014         javax/swing/plaf/BorderUIResource.java
1015         javax/swing/plaf/basic/BasicBorders.java
1016         javax/swing/plaf/basic/BasicButtonUI.java
1017         javax/swing/plaf/basic/BasicCheckBoxUI.java
1018         javax/swing/plaf/basic/BasicGraphicsUtils.java
1019         javax/swing/plaf/basic/BasicLabelUI.java
1020         javax/swing/plaf/basic/BasicRadioButtonUI.java
1021         javax/swing/plaf/basic/BasicToggleButtonUI.java:
1022         New versions from classpath.
1023         * javax/swing/border/SoftBevelBorder.java:
1024         New file from classpath.
1025         * javax/swing/border/doc-files/LineBorder-1.png,
1026         javax/swing/border/doc-files/BevelBorder-1.png,
1027         javax/swing/border/doc-files/BevelBorder-2.png,
1028         javax/swing/border/doc-files/BevelBorder-3.png,
1029         javax/swing/border/doc-files/EmptyBorder-1.png,
1030         javax/swing/border/doc-files/EtchedBorder-1.png,
1031         javax/swing/border/doc-files/EtchedBorder-2.png,
1032         javax/swing/border/doc-files/MatteBorder-1.png,
1033         javax/swing/border/doc-files/MatteBorder-2.png,
1034         javax/swing/border/doc-files/MatteBorder-3.png,
1035         javax/swing/border/doc-files/MatteBorder-4.png,
1036         javax/swing/border/doc-files/MatteBorder-5.png,
1037         javax/swing/border/doc-files/MatteBorder-6.png,
1038         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1039         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1040         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1041         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1042         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1043         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1044         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1045         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1046         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1047         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1048         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1049         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1050         New binary files from classpath.
1051         * Makefile.am
1052         (awt_java_source_files): Added
1053         javax/swing/border/SoftBevelBorder.java.
1054         * Makefile.in: Regenerated.
1055
1056 2003-06-19  Michael Koch  <konqueror@gmx.de>
1057
1058         * gnu/java/security/x509/X509Certificate.java
1059         (writeReplace): Merged from classpath.
1060
1061 2003-06-19  Michael Koch  <konqueror@gmx.de>
1062
1063         * gnu/java/nio/FileChannelImpl.java
1064         (map_address): Made public.
1065         (FileChannelImpl): Merged with classpath.
1066         * gnu/java/nio/natFileChannelImpl.cc
1067         (nio_mmap_file): Commented out unused arguments.
1068         (nio_unmmap_file): Likewise.
1069         (niu_msync): Likewise.
1070
1071 2003-06-19  Michael Koch  <konqueror@gmx.de>
1072
1073         * java/awt/image/IndexColorModel.java:
1074         New version from classpath.
1075
1076 2003-06-18  Tom Tromey  <tromey@redhat.com>
1077
1078         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1079         on arrays.
1080         (isLoopbackAddress): Likewise.
1081         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1082         on arrays.
1083
1084 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
1085
1086         * java/lang/natVMSecurityManager.cc (getClassContext):
1087         Use maxlen instead of len for loop bound.
1088
1089 2003-06-18  Michael Koch  <konqueror@gmx.de>
1090
1091         * gnu/java/nio/SelectorImpl.java
1092         (register): Use fd with value 0 for now, will be fixed later.
1093         * gnu/java/nio/ServerSocketChannelImpl.java
1094         (fd): Removed.
1095         (local_port): Removed.
1096         (InetSocketAddress): Removed.
1097         (ServerSocketChannelImpl): Just initialize internal socket object.
1098         (implCloseSelectableChannel): Close internal socket object.
1099         (implConfigureBlocking): Added comment.
1100         (accept): Use jaba.net stuff to accept socket.
1101         * gnu/java/nio/SocketChannelImpl.java
1102         (fd): Removed.
1103         (local_port): Removed.
1104         (InetSocketAddress): Removed.
1105         (SocketCreate): Removed.
1106         (SocketConnect): Removed.
1107         (SocketBind): Removed.
1108         (SocketListen): Removed.
1109         (SocketAvailable): Removed.
1110         (SocketClose): Removed.
1111         (SocketRead): Removed.
1112         (SocketWrite): Removed.
1113         (SocketChannelImpl): Just initialize internal socket object.
1114         (implCloseSelectableChannel): Close internal socket object.
1115         (implConfigureBlocking): Fixed implementation, added comment.
1116         (connect): Use internal socket object to connect.
1117         (socket): No need for sanity checks.
1118         (read): Comment out some stuff, this will be reimplemented in the next
1119         commit.
1120         (write): Likewise.
1121         * gnu/java/nio/natFileChannelImpl.cc
1122         (nio_mmap_file): Line wrapped.
1123         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1124         * Makefile.am
1125         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1126         * Makefile.in: Regenerated.
1127
1128 2003-06-18  Michael Koch  <konqueror@gmx.de>
1129
1130         * java/util/Locale.java
1131         (equals): Merged from classpath.
1132
1133 2003-06-18  Michael Koch  <konqueror@gmx.de>
1134
1135         * java/net/InetAddress.java:
1136         Reformatted to better match classpath's version.
1137         * java/net/URL.java
1138         (equals): Simplified.
1139         * java/net/URLConnection.java
1140         (setDoInput): Revised documentation.
1141         (getDefaultUseCaches): Likewise.
1142         (setRequestProperty): Added @since tag.
1143
1144 2003-06-17  Michael Koch  <konqueror@gmx.de>
1145
1146         * java/net/InetSocketAddress.java
1147         (InetSocketAddress): Use wildcard address if addr is null.
1148         (InetSocketAddress): Dont duplicate implementation.
1149         (InetSocketAddress): Throw exception when hostname is null.
1150         * java/net/Socket.java:
1151         Reworked imports.
1152         (Socket): Throw exception when raddr is null, handle case when laddr
1153         is null.
1154
1155 2003-06-17  Michael Koch  <konqueror@gmx.de>
1156
1157         * java/nio/DirectByteBufferImpl.java
1158         (address): Made package private.
1159         (DirectByteBufferImpl): New constructor.
1160         * java/nio/natDirectByteBufferImpl.cc
1161         (allocateImpl): Moved to java.nio namespace, implemented.
1162         (freeImpl): Likewise.
1163         (getImpl): Likewise.
1164         (putImpl): Likewise.
1165         * jni.cc
1166         (_Jv_JNI_NewDirectByteBuffer): Implemented.
1167         (_Jv_JNI_GetDirectBufferAddress): Implemented.
1168         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1169
1170 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1171
1172         * include/powerpc-signal.h: New File.
1173         * configure.in: Use it.
1174         * configure: Regenerated.
1175
1176 2003-06-17  Michael Koch  <konqueror@gmx.de>
1177
1178         * java/util/Locale.java
1179         (getDisplayLanguage): Made it final.
1180         (getDisplayCountry): Likewise.
1181         (getDisplayVariant): Likewise.
1182         (getDisplayName): Likewise.
1183
1184 2003-06-17  Michael Koch  <konqueror@gmx.de>
1185
1186         * java/util/PropertyResourceBundle.java:
1187         Removed unneeded import.
1188
1189 2003-06-17  Michael Koch  <konqueror@gmx.de>
1190
1191         * java/util/prefs/AbstractPreferences.java,
1192         java/util/prefs/PreferencesFactory.java:
1193         Reworked imports, removed unused imports.
1194         * java/util/prefs/Preferences.java
1195         (systemNodeForPackage): Method takes a Class not an Object.
1196         (userNodeForPackage): Likewise.
1197         (nodeForPackage): Likewise.
1198
1199 2003-06-17  Michael Koch  <konqueror@gmx.de>
1200
1201         * gnu/java/security/x509/X509Certificate.java:
1202         Explicitely import used classes.
1203
1204 2003-06-17  Michael Koch  <konqueror@gmx.de>
1205
1206         * java/util/zip/ZipEntry.java,
1207         java/util/zip/ZipFile.java,
1208         java/util/zip/ZipInputStream.java,
1209         java/util/zip/ZipOutputStream.java:
1210         Reworked imports, only import used classes.
1211
1212 2003-06-17  Michael Koch  <konqueror@gmx.de>
1213
1214         * gnu/java/lang/ArrayHelper.java,
1215         gnu/java/lang/ClassHelper.java:
1216         Reformatted to match classpath's versions.
1217
1218 2003-06-14  Michael Koch  <konqueror@gmx.de>
1219
1220         * gnu/java/nio/FileChannelImpl.java
1221         (map_address): Removed incorrect comment.        
1222         * gnu/java/nio/SelectorImpl.java
1223         (register): Remove code duplication and code for file channel handling.        
1224         * gnu/java/nio/ServerSocketChannelImpl.java
1225         (serverSocket): Renamed from sock_object.
1226         (ServerSocketChannel): Initialize serverSocket.
1227         (socket): Return serverSocket.
1228         * gnu/java/nio/SocketChannelImpl.java
1229         (socket): Renamed from sock_object.
1230         (isConnectionPenging): Simplified.
1231         (socket): Return socket.
1232 2003-06-14  Michael Koch  <konqueror@gmx.de>
1233
1234         * java/security/BasicPermission.java:
1235         New version from classpath.
1236
1237 2003-06-14  Michael Koch  <konqueror@gmx.de>
1238
1239         * javax/naming/directory/Attribute.java:
1240         New version from classpath.
1241
1242 2003-06-14  Michael Koch  <konqueror@gmx.de>
1243
1244         * java/io/BufferedReader.java,
1245         java/io/FileOutputStream.java:
1246         New versions from classpath.
1247
1248 2003-06-12  Andrew Haley  <aph@redhat.com>
1249
1250         * prims.cc (catch_segv): Create exception in handler.
1251         (catch_fpe): Likewise.  
1252         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1253         (_Jv_ThrowSignal): Remove.
1254
1255         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1256         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1257         to nullp and arithexception.
1258         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1259         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1260         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1261         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1262         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1263
1264 2003-06-11  Andrew Haley  <aph@redhat.com>
1265
1266         * jni.cc (_Jv_JNI_check_types): New.
1267         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1268         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1269         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1270         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1271         
1272         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1273         infinite loop.
1274
1275 2003-06-11  Tom Tromey  <tromey@redhat.com>
1276
1277         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1278         * java/io/PrintStream.java: Not deprecated.
1279
1280 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1281
1282         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1283         (fillOval): implemented
1284         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1285         (fillArc): implemented.
1286         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1287         (fillArc): added native method.
1288         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1289         (fillArc): added native method.
1290
1291 2003-06-11  Michael Koch  <konqueror@gmx.de>
1292
1293         * java/awt/im/InputSubset.java:
1294         New version from classpath.
1295
1296 2003-06-11  Michael Koch  <konqueror@gmx.de>
1297
1298         * javax/swing/AbstractAction.java,
1299         javax/swing/AbstractButton.java,
1300         javax/swing/AbstractCellEditor.java,
1301         javax/swing/AbstractListModel.java,
1302         javax/swing/BorderFactory.java,
1303         javax/swing/Box.java,
1304         javax/swing/BoxLayout.java,
1305         javax/swing/ButtonGroup.java,
1306         javax/swing/DefaultButtonModel.java,
1307         javax/swing/DefaultListModel.java,
1308         javax/swing/DefaultListSelectionModel.java,
1309         javax/swing/FocusManager.java,
1310         javax/swing/ImageIcon.java,
1311         javax/swing/InputMap.java,
1312         javax/swing/JApplet.java,
1313         javax/swing/JButton.java,
1314         javax/swing/JCheckBox.java,
1315         javax/swing/JCheckBoxMenuItem.java,
1316         javax/swing/JColorChooser.java,
1317         javax/swing/JComboBox.java,
1318         javax/swing/JComponent.java,
1319         javax/swing/JDesktopPane.java,
1320         javax/swing/JDialog.java,
1321         javax/swing/JEditorPane.java,
1322         javax/swing/JFileChooser.java,
1323         javax/swing/JFormattedTextField.java,
1324         javax/swing/JFrame.java,
1325         javax/swing/JLabel.java,
1326         javax/swing/JLayeredPane.java,
1327         javax/swing/JList.java,
1328         javax/swing/JMenuBar.java,
1329         javax/swing/JMenuItem.java,
1330         javax/swing/JOptionPane.java,
1331         javax/swing/JPanel.java,
1332         javax/swing/JPasswordField.java,
1333         javax/swing/JPopupMenu.java,
1334         javax/swing/JProgressBar.java,
1335         javax/swing/JRadioButton.java,
1336         javax/swing/JRadioButtonMenuItem.java,
1337         javax/swing/JRootPane.java,
1338         javax/swing/JScrollBar.java,
1339         javax/swing/JScrollPane.java,
1340         javax/swing/JSeparator.java,
1341         javax/swing/JSlider.java,
1342         javax/swing/JTabbedPane.java,
1343         javax/swing/JTable.java,
1344         javax/swing/JTextField.java,
1345         javax/swing/JToggleButton.java,
1346         javax/swing/JToolBar.java,
1347         javax/swing/JToolTip.java,
1348         javax/swing/JTree.java,
1349         javax/swing/JViewport.java,
1350         javax/swing/JWindow.java,
1351         javax/swing/KeyStroke.java,
1352         javax/swing/ListSelectionModel.java,
1353         javax/swing/LookAndFeel.java,
1354         javax/swing/RepaintManager.java,
1355         javax/swing/ScrollPaneLayout.java,
1356         javax/swing/SizeRequirements.java,
1357         javax/swing/SwingConstants.java,
1358         javax/swing/Timer.java,
1359         javax/swing/UIDefaults.java,
1360         javax/swing/UIManager.java,
1361         javax/swing/border/AbstractBorder.java,
1362         javax/swing/border/CompoundBorder.java,
1363         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1364         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1365         javax/swing/colorchooser/ColorSelectionModel.java,
1366         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1367         javax/swing/event/AncestorEvent.java,
1368         javax/swing/event/HyperlinkEvent.java,
1369         javax/swing/event/InternalFrameAdapter.java,
1370         javax/swing/event/InternalFrameEvent.java,
1371         javax/swing/event/ListDataEvent.java,
1372         javax/swing/event/MouseInputAdapter.java,
1373         javax/swing/event/SwingPropertyChangeSupport.java,
1374         javax/swing/event/TableModelEvent.java,
1375         javax/swing/event/TreeWillExpandListener.java,
1376         javax/swing/event/UndoableEditEvent.java,
1377         javax/swing/filechooser/FileFilter.java,
1378         javax/swing/filechooser/FileSystemView.java,
1379         javax/swing/filechooser/FileView.java,
1380         javax/swing/plaf/BorderUIResource.java,
1381         javax/swing/plaf/basic/BasicDefaults.java,
1382         javax/swing/table/AbstractTableModel.java,
1383         javax/swing/table/DefaultTableCellRenderer.java,
1384         javax/swing/table/DefaultTableColumnModel.java,
1385         javax/swing/table/DefaultTableModel.java,
1386         javax/swing/table/TableColumn.java,
1387         javax/swing/text/JTextComponent.java,
1388         javax/swing/tree/AbstractLayoutCache.java,
1389         javax/swing/tree/DefaultMutableTreeNode.java,
1390         javax/swing/tree/DefaultTreeCellEditor.java,
1391         javax/swing/tree/DefaultTreeCellRenderer.java,
1392         javax/swing/tree/DefaultTreeModel.java,
1393         javax/swing/tree/DefaultTreeSelectionModel.java,
1394         javax/swing/tree/FixedHeightLayoutCache.java,
1395         javax/swing/tree/TreeCellEditor.java,
1396         javax/swing/tree/TreeModel.java,
1397         javax/swing/tree/TreeNode.java,
1398         javax/swing/tree/TreePath.java,
1399         javax/swing/tree/TreeSelectionModel.java,
1400         javax/swing/tree/VariableHeightLayoutCache.java,
1401         javax/swing/undo/AbstractUndoableEdit.java,
1402         javax/swing/undo/CompoundEdit.java,
1403         javax/swing/undo/StateEdit.java,
1404         javax/swing/undo/UndoManager.java,
1405         javax/swing/undo/UndoableEditSupport.java:
1406         New versions from classpath.
1407         * javax/swing/table/JTableHeader.java:
1408         New file from classpath.
1409         * Makefile.am
1410         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1411         * Makefile.in: Regenerated.
1412
1413 2003-06-11  Michael Koch  <konqueror@gmx.de>
1414
1415         * java/nio/MappedByteBuffer.java,
1416         java/nio/channels/Channels.java,
1417         java/nio/channels/ServerSocketChannel.java,
1418         java/nio/channels/spi/AbstractSelector.java:
1419         Removed unneeded imports.
1420
1421 2003-06-11  Michael Koch  <konqueror@gmx.de>
1422
1423         * java/net/DatagramSocket.java:
1424         Partly merged with classpath.
1425
1426 2003-06-11  Michael Koch  <konqueror@gmx.de>
1427
1428         * java/awt/Frame.java,
1429         java/awt/Graphics.java,
1430         java/awt/Menu.java,
1431         java/awt/Robot.java,
1432         java/awt/image/ColorModel.java:
1433         New versions from classpath.
1434
1435 2003-06-10  Michael Koch  <konqueror@gmx.de>
1436
1437         * java/io/PrintStream.java:
1438         Merged version from classpath.
1439         (close): Removed sychronized keyword. This class is not garantied to
1440         be thread-safe.
1441         (write): Likewise.
1442
1443 2003-06-09  Tom Tromey  <tromey@redhat.com>
1444
1445         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1446         field.
1447         (getDescent): Likewise, for "descent".
1448
1449 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1450
1451         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1452         (getMaxDescent): adjusted return value.
1453         (getAscent): modified to use metrics for 'O'.
1454         (getDescent): modified to use metrics for 'y'.
1455
1456 2003-06-08  Anthony Green  <green@redhat.com>
1457
1458         * java/net/URLStreamHandler.java (sameFile): Fix port value
1459         comparison.
1460         * java/net/URL.java (handler): Make package private.
1461         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1462
1463 2003-06-07  Tom Tromey  <tromey@redhat.com>
1464
1465         For PR libgcj/11085:
1466         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1467         Limit number of characters in numeric field when required.
1468         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1469         Respect maximumIntegerDigits.
1470
1471 2003-06-08  Michael Koch  <konqueror@gmx.de>
1472
1473         * java/net/Socket.java
1474         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1475         call bind() and connect() to actually do the bind and connect tasks.
1476         (bind): Connect to canonical address if bindpoint is null, create
1477         socket and bind it to bindpoint.
1478         (connect): Check for exceptions.
1479
1480 2003-06-08  Michael Koch  <konqueror@gmx.de>
1481
1482         * java/net/DatagramSocket.java
1483         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1484         into the Multicast constructors.
1485         * java/net/DatagramSocketImpl.java
1486         (getOption): Removed.
1487         (setOption): Removed.
1488         * java/net/MulticastSocket.java
1489         (MulticastSocket): Call setReuseAddress (true).
1490         * java/net/SocketImpl.java
1491         (getOption): Removed.
1492         (setOption): Removed.
1493
1494 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1495
1496         PR libgcj/10886:
1497         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1498         Test for empty vector.
1499
1500 2003-06-06  Mark Wielaard  <mark@klomp.org>
1501
1502         * java/security/Security.java (secprops): Initialize.
1503         (loadProviders): Return boolean.
1504         (static): Check result of loadProvider calls. If necessary
1505         display WARNING and fallback to Gnu provider.
1506
1507 2002-06-06  James Clark  <jjc@jclark.com>
1508
1509         Fix for PR libgcj/8738:
1510         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1511         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1512         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1513         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1514         (write): Always decrease avail when count is increased.
1515         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1516         and whether output buffer is full before increasing size.
1517
1518 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1519
1520         * java/io/PrintStream.java (writeChars(char[],int, int)):
1521         Check converter.havePendingBytes().
1522         (writeChars(String,int,int)): Likewise.
1523         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1524         Check converter.havePendingBytes() and flush buffer when stalled.
1525
1526 2003-06-07  Michael Koch  <konqueror@gmx.de>
1527
1528         * include/posix.h
1529         (O_DSYNC): Define O_DSYNC on platforms not
1530         supporting O_FSYNC (newlib).
1531
1532 2003-06-06  Mark Wielaard  <mark@klomp.org>
1533
1534         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1535         AWTError.
1536
1537 2003-06-06  Michael Koch  <konqueror@gmx.de>
1538
1539         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1540         More compile fixes from my stupid work yesterday.
1541
1542 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1543
1544         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1545         if _IEEE_LIBM is undefined.
1546
1547 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1548
1549         * libjava/include/posix.h (O_SYNC): Define if not available
1550         and a reasonable, perhaps more conservative, replacement exists.
1551         (O_DSYNC): Likewise.
1552         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1553
1554 2003-06-05  Michael Koch  <konqueror@gmx.de>
1555
1556         * javax/swing/plaf/BorderUIResource.java,
1557         javax/swing/plaf/basic/BasicDefaults.java,
1558         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1559         More compile fixes for latest Border commit. I should not commit
1560         something in this heat here ...
1561
1562 2003-06-05  Michael Koch  <konqueror@gmx.de>
1563
1564         * javax/swing/border/BevelBorder.java
1565         (BevelBorder): Removed.
1566         * javax/swing/border/EmptyBorder.java:
1567         Reformatted.
1568         (EmptyBorder): Removed.
1569         (getBorderInsets): Dont use l, r, t and b.
1570         * javax/swing/border/EtchedBorder.java
1571         (EtchedBorder): Removed.
1572         * javax/swing/border/LineBorder.java
1573         (LineBorder): Removed.
1574         * javax/swing/border/MatteBorder.java
1575         (MatteBorder): Removed.
1576         * javax/swing/border/TitledBorder.java
1577         (defaultBorder): Use other default for now.
1578         (defaultFont): Likewise.
1579         (defaultColor): Likewise.
1580
1581 2003-06-05  Michael Koch  <konqueror@gmx.de>
1582
1583         * javax/swing/border/Border.java:
1584         New version from classpath.
1585
1586 2003-06-05  Michael Koch  <konqueror@gmx.de>
1587
1588         * javax/swing/border/AbstractBorder.java,
1589         javax/swing/border/BevelBorder.java,
1590         javax/swing/border/CompoundBorder.java,
1591         javax/swing/border/EmptyBorder.java,
1592         javax/swing/border/EtchedBorder.java,
1593         javax/swing/border/LineBorder.java,
1594         javax/swing/border/MatteBorder.java,
1595         javax/swing/border/TitledBorder.java:
1596         New versions from Classpath.
1597
1598 2003-06-05  Michael Koch  <konqueror@gmx.de>
1599
1600         * java/awt/Button.java,
1601         java/awt/Checkbox.java,
1602         java/awt/CheckboxMenuItem.java,
1603         java/awt/Choice.java,
1604         java/awt/Container.java,
1605         java/awt/Dialog.java,
1606         java/awt/EventQueue.java,
1607         java/awt/FileDialog.java,
1608         java/awt/Frame.java,
1609         java/awt/Label.java,
1610         java/awt/List.java,
1611         java/awt/Menu.java,
1612         java/awt/MenuItem.java,
1613         java/awt/Panel.java,
1614         java/awt/PopupMenu.java,
1615         java/awt/Rectangle.java,
1616         java/awt/ScrollPane.java,
1617         java/awt/Scrollbar.java,
1618         java/awt/TextArea.java,
1619         java/awt/TextField.java,
1620         java/awt/Window.java,
1621         java/awt/datatransfer/DataFlavor.java,
1622         java/awt/dnd/DragSource.java,
1623         java/awt/dnd/DragSourceContext.java,
1624         java/awt/event/HierarchyEvent.java,
1625         java/awt/event/MouseWheelEvent.java,
1626         java/awt/im/InputContext.java,
1627         java/awt/image/BufferedImage.java,
1628         java/awt/image/ComponentColorModel.java,
1629         java/awt/image/Raster.java,
1630         java/awt/image/WritableRaster.java,
1631         java/awt/peer/ComponentPeer.java,
1632         java/awt/print/PageFormat.java,
1633         java/awt/print/PrinterJob.java:
1634         New versions from Classpath.
1635
1636 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1637
1638         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1639         numberFormat.setParseIntegerOnly(true).
1640
1641 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1642
1643         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1644
1645 2003-06-03  Andrew Haley  <aph@redhat.com>
1646
1647         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1648         stack volatile to prevent optimization from removing it.
1649
1650 2003-05-27  Michael Koch  <konqueror@gmx.de>
1651
1652         * java/util/zip/Deflater.java
1653         (FILTERED): Merged documentation from classpath.
1654         * java/util/zip/DeflaterOutputStream.java
1655         (DeflaterOutputStream): Merged documentation and argument validity
1656         check from classpath.
1657         (deflate): Merged documentation from classpath.
1658         (finish): Likewise.
1659         * java/util/zip/Inflater.java
1660         (Inflater): Merged class documentation from classpath.
1661         (zstream): Reordered.
1662         (is_finished): Reordered.
1663         (dict_needed): Reordered.
1664         (Inflater): Reordered, merged documentation from classpath.
1665         (end): Likewise.
1666         (finalize): Merged documentation from classpath.
1667         (finished): Likewise.
1668         (getAdler): Likewise.
1669         (getRemaining): Likewise.
1670         (getTotalIn): Likewise.
1671         (getTotalOut): Likewise.
1672         (inflate): Likewise.
1673         (needsDictionary): Likewise.
1674         (needsInput): Likewise.
1675         (reset): Likewise.
1676         (setDictionary): Likewise.
1677         (setInput): Likewise.
1678
1679 2003-05-27  Michael Koch  <konqueror@gmx.de>
1680
1681         * java/net/URLConnection.java
1682         (getHeaderFieldInt): Merged with classpath.
1683
1684 2003-05-27  Michael Koch  <konqueror@gmx.de>
1685
1686         * java/io/PrintStream.java
1687         (PrintStream): Reformatted.
1688         (PrintStream): New method, merged from classpath.
1689         (write): Reformatted.
1690
1691 2003-05-27  Michael Koch  <konqueror@gmx.de>
1692
1693         * java/lang/System.java:
1694         Explicitely import needed classes.
1695
1696 2003-05-26  Michael Koch  <konqueror@gmx.de>
1697
1698         * java/net/NetPermission.java,
1699         java/net/NetworkInterface.java,
1700         java/net/PasswordAuthentication.java,
1701         java/net/SocketPermission.java:
1702         New versions from classpath.
1703
1704 2003-05-25  Michael Koch  <konqueror@gmx.de>
1705
1706         * java/io/PushbackInputStream.java,
1707         java/net/Authenticator.java,
1708         java/net/ContentHandler.java,
1709         java/net/ContentHandlerFactory.java,
1710         java/net/DatagramSocket.java,
1711         java/net/DatagramSocketImpl.java,
1712         java/net/DatagramSocketImplFactory.java,
1713         java/net/FileNameMap.java,
1714         java/net/SocketImplFactory.java,
1715         java/net/SocketOptions.java,
1716         java/net/URLStreamHandlerFactory.java:
1717         Merged new versions from classpath.
1718
1719 2003-05-25  Michael Koch  <konqueror@gmx.de>
1720
1721         * java/awt/Checkbox.java,
1722         java/awt/Dialog.java,
1723         java/awt/Font.java,
1724         java/awt/Frame.java,
1725         java/awt/ScrollPaneAdjustable.java,
1726         java/awt/Scrollbar.java,
1727         java/awt/Window.java:
1728         New versions from classpath.
1729
1730 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1731
1732         PR libgcj/10838:
1733         * java/io/ObjectInputStream (enableResolveObject):
1734         Fixed spelling of permission name.
1735
1736 2003-05-20  Michael Koch  <konqueror@gmx.de>
1737
1738         * java/io/DataInputStream.java
1739         (convertFromUTF): Merged comment from classpath.
1740         * java/io/PrintStream.java
1741         (error_occured): Renamed from error, merged comment from classpath.
1742         (PrintStream): No need to initialized error.
1743         (checkError): Replace error with error_occurred.
1744         (setError): Likewise.
1745
1746 2003-05-20  Michael Koch  <konqueror@gmx.de>
1747
1748         * java/io/DataInputStream.java:
1749         Reformatted, Replaced < and & with html entitites in documentation.
1750         * java/io/File.java:
1751         Reformatted.
1752         * java/io/PrintWriter.java:
1753         Moved class documentation.
1754
1755 2003-05-20  Michael Koch  <konqueror@gmx.de>
1756
1757         * gnu/java/nio/ByteBufferImpl.java,
1758         gnu/java/nio/CharBufferImpl.java,
1759         gnu/java/nio/CharViewBufferImpl.java,
1760         gnu/java/nio/DirectByteBufferImpl.java,
1761         gnu/java/nio/DoubleBufferImpl.java,
1762         gnu/java/nio/DoubleViewBufferImpl.java,
1763         gnu/java/nio/FloatBufferImpl.java,
1764         gnu/java/nio/FloatViewBufferImpl.java,
1765         gnu/java/nio/IntBufferImpl.java,
1766         gnu/java/nio/IntViewBufferImpl.java,
1767         gnu/java/nio/LongBufferImpl.java,
1768         gnu/java/nio/LongViewBufferImpl.java,
1769         gnu/java/nio/natDirectByteBufferImpl.cc,
1770         gnu/java/nio/ShortBufferImpl.java,
1771         gnu/java/nio/ShortViewBufferImpl.java:
1772         Moved files to java/nio.
1773         * gnu/java/nio/SocketChannelImpl.java
1774         
1775         * java/nio/ByteBuffer.java,
1776         java/nio/CharBuffer.java,
1777         java/nio/DoubleBuffer.java,
1778         java/nio/FloatBuffer.java,
1779         java/nio/IntBuffer.java,
1780         java/nio/LongBuffer.java,
1781         java/nio/ShortBuffer.java:
1782         Dont import anything.
1783         * java/nio/ByteBufferImpl.java,
1784         java/nio/CharBufferImpl.java,
1785         java/nio/CharViewBufferImpl.java,
1786         java/nio/DirectByteBufferImpl.java,
1787         java/nio/DoubleBufferImpl.java,
1788         java/nio/DoubleViewBufferImpl.java,
1789         java/nio/FloatBufferImpl.java,
1790         java/nio/FloatViewBufferImpl.java,
1791         java/nio/IntBufferImpl.java,
1792         java/nio/IntViewBufferImpl.java,
1793         java/nio/LongBufferImpl.java,
1794         java/nio/LongViewBufferImpl.java,
1795         java/nio/natDirectByteBufferImpl.cc,
1796         java/nio/ShortBufferImpl.java,
1797         java/nio/ShortViewBufferImpl.java:
1798         Moved from gnu/java/nio.
1799         * Makefile.am
1800         (ordinary_java_source_files): Moved files from gnu/java/nio to
1801         java/nio.
1802         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1803         to java/nio.
1804         * Makefile.in: Regenerated.
1805
1806 2003-05-19  Michael Koch  <konqueror@gmx.de>
1807
1808         * java/util/Calendar.java
1809         (get): Not final anymore since JDK 1.4
1810         (set): Likewise.
1811
1812 2003-05-19  Michael Koch  <konqueror@gmx.de>
1813
1814         * java/text/CollationKey.java:
1815         Merged copyright and dat from classpath.
1816         * java/text/RuleBasedCollator.java:
1817         Merged class documentation from classpath.
1818
1819 2003-05-19  Michael Koch  <konqueror@gmx.de>
1820
1821         * java/nio/CharBuffer.java
1822         (toString): Compile fix.
1823
1824 2003-05-19  Michael Koch  <konqueror@gmx.de>
1825
1826         * gnu/java/nio/ByteBufferImpl.java
1827         (putLong): Fixed conversion to bytes.
1828         (putDouble): Fixed conversion to bytes.
1829         * gnu/java/nio/DirectByteBufferImpl.java
1830         (putLong): Fixed conversion to bytes.
1831         (putDouble): Fixed conversion to bytes.
1832         * gnu/java/nio/FileLockImpl.java
1833         (isValid): Reformatted.
1834         * java/nio/Buffer.java
1835         (Buffer): Fixed off-by-one bug in handling mark.
1836         * java/nio/ByteBuffer.java:
1837         Added newline.
1838         * java/nio/CharBuffer.java
1839         (toString): Don't use relative get to get string data.
1840
1841 2003-05-16  Michael Koch  <konqueror@gmx.de>
1842
1843         * java/io/natFileDescriptorPosix.cc
1844         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1845         tested.
1846
1847 2003-05-14  Michael Koch  <konqueror@gmx.de>
1848
1849         * gnu/java/nio/FileLockImpl.java
1850         (released): New member variable.
1851         (FileLockImpl): Initialize released.
1852         (releaseImpl): New native method.
1853         (release): Implemented.
1854         * gnu/java/nio/SelectorImpl.java: Reformatted.
1855         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1856         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1857         (accept): Throws IOException.
1858         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1859         (implConfigureBlocking): Throws IOException.
1860         (connect): Likewise.
1861         (read): Likewise.
1862         (write): Likewise.
1863         * gnu/java/nio/natFileLockImpl.cc: New file.
1864         * java/nio/channels/FileLock.java: Reformatted.
1865         * Makefile.am:
1866         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1867         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1868         * Makefile.in: Regenerated.
1869
1870 2003-05-13  Michael Koch  <konqueror@gmx.de>
1871
1872         * gnu/java/nio/CharViewBufferImpl.java
1873         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1874         (get): Shift bits to the right direction.
1875         (put): Likewise.
1876         * gnu/java/nio/DoubleViewBufferImpl.java
1877         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1878         (get): Shift bits to the right direction.
1879         (put): Likewise.
1880         * gnu/java/nio/FloatViewBufferImpl.java
1881         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1882         (get): Shift bits to the right direction.
1883         (put): Likewise.
1884         * gnu/java/nio/IntViewBufferImpl.java
1885         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1886         (get): Shift bits to the right direction.
1887         (put): Likewise.
1888         * gnu/java/nio/LongViewBufferImpl.java
1889         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1890         (get): Shift bits to the right direction.
1891         (put): Likewise.
1892         * gnu/java/nio/ShortViewBufferImpl.java
1893         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1894         (get): Shift bits to the right direction.
1895         (put): Likewise.
1896
1897 2003-05-13  Michael Koch  <konqueror@gmx.de>
1898
1899         * gnu/java/nio/natDirectByteBufferImpl.cc
1900         (allocateImpl): jlong -> RawData*.
1901         (freeImpl): Likewise.
1902
1903 2003-05-13  Michael Koch  <konqueror@gmx.de>
1904
1905         * java/nio/channels/FileChannel.java
1906         (MapMode.m): Made it package-private to match JDK 1.4.
1907         * java/nio/charset/Charset.java
1908         (decode): Made it final to match JDK 1.4.
1909
1910 2003-05-13  Michael Koch  <konqueror@gmx.de>
1911
1912        * java/io/FileDescriptor.java
1913        (SYNC): New constant.
1914        (DSYNC): Likewise.
1915        (getLength): Renamed from lenght() to match classpath's
1916        FileDescriptor.java.
1917        * java/io/RandomAccessFile.java
1918        (RandomAccessFile): Removed unneeded mode check, implemented mode
1919        "rws" and "rwd", merged documentation from classpath.
1920        (setLength): Reformatted.
1921        (length): Use new getLength() of FileDescriptor.
1922        * java/io/natFileDescriptorEcos.cc
1923        (getLength): Renamed from length().
1924        * java/io/natFileDescriptorPosix.cc
1925        (open): Implemented support for SYNC and DSYNC.
1926        (seek): Use getLength() instead of length().
1927        (getLength): Renamed from length().
1928        * java/io/natFileDescriptorWin32.cc
1929        (getLength): Renamed from length().
1930        (seek): Use getLength() instead of length().
1931        (available): Likewise.
1932        * gnu/java/nio/natFileChannelImpl.cc
1933        (size): Use getLength() instead of length().
1934
1935 2003-05-13  Michael Koch  <konqueror@gmx.de>
1936
1937         * gnu/java/nio/ByteBufferImpl.java
1938         (ByteBufferImpl): All constructors revised.
1939         (slice): Reimplemented.
1940         (duplicate): Reimplemented.
1941         (asReadOnlyBuffer): Reimplemented.
1942         * java/nio/ByteBuffer.java:
1943         Reformatted.
1944         (array_offset): Renamed from "offset" to match all other buffer
1945         classes.
1946         (ByteBuffer): All constructors revised.
1947         (allocateDirect): Implemented.
1948         (allocate): New implementation, documentation reworked.
1949         (wrap): Likewise.
1950         (get): Documentation reworked.
1951         (put): New implementation, documentation reworked.
1952         (hasArray): Documentation reworked.
1953         (arrayOffset): Likewise.
1954         (hashCode): Likewise.
1955         (equals): Likewise.
1956         (compareTo): Likewise.
1957         (order): Likewise.
1958         (compact): Likewise.
1959         (isDirect): Likewise.
1960         (slice): Likewise.
1961         (duplicate): Likewise.
1962         (asReadOnlyBuffer): Likewise.
1963         * Makefile.am
1964         (ordinary_java_source_files):
1965         Added gnu/java/nio/DirectByteBufferImpl.java.
1966         (nat_source_files):
1967         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1968         * Makefile.in: Regenerated.
1969
1970 2003-05-12  Michael Koch  <konqueror@gmx.de>
1971
1972         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1973         (nio_get_*): Removed.
1974         (nio_put_*): Removed.
1975         (as*Buffer): Implemented.
1976         (compact): Implemented.
1977         (get): Documentation added.
1978         (put): Documentation added.
1979         (get*): Newly implemented.
1980         (put*): Newly implemented.
1981         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1982         (CharBufferImpl): Revised.
1983         (slice): New implementation.
1984         (duplicate): New implementation.
1985         (compact): New implementation.
1986         (asReadOnlyBuffer): New implementation.
1987         (get): Documentation revised.
1988         (order): Return native byte order.
1989         * gnu/java/nio/DirectByteBufferImpl.java
1990         (allocateDirect): objects can be null not 0.
1991         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1992         (DoubleBufferImpl): Revised.
1993         (slice): New implementation.
1994         (duplicate): New implementation.
1995         (compact): New implementation.
1996         (asReadOnlyBuffer): New implementation.
1997         (get): Documentation revised.
1998         (order): Return native byte order.
1999         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2000         (FloatBufferImpl): Revised.
2001         (slice): New implementation.
2002         (duplicate): New implementation.
2003         (compact): New implementation.
2004         (asReadOnlyBuffer): New implementation.
2005         (get): Documentation revised.
2006         (order): Return native byte order.
2007         * gnu/java/nio/IntBufferImpl.java: Reformatted.
2008         (IntBufferImpl): Revised.
2009         (slice): New implementation.
2010         (duplicate): New implementation.
2011         (compact): New implementation.
2012         (asReadOnlyBuffer): New implementation.
2013         (get): Documentation revised.
2014         (order): Return native byte order.
2015         * gnu/java/nio/LongBufferImpl.java: Reformatted.
2016         (LongBufferImpl): Revised.
2017         (slice): New implementation.
2018         (duplicate): New implementation.
2019         (compact): New implementation.
2020         (asReadOnlyBuffer): New implementation.
2021         (get): Documentation revised.
2022         (order): Return native byte order.
2023         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2024         (ShortBufferImpl): Revised.
2025         (slice): New implementation.
2026         (duplicate): New implementation.
2027         (compact): New implementation.
2028         (asReadOnlyBuffer): New implementation.
2029         (get): Documentation revised.
2030         (order): Return native byte order.
2031         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2032         (CharBuffer): Revised.
2033         (order): Removed.
2034         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2035         (DoubleBuffer): Revised.
2036         (allocateDirect): Removed.
2037         (order): Removed.
2038         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2039         (FloatBuffer): Revised.
2040         (allocateDirect): Removed.
2041         (order): Removed.
2042         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2043         (IntBuffer): Revised.
2044         (allocateDirect): Removed.
2045         (order): Removed.
2046         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2047         (LongBuffer): Revised.
2048         (allocateDirect): Removed.
2049         (order): Removed.
2050         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2051         (ShortBuffer): Revised.
2052         (allocateDirect): Removed.
2053         (order): Removed.
2054         * gnu/java/nio/natByteBufferImpl.cc: Removed.
2055         * gnu/java/nio/natCharBufferImpl.cc: Removed.
2056         * Makefile.am
2057         (ordinary_java_source_files): Added the following files:
2058         gnu/java/nio/CharViewBufferImpl.java,
2059         gnu/java/nio/DoubleViewBufferImpl.java,
2060         gnu/java/nio/FloatViewBufferImpl.java,
2061         gnu/java/nio/IntViewBufferImpl.java,
2062         gnu/java/nio/LongViewBufferImpl.java,
2063         gnu/java/nio/ShortViewBufferImpl.java
2064         (nat_source_files): Removed the following files:
2065         gnu/java/nio/natByteBufferImpl.cc,
2066         gnu/java/nio/natCharBufferImpl.cc
2067         * Makefile.in: Regenerated.
2068
2069 2003-05-12  Michael Koch  <konqueror@gmx.de>
2070
2071         * gnu/java/nio/CharViewBufferImpl.java,
2072         gnu/java/nio/DirectByteBufferImpl.java,
2073         gnu/java/nio/DoubleViewBufferImpl.java,
2074         gnu/java/nio/FloatViewBufferImpl.java,
2075         gnu/java/nio/IntViewBufferImpl.java,
2076         gnu/java/nio/LongViewBufferImpl.java,
2077         gnu/java/nio/ShortViewBufferImpl.java,
2078         gnu/java/nio/natDirectByteBufferImpl.cc:
2079         New files, not yet to be compiled.
2080
2081 2003-05-10  Michael Koch  <konqueror@gmx.de>
2082
2083         * javax/swing/plaf/ButtonUI.java,
2084         javax/swing/plaf/ColorUIResource.java,
2085         javax/swing/plaf/ComponentUI.java,
2086         javax/swing/plaf/DimensionUIResource.java,
2087         javax/swing/plaf/FontUIResource.java,
2088         javax/swing/plaf/IconUIResource.java,
2089         javax/swing/plaf/InsetsUIResource.java,
2090         javax/swing/plaf/LabelUI.java,
2091         javax/swing/plaf/ListUI.java,
2092         javax/swing/plaf/OptionPaneUI.java,
2093         javax/swing/plaf/PanelUI.java,
2094         javax/swing/plaf/TabbedPaneUI.java,
2095         javax/swing/plaf/TextUI.java,
2096         javax/swing/plaf/TreeUI.java,
2097         javax/swing/plaf/ViewportUI.java,
2098         javax/swing/plaf/basic/BasicBorders.java,
2099         javax/swing/plaf/basic/BasicButtonUI.java,
2100         javax/swing/plaf/basic/BasicCheckBoxUI.java,
2101         javax/swing/plaf/basic/BasicDefaults.java,
2102         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2103         javax/swing/plaf/basic/BasicIconFactory.java,
2104         javax/swing/plaf/basic/BasicLabelUI.java,
2105         javax/swing/plaf/basic/BasicListUI.java,
2106         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2107         javax/swing/plaf/basic/BasicPanelUI.java,
2108         javax/swing/plaf/basic/BasicRadioButtonUI.java,
2109         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2110         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2111         javax/swing/plaf/basic/BasicTextUI.java,
2112         javax/swing/plaf/basic/BasicToggleButtonUI.java,
2113         javax/swing/plaf/basic/BasicTreeUI.java,
2114         javax/swing/plaf/basic/BasicViewportUI.java,
2115         javax/swing/plaf/metal/MetalLookAndFeel.java:
2116         New versions from classpath. This adds copyrights to all files and
2117         some serialVersionUIDs.
2118
2119 2003-05-10  Michael Koch  <konqueror@gmx.de>
2120
2121         * java/nio/CharBuffer.java
2122         (offset): Make it package-private.
2123         (backing_buffer): Likewise.
2124         * java/nio/DoubleBuffer.java
2125         (offset): Make it package-private.
2126         (backing_buffer): Likewise.
2127         (put): Reformatted.
2128         * java/nio/FloatBuffer.java
2129         (offset): Make it package-private.
2130         (backing_buffer): Likewise.
2131         * java/nio/IntBuffer.java
2132         (offset): Make it package-private.
2133         (backing_buffer): Likewise.
2134         * java/nio/LongBuffer.java
2135         (offset): Make it package-private.
2136         (backing_buffer): Likewise.
2137         * java/nio/ShortBuffer.java
2138         (offset): Make it package-private.
2139         (backing_buffer): Likewise.
2140
2141 2003-05-10  Michael Koch  <konqueror@gmx.de>
2142
2143         * java/nio/CharBuffer.java
2144         (put): Fixed precondtion check.
2145         (toString): Make it work without backing array.
2146         (put): Skip one level of method calling.
2147
2148 2003-05-10  Michael Koch  <konqueror@gmx.de>
2149
2150         * java/security/Identity.java,
2151         java/security/IdentityScope.java,
2152         java/security/Key.java,
2153         java/security/KeyPair.java,
2154         java/security/PrivateKey.java,
2155         java/security/Provider.java,
2156         java/security/PublicKey.java,
2157         java/security/SecureRandom.java,
2158         java/security/SecureRandomSpi.java,
2159         java/security/SignedObject.java,
2160         java/security/Signer.java,
2161         java/security/cert/Certificate.java,
2162         java/security/cert/PKIXCertPathBuilderResult.java,
2163         java/security/cert/X509Certificate.java:
2164         New versions from classpath.
2165
2166 2003-05-09  Tom Tromey  <tromey@redhat.com>
2167
2168         * Makefile.in: Rebuilt.
2169         * Makefile.am (nat_source_files): Removed old files.
2170         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2171         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2172         * gnu/java/nio/natIntBufferImpl.cc: Removed.
2173         * gnu/java/nio/natLongBufferImpl.cc: Removed.
2174         * gnu/java/nio/natShortBufferImpl.cc: Removed.
2175
2176 2003-05-09  Michael Koch  <konqueror@gmx.de>
2177
2178         * gnu/java/nio/ByteBufferImpl.java
2179         (nio_cast): Removed.
2180         (ByteBufferImpl): Removed.
2181         (nio_get_Byte): Removed.
2182         (nio_put_Byte): Removed.
2183         (asByteBuffer): Removed.
2184         (asCharBuffer): Removed implementation and throw exception.
2185         (asShortBuffer): Likewise.
2186         (asIntBuffer): Likewise.
2187         (asLongBuffer): Likewise.
2188         (asFloatBuffer): Likewise.
2189         (asDoubleBuffer): Likewise.
2190         * gnu/java/nio/CharBufferImpl.java
2191         (CharBufferImpl): Removed.
2192         (nio_get_Byte): Removed.
2193         (nio_put_Byte): Removed.
2194         (asByteBuffer): Removed.
2195         * gnu/java/nio/DoubleBufferImpl.java
2196         (DoubleBufferImpl): Removed.
2197         (nio_get_Byte): Removed.
2198         (nio_put_Byte): Removed.
2199         (asByteBuffer): Removed.
2200         * gnu/java/nio/FloatBufferImpl.java
2201         (FloatBufferImpl): Removed.
2202         (nio_get_Byte): Removed.
2203         (nio_put_Byte): Removed.
2204         (asByteBuffer): Removed.
2205         * gnu/java/nio/IntBufferImpl.java
2206         (IntBufferImpl): Removed.
2207         (nio_get_Byte): Removed.
2208         (nio_put_Byte): Removed.
2209         (asByteBuffer): Removed.
2210         * gnu/java/nio/LongBufferImpl.java
2211         (LongBufferImpl): Removed.
2212         (nio_get_Byte): Removed.
2213         (nio_put_Byte): Removed.
2214         (asByteBuffer): Removed.
2215         * gnu/java/nio/ShortBufferImpl.java
2216         (ShortBufferImpl): Removed.
2217         (nio_get_Byte): Removed.
2218         (nio_put_Byte): Removed.
2219         (asByteBuffer): Removed.
2220         * gnu/java/nio/natByteBufferImpl.cc
2221         (nio_cast): Removed.
2222         (nio_get_Byte): Removed.
2223         (nio_put_Byte): Removed.
2224         * gnu/java/nio/natCharBufferImpl.cc
2225         (nio_get_Byte): Removed.
2226         (nio_put_Byte): Removed.
2227
2228 2003-05-09  Michael Koch  <konqueror@gmx.de>
2229
2230         * java/net/JarURLConnection.java
2231         (getJarEntry): Merged documentation from classpath.
2232         (getJarFile): Likewise.
2233         (getMainAttributes): Likewise.
2234         (getAttributes): Likewise.
2235         (getManifest): Likewise.
2236         (getCertificates): Reformatted.
2237         * java/net/URLConnection.java:
2238         Little classpath merge.
2239
2240 2003-05-09  Michael Koch  <konqueror@gmx.de>
2241
2242         * java/io/DataOutputStream.java
2243         (writeShort): Made it synchronized.
2244         (writeChar): Likewise.
2245         (writeInt): Likewise.
2246         (writeLong): Liekwise.
2247         (writeUTF): Made it synchronized, renamed argument to match classpath.
2248         * java/io/InputStreamReader.java
2249         (converter): Added documentation.
2250         (read): Merged documentation from classpath.
2251         * java/io/OutputStreamWriter.java
2252         (OutputStreamWriter): Merged documentation from classpath.
2253         (close): Reformatted.
2254         (getEncoding): Likewise.
2255         (flush): Likewise.
2256         (write): Merged documentation from classpath, reformatted.
2257
2258 2003-05-08  Tom Tromey  <tromey@redhat.com>
2259
2260         * configure.host <powerpc64*-*>: Set with_libffi_default and
2261         libgcj_interpreter to "yes".
2262
2263 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
2264
2265         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2266         
2267 2003-05-06  Tom Tromey  <tromey@redhat.com>
2268
2269         * verify.cc: Reverted previous patch.
2270
2271 2003-05-06  Michael Koch  <konqueror@gmx.de>
2272
2273         * java/io/DataOutputStream.java
2274         (write): Renamed argument to "value", merged documentation from
2275         classpath.
2276         (writeBoolean): Likewise.
2277         (writeByte): Likewise.
2278         (writeShort): Likewise.
2279         (writeChar): Likewise.
2280         (writeInt): Likewise.
2281         (writeLong): Likewise.
2282         (writeFloat): Likewise.
2283         (writeDouble): Likewise.
2284         (writeBytes): Likewise.
2285         (writeChars): Likewise.
2286         (writeUTF): Likewise.
2287         * java/io/File.java
2288         (performDelete): Added documentation.
2289         (performList): Likewise.
2290         (performMkdir): Likewise.
2291         (performSetReadOnly): Likewise.
2292         (performRenameTo): Likewise.
2293         (performSetLastModified): Likewise.
2294         (delete): Made it sychronized.
2295         (renameTo): Made it sychronized.
2296         (equals): Reformatted.
2297         (isHidden): Likewise.
2298         (listFiles): Likewise.
2299         (setReadOnly): Likewise.
2300         (listRoots): Likewise.
2301         (setLastModified): Likewise.
2302         (checkRead): Likewise.
2303         (checkWrite): Likewise.
2304         * java/io/FileInputStream.java
2305         (skip): Made it sychronized, merged from classpath.
2306         * java/io/FileOutputStream.java
2307         (write): Merged from classpath.
2308         * java/io/InputStreamReader.java:
2309         (InputStreamReader): Merged documentation from classpath.
2310
2311 2003-05-05  Michael Koch  <konqueror@gmx.de>
2312
2313         * java/net/NetworkInterface.java
2314         (networkInterfaces): Removed.
2315         (getByName): Use getRealNetworkInterfaces() instead of
2316         networkInterfaces.
2317         (getByInetAddress): Likewise.
2318         (getNetworkInterfaces): Likewise.
2319         (toString): Fix output of addresses of an interface.
2320
2321 2003-05-05  Michael Koch  <konqueror@gmx.de>
2322
2323         * java/io/DataInputStream.java:
2324         Merged new documentation from classpath.
2325
2326 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2327
2328         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2329         "version".
2330         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2331         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2332         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2333         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2334         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2335         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2336         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2337         * java/security/Key.java: Likewise.
2338         * java/security/PrivateKey.java: Likewise.
2339         * java/security/Provider.java: Likewise.
2340         * java/security/PublicKey.java: Likewise.
2341
2342 2003-05-02  Michael Koch  <konqueror@gmx.de>
2343
2344         * java/net/URI.java
2345         (create): Doesnt throws any exceptions.
2346         * java/net/URLConnection.java
2347         (URLConnection): Commend added.
2348         (getExpiration): The header field is called "expires" not
2349         "expiration".
2350         (getHeaderField): Merged documentation with classpath.
2351         (getHeaderFieldInt): Likewise.
2352         (getHeaderFieldDate): Likewise.
2353         (getHeaderFieldKey): Likewise.
2354         (getPermission): Likewise.
2355         (setDefaultUseCaches): Likewise.
2356         (setRequestProperty): Likewise.
2357         (addRequestProperty): Likewise.
2358         (getRequestProperty): Likewise.
2359         (getRequestProperties): Likewise.
2360         (setDefaultRequestProperty): Likewise.
2361         (getDefaultRequestProperty): Likewise.
2362         (guessContentTypeFromStream): Likewise.
2363         (getFileNameMap): Likewise.
2364         (setFileNameMap): Likewise.
2365         (setDoInput): Merged implementation and documentation with classpath.
2366         (setDoOutput): Likewise.
2367         (setAllowUserInteraction): Likewise.
2368         (setDefaultAllowUserInteraction): Likewise.
2369         (setContentHandlerFactory): Made it synchronized, merged documentation
2370         with classpath.
2371         (guessContentTypeFromName): Renamed argument fname to filename to
2372         match classpath, merged documentation with classpath.
2373
2374 2003-05-02  Michael Koch  <konqueror@gmx.de>
2375
2376         * java/net/JarURLConnection.java
2377         (JarURLConnection): Class documentation merged with classpath.
2378         (getJarFileURL): Moved and documentation merged with classpath.
2379         (getEntryName): Likewise.
2380         (JarURLConnection): Documentation merged with classpath.
2381         (getJarEntry): Likewise.
2382         (getJarFile): Likewise.
2383         * java/net/PlainDatagramSocketImpl.java:
2384         Class documentation moved.
2385         * java/net/URLConnection.java
2386         (fileNameMap): Moved and documentation merged with classpath.
2387         (factory): Likewise.
2388         (defaultAllowUserInteraction): Likewis.
2389         (defaultUseCaches): Likewise.
2390         (allowUserInteraction): Likewise.
2391         (connected): Likewise.
2392         (url): Likewise.
2393         (connect): Documentation merged with classpath.
2394         (getURL): Likewise.
2395         (getContentLength): Likewise.
2396         (getContentType): Likewise.
2397         (getContentEncoding): Likewise.
2398         (getExpiration): Likewise.
2399         (getDate): Likewise.
2400         (getLastModified): Likewise.
2401         (getHeaderField): Likewise.
2402         (getContent): Likewise.
2403         (getPermission): Likewise.
2404         (getInputStream): Likewise.
2405         (getOutputStream): Likewise.
2406         (toString): Likewise.
2407         (getDoInput): Likewise.
2408         (getDoOutput): Likewise.
2409         (setAllowUserInteraction): Likewise.
2410         (getAllowUserInteraction): Likewise.
2411         (setDefaultAllowUserInteraction): Likewise.
2412         (getDefaultAllowUserInteraction): Likewise.
2413         (setUseCaches): Likewise.
2414         (getUseCaches): Likewise.
2415         (setIfModifiedSince): Likewise.
2416         (getIfModifiedSince): Likewise.
2417         (setDefaultRequestProperty): Likewise.
2418         (getDefaultRequestProperty): Likewise.
2419         (setContentHandlerFactory): Likewise.
2420         (setFileNameMap): Likewise.
2421
2422 2003-05-02  Michael Koch  <konqueror@gmx.de>
2423
2424         * java/net/InetAddress.java:
2425         Merged class documentation with classpath.
2426         * java/net/JarURLConnection.java:
2427         Explicitely import all used classes.
2428         * java/net/URL.java:
2429         Reformatting.
2430         * java/net/ServerSocket.java,
2431         java/net/Socket.java:
2432         New versions from classpath.
2433
2434 2003-05-02  Michael Koch  <konqueror@gmx.de>
2435
2436         * gnu/java/nio/FileChannelImpl.java
2437         (read): New implementation.
2438         (implRead): New methods.
2439         (write): New implementation, call other write insteal of read method.
2440         (implWrite): New methods.
2441         (map): Added comment.
2442         (transferFrom): Implemented.
2443         (transferTo): Implemented.
2444         (lock): Added checks to throw exceptions.
2445         (truncate): Added check to throw exception.
2446         * gnu/java/nio/natFileChannelImpl.cc
2447         (implRead): New method.
2448         (implWrite): New method.
2449         * java/nio/ByteBuffer.java
2450         (hashCode): Fixed comment.
2451         (get): Fixed exception documentation.
2452         (put): Fixed exception documentation.
2453         * java/nio/CharBuffer.java:
2454         Added comment for later optimizations.
2455
2456 2003-04-30  Tom Tromey  <tromey@redhat.com>
2457
2458         PR libgcj/10582:
2459         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2460         Removed.
2461         (type::compatible): Use _Jv_IsAssignableFrom.
2462         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2463         (_Jv_IsAssignableFrom): Work even when source or target class is
2464         not prepared.
2465
2466 2003-04-30  Michael Koch  <konqueror@gmx.de>
2467
2468         * java/text/BreakIterator.java
2469         (clone): New method.
2470
2471 2003-04-30  Michael Koch  <konqueror@gmx.de>
2472
2473         * java/text/CollationElementIterator.java,
2474         java/text/CollationKey.java,
2475         java/text/RuleBasedCollator.java:
2476         Merged copyright and documentation from classpath and
2477         rearranged some code. No code changes done.
2478
2479 2003-04-30  Michael Koch  <konqueror@gmx.de>
2480
2481         * java/util/regex/Matcher.java
2482         (pattern): New member variable.
2483         (appendReplacement): New method.
2484         (appendTail): New method.
2485         (end): New method.
2486         (find): New method.
2487         (group): New method.
2488         (replaceFirst): Added documentation.
2489         (replaceAll): Added documentation.
2490         (groupCount): New method.
2491         (lookingAt): New method.
2492         (matches): New method.
2493         (reset): New method.
2494         (start): New method.
2495         * java/util/regex/Pattern.java
2496         (serialVersionUID): New constant.
2497         (CANON_EQ): New constant.
2498         (CASE_INSENSITIVE): New constant.
2499         (COMMENTS): New constant.
2500         (DOTALL): New constant.
2501         (MULTILINE): New constant.
2502         (UNICODE_CASE): New constant.
2503         (UNIX_LINES): New constant.
2504         (regex): New member variable.
2505         (flags): New member variable.
2506         (Pattern): New method.
2507         (compile): Documentation added.
2508         (flags): New method.
2509         (matches): Documentation added.
2510         (matcher): Documentation added.
2511         (split): Documentation added.
2512         (pattern): New method.
2513
2514 2003-04-30  Michael Koch  <konqueror@gmx.de>
2515
2516         * gnu/java/security/Engine.java,
2517         gnu/java/security/OID.java,
2518         gnu/java/security/der/BitString.java,
2519         gnu/java/security/der/DER.java,
2520         gnu/java/security/der/DERReader.java,
2521         gnu/java/security/der/DERValue.java,
2522         gnu/java/security/der/DERWriter.java,
2523         gnu/java/security/provider/DSAKeyFactory.java,
2524         gnu/java/security/provider/X509CertificateFactory.java,
2525         gnu/java/security/x509/X500DistinguishedName.java,
2526         gnu/java/security/x509/X509CRL.java,
2527         gnu/java/security/x509/X509CRLEntry.java,
2528         gnu/java/security/x509/X509Certificate.java,
2529         java/security/cert/CRLSelector.java,
2530         java/security/cert/CertPathBuilder.java,
2531         java/security/cert/CertPathBuilderResult.java,
2532         java/security/cert/CertPathBuilderSpi.java,
2533         java/security/cert/CertPathParameters.java,
2534         java/security/cert/CertPathValidator.java,
2535         java/security/cert/CertPathValidatorResult.java,
2536         java/security/cert/CertPathValidatorSpi.java,
2537         java/security/cert/CertSelector.java,
2538         java/security/cert/CertStore.java,
2539         java/security/cert/CertStoreParameters.java,
2540         java/security/cert/CertStoreSpi.java,
2541         java/security/cert/CollectionCertStoreParameters.java,
2542         java/security/cert/LDAPCertStoreParameters.java,
2543         java/security/cert/PKIXBuilderParameters.java,
2544         java/security/cert/PKIXCertPathBuilderResult.java,
2545         java/security/cert/PKIXCertPathChecker.java,
2546         java/security/cert/PKIXCertPathValidatorResult.java,
2547         java/security/cert/PKIXParameters.java,
2548         java/security/cert/PolicyNode.java,
2549         java/security/cert/PolicyQualifierInfo.java,
2550         java/security/cert/TrustAnchor.java,
2551         javax/security/auth/x500/X500Principal.java:
2552         New files from classpath.
2553         * gnu/java/io/ASN1ParsingException.java,
2554         gnu/java/io/Base64InputStream.java,
2555         gnu/java/security/der/DEREncodingException.java,
2556         gnu/java/security/provider/DSAParameters.java,
2557         gnu/java/security/provider/DSASignature.java,
2558         gnu/java/security/provider/Gnu.java,
2559         gnu/java/security/provider/GnuDSAPrivateKey.java,
2560         gnu/java/security/provider/GnuDSAPublicKey.java,
2561         java/security/AlgorithmParameterGenerator.java,
2562         java/security/AlgorithmParameters.java,
2563         java/security/KeyFactory.java,
2564         java/security/KeyPairGenerator.java,
2565         java/security/KeyStore.java,
2566         java/security/MessageDigest.java,
2567         java/security/SecureClassLoader.java,
2568         java/security/SecureRandom.java,
2569         java/security/Security.java,
2570         java/security/Signature.java,
2571         java/security/cert/Certificate.java,
2572         java/security/cert/CertificateFactory.java,
2573         java/security/cert/CertificateFactorySpi.java,
2574         java/security/cert/X509CRL.java,
2575         java/security/cert/X509Certificate.java,
2576         java/security/spec/DSAPublicKeySpec.java:
2577         New versions from classpath.
2578         * gnu/java/security/provider/DERReader.java,
2579         gnu/java/security/provider/DERWriter.java,
2580         java/security/Engine.java: Removed.
2581         * Makefile.am
2582         (java_source_files, javax_source_files): Added new files.
2583         * Makefile.in: Regenerated.
2584
2585 2003-04-29  Michael Koch  <konqueror@gmx.de>
2586
2587         * javax/swing/JTable.java
2588         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2589         (AUTO_RESIZE_LAST_COLUMN): New constant.
2590         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2591         (AUTO_RESIZE_OFF): New constant.
2592         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2593         (JTable): New method.
2594         (columnAdded): New method.
2595         (columnMarginChanged): New method.
2596         (columnMoved): New method.
2597         (columnRemoved): New method.
2598         (columnSelectionChanged): New method.
2599         (editingCanceled): New method.
2600         (editingStopped): New method.
2601         (getColumnModel): New method.
2602         (getPreferredScrollableViewportSize): New method.
2603         (getScrollableBlockIncrement): New method.
2604         (getScrollableTracksViewportHeight): New method.
2605         (getScrollableTracksViewportWidth): New method.
2606         (getScrollableUnitIncrement): New method.
2607         (getSelectedRow): New method.
2608         (getSelectionModel): New method.
2609         (tableChanged): New method.
2610         (setModel): New method.
2611         (setSelectionMode): New method.
2612         (setSelectionModel): New method.
2613         (setShowGrid): New method.
2614         (valueChanged): New method.
2615         * javax/swing/text/DefaultEditorKit.java
2616         (backwardAction): New constant.
2617         (beepAction): New constant.
2618         (beginAction): New constant.
2619         (beginLineAction): New constant.
2620         (beginParagraphAction): New constant.
2621         (beginWordAction): New constant.
2622         (copyAction): New constant.
2623         (cutAction): New constant.
2624         (defaultKeyTypedAction): New constant.
2625         (deleteNextCharAction): New constant.
2626         (deletePrevCharAction): New constant.
2627         (downAction): New constant.
2628         (endAction): New constant.
2629         (endLineAction): New constant.
2630         (endOfLineStringProperty): New constant.
2631         (endParagraphAction): New constant.
2632         (endWordAction): New constant.
2633         (forwardAction): New constant.
2634         (insertBreakAction): New constant.
2635         (insertContentAction): New constant.
2636         (insertTabAction): New constant.
2637         (nextWordAction): New constant.
2638         (pageDownAction): New constant.
2639         (pageUpAction): New constant.
2640         (pasteAction): New constant.
2641         (previousWordAction): New constant.
2642         (readOnlyAction): New constant.
2643         (selectAllAction): New constant.
2644         (selectionBackwardAction): New constant.
2645         (selectionBeginAction): New constant.
2646         (selectionBeginLineAction): New constant.
2647         (selectionBeginParagraphAction): New constant.
2648         (selectionBeginWordAction): New constant.
2649         (selectionDownAction): New constant.
2650         (selectionEndAction): New constant.
2651         (selectionEndLineAction): New constant.
2652         (selectionEndParagraphAction): New constant.
2653         (selectionEndWordAction): New constant.
2654         (selectionForwardAction): New constant.
2655         (selectionNextWordAction): New constant.
2656         (selectionPreviousWordAction): New constant.
2657         (selectionUpAction): New constant.
2658         (selectLineAction): New constant.
2659         (selectParagraphAction): New constant.
2660         (selectWordAction): New constant.
2661         (upAction): New constant.
2662         (writableAction): New constant.
2663
2664 2003-04-29  Michael Koch  <konqueror@gmx.de>
2665
2666         * java/util/PropertyPermission.java:
2667         New version from classpath
2668         * java/util/ResourceBundle.java:
2669         Partly merged from classpath
2670         (getObject): Reformated.
2671         (tryBundle): Set foundBundle = null if no bundle found.
2672
2673 2003-04-29  Michael Koch  <konqueror@gmx.de>
2674
2675         * javax/swing/AbstractListModel.java,
2676         javax/swing/DefaultBoundedRangeModel.java,
2677         javax/swing/DefaultSingleSelectionModel.java:
2678         New Versions from classpath.
2679
2680 2003-04-29  Michael Koch  <konqueror@gmx.de>
2681
2682         * java/awt/Window.java
2683         (show): Call super.show() instead of setVisible() to avoid endless
2684         loop.
2685         (hide): Call super.hide() instead of setVisible() to avoid endless
2686         loop.
2687
2688 2003-04-29  Michael Koch  <konqueror@gmx.de>
2689
2690         * java/util/zip/Deflater.java,
2691         java/util/zip/DeflaterOutputStream.java:
2692         Partly merged with classpath.
2693
2694 2003-04-27  Tom Tromey  <tromey@redhat.com>
2695
2696         * java/lang/natString.cc (_Jv_AllocString): Initialize
2697         cachedHashCode.
2698         (init): Likewise.
2699         (_Jv_NewStringUtf8Const): Likewise.
2700
2701 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2702
2703         * include/jvm.h: (_Jv_GetNbArgs) added
2704         (_Jv_GetSafeArg) added
2705         (_Jv_SetArgs) added
2706         * prims.cc: (_Jv_GetNbArgs) implemented
2707         (_Jv_GetSafeArg) implemented
2708         (_Jv_SetArgs) implemented
2709         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2710         setting _Jv_argc and _Jv_argv
2711         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2712         instead of _Jv_argv
2713         * java/lang/natRuntime.cc: (insertSystemProperties) use
2714         _Jv_GetSafeArg() instead of _Jv_argv
2715
2716 2003-04-23  Tom Tromey  <tromey@redhat.com>
2717
2718         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2719         required by this object.  Search superclasses to find required
2720         alignment.
2721         (get_alignment_from_class): Use alignment of type as it appears
2722         in a struct.
2723         (ALIGNOF): New macro.
2724         (struct aligner): New helper structure.
2725
2726 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2727
2728         * java/awt/Container.java (addImpl): Enable paint events if adding
2729         a lightweight to a heavyweight.
2730         (addNotify): Ensure that peer is created before
2731         addNotifyContainerChildren.
2732         (addNotifyContainerChildren): Enable paint events if a heavyweight
2733         container contains a lightweight.
2734
2735 2003-04-20  Tom Tromey  <tromey@redhat.com>
2736
2737         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2738         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2739         Classpath.
2740
2741 2003-04-19  Tom Tromey  <tromey@redhat.com>
2742
2743         * java/sql/Date.java, java/sql/DriverManager.java,
2744         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2745         Classpath.
2746
2747         * Makefile.in: Rebuilt.
2748         * Makefile.am (ordinary_java_source_files): Added new files.
2749         * java/security/AlgorithmParameterGenerator.java,
2750         java/security/AlgorithmParameters.java, java/security/Engine.java,
2751         java/security/Identity.java, java/security/IdentityScope.java,
2752         java/security/KeyFactory.java,
2753         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2754         java/security/MessageDigest.java, java/security/Policy.java,
2755         java/security/ProtectionDomain.java,
2756         java/security/SecureRandom.java, java/security/Security.java,
2757         java/security/Signature.java, java/security/SignatureSpi.java,
2758         java/security/SignedObject.java, java/security/Signer.java,
2759         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2760         java/security/spec/PSSParameterSpec.java,
2761         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2762         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2763         Classpath.
2764
2765 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2766
2767         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2768         (dispose): Null metrics.
2769         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2770         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2771         finalize.
2772         (finalize): Call dispose.
2773         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2774         (gcCachedCount): New field.
2775         (finalize): New method.
2776         (putGCInCache): New method.
2777         (getGCFromCache): New method.
2778         * gnu/gcj/xlib/GC.java (GC): Make protected.
2779         (clone): Get new GC from cache if possible.
2780         (create): New static method.
2781         (dispose): Save old GC in cache.
2782         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2783         deleting.
2784         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2785         is null.
2786         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2787         * java/awt/Container.java (visitChild): Dispose gfx2 when
2788         finished.
2789
2790 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2791
2792         * java/math/BigInteger.java (probablePrime): New.
2793         * java/math/BigDecimal.java (unscaledValue): New.
2794
2795 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2796
2797         * java/io/File.java (getAbsolutePath): On Windows, take care
2798         of paths like "C:", "G:foo\bar", etc.
2799         (getName): Make it work correctly on Windows.
2800         (getParent): Make it work correctly on Windows. For UNIX,
2801         fix bug that causes "/" to be returned as the parent of "/",
2802         instead of null as returned by Sun's JRE.
2803
2804         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2805
2806 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2807
2808         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2809         inner class.
2810         (CACHE_SIZE_PER_DISPLAY): New field
2811         (fontMetricsCache): New field
2812         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2813         loading ISO10646-1 fonts.
2814
2815 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2816
2817         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2818         characters.
2819         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2820         characters.
2821
2822 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2823
2824         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2825         floating point.
2826
2827 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2828
2829         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2830         installed libpthread is either linuxthreads with floating stacks or
2831         NPTL.
2832
2833 2003-04-14  Tom Tromey  <tromey@redhat.com>
2834
2835         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2836         of alignment.
2837
2838 2003-04-10  Tom Tromey  <tromey@redhat.com>
2839
2840         * verify.cc (pop64): Removed.
2841         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2842         exception if top-of-stack is narrow.
2843         (initialize_stack): Check to ensure that <init> is not static and
2844         <clinit> is.
2845
2846 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2847
2848         * java/io/ObjectStreamException
2849         * java/io/FileFilter
2850         * java/io/FilenameFilter
2851         * java/io/ObjectInput
2852         * java/io/ObjectOutput
2853         * java/io/ObjectStreamConstants
2854         Minor doc fixes, format fixes, spelling corrections, etc.
2855         * java/io/DataInput
2856         Corrected code samples in Javadocs to match reality
2857         * java/io/DataOutput
2858         * java/io/ObjectInputValidation
2859         Major documentation fixes - all Javadocs re-written or updated
2860
2861 2003-04-06  Michael Koch  <konqueror@gmx.de>
2862
2863         * java/net/URLConnection.java:
2864         Import classes directly.
2865         (URLConnection): Merged class documentation with classpath.
2866         (url): Moved, documentation from classpath added.
2867         (doInput): Moved, documentation from classpath added.
2868         (doOutput): Moved, documentation from classpath added.
2869         (allowUserInteraction): Moved.
2870         (useCaches): Moved, documentation from classpath added.
2871         (ifModifiedSince): Moved, documentation from classpath added.
2872         (connected): Moved, documentation from classpath added.
2873
2874 2003-04-06  Michael Koch  <konqueror@gmx.de>
2875
2876         * java/io/FileInputStream.java
2877         (skip): Renamed some variables to match classpath, added
2878         checks from classpath.
2879
2880 2003-03-31  Michael Koch  <konqueror@gmx.de>
2881
2882         * javax/swing/AbstractAction.java
2883         (AbstractAction): Reformatted.
2884         (serialVersionUID): New private member variable.
2885         * javax/swing/plaf/BorderUIResource.java
2886         (serialVersionUID): New private member variable.
2887         * javax/swing/plaf/basic/BasicLookAndFeel.java
2888         (serialVersionUID): New private member variable.
2889
2890 2003-03-31  Michael Koch  <konqueror@gmx.de>
2891
2892         * java/sql/Date.java
2893         (valueOf): Deprecated, reformatted.
2894         (toString): Deprecated, reformatted.
2895         * java/sql/Time.java
2896         (valueOf): Deprecated, reformatted.
2897         (toString): Deprecated, reformatted.
2898
2899 2003-03-31  Michael Koch  <konqueror@gmx.de>
2900
2901         * java/rmi/dgc/VMID.java
2902         (isUnique): Deprecated.
2903
2904 2003-03-31  Michael Koch  <konqueror@gmx.de>
2905
2906         * java/io/File.java
2907         (separator): Merged documentation from classpath.
2908         (separatorChar): Merged documentation from classpath.
2909         (pathSeparator): Merged documentation from classpath.
2910         (pathSeparatorChar): Merged documentation from classpath.
2911         (path): Merged documentation from classpath.
2912         (canRead): Merged documentation from classpath.
2913         (canWrite): Merged documentation from classpath.
2914         (createNewFile): Merged documentation from classpath.
2915         (delete): Merged documentation from classpath.
2916         (equals): Merged documentation from classpath.
2917         (exists): Merged documentation from classpath.
2918         (File): Renamed p to name to match classpath, merged documentation
2919         from classpath.
2920         (getAbsolutePath): Merged documentation from classpath.
2921         (getCanonicalPath): Merged documentation from classpath.
2922         (getCanonicalFile): Merged documentation from classpath.
2923         (getName): Merged documentation from classpath.
2924         (getParent): Merged documentation from classpath.
2925         (getParentFile): Merged documentation from classpath.
2926         (getPath): Merged documentation from classpath.
2927         (hashCode): Merged documentation from classpath.
2928         (isAbsolute): Merged documentation from classpath.
2929         (isDirectory): Merged documentation from classpath.
2930         (isFile): Merged documentation from classpath.
2931         (isHidden): Merged documentation from classpath.
2932         (lastModified): Merged documentation from classpath.
2933         (length): Merged documentation from classpath.
2934         (list): Merged documentation from classpath.
2935         (listFiles): Merged documentation from classpath.
2936         (toString): Merged documentation from classpath.
2937         (toURL): Merged documentation from classpath.
2938         (mkdir): Merged documentation from classpath.
2939         (mkdirs): Merged documentation from classpath.
2940         (createTempFile): Merged documentation from classpath.
2941         (setReadOnly): Merged documentation from classpath.
2942         (listRoots): Merged documentation from classpath.
2943         (compareTo): Merged documentation from classpath.
2944         (renameTo): Merged documentation from classpath.
2945         (setLastModified): Merged documentation from classpath.
2946         * java/io/PrintStream.java
2947         (auto_flush): Merged documentation from classpath.
2948         (PrintStream): Merged documentation from classpath.
2949         (checkError): Merged documentation from classpath.
2950         (setError): Merged documentation from classpath.
2951         (close): Merged documentation from classpath.
2952         (flush): Merged documentation from classpath.
2953         (print): Merged documentation from classpath.
2954         (println):  Merged documentation from classpath.
2955         (write): Renamed count to len to match classpath,
2956         merged documentation from classpath.
2957         * java/io/RandomAccessFile.java
2958         (readShort): Merged documentation from classpath.
2959         (readUnsignedByte): Merged documentation from classpath.
2960         (readUnsignedShort): Merged documentation from classpath.
2961         (readUTF): Merged documentation from classpath.
2962         (seek): Reformatted, merged documentation from classpath.
2963         (skipBytes): Renamed some variables to match classpath, reformatted,
2964         merged documentation from classpath.
2965         (write): Merged documentation from classpath.
2966         (writeBoolean): Merged documentation from classpath.
2967         (writeByte): Merged documentation from classpath.
2968         (writeShort): Merged documentation from classpath.
2969         (writeChar): Merged documentation from classpath.
2970         (writeInt): Merged documentation from classpath.
2971         (writeLong): Merged documentation from classpath.
2972         (writeFloat): Merged documentation from classpath.
2973         (writeDouble): Merged documentation from classpath.
2974         (writeBytes): Merged documentation from classpath.
2975         (writeChars): Merged documentation from classpath.
2976         (writeUTF): Reformatted.
2977         (getChannel): Reformatted.
2978
2979 2003-03-31  Michael Koch  <konqueror@gmx.de>
2980
2981         * java/awt/font/TextAttribute.java
2982         (readResolve): Throws java.io.InvalidObjectException.
2983
2984 2003-03-31  Michael Koch  <konqueror@gmx.de>
2985
2986         * java/rmi/server/LoaderHandler.java
2987         (loadClass): Deprecated.
2988         (getSecurityContext): Deprecated.
2989         * java/rmi/server/LogStream.java
2990         (getDefaultStream): Deprecated.
2991         (setDefaultStream): Deprecated.
2992         (getOutputStream): Deprecated.
2993         (setOutputStream): Deprecated.
2994         (write): Deprecated.
2995         (toString): Deprecated.
2996         (parseLevel): Deprecated.
2997         * java/rmi/server/Operation.java
2998         (Operation): Deprecated.
2999         (getOperation): Deprecated.
3000         (toString): Deprecated.
3001         * java/rmi/server/RemoteCall.java
3002         (getOutputStream): Deprecated.
3003         (releaseOutputStream): Deprecated.
3004         (getInputStream): Deprecated.
3005         (releaseInputStream): Deprecated.
3006         (getResultStream): Deprecated.
3007         (executeCall): Deprecated.
3008         (done): Deprecated.
3009         * java/rmi/server/RemoteRef.java
3010         (invoke): Deprecated.
3011         (newCall): Deprecated.
3012         (done): Deprecated.
3013         * java/rmi/server/RemoteStub.java
3014         (setRef): Deprecated.
3015         * java/rmi/server/Skeleton.java:
3016         No need to import java.lang.Exception explicitly.
3017         (dispatch): Deprecated.
3018         (getOperations): Deprecated.
3019
3020 2003-03-31  Michael Koch  <konqueror@gmx.de>
3021
3022         * java/rmi/dgc/VMID.java,
3023         java/rmi/registry/RegistryHandler.java,
3024         java/rmi/server/LogStream.java,
3025         java/rmi/server/Operation.java,
3026         java/rmi/server/RemoteCall.java,
3027         java/rmi/server/RemoteRef.java,
3028         java/rmi/server/RemoteStub.java:
3029         Reformatted.
3030
3031 2003-03-31  Michael Koch  <konqueror@gmx.de>
3032
3033         * javax/swing/AbstractCellEditor.java,
3034         javax/swing/AbstractListModel.java,
3035         javax/swing/ActionMap.java,
3036         javax/swing/BorderFactory.java,
3037         javax/swing/ButtonGroup.java,
3038         javax/swing/DefaultBoundedRangeModel.java,
3039         javax/swing/DefaultButtonModel.java,
3040         javax/swing/DefaultCellEditor.java,
3041         javax/swing/DefaultComboBoxModel.java,
3042         javax/swing/DefaultDesktopManager.java,
3043         javax/swing/DefaultListCellRenderer.java,
3044         javax/swing/DefaultSingleSelectionModel.java,
3045         javax/swing/InputMap.java,
3046         javax/swing/JComponent.java,
3047         javax/swing/JMenu.java,
3048         javax/swing/JSlider.java,
3049         javax/swing/KeyStroke.java,
3050         javax/swing/OverlayLayout.java,
3051         javax/swing/ScrollPaneLayout.java,
3052         javax/swing/SizeRequirements.java,
3053         javax/swing/UIManager.java,
3054         javax/swing/ViewportLayout.java,
3055         javax/swing/border/AbstractBorder.java,
3056         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3057         javax/swing/event/EventListenerList.java,
3058         javax/swing/table/AbstractTableModel.java,
3059         javax/swing/table/DefaultTableCellRenderer.java,
3060         javax/swing/table/DefaultTableColumnModel.java,
3061         javax/swing/table/DefaultTableModel.java,
3062         javax/swing/table/TableColumn.java,
3063         javax/swing/text/StyledEditorKit.java,
3064         javax/swing/tree/DefaultMutableTreeNode.java,
3065         javax/swing/tree/DefaultTreeModel.java,
3066         javax/swing/tree/DefaultTreeSelectionModel.java,
3067         javax/swing/tree/TreePath.java,
3068         javax/swing/undo/AbstractUndoableEdit.java,
3069         javax/swing/undo/StateEdit.java,
3070         javax/swing/undo/StateEditable.java,
3071         javax/swing/undo/UndoableEditSupport.java:
3072         Merges from classpath.
3073
3074 2003-03-30  Tom Tromey  <tromey@redhat.com>
3075
3076         * java/lang/String.java (data, boffset, count): Documented.
3077         (String(byte[],String)): Reformatted.
3078         (String(byte[])): Likewise.
3079         (lastIndexOf(int)): Likewise.
3080         (lastIndexOf(String)): Likewise.
3081         (substring(int)): Renamed argument to match Classpath.
3082         (String(StringBuffer)): Don't share buffer if it is nearly empty.
3083
3084         * java/lang/String.java: Miscellaneous minor formatting changes
3085         to match Classpath more closely.
3086
3087 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
3088             Tom Tromey  <tromey@redhat.com>
3089
3090         * java/lang/natString.cc (hashCode): Use cachedHashCode.
3091         (init()): Removed.
3092         (charAt): Put index in exception.
3093         (contentEquals): New method.
3094         Include StringBuffer.h.
3095         * java/lang/String.java (cachedHashCode): New field.
3096         (String()): Follow classpath implementation.
3097         (init()): Removed.
3098         (contentEquals): Declare.
3099         (subSequence): Don't declare IndexOutIfBoundsException in throws
3100         clause.
3101         (matches, replaceFirst, replaceAll, split): New methods from
3102         Classpath.
3103
3104 2003-03-29  Tom Tromey  <tromey@redhat.com>
3105
3106         * java/lang/String.java: Reordered to follow Classpath; merged in
3107         javadoc.
3108
3109         * java/text/MessageFormat.java: Removed some whitespace.
3110
3111         * Makefile.in: Rebuilt.
3112         * Makefile.am (awt_java_source_files): Added new files.
3113         * gnu/javax/rmi/PortableServer.java,
3114         gnu/javax/rmi/CORBA/DelegateFactory.java,
3115         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3116         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3117         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3118         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3119         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3120         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3121         javax/rmi/PortableRemoteObject.java,
3122         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3123         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3124         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3125         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3126         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3127         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3128
3129         * java/lang/natClass.cc (newInstance): Put method name in
3130         exception.
3131         (getConstructor): Likewise.
3132         (getDeclaredConstructor): Likewise.
3133         (getPrivateMethod): Likewise.
3134
3135 2003-03-28  Tom Tromey  <tromey@redhat.com>
3136
3137         * java/lang/reflect/Proxy.java: New version from Classpath.
3138         * java/lang/Package.java: New version from Classpath.
3139
3140 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
3141
3142         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3143         * configure: Regenerate.
3144
3145 2003-03-28  Michael Koch  <konqueror@gmx.de>
3146
3147         * java/io/File.java:
3148         Import needed classes instead of whole packages, merged class
3149         documentation with classpath, moved constants and variables to top of
3150         class.
3151         * java/io/PrintStream.java:
3152         Merged class documentation with classpath, moved constants and
3153         variables to top of class.
3154         * java/io/RandomAccessFile.java
3155         (RandomAccessFile): Merged with classpath.
3156         (read): Merged with classpath).
3157         (read*): Reformatted.
3158
3159 2003-03-28  Michael Koch  <konqueror@gmx.de>
3160
3161         * java/io/FileDescriptor.java
3162         (finalize): Throws Throwable, not IOException.
3163         * java/io/ObjectOutputStream.java
3164         (PutField.put): Doesnt throws anything.
3165
3166 2003­03-28  Michael Koch  <konqueror@gmx.de>
3167
3168         * java/io/FileOutputStream.java:
3169         Merged class documentation and authors with classpath.
3170         (FileOutputStream): Partly merged with classpath.
3171         (write): Merged with classpath.
3172         (getChannel): Make it synchronized instead of explicit block in this
3173         method.
3174         * java/io/RandomAccessFile.java:
3175         Merged class documentation and authors with classpath.
3176
3177 2003-03-26  Tom Tromey  <tromey@redhat.com>
3178
3179         * java/lang/natRuntime.cc (insertSystemProperties): Set
3180         gnu.classpath.home.url.
3181         * Makefile.in: Rebuilt.
3182         * Makefile.am: Define LIBDIR.
3183
3184 2003-03-25  Michael Koch  <konqueror@gmx.de>
3185
3186         * java/io/FileInputStream.java
3187         (read): Renamed b to buf and off to offset.
3188         * java/io/FileOutputStream.java
3189         (ch): Documentation added.
3190         (FileOutputStream): Documentation added.
3191         (getFD): Documentation added.
3192         (write): Documentation added.
3193         (close): Documentation added.
3194         (getChannel): Documentation added.
3195
3196 2003-03-24  Michael Koch  <konqueror@gmx.de>
3197
3198         * java/io/DataOutputStream.java
3199         (write): Merged from classpath.
3200         * java/io/File.java:
3201         Merged copyrigth with classpath.
3202         * java/io/FileInputStream.java
3203         (getChannel): Made it synchronized instead of using a synchronized
3204         block.
3205         * java/io/FileOutputStream.java: Reformatted.
3206         * java/io/InputStreamReader.java
3207         (InputStreamReader): Renamed enc to encoding_name.
3208         (close): Merged documentation from classpath.
3209         (getEncoding): Merged documentation from classpath.
3210         (ready): Merged documentation from classpath.
3211         (read): Merged documentation from classpath.
3212         * java/io/LineNumberReader.java
3213         (lineNumber): Made it private.
3214         (LineNumberReader): Use Constant instead of a direct value.
3215         * java/io/OutputStreamWriter.java
3216         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3217         documentation from classpath.
3218         (close): Merged documentation from classpath.
3219         (flush): Merged documentation from classpath.
3220         (write): Merged documentation from classpath.
3221         * java/io/PrintStream.java: Reformatted.
3222
3223 2003-03-24  Michael Koch  <konqueror@gmx.de>
3224
3225         * javax/swing/text/ComponentView.java
3226         (getComponent): Must be final.
3227         * javax/swing/tree/DefaultTreeCellRenderer.java:
3228         Reformatted.
3229         * javax/swing/undo/StateEditable.java:
3230         Reformatted.
3231
3232 2003-03-24  Michael Koch  <konqueror@gmx.de>
3233
3234         * java/rmi/activation/ActivationInstantiator.java:
3235         Reformatted.
3236         * java/rmi/activation/Activator.java:
3237         Reformatted.
3238         * java/rmi/registry/RegistryHandler.java:
3239         Remerged from classpath.
3240
3241 2003-03-24  Michael Koch  <konqueror@gmx.de>
3242
3243         * java/util/Date.java:
3244         Fixed documentation starting tag to make javadoc happy.
3245         * java/util/regex/Pattern.java
3246         (Pattern): Implements Serializable.
3247         * java/util/PatternSyntaxException.java
3248         (serialVersionUID): New member variable.
3249
3250 2003-03-24  Michael Koch  <koqnueror@gmx.de>
3251
3252         * java/awt/ContainerOrderFocusTraversalPolicy.java
3253         (getFirstComponent): Implemented.
3254         (getLastComponent): Implemented.
3255         (getDefaultComponent): Implemented.
3256         (setImplicitDownCycleTraversal): Fixed implementation.
3257         * java/awt/Robot.java
3258         (Robot): Added documentation.
3259         * java/awt/Toolkit.java
3260         (getFontList): Deprecated.
3261         (getFontMetrics): Deprecated.
3262         (getPrintJob): Added documentation.
3263         (getSystemSelection): Added documentation.
3264         (getLockingKeyState): Added documentation.
3265         (setLockingKeyState): Added documentation.
3266         (createCustomCursor): Added documentation.
3267         (getBestCursorSize): Added documentation.
3268         (getMaximumCursorColors): Added documentation.
3269         (isFrameStateSupported): Added documentation.
3270
3271 2003-03-24  Michael Koch  <konqueror@gmx.de>
3272
3273         * java/io/RandomAccessFile.java:
3274         More little merges with classpath. No code changes.
3275
3276 2003-03-24  Michael Koch  <konqueror@gmx.de>
3277
3278         * java/net/natInetAddressNoNet.cc:
3279         Include stddef.h.
3280         * java/net/natPlainDatagramSocketImplNoNet.cc:
3281         Fixed inlcude of java/net/DatagramPacket.h.
3282         * java/net/natPlainSocketImplNoNet.cc:
3283         Include some missing classes.
3284
3285 2003-03-24  Michael Koch  <konqueror@gmx.de>
3286
3287         * java/awt/dnd/DropTarget.java
3288         (DropTargetAutoScroller): According to the online documentation, this
3289         is protected, but in reality it is public.
3290         * java/awt/dnd/DropTargetContext.java
3291         (TransferableProxy): According to the online documentation, this
3292         is protected, but in reality it is public.
3293
3294 2003-03-24  Michael Koch  <konqueror@gmx.de>
3295
3296         * java/io/DataInputStream.java
3297         (): Wrapped documentation line.
3298         (): Fixed @return tag.
3299         * java/io/DataOutputStream.java
3300         (written): Moved to top of class.
3301         (all methods): Merged documentation from classpath.
3302         * java/io/File.java:
3303         Merged copyright year with classpath.
3304         * java/io/FileInputStream.java
3305         (all methods): Merged documentation from classpath.
3306         * java/io/LineNumberReader.java
3307         (getLineNumber): Fixed @return tag.
3308         * java/io/ObjectInputStream.java.
3309         Reformatted.
3310         * java/io/ObjectOutputStream.java:
3311         Reformatted, fixed some @see tags.
3312         * java/io/OutputStreamWriter.java:
3313         Deleted empty line.
3314         * java/io/Writer.java:
3315         Reformatted.
3316
3317 2003-03-24  Michael Koch  <konqueror@gmx.de>
3318
3319         * java/awt/Frame.java
3320         (DEFAULT_CURSOR): Fixed @deprecated tag.
3321         (setCursor): Fixed @deprecated tag.
3322
3323 2003-03-24  Michael Koch  <konqueror@gmx.de>
3324
3325         * java/beans/beancontext/BeanContextEvent.java:
3326         Reformated.
3327
3328 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3329
3330         * java/lang/natStringBuffer.cc (regionMatches): New function.
3331         * java/lang/String.java (count): Now package-private.
3332         * java/lang/StringBuffer.java: Merged with Classpath.
3333
3334 2003-03-23  Michael Koch  <konqueror@gmx.de>
3335
3336         * java/io/BufferedOutputStream.java:
3337         Reformated.
3338         * java/io/BufferedReader.java:
3339         Reformated.
3340         * java/io/ByteArrayOutputStream.java
3341         (size): Fixed @see tag.
3342         * java/io/CharArrayWriter.java
3343         (size): Fixed @see tag.
3344         * java/io/DataInput.java:
3345         Reformated.
3346         * java/io/DataOutput.java:
3347         Reformated.
3348         * java/io/DataOutputStream.java:
3349         Merged copyright years with classpath.
3350         * java/io/Externalizable.java:
3351         Reformated.
3352         * java/io/FileFilter.java:
3353         Reformated.
3354         * java/io/FileInputStream.java:
3355         Merged copyright years with classpath.
3356         * java/io/FileOutputStream.java:
3357         Merged copyright years with classpath.
3358         * java/io/FilePermission.java
3359         (FilePermission): Replaced @XXX with FIXME:.
3360         * java/io/FileWriter.java:
3361         Reformated.
3362         * java/io/FilenameFilter.java:
3363         Reformated.
3364         * java/io/FilterInputStream.java:
3365         Reformated.
3366         * java/io/FilterOutputStream.java:
3367         Reformated.
3368         * java/io/FilterReader.java:
3369         Reformated.
3370         * java/io/FilterWriter.java:
3371         Reformated.
3372         * java/io/LineNumberInputStream.java
3373         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3374         happy.
3375         (getLineNumber): Fixed @return tag.
3376         * java/io/ObjectInput.java:
3377         Reformated.
3378         * java/io/ObjectOutput.java:
3379         Reformated.
3380         * java/io/ObjectStreamClass.java:
3381         Reformated.
3382         * java/io/PrintStream.java:
3383         Merged copyright years with classpath.
3384         * java/io/PushbackReader.java
3385         (PushbackReader): Replaced @code with @param.
3386         * java/io/SerializablePermission.java:
3387         Reformated.
3388         * java/io/StreamTokenizer.java
3389         (resetSyntax): Fixed @see tag.
3390
3391 2003-03-22  Richard Henderson  <rth@redhat.com>
3392
3393         * sysdep/ia64/locks.h: Include ia64intrin.h.
3394         (compare_and_swap): Use __sync_bool_compare_and_swap.
3395         (compare_and_swap_release): Expose ar.ccv assignment.
3396
3397 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3398
3399         * include/posix.h: Add suffix for darwin dynamic libraries.
3400
3401 2003-03-21  Michael Koch  <konqueror@gmx.de>
3402
3403         * javax/swing/Action.java
3404         (ACCELERATOR_KEY): New constant.
3405         (ACTION_COMMAND_KEY): Likewise.
3406         (MNEMONIC_KEY): Likewise.
3407         * javax/swing/UnsupportedLookAndFeelException.java
3408         (UnsupportedLookAndFeelException): Must be public.
3409         * javax/swing/WindowConstants.java
3410         (EXIT_ON_CLOSE): New constant.
3411         * javax/swing/text/BadLocationException.java
3412         (offset): New member variable.
3413         (BadLocationException): New implementation, documentation added.
3414         (offsetRequested): New method.
3415         * javax/swing/text/Caret.java:
3416         Reformated.
3417         * javax/swing/text/Document.java:
3418         Reformated.
3419
3420 2003-03-21  Michael Koch  <konqueror@gmx.de>
3421
3422         * java/rmi/activation/Activatable.java
3423         (serialVersionUID): New member variable.
3424         * java/rmi/activation/ActivationGroup.java
3425         (serialVersionUID): New member variable.
3426         * java/rmi/activation/ActivationGroupDesc.java
3427         (serialVersionUID): New member variable.
3428         * java/rmi/registry/Registry.java:
3429         Reformated.
3430         (Registry): Deprecated.
3431         * java/rmi/server/LoaderHandler.java
3432         Reformated.
3433         (LoaderHandler): Deprecated.
3434         * java/rmi/server/LogStream.java
3435         Reformated.
3436         (LogStream): Deprecated.
3437         * java/rmi/server/Operation.java
3438         (Operation): Deprecated.
3439         * java/rmi/server/RMIFailureHandler.java:
3440         Reformated.
3441         * java/rmi/server/RMISocketFactory.java:
3442         Reformated.
3443         * java/rmi/server/RemoteCall.java
3444         (RemoteCall): Deprecated.
3445         * java/rmi/server/RemoteStub.java:
3446         Reformated.
3447         * java/rmi/server/Skeleton.java
3448         Reformated.
3449         (Skeleton): Deprecated.
3450
3451 2003-03-21  Michael Koch  <konqueror@gmx.de>
3452
3453         * java/io/LineNumberReader.java
3454         (LineNumberReader): Merged documentation with classpath.
3455         (getLineNumber): Likewise.
3456         (setLineNumber): Likewise.
3457         (mark): Likewise.
3458         (reset): Likewise.
3459         (read): Likewise.
3460         (readLine): Likewise.
3461         (skip): Likewise.
3462
3463 2003-03-21  Michael Koch  <konqueror@gmx.de>
3464
3465         * java/rmi/RMISecurityManager.java
3466         (checkAccept): Removed.
3467         (checkAccess): Likewise.
3468         (checkAccess): Likewise.
3469         (checkAwtEventQueueAccess): Likewise.
3470         (checkConnect): Likewise.
3471         (checkCreateClassLoader): Likewise.
3472         (checkDelete): Likewise.
3473         (checkExec): Likewise.
3474         (checkExit): Likewise.
3475         (checkLink): Likewise.
3476         (checkListen): Likewise.
3477         (checkMemberAccess): Likewise.
3478         (checkMulticast): Likewise.
3479         (checkPackageAccess): Likewise.
3480         (checkPackageDefinition): Likewise.
3481         (checkPermission): Likewise.
3482         (checkPrintJobAccess): Likewise.
3483         (checkPropertiesAccess): Likewise.
3484         (checkPropertyAccess): Likewise.
3485         (checkRead): Likewise.
3486         (checkSecurityAccess): Likewise.
3487         (checkSetFactory): Likewise.
3488         (checkSystemClipboardAccess): Likewise.
3489         (checkTopLevelWindow): Likewise.
3490         (checkWrite): Likewise.
3491
3492 2003-03-20  Michael Koch  <konqueror@gmx.de>
3493
3494         * gnu/java/nio/FileChannelImpl.java
3495         (address): Removed.
3496         (map_address): New member variable.
3497         (length): Make it package private.
3498         (fd): Make it package private.
3499         (buf): Make it package private.
3500         (file_obj): Make it package private.
3501         (FileChannelImpl): New constructor.
3502         (nio_mmap_file): Use RawData instead of long.
3503         (nio_munmap_file): Use RawData instead of long.
3504         (nio_msync): Use RawData instead of long.
3505         (implCloseChannel): New implementation using map_address.
3506         (read): Reformated.
3507         (map): Implemented.
3508         (create_direct_mapped_buffer): Implemented, use RawData, throws
3509         IOException.
3510         (force): Use map_address instead of address.
3511         * gnu/java/nio/MappedByteFileBuffer.java
3512         (address): Removed.
3513         (map_address): New member variable.
3514         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3515         (several methods): Use map_address instead of address, replaced long
3516         with RawData where appropriate.
3517         * gnu/java/nio/natFileChannelImpl.cc
3518         (nio_mmap_file): Replaced long with RawData.
3519         (nio_munmap_file): Replaced long with RawData.
3520         (nio_msync): Replaced long with RawData.
3521         * gnu/java/nio/natMappedByteFileBuffer.cc
3522         (several methods): Replaced long with RawData where appropriate.
3523
3524 2003-03-20  Michael Koch  <konqueror@gmx.de>
3525
3526         * java/net/InetAddress.java,
3527         java/net/JarURLConnection.java,
3528         java/net/PlainDatagramSocketImpl.java,
3529         java/net/PlainSocketImpl.java,
3530         java/net/URLConnection.java:
3531         Merged copyright statements with classpath for easier merging.
3532
3533 2003-03-20  Michael Koch  <konqueror@gmx.de>
3534
3535         * java/io/FileInputStream.java
3536         (getChannel): New implementation.
3537         * java/io/FileOutputStream.java
3538         (ch): New member variable.
3539         (getChannel): Implemented.
3540         * java/io/RandomAccessFile.java
3541         (RandomAccessFile): Throws FileNotFoundException instead of
3542         IOException.
3543         (getChannel): New method.
3544         (ch): New member variable.
3545
3546 2003-03-20  Michael Koch  <konqueror@gmx.de>
3547
3548         * java/io/DataOutputStream.java,
3549         java/io/File.java,
3550         java/io/FileInputStream.java,
3551         java/io/FileOutputStream.java,
3552         java/io/InputStreamReader.java,
3553         java/io/LineNumberReader.java,
3554         java/io/OutputStreamWriter.java,
3555         java/io/PrintStream.java,
3556         java/io/RandomAccessFile.java:
3557         Merged copyright statements with classpath for easier merging.
3558
3559 2003-03-19  Michael Koch  <konqueror@gmx.de>
3560
3561         * java/lang/Process.java:
3562         Merged from classpath.
3563
3564 2003-03-19  Michael Koch  <konqueror@gmx.de>
3565
3566         * java/io/FileOutputStream.java
3567         (FileOutputStream): New constructor, merged from classpath.
3568         * java/io/FileWriter.java
3569         (FileWriter): New constructor, merged from classpath.
3570
3571 2003-03-18  Michael Koch  <konqueror@gmx.de>
3572
3573         * java/awt/ScrollPane.java
3574         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3575         (getViewportSize): Likewise.
3576         (addNotify): Likewise.
3577         (removeNotify): Likewise.
3578         * java/awt/ScrollPaneAdjustable.java
3579         (ScrollPaneAdjustable): No longer extends Scrollbar.
3580         * java/beans/beancontext/BeanContextServices.java:
3581         Reformated.
3582         (getService): Added throws TooManyListenersException;
3583         * java/beans/beancontext/BeanContextServicesSupport.java:
3584         Reformated.
3585
3586 2003-03-18  Michael Koch  <konqueror@gmx.de>
3587
3588         * java/io/BufferedOutputStream.java,
3589         java/io/DataInput.java,
3590         java/io/DataInputStream.java,
3591         java/io/DataOutput.java,
3592         java/io/Externalizable.java:
3593         More merges from classpath.
3594
3595 2003-03-18  Michael Koch  <konqueror@gmx.de>
3596
3597         * configure.in: Fixed links to platform dependant java.net files.
3598         * configure: Regenerated.
3599         * java/net/natInetAddress.cc,
3600         java/net/natNetworkInterface.cc,
3601         java/net/natPlainDatagramSocketImpl.cc,
3602         java/net/natPlainSocketImpl.cc:
3603         Removed.
3604
3605 2003-03-18  Michael Koch  <konqueror@gmx.de>
3606
3607         * configure.in: Create links to architecture dependent files,
3608         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3609         * configure: Regenerated.
3610         * java/net/natInetAddressNoNet.cc,
3611         java/net/natInetAddressPosix.cc,
3612         java/net/natInetAddressWin32.cc,
3613         java/net/natNetworkInterfaceNoNet.cc,
3614         java/net/natNetworkInterfacePosix.cc,
3615         java/net/natNetworkInterfaceWin32.cc,
3616         java/net/natPlainDatagramSocketImplNoNet.cc,
3617         java/net/natPlainDatagramSocketImplPosix.cc,
3618         java/net/natPlainDatagramSocketImplWin32.cc,
3619         java/net/natPlainSocketImplNoNet.cc,
3620         java/net/natPlainSocketImplPosix.cc,
3621         java/net/natPlainSocketImplWin32.cc: New files.
3622
3623 2003-03-18  Michael Koch  <konqueror@gmx.de>
3624
3625         * java/io/BufferedReader.java,
3626         java/io/BufferedWriter.java,
3627         java/io/ByteArrayOutputStream.java,
3628         java/io/FileFilter.java,
3629         java/io/FilePermission.java,
3630         java/io/FileReader.java,
3631         java/io/FileWriter.java,
3632         java/io/FilenameFilter.java,
3633         java/io/FilterInputStream.java,
3634         java/io/FilterOutputStream.java,
3635         java/io/FilterReader.java,
3636         java/io/FilterWriter.java,
3637         java/io/ObjectInput.java,
3638         java/io/ObjectInputValidation.java,
3639         java/io/ObjectOutput.java,
3640         java/io/ObjectStreamField.java,
3641         java/io/PipedInputStream.java,
3642         java/io/PipedReader.java,
3643         java/io/PrintWriter.java,
3644         java/io/PushbackReader.java,
3645         java/io/Reader.java,
3646         java/io/SerializablePermission.java,
3647         java/io/StringReader.java,
3648         java/io/Writer.java:
3649         Merged from classpath.
3650
3651 2003-03-17  Michael Koch  <konqueror@gmx.de>
3652
3653         * java/awt/ScrollPaneAdjustable.java:
3654         Compile fixes.
3655         
3656 2003-03-17  Michael Koch  <konqueror@gmx.de>
3657
3658         * java/net/DatagramSocket.java
3659         (connect): Fixed comment.
3660         * java/nio/ByteBuffer.java
3661         (hasArray): Fixed comment.
3662
3663 2003-03-17  Michael Koch  <konqueror@gmx.de>
3664
3665         * java/beans/Beans.java:
3666         Explicitely import classes not packages.
3667         * java/beans/FeatureDescriptor.java
3668         (preferred): New member variable.
3669         (isPreferred): New method.
3670         (setPreferred): New method.
3671         * java/beans/PropertyEditorManager.java:
3672         Explicitely import used classes.
3673         * java/beans/beancontext/BeanContextChild.java:
3674         Added line wrapping.
3675         * java/beans/beancontext/BeanContextChildSupport.java:
3676         Reindented.
3677         * java/beans/beancontext/BeanContextEvent.java:
3678         Reindented.
3679
3680 2003-03-17  Michael Koch  <konqueror@gmx.de>
3681
3682         * java/awt/Dialog.java
3683         (Dialog): New constructor, changed implementations, added
3684         documentation.
3685         * java/awt/ScrollPaneAdjustable.java
3686         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3687         Serializable.
3688         (serialVersionUID): New member variable.
3689         (sp): New member variable.
3690         (orientation): New member variable.
3691         (value): New member variable.
3692         (minimum): New member variable.
3693         (maximum): New member variable.
3694         (visibleAmount): New member variable.
3695         (unitIncrement): New member variable.
3696         (blockIncrement): New member variable.
3697         (AdjustmentListener): New member variable.
3698         (ScrollPaneAdjustable): New implementation.
3699         (addAdjustmentListener): New method.
3700         (removeAdjustmentListener): New method.
3701         (getAdjustmentListeners): New method.
3702         (getBlockIncrement): New method.
3703         (getMaximum): New method.
3704         (getMinimum): New method.
3705         (getOrientation): New method.
3706         (getUnitIncrement): New method.
3707         (getValue): New method.
3708         (getVisibleAmount): New method.
3709         (setBlockIncrement): New method.
3710         (setMaximum): Implemented.
3711         (setMinimum): Implemented.
3712         (setUnitIncrement): New method.
3713         (setValue): New method.
3714         (setVisibleAmount): Implemented. 
3715         (paramString): New stubbed method.
3716         * java/awt/Window.java
3717         (show): Call setVisible().
3718         (hide): Call setVisible().
3719         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3720         and WINDOW_STATE_CHANGED.
3721         (processWindowFocusEvent): New method.
3722         (processWindowStateEvent): New method.
3723         (postEvent): Deprecated.
3724         (applyResourceBundle): Deprecated.
3725         * java/awt/datatransfer/DataFlavor.java
3726         (DataFlavor): Doesn't thow ClassNotFoundException.
3727
3728 2003-03-17  Michael Koch
3729
3730         * javax/print/attribute/Attribute.java,
3731         javax/print/attribute/AttributeSet.java,
3732         javax/print/attribute/PrintRequestAttributeSet.java:
3733         New files.
3734         * Makefile.am
3735         (javax_source_files): Added new files:
3736         javax/print/attribute/Attribute.java
3737         javax/print/attribute/AttributeSet.java
3738         javax/print/attribute/PrintRequestAttributeSet.java
3739         * Makefile.in: Regenerated.
3740
3741 2003-03-17  Michael Koch
3742
3743         * javax/print/attribute/Attribute.java,
3744         javax/print/attribute/AttributeSet.java,
3745         javax/print/attribute/PrintRequestAttributeSet.java:
3746         New files.
3747         * Makefile.am
3748         (awt_java_source_files): Added new files:
3749         javax/print/attribute/Attribute.java
3750         javax/print/attribute/AttributeSet.java
3751         javax/print/attribute/PrintRequestAttributeSet.java
3752         * Makefile.in: Regenerated.
3753
3754 2003-03-16  Tom Tromey  <tromey@redhat.com>
3755
3756         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3757         Include platform.h.
3758         * java/lang/natRuntime.cc (insertSystemProperties): Use
3759         _Jv_platform_path_separator.
3760         (nativeGetLibname): Use _Jv_platform_file_separator.
3761         (_load): Use _Jv_platform_onload_names.
3762         (onload_names): New global.
3763         * include/win32.h (_Jv_platform_file_separator): New define.
3764         (_Jv_platform_path_separator): Likewise.
3765         (_Jv_platform_onload_names): Likewise.
3766         (_Jv_platform_ffi_abi): Likewise.
3767         * include/posix.h (_Jv_platform_file_separator): New define.
3768         (_Jv_platform_path_separator): Likewise.
3769         (_Jv_platform_onload_names): Likewise.
3770         (_Jv_platform_ffi_abi): Likewise.
3771
3772 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3773
3774         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3775
3776 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3777
3778         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3779         hierarchy loop.
3780         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3781         list to Object,ObjectStreamClass, moved callReadMethod code up into
3782         readObject and added Class argument to all setXxxField calls.
3783         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3784         consistent with ObjectOutputStream and to facilitate caching the
3785         Method in the future.
3786         (setBooleanField): Added Class argument.
3787         (setByteField): Likewise.
3788         (setCharField): Likewise.
3789         (setDoubleField): Likewise.
3790         (setFloatField): Likewise.
3791         (setIntField): Likewise.
3792         (setLongField): Likewise.
3793         (setShortField): Likewise.
3794         (setObjectField): Likewise.
3795         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3796         class hierarchy loop.
3797         (defaultWriteObject): Call writeFields with new argument list.
3798         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3799         list to Object,ObjectStreamClass, moved callWriteMethod up into
3800         writeObject and added Class argument to all getXxxField calls.
3801         (callWriteMethod): Added ObjectStreamClass argument to be able to
3802         get the proper class to call getMethod on (each class can have (or
3803         not have) its own writeObject method).
3804         (getBooleanField): Added Class argument.
3805         (getByteField): Likewise.
3806         (getCharField): Likewise.
3807         (getDoubleField): Likewise.
3808         (getFloatField): Likewise.
3809         (getIntField): Likewise.
3810         (getLongField): Likewise.
3811         (getShortField): Likewise.
3812         (getObjectField): Likewise.
3813         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3814         facilitate caching the Method object in the future.
3815
3816 2003-03-12  Andreas Schwab  <schwab@suse.de>
3817
3818         * configure.in: Avoid trailing /. in toolexeclibdir.
3819         * configure: Rebuilt.
3820
3821 2003-03-11  Michael Koch  <konqueror@gmx.de>
3822
3823         * gnu/java/nio/ByteBufferImpl.java
3824         (putInt): Use limit() instead of limit.
3825         * gnu/java/nio/CharBufferImpl.java
3826         (slice): Fixed implementation.
3827         (subSequence): Better bounds checking.
3828         * gnu/java/nio/MappedByteFileBuffer.java:
3829         Import all needed classes directly.
3830         * java/nio/ByteBuffer.java
3831         (hashCode): New dummy method.
3832         * java/nio/CharBuffer.java
3833         (array_offset): New member variable.
3834         (hasArray): Fixed documentation.
3835         (arrayOffset): Return array_offset.
3836
3837 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3838
3839         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3840         setter; made return value of getter const char* instead of char*
3841         * prims.cc: removed all references to _Jv_ThisExecutable().
3842         These are in the platform-specific sections now.
3843         * posix.cc: define platform-specific _Jv_ThisExecutable().
3844         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3845         * win32.cc: define platform-specific _Jv_ThisExecutable()
3846         using GetModuleFilename()
3847         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3848         to argv[0] instead of _Jv_ThisExecutable()
3849
3850 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3851
3852         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3853         that is set if we are using addr2name.awk instead of addr2line.
3854         (NameFinder): Set usingAddr2name if using addr2name.awk.
3855         (getExternalLabel): New native method to convert a method 
3856         name to an external label.
3857         (lookup): Convert name given by addr2line to an external label
3858         before demangling.
3859
3860         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3861         constant representing the prefix attached to method names to
3862         convert them to an external label.
3863         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3864         using LABEL_PREFIX.
3865
3866 2003-03-10  Tom Tromey  <tromey@redhat.com>
3867
3868         * Makefile.in: Rebuilt.
3869         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3870         (JC1FLAGS): Removed -Wno-deprecated.
3871
3872 2003-03-10  Michael Koch  <konqueror@gmx.de>
3873
3874         * java/nio/ByteOrder.java
3875         (nativeOrder): Working implementation, added documentation.
3876         (toString): Added documentation.
3877
3878 2003-03-10  Michael Koch  <konqueror@gmx.de>
3879
3880         * java/net/DatagramSocket.java,
3881         java/net/MulticastSocket.java,
3882         java/net/Socket.java,
3883         java/net/URL.java,
3884         java/net/URLConnection.java:
3885         Fixed some documentation tags to make javadoc and friends happy.
3886
3887 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3888
3889         * java/beans/beancontext/BeanContextServicesSupport.java,
3890         java/beans/beancontext/BeanContextSupport.java: New files.
3891         * Makefile.am
3892         (awt_source_files): Added new files.
3893         * Makefile.in: Regenerated.
3894
3895 2003-03-10  Michael Koch  <konqueror@gmx.de>
3896
3897         * java/awt/FocusTraversalPolicy.java
3898         (FocusTraversalPolicy): Documentation added.
3899         (getComponentAfter): Documentation added.
3900         (getComponentBefore): Documentation added.
3901         (getFirstComponent): Documentation added.
3902         (getLastComponent): Documentation added.
3903         (getDefaultComponent): Documentation added.
3904         (getInitialComponent): Documentation added.
3905         * java/awt/ScrollPaneAdjustable.java
3906         (sp): New member variable.
3907         (orientation): New member variable.
3908         (value): New member variable.
3909         (minimum): New member variable.
3910         (maximum): New member variable.
3911         (visibleAmount): New member variable.
3912         (unitIncrement): New member variable.
3913         (blockIncrement): New member variable.
3914         (adjustmentListener): New member variable.
3915         (ScrollPaneAdjustable): Rewrote.
3916         (addAdjustmentListener): New method.
3917         (removeAdjustmentListener): New method.
3918         (getAdjustmentListeners): New method.
3919         (getBlockIncrement): New method.
3920         (getMaximum): New method.
3921         (getMinimum): New method.
3922         (getOrientation): New method.
3923         (getUnitIncrement): New method.
3924         (getValue): New method.
3925         (getVisibleAmount): New method.
3926         (setBlockIncrement): New method.
3927         (setUnitIncrement): New method.
3928         (setMaximum): Implemented.
3929         (setMinimum): Implemented.
3930         (setValue): New method.
3931         (setVisibleAmount): Implemented.
3932         (paramString): New method.
3933         * java/awt/Window.java
3934         (show): Use setVisible(true) instead of super.show().
3935         (hide): Use sevVisible(false) instead of super.hide().
3936         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3937         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3938         (postEvent): Deprecated.
3939         (applyResourceBundle): Deprecated.
3940         (processWindowFocusEvent): New method.
3941         (processWindowStateEvent): New method.
3942         * java/awt/datatransfer/DataFlavor.java: Reindented.
3943         * java/awt/font/TextHitInfo.java
3944         (charIndex): New member variable.
3945         (leadingEdge): New member variable.
3946         (TextHitInfo): New constructor.
3947         (getCharIndex): Implemented.
3948         (isLeadingEdge): Implemented.
3949         (getInsertionIndex): Implemented.
3950         (hashCode): Access charIndex directly.
3951         (equals): Reformated.
3952         (leading): Implemented.
3953         (trailing): Implemented.
3954         (beforeOffset): Implemented.
3955         (afterOffset): Implemented.
3956         (getOtherHit): Implemented.
3957         (getOffsetHit): Implemented.
3958         (toString): Implemented.
3959         * java/awt/image/BufferedImage.java
3960         (BufferedImage): Implements WritableRenderedImage.
3961         (observers): New member variable.
3962         (addTileObserver): New method.
3963         (removeTileObserver): New method.
3964
3965 2003-03-09  Tom Tromey  <tromey@redhat.com>
3966
3967         PR libgcj/9934:
3968         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3969         to lseek.  Return 0 if we can't compute the value.
3970
3971 2003-03-03  Michael Koch  <konqueror@gmx.de>
3972
3973         * java/net/NetworkInterface.java: Merged with classpath.
3974
3975 2003-03-03  Tom Tromey  <tromey@redhat.com>
3976
3977         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3978         of bytecode.
3979         (handle_ret_insn): Fail if returning to jsr that appears at end of
3980         bytecode.
3981
3982 2003-03-03  Michael Koch  <konqueror@gmx.de>
3983
3984         * Makefile.am
3985         (ordinary_java_source_files):
3986         Added gnu/java/nio/MappedByteFileBuffer.java.
3987         (nat_source_files):
3988         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3989         * Makefile.in: Regenerated.
3990
3991 2003-03-03  Michael Koch  <konqueror@gmx.de>
3992
3993         * java/net/DatagramSocket.java
3994         (connect): Merged comment from classpath.
3995         (receive): Merged documentation from classpath.
3996         * java/net/Socket.java
3997         (setSoTimeout): Clarified documentation.
3998         * java/net/URL.java
3999         (getPath): Merged from classpath.
4000         (getUserInfo): Merged from classpath.
4001         (getQuery): Merged from classpath.
4002         * java/net/URLStreamHandler.java
4003         (toExternalForm): Merged from classpath.
4004
4005 2003-03-02  Mark Wielaard  <mark@klomp.org>
4006
4007         * java/util/Properties.java (load): Only skip line if the first
4008         character is a comment, whitespaces don't count.
4009
4010 2003-03-02  Michael Koch  <konqueror@gmx.de>
4011
4012         * java/net/NetPermission.java:
4013         Merged copyright with classpath.
4014
4015 2003-03-02  Michael Koch  <konqueror@gmx.de>
4016
4017         * java/lang/Package.java:
4018         Remerged from classpath.
4019
4020 2003-03-02  Michael Koch  <konqueror@gmx.de>
4021
4022         * java/net/HttpURLConnection.java
4023         (HTTP_SERVER_ERROR): Deprecated.
4024         * java/net/MulticastSocket.java
4025         (send): Replaced checkMulticast with appropriate checkPermission call,
4026         deprecated.
4027         * java/net/URLDecoder.java
4028         (decode): Deprecated.
4029         * java/net/URLEncoder.java
4030         (encode): Deprecated.
4031
4032 2003-03-02  Michael Koch  <konqueror@gmx.de>
4033
4034         * javax/swing/text/Caret.java
4035         (getMagicCaretPosition): Fixed typo in method name.
4036         * javax/swing/text/DefaultCaret.java
4037         (getMagicCaretPosition): Fixed typo in method name.
4038
4039 2003-03-02  Michael Koch  <konqueror@gmx.de>
4040
4041         * java/awt/List.java
4042         (setMultipleSelections): Deprecated.
4043         (delItem): Deprecated.
4044         * java/awt/MenuComponent.java
4045         (getPeer): Deprecated.
4046         * java/awt/ScrollPane.java
4047         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4048         * java/awt/dnd/MouseDragGestureRecognizer.java
4049         (mouseClicked): Added comment.
4050         (mousePressed): Added comment.
4051         (mouseReleased): Added comment.
4052         (mouseEntered): Added comment.
4053         (mouseExited): Added comment.
4054         (mouseDragged): Added comment.
4055         (mouseMoved): Added comment.
4056         * java/awt/event/KeyEvent.java
4057         (KeyEvent): Deprecated.
4058         (setModifiers): Deprecated.
4059         
4060 2003-03-02  Michael Koch  <konqueror@gmx.de>
4061
4062         * gnu/java/nio/FileChannelImpl.java
4063         (fd): Type FileDescriptor instead of int.
4064         (lengthInternal): Removed.
4065         (FileChannelImpl): Fixed arguments, check type of file object.
4066         (size): Made it native.
4067         (implPosition): New native method.
4068         (implTruncate): New native method.
4069         (position): Implemented.
4070         (truncate): Implemented.
4071         (nio_mmap_file): Changed arguments.
4072         (nio_munmap_file): Changed arguments.
4073         (nio_msync): Changed arguments.
4074         * gnu/java/nio/natFileChannelImpl.cc
4075         (lengthInternal): Removed.
4076         (size): New method.
4077         (implPosition): New method.
4078         (implTruncate): New method.
4079         (nio_mmap_file): Changed arguments.
4080         (nio_munmap_file): Changed arguments.
4081         (nio_msync): Changed arguments.
4082
4083 2003-03-02  Michael Koch  <konqueror@gmx.de>
4084
4085         * java/awt/dnd/DropTargetContext.java:
4086         Compile fix: Forgot to commit import.
4087         
4088 2003-03-02  Michael Koch  <konqueror@gmx.de>
4089
4090         * java/awt/Component.java,
4091         java/awt/ScrollPane.java:
4092         Fixed typos.
4093
4094 2003-03-02  Michael Koch  <konqueror@gmx.de>
4095
4096         * java/awt/dnd/DnDEventMulticaster.java: New file.
4097         * java/awt/dnd/DragSource.java
4098         (flavorMap): New member variable.
4099         (dragSourceListener): New member variable.
4100         (dragSourceMotionListener): New member variable.
4101         (getFlavorMap): Implemented.
4102         (createDragGestureRecognizer): Implemented.
4103         (addDragSourceListener): Implemented.
4104         (removeDragSourceListener): Implemented.
4105         (getDragSourceListeners): Implemented.
4106         (addDragSourceMotionListener): Implemented.
4107         (removeDragSourceMotionListener): Implemented.
4108         (getDragSourceMotionListeners): Implemented.
4109         (getListeners): Implemented.
4110         * java/awt/dnd/DragSourceContext.java
4111         (peer): New member variable.
4112         (cursor): New member variable.
4113         (transferable): New member variable.
4114         (trigger): New member variable.
4115         (dragSourceListener): New member variable.
4116         (image): New member variable.
4117         (offset): New member variable.
4118         (DragSourceContext): Implemented.
4119         (getDragSource): Implemented.
4120         (getComponent): Implemented.
4121         (getTrigger): Implemented.
4122         (getSourceActions): Implemented.
4123         (setCursor): Implemented.
4124         (getCursor): Implemented.
4125         (addDragSourceListener): Implemented.
4126         (removeDragSourceListener): Implemented.
4127         (getTransferable): Implemented.
4128         * java/awt/dnd/DropTarget.java
4129         (DropTargetAutoScroller.component): New member variable.
4130         (DropTargetAutoScroller.point): New member variable.
4131         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4132         (DropTargetAutoScroller.updateLocation): Implemented.
4133         (active): Renamed from isActive, defaults to true now.
4134         (component): New member variable.
4135         (flavorMap): New member variable.
4136         (actions): New member variable.
4137         (dropTargetContext): New member variable.
4138         (dropTargetListener): New member variable.
4139         (DropTarget): Implemented.
4140         (getComponent): Implemented.
4141         (setComponent): Implemented.
4142         (setDefaultActions): Implemented.
4143         (getDefaultActions): Implemented.
4144         (setActive): Use active instead of isActive.
4145         (isActive): Use active instead of isActive.
4146         (addDropTargetListener): Implemented.
4147         (removeDropTargetListener): Implemented.
4148         (getFlavorMap): Implemented.
4149         (setFlavorMap): Implemented.
4150         (getDropTargetContext): Implemented.
4151         (createDropTargetContext): Implemented.
4152         (createDropTargetAutoScroller): Implemented.
4153         * java/awt/dnd/DropTargetContext.java
4154         (TransferableProxy.getTransferDataFlavors): Implemented.
4155         (TransferableProxy.isDataFlavorSupported): Implemented.
4156         (TransferableProxy.getTransferData): Implemented.
4157         (dropTarget):  New member variable.
4158         (dtcp): New member variable.
4159         (DropTargetContext): New package private constructor.
4160         (getDropTarget): Implemented.
4161         (getComponent): Implemented.
4162         (addNotify): Implemented.
4163         (removeNotify): Implemented.
4164         (getCurrentDataFlavorsAsList): Implemented.
4165         (isDataFlavorSupported): Implemented.
4166         * java/awt/dnd/MouseDragGestureRecognizer.java
4167         (registerListeners): Implemented.
4168         (unregisterListeners): Implemented.
4169         * Makefile.am
4170         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4171         * Makefile.in: Regenerated.
4172
4173 2003-03-02  Michael Koch  <konqueror@gmx.de>
4174
4175         * java/awt/Component.java
4176         (eventTypeEnabled): New method.
4177         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4178         * java/awt/Container.java
4179         (changeSupport): New member variable.
4180         (addPropertyChangeListener): New methods.
4181         * java/awt/ContainerOrderFocusTraversalPolicy.java
4182         (ContainerOrderFocusTraversalPolicy): Added comment.
4183         (getComponentAfter): Throw exception, documentation added.
4184         (getComponentBefore): Throw exception, documentation added.
4185         (getFirstComponent): Throw exception, documentation added.
4186         (getLastComponent): Throw exception, documentation added.
4187         (getDefaultComponent): Throw exception, documentation added.
4188         * java/awt/EventQueue.java: Reindented.
4189         * java/awt/FocusTraversalPolicy.java:
4190         (FocusTraversalPolicy): Added comment.
4191         (getComponentAfter): Documentation added.
4192         (getComponentBefore): Documentation added.
4193         (getFirstComponent): Documentation added.
4194         (getLastComponent): Documentation added.
4195         (getDefaultComponent): Documentation added.
4196         (getInitialComponent): Documentation added.
4197         * java/awt/ScrollPane.java
4198         (wheelScrollingEnabled): New member variable.
4199         (ScrollPane): Initialize wheelScollingEnabled.
4200         (eventTypeEnabled): New method.
4201         (isWheelScrollingEnabled): New method.
4202         (setWheelScrollingEnabled): New method.
4203
4204 2003-03-02  Michael Koch  <konqueror@gmx.de>
4205
4206         * java/net/DatagramSocket.java
4207         (closed): New member variable.
4208         (close): Use closed variable.
4209         (getInetAddress): No need to call isConnected().
4210         (getPort): No need to call isConnected().
4211         (disconnect): Reset remoteAddress and remotePort, fixed typo.
4212         (isClosed): Reimplemented.
4213         
4214 2003-03-02  Michael Koch  <konqueror@gmx.de>
4215
4216         * configure.in: Added check for memory mapping of files.
4217         * configure: Regenerated.
4218         * config.h.in: Regenerated.
4219
4220 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
4221
4222         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4223         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4224
4225 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4226
4227         * java/io/File.java (normalizePath): Remove trailing separator
4228         on Windows only if path is not of the form "x:\".
4229
4230         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4231         (java::io::File::attr): Change formatting a bit and use
4232         WIN32_EPOCH_MILLIS instead of magic numbers.
4233         (java::io::File::isAbsolute): Path must have at least 3 
4234         characters for a UNC network path.
4235         (java::io::File::init_native): Define.
4236         (java::io::File::performCreate): Likewise.
4237         (java::io::File::performSetReadOnly): Likewise.
4238         (java::io::File::performSetLastModified): Likewise.
4239         (java::io::File::performListRoots): Likewise.
4240
4241 2003-03-01  Tom Tromey  <tromey@redhat.com>
4242
4243         * java/lang/natObject.cc: Don't include assert.h.
4244         (heavy_lock_obj_finalization_proc): Use JvAssert.
4245         (remove_all_heavy): Likewise.
4246         (_Jv_MonitorEnter): Likewise.
4247         (_Jv_MonitorExit): Likewise.
4248         (wait): Likewise.
4249
4250 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4251
4252         * java/io/File (getAbsolutePath): Prefix drive specifier on
4253         Windows for paths starting with a '\'.
4254         (toURL): Make URL more consistent with what Sun's JDK returns.
4255
4256         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4257         true only if the path is a UNC network path or it starts with a
4258         drive specifier.
4259
4260         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4261         Be prepared to handle either '/' or '\\' in the file path for
4262         Windows if using the "file" protocol.
4263         Canonicalise the file path if using a relative path in the given
4264         context and the "file" protocol.
4265
4266 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
4267
4268         * java/lang/natWin32Process.cc (startProcess): Double-quote each
4269         program array element passed to CreateProcess.
4270
4271 2003-03-01  Tom Tromey  <tromey@redhat.com>
4272
4273         * java/rmi/registry/RegistryHandler.java: Deprecate.
4274
4275 2003-03-01  Tom Tromey  <tromey@redhat.com>
4276
4277         * javax/accessibility/AccessibleEditableText.java,
4278         javax/accessibility/AccessibleHyperlink.java: New versions from
4279         Classpath.
4280
4281         * gnu/java/locale/LocaleInformation_af_ZA.java,
4282         gnu/java/locale/LocaleInformation_ar_AE.java,
4283         gnu/java/locale/LocaleInformation_ar_BH.java,
4284         gnu/java/locale/LocaleInformation_ar_DZ.java,
4285         gnu/java/locale/LocaleInformation_ar_EG.java,
4286         gnu/java/locale/LocaleInformation_ar_IN.java,
4287         gnu/java/locale/LocaleInformation_ar_IQ.java,
4288         gnu/java/locale/LocaleInformation_ar_JO.java,
4289         gnu/java/locale/LocaleInformation_ar_KW.java,
4290         gnu/java/locale/LocaleInformation_ar_LB.java,
4291         gnu/java/locale/LocaleInformation_ar_LY.java,
4292         gnu/java/locale/LocaleInformation_ar_MA.java,
4293         gnu/java/locale/LocaleInformation_ar_OM.java,
4294         gnu/java/locale/LocaleInformation_ar_QA.java,
4295         gnu/java/locale/LocaleInformation_ar_SD.java,
4296         gnu/java/locale/LocaleInformation_ar_SY.java,
4297         gnu/java/locale/LocaleInformation_ar_TN.java,
4298         gnu/java/locale/LocaleInformation_ar_YE.java,
4299         gnu/java/locale/LocaleInformation_be_BY.java,
4300         gnu/java/locale/LocaleInformation_bn_IN.java,
4301         gnu/java/locale/LocaleInformation_br_FR.java,
4302         gnu/java/locale/LocaleInformation_bs_BA.java,
4303         gnu/java/locale/LocaleInformation_ca_ES.java,
4304         gnu/java/locale/LocaleInformation_cs_CZ.java,
4305         gnu/java/locale/LocaleInformation_cy_GB.java,
4306         gnu/java/locale/LocaleInformation_da_DK.java,
4307         gnu/java/locale/LocaleInformation_de_AT.java,
4308         gnu/java/locale/LocaleInformation_de_BE.java,
4309         gnu/java/locale/LocaleInformation_de_CH.java,
4310         gnu/java/locale/LocaleInformation_de_DE.java,
4311         gnu/java/locale/LocaleInformation_de_LU.java,
4312         gnu/java/locale/LocaleInformation_el_GR.java,
4313         gnu/java/locale/LocaleInformation_en_AU.java,
4314         gnu/java/locale/LocaleInformation_en_BW.java,
4315         gnu/java/locale/LocaleInformation_en_CA.java,
4316         gnu/java/locale/LocaleInformation_en_DK.java,
4317         gnu/java/locale/LocaleInformation_en_GB.java,
4318         gnu/java/locale/LocaleInformation_en_HK.java,
4319         gnu/java/locale/LocaleInformation_en_IE.java,
4320         gnu/java/locale/LocaleInformation_en_IN.java,
4321         gnu/java/locale/LocaleInformation_en_NZ.java,
4322         gnu/java/locale/LocaleInformation_en_PH.java,
4323         gnu/java/locale/LocaleInformation_en_SG.java,
4324         gnu/java/locale/LocaleInformation_en_US.java,
4325         gnu/java/locale/LocaleInformation_en_ZA.java,
4326         gnu/java/locale/LocaleInformation_en_ZW.java,
4327         gnu/java/locale/LocaleInformation_es_AR.java,
4328         gnu/java/locale/LocaleInformation_es_BO.java,
4329         gnu/java/locale/LocaleInformation_es_CL.java,
4330         gnu/java/locale/LocaleInformation_es_CO.java,
4331         gnu/java/locale/LocaleInformation_es_CR.java,
4332         gnu/java/locale/LocaleInformation_es_DO.java,
4333         gnu/java/locale/LocaleInformation_es_EC.java,
4334         gnu/java/locale/LocaleInformation_es_ES.java,
4335         gnu/java/locale/LocaleInformation_es_GT.java,
4336         gnu/java/locale/LocaleInformation_es_HN.java,
4337         gnu/java/locale/LocaleInformation_es_MX.java,
4338         gnu/java/locale/LocaleInformation_es_NI.java,
4339         gnu/java/locale/LocaleInformation_es_PA.java,
4340         gnu/java/locale/LocaleInformation_es_PE.java,
4341         gnu/java/locale/LocaleInformation_es_PR.java,
4342         gnu/java/locale/LocaleInformation_es_PY.java,
4343         gnu/java/locale/LocaleInformation_es_SV.java,
4344         gnu/java/locale/LocaleInformation_es_US.java,
4345         gnu/java/locale/LocaleInformation_es_UY.java,
4346         gnu/java/locale/LocaleInformation_es_VE.java,
4347         gnu/java/locale/LocaleInformation_et_EE.java,
4348         gnu/java/locale/LocaleInformation_eu_ES.java,
4349         gnu/java/locale/LocaleInformation_fa_IR.java,
4350         gnu/java/locale/LocaleInformation_fi_FI.java,
4351         gnu/java/locale/LocaleInformation_fo_FO.java,
4352         gnu/java/locale/LocaleInformation_fr_BE.java,
4353         gnu/java/locale/LocaleInformation_fr_CA.java,
4354         gnu/java/locale/LocaleInformation_fr_CH.java,
4355         gnu/java/locale/LocaleInformation_fr_FR.java,
4356         gnu/java/locale/LocaleInformation_fr_LU.java,
4357         gnu/java/locale/LocaleInformation_ga_IE.java,
4358         gnu/java/locale/LocaleInformation_gd_GB.java,
4359         gnu/java/locale/LocaleInformation_gl_ES.java,
4360         gnu/java/locale/LocaleInformation_gv_GB.java,
4361         gnu/java/locale/LocaleInformation_he_IL.java,
4362         gnu/java/locale/LocaleInformation_hi_IN.java,
4363         gnu/java/locale/LocaleInformation_hr_HR.java,
4364         gnu/java/locale/LocaleInformation_hu_HU.java,
4365         gnu/java/locale/LocaleInformation_id_ID.java,
4366         gnu/java/locale/LocaleInformation_it_CH.java,
4367         gnu/java/locale/LocaleInformation_it_IT.java,
4368         gnu/java/locale/LocaleInformation_iw_IL.java,
4369         gnu/java/locale/LocaleInformation_ja_JP.java,
4370         gnu/java/locale/LocaleInformation_ka_GE.java,
4371         gnu/java/locale/LocaleInformation_kl_GL.java,
4372         gnu/java/locale/LocaleInformation_ko_KR.java,
4373         gnu/java/locale/LocaleInformation_kw_GB.java,
4374         gnu/java/locale/LocaleInformation_lt_LT.java,
4375         gnu/java/locale/LocaleInformation_lv_LV.java,
4376         gnu/java/locale/LocaleInformation_mi_NZ.java,
4377         gnu/java/locale/LocaleInformation_mk_MK.java,
4378         gnu/java/locale/LocaleInformation_mr_IN.java,
4379         gnu/java/locale/LocaleInformation_mt_MT.java,
4380         gnu/java/locale/LocaleInformation_nl_BE.java,
4381         gnu/java/locale/LocaleInformation_nl_NL.java,
4382         gnu/java/locale/LocaleInformation_nn_NO.java,
4383         gnu/java/locale/LocaleInformation_no_NO.java,
4384         gnu/java/locale/LocaleInformation_oc_FR.java,
4385         gnu/java/locale/LocaleInformation_pl_PL.java,
4386         gnu/java/locale/LocaleInformation_pt_BR.java,
4387         gnu/java/locale/LocaleInformation_pt_PT.java,
4388         gnu/java/locale/LocaleInformation_ro_RO.java,
4389         gnu/java/locale/LocaleInformation_ru_RU.java,
4390         gnu/java/locale/LocaleInformation_ru_UA.java,
4391         gnu/java/locale/LocaleInformation_se_NO.java,
4392         gnu/java/locale/LocaleInformation_sk_SK.java,
4393         gnu/java/locale/LocaleInformation_sl_SI.java,
4394         gnu/java/locale/LocaleInformation_sq_AL.java,
4395         gnu/java/locale/LocaleInformation_sr_YU.java,
4396         gnu/java/locale/LocaleInformation_sv_FI.java,
4397         gnu/java/locale/LocaleInformation_sv_SE.java,
4398         gnu/java/locale/LocaleInformation_ta_IN.java,
4399         gnu/java/locale/LocaleInformation_te_IN.java,
4400         gnu/java/locale/LocaleInformation_tg_TJ.java,
4401         gnu/java/locale/LocaleInformation_tl_PH.java,
4402         gnu/java/locale/LocaleInformation_tr_TR.java,
4403         gnu/java/locale/LocaleInformation_uk_UA.java,
4404         gnu/java/locale/LocaleInformation_ur_PK.java,
4405         gnu/java/locale/LocaleInformation_uz_UZ.java,
4406         gnu/java/locale/LocaleInformation_vi_VN.java,
4407         gnu/java/locale/LocaleInformation_yi_US.java,
4408         gnu/java/locale/LocaleInformation_zh_CN.java,
4409         gnu/java/locale/LocaleInformation_zh_HK.java,
4410         gnu/java/locale/LocaleInformation_zh_SG.java,
4411         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4412         info; from Classpath.
4413
4414         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4415         isPaintPending): New methods.
4416         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4417         setMaximizedBounds): New methods.
4418         (beginLayout, endLayout, isPaintPending): Likewise.
4419         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4420         (requestFocus): Likewise.
4421         (isObscured): Likewise.
4422         (canDetermineObscurity): Likewise.
4423         (coalescePaintEvent): Likewise.
4424         (updateCursorImmediately): Likewise.
4425         (createVolatileImage): Likewise.
4426         (handlesWheelScrolling): Likewise.
4427         (createBuffers): Likewise.
4428         (getBackBuffer): Likewise.
4429         (flip): Likewise.
4430         (destroyBuffers): Likewise.
4431
4432         * Makefile.in: Rebuilt.
4433         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4434         RobotPeer.java.
4435         * gnu/java/awt/GLightweightPeer.java,
4436         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4437         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4438         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4439         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4440         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4441         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4442         java/awt/dnd/peer/DragSourceContextPeer.java,
4443         java/awt/dnd/peer/DropTargetContextPeer.java,
4444         java/awt/peer/ButtonPeer.java,
4445         java/awt/peer/CheckboxMenuItemPeer.java,
4446         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4447         java/awt/peer/ComponentPeer.java,
4448         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4449         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4450         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4451         java/awt/peer/MenuBarPeer.java,
4452         java/awt/peer/MenuComponentPeer.java,
4453         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4454         java/awt/peer/PopupMenuPeer.java,
4455         java/awt/peer/ScrollPanePeer.java,
4456         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4457         java/awt/peer/TextComponentPeer.java,
4458         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4459         New versions from Classpath.
4460         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4461         * java/awt/peer/RobotPeer.java: Likewise.
4462
4463 2003-03-01  Mark Wielaard  <mark@klomp.org>
4464
4465         * java/io/ObjectInputStream.java: Reindent.
4466         * java/io/ObjectOutputStream.java: Likewise.
4467
4468 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4469
4470         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4471         jvalue for each argument. Simplify.
4472         * testsuite/libjava.jni/calls.c (docall),
4473         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4474         misalignment.
4475
4476 2003-02-28  Mark Wielaard  <mark@klomp.org>
4477
4478         * Makefile.am (nat_source_files): Remove
4479         java/io/natObjectOutputStream.cc.
4480         * Makefile.in: Regenerated.
4481         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4482         * java/io/ObjectStreamField.java (typename): New field.
4483         (ObjectStreamField(String, Class)): Initialize new field.
4484         (ObjectStreamField(String, String)): New Constructor.
4485         (getTypeCode): Use new field.
4486         (getTypeString): Use new field.
4487         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4488         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4489         Handle reading of Proxy classes. Never drain(), just write
4490         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4491         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4492         (flush): Call flush(), not just drain().
4493         (writeBoolean): Always use blockDataOutput.
4494         (writeByte): Likewise.
4495         (writeShort): Likewise.
4496         (writeChar): Likewise.
4497         (writeInt): Likewise.
4498         (writeLong): Likewise.
4499         (writeFloat): Likewise.
4500         (writeDouble): Likewise.
4501         (writeBytes): Likewise.
4502         (putfield (put(String,Object))): Throw IllegalArgumentException if
4503         field cannot be found.
4504         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4505         (writeArraySizeAndElements): Write byte[] in one go.
4506         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4507         set BlockDataMode to false.
4508         (annotateProxyClass): New method.
4509         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4510         (getField): No longer native.
4511         (getMethod): Likewise.
4512         (setBlockDataMode): Always drain() on switch, return old mode.
4513         (static): New static code block.
4514         * java/io/natObjectOutputStream.cc: Removed.
4515         * java/io/ObjectInputStream.java (getField): No longer native.
4516         (getMethod): Likewise.
4517         (readObject): Remember and reset old BlockDataMode. Track whether
4518         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4519         TC_LONGSTRING.
4520         (defaultReadObject): Set BlockDataMode to false during readFields.
4521         (resolveClass): Create new SecurityManager if necessary.
4522         Use Class.forName() if null ClassLoader found.
4523         (read(byte[],int,int): Copy remaining bytes to data before calling
4524         readNextBlock().
4525         (readFields): Set and reset BlockDataMode on call_read_method.
4526         Catch NoSuchFieldErrors.
4527         (setBlockDataMode): Return old mode.
4528         (static): New static code block.
4529         * java/io/natObjectInputStream.cc (getField): Removed.
4530         (getMethod): Likewise.
4531
4532 2003-02-27  Michael Koch  <konqueror@gmx.de>
4533
4534         * java/beans/Beans.java,
4535         java/beans/FeatureDescriptor.java
4536         java/beans/PropertyEditorManager.java:
4537         Reformated to GNU style.
4538
4539 2003-02-25  Michael Koch  <konqueror@gmx.de>
4540
4541         * gnu/java/nio/MappedByteFileBuffer.java,
4542         gnu/java/nio/natMappedByteFileBuffer.cc:
4543         New files, both are not compiled yet to get not noncompiling CVS.
4544
4545 2003-02-24  Tom Tromey  <tromey@redhat.com>
4546
4547         * java/util/prefs/AbstractPreferences.java (isUserNode):
4548         Implemented.
4549
4550 2003-02-24  Tom Tromey  <tromey@redhat.com>
4551
4552         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4553         Deprecate.
4554         * java/lang/Thread.java (resume): Deprecate.
4555         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4556         in @deprecated.
4557
4558 2003-02-23  Tom Tromey  <tromey@redhat.com>
4559
4560         * Makefile.in: Rebuilt.
4561         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4562
4563 2003-02-23  Tom Tromey  <tromey@redhat.com>
4564
4565         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4566         libraries): Removed.
4567         (add_library): Removed.
4568         (_load): Don't call add_library.
4569         (loadLibraryInternal): Likewise.
4570         (init): Likewise.
4571         (lookup_data): New struct.
4572         (find_symbol): New function.
4573         (_Jv_FindSymbolInExecutable): Use it.
4574
4575 2002-02-21  Anthony Green  <green@redhat.com>
4576
4577         * java/lang/Thread.java (Thread): New constructor taking stack
4578         size parameter (ignored for now).
4579         * Many methods: Merged GNU Classpath documentation.
4580
4581         * java/lang/Class.java (finalize): throws a Throwable.
4582
4583 2003-02-21  Mark Wielaard  <mark@klomp.org>
4584
4585         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4586         argument is null.
4587
4588 2003-02-21  Mark Wielaard  <mark@klomp.org>
4589
4590         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4591         then 65535 chars throw IllegalArgumentException.
4592
4593 2003-02-21  Mark Wielaard  <mark@klomp.org>
4594
4595         * java/util/zip/ZipFile.java (finalize): New method.
4596
4597 2003-02-21  Michael Koch  <konqueror@gmx.de>
4598
4599         * gnu/java/nio/natSocketChannelImpl.cc:
4600         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4601         <cato@df.lth.se> for pointing to it.
4602
4603 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4604
4605         * java/math/BigInteger.java (euclidInv): Take result array as an
4606         argument.  Updated all callers.
4607         (modInverse): Removed unused variables.
4608
4609 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4610
4611         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4612         config.status.
4613         * configure: Rebuilt.
4614
4615 2003-02-19  Michael Koch  <konqueror@gmx.de>
4616
4617         * gnu/java/nio/natSocketChannelImpl.cc:
4618         Added support for platforms without network support.
4619
4620 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4621
4622         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4623         after config.h.  Use <> for consistency.
4624         * java/lang/natObject.cc: Likewise.
4625         * java/lang/natRuntime.cc: Likewise.
4626         * java/lang/natSystem.cc: Likewise.
4627         * java/util/natTimeZone.cc: Likewise.
4628         * win32.cc: Likewise.
4629         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4630         listen, write, read): Undef to avoid interference from OS macros.
4631
4632 2003-02-19  Michael Koch  <konqueror@gmx.de>
4633
4634         * gnu/java/nio/ByteBufferImpl.java
4635         (ByteBufferImpl): Renamed two variables.
4636         * gnu/java/nio/CharBufferImpl.java
4637         (CharBufferImpl): Renamed two variables.
4638         * gnu/java/nio/DoubleBufferImpl.java
4639         (DoubleBufferImpl): Renamed two variables.
4640         * gnu/java/nio/FloatBufferImpl.java
4641         (FloatBufferImpl): Renamed two variables.
4642         * gnu/java/nio/IntBufferImpl.java
4643         (IntBufferImpl): Renamed two variables.
4644         * gnu/java/nio/LongBufferImpl.java
4645         (LongBufferImpl): Renamed two variables.
4646         * gnu/java/nio/ShortBufferImpl.java
4647         (ShortBufferImpl): Renamed two variables.
4648         * java/nio/CharBuffer.java
4649         (wrap): Fixed arguments to CharBufferImpl constructor.
4650         (hasArray): Only not read-only buffers have backing arrays.
4651         (length): Documentation added.
4652         (subSequence): Documentation added.
4653         * java/nio/DoubleBuffer.java
4654         (hasArray): Only not read-only buffers have backing arrays.
4655         * java/nio/FloatBuffer.java
4656         (hasArray): Only not read-only buffers have backing arrays.
4657         * java/nio/IntBuffer.java
4658         (hasArray): Only not read-only buffers have backing arrays.
4659         * java/nio/LongBuffer.java
4660         (hasArray): Only not read-only buffers have backing arrays.
4661         * java/nio/ShortBuffer.java
4662         (hasArray): Only not read-only buffers have backing arrays.
4663         
4664 2003-02-19  Michael Koch  <konqueror@gmx.de>
4665
4666         * javax/accessibility/AccessibleContext.java
4667         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4668
4669 2003-02-19  Michael Koch  <konqueror@gmx.de>
4670
4671         * java/awt/ScrollPaneAdjustable.java: Reformated.
4672
4673 2003-02-19  Michael Koch <konqueror@gmx.de>
4674
4675         * gnu/awt/j2d/Graphics2DImpl.java
4676         (getFontRenderContext): New method.
4677         (drawGlyphVector): New method.
4678         * java/awt/Graphics2D.java
4679         (getFontRenderContext): New abstract method.
4680         (drawGlyphVector): New abstract method.
4681         
4682 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4683
4684         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4685         if necessary.
4686         
4687         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4688         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4689         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4690         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4692         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4693         (setFont, gtkSetFont): add.
4694         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4695         Propagate font to peer.  (setFont): add FIXME comment.
4696
4697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4698         (gtkTextGetSize): fix height, width computation.
4699
4700         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4701         Make X font name a bit less bogus.
4702
4703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4704         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4705
4706         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4707         (processAdjustmentEvent): Adjust value.
4708
4709         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4710         logic errors.
4711
4712         * java/awt/Component.java (setVisible, show, hide): Call show and
4713         hide methods in subclasses.
4714         (getPreferredSize): don't set prefSize before we have peer.
4715
4716         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4717         Guess (0,0) if we don't have peer.
4718
4719
4720 2003-02-18  Michael Koch  <konqueror@gmx.de>
4721
4722         * java/nio/channels/FileChannel.java
4723         (toString): New implementation, added documentation.
4724         (map): Added exception documentation.
4725         (size): Added exception documentation.
4726         (write): New methods, documentation work.
4727         (read): New methods, documentation work.
4728         (implCloseChannel): Rewrote exception documentation.
4729         (force): Throws IOException, added documentation.
4730         (lock): New methods.
4731         (tryLock): New methods.
4732         (position): New methods.
4733         (transferTo): New method.
4734         (transferFrom): New method.
4735         (truncate): New method.
4736         * java/nio/channels/spi/SelectorProvider.java
4737         (provider): Implemented.
4738         * Makefile.am
4739         (ordinary_java_source_files): Added the following files:
4740         gnu/java/nio/DatagramChannelImpl.java
4741         gnu/java/nio/FileChannelImpl.java
4742         gnu/java/nio/PipeImpl.java
4743         gnu/java/nio/SelectionKeyImpl.java
4744         gnu/java/nio/SelectorImpl.java
4745         gnu/java/nio/SelectorProviderImpl.java
4746         gnu/java/nio/ServerSocketChannelImpl.java
4747         gnu/java/nio/SocketChannelImpl.java
4748         java/nio/channels/FileLock.java
4749         (nat_java_source_files): Added the following files:
4750         gnu/java/nio/natFileChannelImpl.cc
4751         gnu/java/nio/natSelectorImpl.cc
4752         gnu/java/nio/natSocketChannelImpl.cc
4753         * Makefile.in: Regenerated.
4754
4755 2003-02-17  Tom Tromey  <tromey@redhat.com>
4756
4757         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4758         * java/awt/image/ImageFilter.java: Likewise.
4759
4760 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4761
4762         * java/math/BigInteger.java (euclidInv): Return array of
4763         `BigInteger's.  Changed all callers.
4764
4765 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4766
4767         * java/util/Properties.java (store): Move the code formerly in
4768         list(), into this method.
4769         (list (PrintStream)): Just call list (PrintWriter) with a 
4770         PrintWriter object constructed from the given PrintStream object.
4771         (list (PrintWriter)): Emulate the output of Properties.list()
4772         as found in JDK 1.3/1.4.
4773
4774 2003-02-17  Michael Koch  <konqueror@gmx.de>
4775
4776         * java/net/DatagramSocket.java
4777         (connect): Merged with classpath.
4778         (disconnect): Merged documentation with classpath.
4779         (receice): Merged documentation with classpath.
4780         (send): Merged documentation with classpath.
4781         
4782 2003-02-17  Michael Koch  <konqueror@gmx.de>
4783
4784         * java/awt/dnd/DragSourceContext.java
4785         (addDragSourceListener): Added documentation.
4786         * java/awt/dnd/DragSourceDragEvent.java
4787         (serialVersionUID): New member variable.
4788         (getDropAction): Reformated.
4789         * java/awt/dnd/DragSourceDropEvent.java
4790         (serialVersionUID): New member variable.
4791         (dropSuccess): Renamed from success for serialization issues.
4792         * java/awt/dnd/DragSourceEvent.java
4793         (serialVersionUID): New member variable.
4794         * java/awt/dnd/DropTarget.java
4795         (serialVersionUID): New member variable.
4796         (DropTarget): Implemented, documentation reworked.
4797         (setComponent): Documentation added.
4798         (getComponent): Documentation added.
4799         (setDefaultActions): Documentation added.
4800         (getDefaultActions): Documentation added.
4801         (addDropTargetListener): Documentation added.
4802         * java/awt/dnd/DropTargetContext.java
4803         (DropTargetContext): Documentation added.
4804         (TransferableProxy.TransferableProxy): New method.
4805         (dropComplete): Fixed documentation.
4806         (getTransferable): Fixed documentation.
4807         (createTransferableProxy): Implemented.
4808         * java/awt/dnd/DropTargetDragEvent.java
4809         (DropTargetDragEvent): Documentation added.
4810         (serialVersionUID): New member variable.
4811         (DropTargetDragEvent): Throw exceptions, documentation added.
4812         (acceptDrag): Implemented.
4813         (getCurrentDataFlavors): Implemented.3yy
4814         (getCurrentDataFlavorsAsList): Implemented.
4815         (isDataFlavorSupported): Implemented.
4816         (rejectDrag): Implemented.
4817         * java/awt/dnd/DropTargetDropEvent.java
4818         (DropTargetDropEvent): Documentation added.
4819         (serialVersionUID): New member variable.
4820         (actions): Renamed from srcActions for serialization issues.
4821         (isLocalTx): Renamed from isLocalTx for serialization issues.
4822         (DropTargetDropEvent): New implementation, throw exceptions,
4823         documentation added.
4824         (getCurrentDataFlavors): Implemented.
4825         (getCurrentDataFlavorsAsList): Implemented.
4826         (isDataFlavorSupported): Implemented.
4827         (getSourceActions): Implemented.
4828         (getDropAction): Implemented.
4829         (getTransferable): Implemented.
4830         (acceptDrop): Implemented.
4831         (rejectDrop): Implemented.
4832         * java/awt/dnd/DropTargetListener.java
4833         (drop): Fixed documentation.
4834         * java/awt/dnd/MouseDragGestureRecognizer.java
4835         (MouseDragGestureRecognizer): Documentation added.
4836
4837 2003-02-17  Michael Koch  <konqueror@gmx.de>
4838
4839         * java/awt/font/FontRenderContext.java,
4840         java/awt/font/ShapeGraphicAttribute.java,
4841         java/awt/font/MultipleMaster.java,
4842         java/awt/font/TransformAttribute.java,
4843         java/awt/font/GlyphJustificationInfo.java,
4844         java/awt/font/LineBreakMeasurer.java,
4845         java/awt/font/TextMeasurer.java,
4846         java/awt/font/TextLayout.java,
4847         java/awt/font/LineMetrics.java,
4848         java/awt/font/TextAttribute.java,
4849         java/awt/font/GlyphMetrics.java,
4850         java/awt/font/OpenType.java,
4851         java/awt/font/GlyphVector.java,
4852         java/awt/font/GraphicAttribute.java,
4853         java/awt/font/ImageGraphicAttribute.java,
4854         java/awt/font/NumericShaper.java: New files.
4855         * Makefile.am
4856         (awt_java_source_files): Added the following files:
4857         java/awt/font/FontRenderContext.java
4858         java/awt/font/ShapeGraphicAttribute.java
4859         java/awt/font/MultipleMaster.java
4860         java/awt/font/TransformAttribute.java
4861         java/awt/font/GlyphJustificationInfo.java
4862         java/awt/font/LineBreakMeasurer.java
4863         java/awt/font/TextMeasurer.java
4864         java/awt/font/TextLayout.java
4865         java/awt/font/LineMetrics.java
4866         java/awt/font/TextAttribute.java
4867         java/awt/font/GlyphMetrics.java
4868         java/awt/font/OpenType.java
4869         java/awt/font/GlyphVector.java
4870         java/awt/font/GraphicAttribute.java
4871         java/awt/font/ImageGraphicAttribute.java
4872         java/awt/font/NumericShaper.java
4873         * Makefile.in: Regenerated.
4874
4875 2003-02-17  Michael Koch  <konqueror@gmx.de>
4876
4877         * java/awt/print/Paper.java
4878         (Paper): Implements Cloneable.
4879         * java/awt/print/PrinterJob.java
4880         (setJobName): Return value must be void.
4881         (print): Throws PrinterException.
4882         
4883 2003-02-16  Tom Tromey  <tromey@redhat.com>
4884
4885         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4886         variable.
4887
4888 2003-02-15  Michael Koch  <konqueror@gmx.de>
4889
4890         * java/awt/datatransfer/DataFlavor.java
4891         (isRepresentationClassByteBuffer): Removed try-catch block.
4892         (isRepresentationClassCharBuffer): Removed try-catch block.
4893         (isRepresentationClassReader): Removed try-catch block.
4894
4895 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4896
4897         * java/nio/charset/Charset.java
4898         (isRegistered): Fixed method args and implementation.
4899         * java/nio/charset/CharsetEncoder.java
4900         (unmappableCharacterAction): New method.
4901
4902 2003-02-15  Michael Koch  <konqueror@gmx.de>
4903
4904         * java/awt/CheckboxMenuItem.java
4905         (CheckBoxMenuItem): Dont implement Serializable.
4906         (getListeners): New method,
4907         (getItemListeners): New method.
4908         * java/awt/Choice.java
4909         (getListeners): New method,
4910         (getItemListeners): New method.
4911         * java/awt/Container.java
4912         (getListeners): Added exception documentation.
4913         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4914         (getFocusTraversalKeys): Added documentation.
4915         (areFocusTraversalKeysSet): Added documentation.
4916         (applyComponentOrientation): Added documentation.
4917         * java/awt/ContainerOrderFocusTraversalPolicy.java
4918         (implicitDownCycleTraversal): Renamed from downCycle for
4919         serialization.
4920         (ContainerOrderFocusTraversalPolicy): Added documentation.
4921         (accept): Reformated.
4922         * java/awt/Dialog.java
4923         (Dialog): Dont implement Serializable.
4924         (Dialog): Added documentation.
4925         * java/awt/Font.java
4926         (Font): Dont use absolute class name.
4927         * java/awt/Frame.java
4928         (Frame): Font implement Serializable.
4929         * java/awt/List.java
4930         (getListeners): New method,
4931         (getActionListeners): New method.       
4932         (getItemListeners): New method.
4933         * java/awt/Menu.java
4934         (countItems): New deprecated method.
4935         * java/awt/Scrollbar.java
4936         (getListeners): New method,
4937         (getAdjustmentListeners): New method,
4938         * java/awt/TextComponent.java
4939         (getListeners): New method,
4940         (getTextListeners): New method,
4941         * java/awt/TextField.java
4942         (getListeners): New method,
4943         (getActionListeners): New method.       
4944         * java/awt/Window.java
4945         (windowFocusListener): New member variable.
4946         (windowStateListener): New member variable.
4947         (getWindowFocusListeners): New method.
4948         (getWindowStateListeners): New method.
4949         (addWindowFocusListener): New method.
4950         (addWindowStateListener): New method.
4951         (removeWindowFocusListener): New method.
4952         (removeWindowStateListener): New method.
4953         * java/awt/datatransfer/DataFlavor.java
4954         (isRepresentationClassByteBuffer): New method.
4955         (isRepresentationClassCharBuffer): New method.
4956         (isRepresentationClassReader): New method.
4957
4958 2003-02-14  Mark Wielaard  <mark@klomp.org>
4959
4960         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4961         zero when there is an exponent and the significant is zero.
4962         (divide): Always set scale to newScale even in special ZERO case.
4963
4964 2003-02-14  Tom Tromey  <tromey@redhat.com>
4965
4966         * java/lang/System.java (properties): Use Properties.clone.
4967         (setProperties): Likewise.
4968
4969 2003-02-14  Michael Koch  <konqueror@gmx.de>
4970
4971         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4972         * gnu/java/nio/ServerSocketChannelImpl.java
4973         (SocketAccept): Removed.
4974         (accept): Commented out use of SocketAccept.
4975
4976 2003-02-13  Tom Tromey  <tromey@redhat.com>
4977
4978         * verify.cc (state::seen_subrs): New field.
4979         (state::state): Initialize it.
4980         (state::clean_subrs): New method.
4981         (state::~state): Call it.
4982         (state::copy): Copy subroutine list.
4983         (state::add_subr): New method.
4984         (state::merge): Only register a change if the current subroutine
4985         hasn't yet been noted.
4986
4987 2003-02-13  Mark Wielaard  <mark@klomp.org>
4988
4989         * java/io/InputStreamReader.java (getEncoding): Return null when
4990         closed.
4991         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4992
4993 2003-02-13  Mark Wielaard  <mark@klomp.org>
4994  
4995         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4996         is zero.
4997
4998 2003-02-13  Mark Wielaard  <mark@klomp.org>
4999
5000         * java/io/BufferedOutputStream.java (write(int)): Only flush when
5001         next byte cannot be buffered.
5002
5003 2003-02-13  Michael Koch  <konqueror@gmx.de>
5004  
5005         * java/awt/Label.java
5006         (Label): Don't implement Serializable directly.
5007         (addNotify): Fixed typo in documentation.
5008         * java/awt/List.java
5009         (List): Don't implement Serializable directly.
5010         * java/awt/PopupMenu.java
5011         (PopupMenu): Don't implement Serializable directly.
5012         * java/awt/ScrollPane.java
5013         (ScrollPane): Don't implement Serializable directly.
5014         * java/awt/Scrollbar.java
5015         (Scrollbar): Don't implement Serializable directly.
5016         * java/awt/TextArea.java
5017         (preferredSize): Fixed method arguments.
5018         * java/awt/TextField.java
5019         (TextField): Don't implement Serializable directly.
5020         * java/awt/color/ICC_ColorSpace.java
5021         (fromCIOXYZ): Documentation added.
5022         (getMinValue): Documentation added.
5023         (getMaxValue): Documentation added.
5024         * java/awt/datatransfer/DataFlavor.java
5025         (isMimeTypeEqual): May not be final.
5026         (clone): Throws CloneNotSupportedException.
5027         (getReaderForText): Don't throws UnsupportedEncodingException.
5028
5029 2003-02-13  Michael Koch  <konqueror@gmx.de>
5030  
5031         * gnu/java/awt/peer/gtk/GdkGraphics.java
5032         (drawString): New stubbed method.
5033         * java/awt/Graphics.java
5034         (drawString): New method.
5035
5036 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
5037
5038         PR libgcj/9271:
5039         * java/security/SecureRandom.java (next): Avoid bias in results.
5040
5041 2003-02-13  Michael  <konqueror@gmx.de>
5042
5043         * gnu/java/nio/FileChannelImpl.java
5044         (lengthInternal): Must be native.
5045         (size): Check if channel is already closed.
5046         (implCloseChannel): Reformated.
5047         (read): w was unused, removed it.
5048         (read): Removed.
5049         (read): New method.
5050         (write): New method.
5051         (map): Check arguments.
5052         (force): Throws IOException, check if channel is closed.
5053         (transferTo): New method.
5054         (transferFrom): New method.
5055         (lock): New method.
5056         (tryLock): New method.
5057         (position): New method.
5058         (truncate): New method.
5059         (nio_mmap_file): Uncommented.
5060         (nio_munmap_file): Uncommented.
5061         (nio_msync): Uncommented.
5062         * gnu/java/nio/natFileChannelImpl.cc: New file.
5063         
5064 2003-02-13  Michael Koch  <konqueror@gmx.de>
5065
5066         * java/nio/ByteBuffer.java
5067         (endian): New member variable.
5068         (get): New methods.
5069         (equals): New method.
5070         (compareTo): New method.
5071         (order): New methods.
5072         (compact): New method.
5073         (isDirect): New method.
5074         (slice): New method.
5075         (duplicate): New method.
5076         (asReadOnlyBuffer): New method.
5077         (asCharBuffer): New method.
5078         (asDoubleBuffer): New method.
5079         (asFloatBuffer): New method.
5080         (asIntBuffer): New method.
5081         (asLongBuffer): New method.
5082         (asShortBuffer): New method.
5083         (get*): New methods.
5084         (put*): New methods.
5085         (toString): New method.
5086         * java/nio/CharBuffer.java
5087         (CharBuffer): Implement Comparable instead of Cloneable.
5088         (get): May not be final.
5089         (put): May not be final.
5090         
5091 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
5092
5093         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5094         lastIndexOf( ) instead of indexOf( ) to find the colon before
5095         the line number, because Win32 file names might contain a 
5096         drive letter and a colon at the start of an absolute path.
5097
5098 2003-02-13  Michael Koch  <konqueror@gmx.de>
5099
5100         * gnu/java/nio/natSocketChannelImpl.cc
5101         (SocketConnect): This is not implemented yet.
5102         (SocketBind): This is not implemented yet.
5103
5104 2003-02-13  Michael Koch  <konqueror@gmx.de>
5105
5106         * gnu/java/nio/natByteBufferImpl.cc,
5107         gnu/java/nio/natCharBufferImpl.cc,
5108         gnu/java/nio/natDoubleBufferImpl.cc,
5109         gnu/java/nio/natFloatBufferImpl.cc,
5110         gnu/java/nio/natIntBufferImpl.cc,
5111         gnu/java/nio/natLongBufferImpl.cc,
5112         gnu/java/nio/natShortBufferImpl.cc:
5113         Added copyright and license.
5114         * java/nio/DoubleBuffer.java,
5115         java/nio/FloatBuffer.java,
5116         java/nio/IntBuffer.java,
5117         java/nio/LongBuffer.java,
5118         java/nio/ShortBuffer.java
5119         (array): Throw exceptions.
5120         (arrayOffset): Throw exceptions.
5121
5122 2003-02-13  Michael Koch  <konqueror@gmx.de>
5123  
5124         * gnu/java/util/prefs/FileBasedFactory.java,
5125         gnu/java/util/prefs/MemmoryBasedFactory.java,
5126         gnu/java/util/prefs/MemoryBasedPreferences.java,
5127         gnu/java/util/prefs/NodeReader.java,
5128         gnu/java/util/prefs/NodeWriter.java,
5129         java/util/prefs/AbstractPreferences.java,
5130         java/util/prefs/BackingStoreException.java,
5131         java/util/prefs/InvalidPreferencesFormatException.java,
5132         java/util/prefs/NodeChangeEvent.java,
5133         java/util/prefs/NodeChangeListener.java,
5134         java/util/prefs/PreferenceChangeEvent.java,
5135         java/util/prefs/PreferenceChangeListener.java,
5136         java/util/prefs/Preferences.java,
5137         java/util/prefs/PreferencesFactory.java:
5138         New files, all merged from classpath.
5139         * Makefile.am
5140         (ordinary_java_source_files): Added the following files:
5141         gnu/java/util/prefs/FileBasedFactory.java,
5142         gnu/java/util/prefs/MemmoryBasedFactory.java,
5143         gnu/java/util/prefs/MemoryBasedPreferences.java,
5144         gnu/java/util/prefs/NodeReader.java,
5145         gnu/java/util/prefs/NodeWriter.java,
5146         (core_java_source_files): Added the following files:
5147         java/util/prefs/AbstractPreferences.java,
5148         java/util/prefs/BackingStoreException.java,
5149         java/util/prefs/InvalidPreferencesFormatException.java,
5150         java/util/prefs/NodeChangeEvent.java,
5151         java/util/prefs/NodeChangeListener.java,
5152         java/util/prefs/PreferenceChangeEvent.java,
5153         java/util/prefs/PreferenceChangeListener.java,
5154         java/util/prefs/Preferences.java,
5155         java/util/prefs/PreferencesFactory.java
5156         * Makefile.in: Regenerated.
5157  
5158 2003-02-13  Michael Koch  <konqueror@gmx.de>
5159
5160         * java/net/NetPermission.java
5161         (NetPermission): Make doucmentation match the method declaration.
5162         * java/net/NetworkInterface.java
5163         (equals): Reformated for GNU coding style.
5164         * java/net/ServerSocket.java: Merged with classpath.
5165         * java/net/Socket.java: Partly merged with classpath (Added some @since).
5166         * java/net/SocketImpl.java
5167         (localPort): Merged with classpath (initialize with -1).
5168         * java/net/SocketPermission.java: Merged with classpath (reindented).
5169         * java/net/URLDecoder.java: Merged with classpath (reindented).
5170
5171 2003-02-13  Michael Koch  <konqueror@gmx.de>
5172
5173         * java/awt/GridBagConstraints.java
5174         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5175         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5176         * java/awt/KeyboardFocusManager.java
5177         (setGlobalCurrentFocusCycleRoot): Must be public.
5178         * java/awt/MenuComponent.java
5179         (MenuComponent): Must be public.
5180         * java/awt/Toolkit.java:
5181         Added some empty lines to make documentation more readable.
5182         (getFontPeer): Added @deprecated.
5183         (getColorModel): Added exception documentation.
5184         (getProperty): Fixed documentation.
5185  
5186 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
5187
5188         * configure.host (alpha*-*): Default to -mieee.
5189         * configure.in (IEEESPEC): New.
5190         * libgcj.spec.in (jc1): Add IEEESPEC.
5191         * configure: Rebuild.
5192
5193 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5194
5195         * include/win32.h: Include ws2tcpip.h instead of
5196         winsock.h to obtain definition of the socklen_t type.
5197         Remove IP_TOS definition - not needed with ws2tcpip.h
5198         (_Jv_connect): Correct slight formatting error.
5199
5200 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5201
5202         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5203         size of the arguments for a JNI function. For Win32,
5204         modify to search for all forms of possible exported
5205         names of an stdcall JNI function.
5206         (_Jv_JNIMethod::call): Modify to calculate the size
5207         of the arguments passed to a JNI function and pass
5208         it to _Jv_LookupJNIMethod.
5209
5210 2003-02-12  Michael Koch  <konqueror@gmx.de>
5211
5212         * java/nio/channels/Channels.java: New file.
5213         * Makefile.am
5214         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5215         * Makefile.in: Regenerated.
5216
5217 2003-02-12  Michael Koch  <konqueror@gmx.de>
5218
5219         * java/nio/ByteBuffer.java
5220         (allocate): Implemented.
5221         (wrap): Implemented.
5222         * java/nio/CharBuffer.java:
5223         Some documentation added and reworked.
5224         (endian): Removed.
5225         (allocate): Implemented.
5226         (wrap): Implemented.
5227         (array): Throw exceptions.
5228         (arrayOffset): Throw exceptions.
5229         (toString): Implemented.
5230         (length): Implemented.
5231         (put): Implemented.
5232         (charAt): Implemented.
5233
5234 2003-02-11  John Leuner  <jewel@debian.org>
5235
5236         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
5237         reads from end of file.
5238
5239 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
5240
5241         * java/io/natFileDescriptorWin32.cc 
5242         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5243         returns with Win32 error code ERROR_BROKEN_PIPE.
5244
5245 2003-02-11  Michael Koch  <konqueror@gmx.de>
5246
5247         * Makefile.in
5248         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5249
5250 2003-02-11  Michael Koch  <konqueror@gmx.de>
5251
5252         * gnu/java/nio/ByteBufferImpl.java:
5253         Reformated and removed some code.
5254         (backing_buffer): Removed.      
5255         (array_offset): Removed.
5256         (ro): Renamed to readOnly.
5257         (ByteBufferImpl): Use parent constructor, initialize readOnly.
5258         * gnu/java/nio/CharBufferImpl.java:
5259         Reformated and removed some code.
5260         (array_offset): Removed.
5261         (ro): Renamed to readOnly.
5262         (CharBufferImpl): Use parent constructor, initialize readOnly.
5263         (inc_pos): Removed.
5264         (order): New method.
5265         * gnu/java/nio/DoubleBufferImpl.java:
5266         Reformated and removed some code.
5267         (array_offset): Removed.
5268         (ro): Renamed to readOnly.
5269         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5270         (inc_pos): Removed.
5271         (order): New method.
5272         * gnu/java/nio/FloatBufferImpl.java:
5273         Reformated and removed some code.
5274         (array_offset): Removed.
5275         (ro): Renamed to readOnly.
5276         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5277         (inc_pos): Removed.
5278         (order): New method.
5279         * gnu/java/nio/IntBufferImpl.java:
5280         Reformated and removed some code.
5281         (array_offset): Removed.
5282         (ro): Renamed to readOnly.
5283         (IntBufferImpl): Use parent constructor, initialize readOnly.
5284         (inc_pos): Removed.
5285         (order): New method.
5286         * gnu/java/nio/LongBufferImpl.java:
5287         Reformated and removed some code.
5288         (array_offset): Removed.
5289         (ro): Renamed to readOnly.
5290         (LongBufferImpl): Use parent constructor, initialize readOnly.
5291         (inc_pos): Removed.
5292         (order): New method.
5293         * gnu/java/nio/ShortBufferImpl.java:
5294         Reformated and removed some code.
5295         (array_offset): Removed.
5296         (ro): Renamed to readOnly.
5297         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5298         (inc_pos): Removed.
5299         (order): New method.
5300         * Makefile.am
5301         (ordinary_java_source_files): Added the following files:
5302         gnu/java/nio/ByteBufferImpl.java
5303         gnu/java/nio/CharBufferImpl.java
5304         gnu/java/nio/DoubleBufferImpl.java
5305         gnu/java/nio/FloatBufferImpl.java
5306         gnu/java/nio/IntBufferImpl.java
5307         gnu/java/nio/LongBufferImpl.java
5308         gnu/java/nio/ShortBufferImpl.java
5309         java/nio/DoubleBuffer.java
5310         java/nio/FloatBuffer.java
5311         java/nio/IntBuffer.java
5312         java/nio/LongBuffer.java
5313         java/nio/ShortBuffer.java
5314         (nat_source_files): Added the following files:
5315         gnu/java/nio/natByteBufferImpl.cc
5316         gnu/java/nio/natCharBufferImpl.cc
5317         gnu/java/nio/natDoubleBufferImpl.cc
5318         gnu/java/nio/natFloatBufferImpl.cc
5319         gnu/java/nio/natIntBufferImpl.cc
5320         gnu/java/nio/natLongBufferImpl.cc
5321         gnu/java/nio/natShortBufferImpl.cc
5322         * Makefile.in: Regenerated.
5323
5324 2003-02-11  Michael Koch  <konqueror@gmx.de>
5325
5326         * gnu/java/nio/natCharBufferImpl.cc
5327         (nio_cast): Removed.
5328         (nio_put_*): Removed.
5329         (nio_get_*): Removed.
5330         * gnu/java/nio/natDoubleBufferImpl.cc
5331         (nio_cast): Removed.
5332         (nio_put_*): Removed.
5333         (nio_get_*): Removed.
5334         * gnu/java/nio/natFloatBufferImpl.cc
5335         (nio_cast): Removed.
5336         (nio_put_*): Removed.
5337         (nio_get_*): Removed.
5338         * gnu/java/nio/natIntBufferImpl.cc
5339         (nio_cast): Removed.
5340         (nio_put_*): Removed.
5341         (nio_get_*): Removed.
5342         * gnu/java/nio/natLongBufferImpl.cc
5343         (nio_cast): Removed.
5344         (nio_put_*): Removed.
5345         (nio_get_*): Removed.
5346         * gnu/java/nio/natShortBufferImpl.cc
5347         (nio_cast): Removed.
5348         (nio_put_*): Removed.
5349         (nio_get_*): Removed.
5350         * gnu/java/nio/SelectorProviderImpl.java
5351         (openDatagramChannel): Throws IOException.
5352         (openPipe): Throws IOException.
5353         (openSelector): Throws IOException.
5354         (openServerSocketChannel): Throws IOException.
5355         (openSocketChannel): Throws IOException.
5356         * gnu/java/nio/ServerSocketChannelImpl.java
5357         (ServerSocketChannelImpl): Throws IOException.
5358         (implCloseSelectableChannel): Throws IOException.
5359         (implConfigureBlocking): Throws IOException.
5360         * java/nio/ByteBuffer.java
5361         (readOnly): Removed.
5362         (hasArray): Use isReadOnly() instead of readOnly.
5363         (array): Use isReadOnly() instead of readOnly.
5364         (arrayOffset): Use isReadOnly() instead of readOnly.
5365         * java/nio/CharBuffer.java
5366         (CharBuffer): Implements Cloneable and CharSequence.
5367
5368 2003-02-11  Michael Koch  <konqueror@gmx.de>
5369
5370         * java/nio/DoubleBuffer.java
5371         (DoubleBuffer): Implements Comparable.
5372         (endian): Removed.
5373         (array_offset): New member variable.
5374         (DoubleBuffer): New constuctor.
5375         (get): May not be final.
5376         (put): May not be final.
5377         (arrayOffset): Implemented.
5378         (order): Made abstract.
5379         (order): Removed.
5380         (as*Buffer): Removed.
5381         (get*): Removed.
5382         (put*): Removed.
5383         * java/nio/FloatBuffer.java
5384         (FloatBuffer): Implements Comparable.
5385         (endian): Removed.
5386         (array_offset): New member variable.
5387         (FloatBuffer): New constuctor.
5388         (get): May not be final.
5389         (put): May not be final.
5390         (arrayOffset): Implemented.
5391         (order): Made abstract.
5392         (order): Removed.
5393         (as*Buffer): Removed.
5394         (get*): Removed.
5395         (put*): Removed.
5396         * java/nio/IntBuffer.java
5397         (IntBuffer): Implements Comparable.
5398         (endian): Removed.
5399         (array_offset): New member variable.
5400         (IntBuffer): New constuctor.
5401         (get): May not be final.
5402         (put): May not be final.
5403         (arrayOffset): Implemented.
5404         (order): Made abstract.
5405         (order): Removed.
5406         (as*Buffer): Removed.
5407         (get*): Removed.
5408         (put*): Removed.
5409         * java/nio/LongBuffer.java
5410         (LongBuffer): Implements Comparable.
5411         (endian): Removed.
5412         (array_offset): New member variable.
5413         (LongBuffer): New constuctor.
5414         (get): May not be final.
5415         (put): May not be final.
5416         (arrayOffset): Implemented.
5417         (order): Made abstract.
5418         (order): Removed.
5419         (as*Buffer): Removed.
5420         (get*): Removed.
5421         (put*): Removed.
5422         * java/nio/ShortBuffer.java
5423         (ShortBuffer): Implements Comparable.
5424         (endian): Removed.
5425         (array_offset): New member variable.
5426         (ShortBuffer): New constuctor.
5427         (get): May not be final.
5428         (put): May not be final.
5429         (arrayOffset): Implemented.
5430         (order): Made abstract.
5431         (order): Removed.
5432         (as*Buffer): Removed.
5433         (get*): Removed.
5434         (put*): Removed.
5435
5436 2003-02-11   Michael Koch  <konqueror@gmx.de>
5437
5438         * java/nio/channels/SelectionKey.java
5439         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5440         values.
5441
5442 2003-02-11  Michael Koch  <konqueror@gmx.de>
5443
5444         * java/nio/channels/DatagramChannel.java
5445         (write): Throws IOException.
5446         (connect): Throws IOException.
5447         (disconnect): Throws IOException.
5448         (read): Throws IOException.
5449         (receive): Throws IOException.
5450         (send): Throws IOException.
5451         * java/nio/channels/Pipe.java
5452         (open): Throws IOException.
5453         * java/nio/channels/SelectableChannel.java
5454         (configureBlocking): Throws IOException.
5455         * java/nio/channels/ServerSocketChannel.java
5456         (accept): Throws IOException.
5457         * java/nio/channels/SocketChannel.java
5458         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5459         GatheringByteChannel.
5460         (read): Throws IOException.
5461         (write): Throws IOException.
5462         (finishConnect): Throws IOException.
5463         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5464         (end): Throws AsynchronousCloseException.
5465         * java/nio/channels/spi/AbstractSelectableChannel.java
5466         (configureBlocking): Throws IOException.
5467         (implCloseChannel): Throws IOException.
5468         (implCloseSelectableChannel): Throws IOException.
5469         (implConfigureBlocking): Throws IOException.
5470         * java/nio/channels/spi/SelectorProvider.java
5471         (openDatagramChannel): Throws IOException.
5472         (openPipe): Throws IOException.
5473         (openSelector): Throws IOException.
5474         (openServerSocketChannel): Throws IOException.
5475         (openSocketChannel): Throws IOException.
5476
5477 2003-02-11  Michael Koch  <konqueror@gmx.de>
5478
5479         * gnu/java/nio/FileLockImpl.java,
5480         java/nio/channels/FileLock.java: New files.
5481
5482 2003-02-11  Michael Koch  <konqueror@gmx.de>
5483
5484         * java/nio/charset/IllegalCharsetNameException.java
5485         (serialVersionUID): New member variable.
5486         (charsetName): New member variable.
5487         (IllegalCharsetException): New implementation.
5488         (getCharsetName): New implementation.
5489         * java/nio/charset/UnsupportedCharsetException.java
5490         (serialVersionUID): New member variable.
5491         (charsetName): New member variable.
5492         (UnsupportedCharsetException): New implementation.
5493         (getCharsetName): New implementation.
5494
5495 2003-02-10  Tom Tromey  <tromey@redhat.com>
5496
5497         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5498         (ex): Renamed from sqlException.
5499
5500 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5501
5502         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5503         method used to ensure seeding has occurred and that a specific 
5504         seed can be set and used.
5505
5506 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5507
5508         * java/lang/Win32Process.java (destroy): Declare as native.
5509         (hasExited): New native method.
5510         (exitValue): Define.
5511         (getErrorStream): Likewise.
5512         (getInputStream): Likewise.
5513         (getOutputStream): Likewise.
5514         (waitFor): Declare as native.
5515         (startProcess): New native method.
5516         (cleanup): Likewise.
5517         (ConcreteProcess): Define.
5518         (outputStream, inputStream, errorStream): New members.
5519         (procHandle, exitCode): Likewise.
5520
5521         * java/lang/natWin32Process.cc
5522         (java::lang::ConcreteProcess::cleanup): Define.
5523         (java::lang::ConcreteProcess::destroy): Likewise.
5524         (java::lang::ConcreteProcess::hasExited): Likewise.
5525         (java::lang::ConcreteProcess::waitFor): Likewise.
5526         (new_string): Likewise.
5527         (java::lang::ConcreteProcess::startProcess): Likewise.
5528
5529 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5530
5531         * java/math/BigInteger.java:
5532         Updated notice to include years 2002 and 3.
5533         Added 2 private (int) arrays with values from the HAC (Handbook of
5534         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5535         and t[] that contains nbr. of tests --used in isProbablePrime().
5536
5537         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5538
5539         * java/math/BigInteger.java (make(int[],int), add(int,int),
5540         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5541         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5542         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5543         make(long).
5544
5545         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5546         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5547         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5548         BIs and returns void.
5549         (modInverse(BI)): Use new signatures of euclidInv().
5550
5551         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5552         static small primes instead of remainder().
5553         Use pre-computed max nbr of trials based on bitlength of BI to test.
5554         Use pre-computed small primes for the trial tests instead of random
5555         numbers.
5556
5557         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5558         not used.
5559
5560         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5561         invoacation of MPN.chars_per_word().  not used.
5562
5563         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5564         local var and used where needed.
5565
5566         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5567         Combined declaration with initialisation of locals.
5568         Removed unused var.
5569
5570         * java/math/BigInteger.java: Style changes
5571         (pow(int)): Removed 'else' keyword.
5572         (toString(int)): idem.
5573         (doubleValue()): idem.
5574         (bitLength()): idem.
5575         (equals(Object)): Use static methods name in same class w/o prepending
5576         class name.
5577         (doubleValue()): idem.
5578         (setNegative(BI)): idem.
5579         (negate()): idem.
5580         (and(BI,int)): idem.
5581         (and(BI)): idem.
5582         (gcd(BI)): idem.
5583         (byteArrayToIntArray()): Removed casting to (int). this is
5584         std. behaviour.
5585         (canonicalize()): idem.
5586         (alloc(int)): Always instantiate a new BI.
5587
5588 2003-02-10  Tom Tromey  <tromey@redhat.com>
5589
5590         * java/sql/Timestamp.java (compareTo(Object)): New method.
5591         (compareTo(Timestamp)): Likewise.
5592         (serialVersionUID): Updated.
5593
5594 2003-02-07  Mark Wielaard  <mark@klomp.org>
5595
5596         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5597         when verify is true.
5598         (JarFile(File, boolean)): Likewise.
5599         (manifestRead): Set manifestRead field correctly.
5600
5601 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5602
5603         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5604         tests; see patch #1016 on Savannah.
5605
5606 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5607
5608         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5609         (toString): do not return Strings starting with . and - erroneously.
5610         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5611         DiagBigDecimal.
5612
5613 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5614
5615         * java/beans/PropertyDescriptor.java
5616         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5617         methods.
5618         (PropertyDescriptor(String, Class, String, String)): Likewise.
5619         (PropertyDescriptor(String, Method, Method): Factor out getter and
5620         setter method sanity checks into new method.
5621         (findMethods): Don't do parameter sanity checking of get method here.
5622         (checkMethods): New method.
5623
5624 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5625
5626         * java/beans/PropertyDescriptor.java: Reformat.
5627
5628 2003-02-04  Tom Tromey  <tromey@redhat.com>
5629
5630         * java/io/PipedOutputStream.java (flush): Declare as throwing
5631         IOException.
5632         (close): Likewise.
5633         * java/io/PipedWriter.java (close): Declare as throwing
5634         IOException.
5635         * java/io/StringWriter.java (close): Declare as throwing
5636         IOException.
5637
5638 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5639
5640         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5641         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5642         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5643         "_JNI_OnLoad@8" (MSVC).
5644
5645 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5646
5647         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5648         convention on Win32 to invoke native JNI methods.
5649
5650 2003-02-03  Andrew Haley  <aph@redhat.com>
5651
5652         * configure.host (x86_64): Enable interpreter.
5653
5654 2003-02-03  Andrew Haley  <aph@redhat.com>
5655
5656         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5657         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5658         * configure.in (BACKTRACESPEC): New.
5659         * configure: Regenerate.
5660
5661 2003-02-02  Tom Tromey  <tromey@redhat.com>
5662
5663         * configure: Rebuilt.
5664         * configure.in (TOOLKIT) [xlib]: Set correctly.
5665
5666         * Makefile.in: Rebuilt.
5667         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5668         libstdc++.
5669
5670 2003-01-31  Mark WIelaard  <mark@klomp.org>
5671
5672         * Makefile.in: Rebuilt.
5673         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5674
5675 2003-01-31  Tom Tromey  <tromey@redhat.com>
5676
5677         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5678         cast to element type.
5679         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5680         (_Jv_JNI_GetObjectArrayElement): Likewise.
5681
5682         * Makefile.in: Rebuilt.
5683         * Makefile.am (cond_x_ltlibrary): Renamed library to
5684         lib-gnu-awt-xlib.la.
5685         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5686         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5687         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5688         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5689         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5690         (lib_gnu_awt_xlib_la_LINK): Likewise.
5691         (install-exec-hook): Removed.
5692         (lib-gnu-awt-xlib.la): Renamed.
5693
5694 2003-01-31  Tom Tromey  <tromey@redhat.com>
5695
5696         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5697         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5698         aclocal.m4 and lost in some merge.
5699
5700         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5701         Don't try to find graphics configuration.
5702         * java/awt/Toolkit.java (default_toolkit_name): Use new
5703         Configuration entry.
5704         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5705         New global.
5706         * configure: Rebuilt.
5707         * configure.in (TOOLKIT): New subst.
5708         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5709         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5710         directory.  Make output directories for .c files.
5711         * Makefile.in: Rebuilt.
5712         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5713         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5714         (all_java_source_files): Added new sources.
5715         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5716         (gtk_c_files): New macro.
5717         (gtk_c_source_files): New macro.
5718         (cond_gtk_ltlibrary): New macro.
5719         ($(gtk_c_files)): New target.
5720         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5721         (gtk_awt_peer_sources): New macro.
5722         (gtk_c_headers): New macro.
5723         ($(gtk_c_headers)): New target.
5724         (ACLOCAL_AMFLAGS): New macro.
5725         * gtk.m4, glib.m4, libart.m4: New files.
5726         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5727         gnu/java/awt/peer/gtk/GdkGraphics.java,
5728         gnu/java/awt/peer/gtk/GtkArg.java,
5729         gnu/java/awt/peer/gtk/GtkArgList.java,
5730         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5731         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5732         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5733         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5734         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5735         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5736         gnu/java/awt/peer/gtk/GtkClipboard.java,
5737         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5738         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5739         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5740         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5741         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5742         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5743         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5744         gnu/java/awt/peer/gtk/GtkImage.java,
5745         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5746         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5747         gnu/java/awt/peer/gtk/GtkListPeer.java,
5748         gnu/java/awt/peer/gtk/GtkMainThread.java,
5749         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5750         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5751         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5752         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5753         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5754         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5755         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5756         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5757         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5758         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5759         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5760         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5761         gnu/java/awt/peer/gtk/GtkToolkit.java,
5762         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5763         gnu/java/awt/peer/gtk/TestAWT.java,
5764         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5766         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5767         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5768         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5769         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5770         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5771         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5772         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5773         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5774         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5775         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5776         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5777         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5778         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5779         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5780         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5781         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5782         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5783         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5784         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5785         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5786         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5787         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5788         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5789         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5790         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5791         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5792         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5793         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5794         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5795         jni/classpath/native_state.c, jni/classpath/native_state.h,
5796         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5797
5798 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5799
5800         * java/util/Properties.java (load): Ignore backslash before EOF.
5801
5802 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5803
5804         * java/lang/natClass.cc (initializeClass): Check tables when
5805         (state == JV_STATE_IN_PROGRESS).
5806         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5807         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5808         interpreted classes.
5809         (linkClass0): Use _Jv_WaitForState.
5810
5811 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5812
5813         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5814         object when finished.
5815
5816 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5817
5818         * libjava/configure.host: Disable can_unwind_signal on darwin.
5819
5820 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5821
5822         Fixes PR java/9254:
5823         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5824         additionally containing id of the owner thread as well as
5825         the number of nested times the thread has acquired the mutex.
5826         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5827         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5828         (_Jv_MutexUnlock): Check if really the owner thread, reset
5829         owner thread id to 0 before leaving, if leaving for the last
5830         time.
5831         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5832         refcount.
5833         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5834         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5835         the passed mutex.
5836         Pass handle of the broadcast event, instead of a pointer to it
5837         in Win32 ResetEvent( ) call.
5838         Remove incorrect return values.
5839         (_Jv_CondDestroy): Close both event handles and delete
5840         critical section.
5841         (_Jv_CondNotify): Check if really the owner thread.
5842         (_Jv_CondNotifyAll): Check if really the owner thread.
5843         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5844         (really_start): Use SetEvent( ) to signal daemon_cond.
5845         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5846         WaitForSingleObject( ) instead to wait for daemon_cond to be
5847         signalled.
5848
5849 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5850
5851         * configure.in: Specifically define HAVE_BACKTRACE if building
5852         for MinGW.
5853         * include/win32.h: Remove HAVE_BACKTRACE definition.
5854         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5855         * configure: Rebuilt.
5856
5857 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5858
5859         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5860         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5861         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5862         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5863         * Makefile.in, configure: Rebuilt.
5864
5865 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5866
5867         Fixes PR java/9253:
5868         * java/io/natFileWin32.cc (performList): Append only "*.*"
5869         if the canonical file path already has a "\" at the end.
5870
5871 2003-01-24  Tom Tromey  <tromey@redhat.com>
5872
5873         * defineclass.cc (handleMethodsEnd): Precompute code for static
5874         method.
5875         (handleCodeAttribute): Likewise.
5876         * resolve.cc (ncode): Use run_class for unsynchronized static
5877         methods.
5878         * include/java-interp.h (class _Jv_InterpMethod): Declare
5879         run_class.
5880         * interpret.cc (run_synch_class): Initialize class.
5881         (run) [insn_invokestatic]: Don't initialize class.
5882         [insn_anewarray]: Likewise.
5883         [insn_multianewarray]: Likewise.
5884         (run_class): New function.
5885
5886 2003-01-24  Tom Tromey  <tromey@redhat.com>
5887
5888         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5889         comment.
5890
5891 2003-01-22  Andrew Haley  <aph@redhat.com>
5892
5893         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5894         * configure.host (CHECKREFSPEC): Define for x86_64.
5895
5896 2003-01-21  Tom Tromey  <tromey@redhat.com>
5897
5898         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5899         search at 2, not 3.
5900
5901 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5902
5903         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5904         looking at any characters.
5905         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5906         be used.
5907         (isAbsolute): Check path's length as well.
5908
5909 2003-01-17  Mark Wielaard  <mark@klomp.org>
5910
5911         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5912         (nat_source_files): Add natVMObjectStreamClass.cc.
5913         * Makefile.in: Regenerated.
5914         * gcj/javaprims.h (namespace java): Regenerated.
5915         * java/io/ObjectStreamClass.java (getClassUID): Call
5916         VMObjectStreamClass.hasClassInitializer().
5917         (hasClassInitializer): Removed.
5918         * java/io/VMObjectStreamClass.java: New class.
5919         * java/io/natVMObjectStreamClass.cc: New file.
5920         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5921
5922 2003-01-16  Mark Wielaard  <mark@klomp.org>
5923
5924         * java/net/SocketImpl.java (toString): Don't explicitly call
5925         toString() on possible null address.
5926
5927 2003-01-16  Michael Koch  <konqueror@gmx.de>
5928
5929         * java/net/MulticastSocket.java
5930         (setInterface): Reindented.
5931
5932 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5933
5934         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5935         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5936         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5937         translateY arguments.  Implement.
5938         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5939         down translation arguments.
5940         (drawPolyline, drawPolygon): Fix incorrect tests.
5941         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5942         translateX and translateY arguments.
5943
5944 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5945
5946         * Makefile.in: Rebuilt.
5947         * Makefile.am (xlib_includes): New macro.
5948         (INCLUDES): Use it.
5949
5950 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5951
5952         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5953         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5954         16-bit display mode.
5955
5956 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5957
5958         * java/awt/CardLayout.java (show): Rewrote.
5959         (gotoComponent): Removed `target' argument.  Simplified code.
5960         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5961         Changed all callers.
5962         (NONE): Removed.
5963         
5964 2003-01-14  Michael Koch  <konqueror@gmx.de>
5965
5966         * java/net/InetSocketAddress.java
5967         (serialVersionUID): New member variable.
5968         * java/net/NetPermission.java
5969         (NetPermission): Dont implement java.io.Serialization directly.
5970         * java/net/SocketAddress.java:
5971         (serialVersionUID): Documentation added.
5972         
5973 2003-01-14  Michael Koch  <konqueror@gmx.de>
5974
5975         * java/awt/Label.java
5976         (Label): Implements javax.accessibility.Accessible;
5977         * java/awt/List.java
5978         (List): Implements javax.accessibility.Accessible;
5979         * java/awt/ScrollPane.java
5980         (ScrollPane): Implements javax.accessibility.Accessible;
5981         * java/awt/Scrollbar.java
5982         (Scrollbar): Implements javax.accessibility.Accessible;
5983         * java/awt/TextComponent.java
5984         (setCaretPosition): Throw exception, documentation added.
5985         * java/awt/Toolkit.java:
5986         Added some newlines in method documentations.
5987         (createButton): Exception documentation added.
5988         (createTextField): Exception documentation added.
5989         (createLabel): Exception documentation added.
5990         (createList): Exception documentation added.
5991         (createCheckbox): Exception documentation added.
5992         (createScrollbar): Exception documentation added.
5993         (createScrollPane): Exception documentation added.
5994         (createTextArea): Exception documentation added.
5995         (createChoice): Exception documentation added.
5996         (createFrame): Exception documentation added.
5997         (createWindow): Exception documentation added.
5998         (createDialog): Exception documentation added.
5999         (createMenuBar): Exception documentation added.
6000         (createMenu): Exception documentation added.
6001         (createMenuItem): Exception documentation added.
6002         (createFileDialog): Exception documentation added.
6003         (createCheckboxMenuItem): Exception documentation added.
6004         (loadSystemColors): Exception documentation added.
6005         (setDynamicLayout): Exception documentation added.
6006         (isDynamicLayoutSet): Exception documentation added.
6007         (isDynamicLayoutActive): Exception documentation added.
6008         (getScreenSize): Exception documentation added.
6009         (getScreenResolution): Exception documentation added.
6010         (getScreenInsets): Exception documentation added.
6011         (getColorModel): Exception documentation added.
6012         (getSystemClipboard): Exception documentation added.
6013         (getSystemSelection): Exception documentation added.
6014         (getMenuShortcutKeyMask): Exception documentation added.
6015         (getSystemEventQueue): Exception documentation added.
6016         * java/awt/Window.java:
6017         Reindented some code.
6018         (Window): Centralized implementation, documentation added.
6019         (finalize): Documentation added.
6020         (hide): Fixed typo in comment.
6021         (getWindowListeners): Documentation added.
6022         * java/awt/color/ColorSpace.java
6023         (toRGB): Documentation added.
6024         * java/awt/color/ICC_ColorSpace.java
6025         (ICC_ColorSpace): Documentation added.
6026         (toRGB): Throw exception, documentation added.
6027         (fromRGB): Throw exception, documentation added.
6028         (toCIEXYZ): Documentation added.
6029         (fromCIEXYZ): Documentation added.
6030         (getMinValue): Documentation added.
6031         (getMaxValue): Documentation added.
6032         * java/awt/geom/Dimension2D.java
6033         (clone): Documentation added.
6034         * java/awt/geom/GeneralPath.java
6035         (clone): Documentation added.
6036         * java/awt/geom/Line2D.java
6037         (clone): Documentation added.
6038         * java/awt/geom/QuadCurve2D.java
6039         (clone): Documentation added.
6040         * java/awt/image/ColorModel.java
6041         (ColorModel): Throw exception, documentation added.
6042         * java/awt/image/ImageFilter.java
6043         (clone): Doesnt throw CloneNotSupportedException.
6044
6045 2003-01-14  Andrew Haley  <aph@redhat.com>
6046
6047         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6048         in a try block.
6049
6050 2003-01-10  Andrew Haley  <aph@redhat.com>
6051
6052         * include/dwarf2-signal.h: Remove x86_64.
6053         * configure.host (x86_64 DIVIDESPEC): Remove.
6054         * include/x86_64-signal.h: New file.
6055         * configure.in: Regenerate.
6056
6057 2003-01-10  Michael Koch  <konqueror@gmx.de>
6058
6059         * java/net/DatagramSocket.java
6060         (ch): Description added.
6061         (remotePort): Initialize with -1.
6062         (connect): Doesnt throws SocketException.
6063         * java/net/MulticastSocket.java
6064         (setInterface): Merge with Classpath.
6065         * java/net/ServerSocket.java
6066         (closed): New member variable.
6067         (bind): Check if socket is closed.
6068         (close): Close an associated channel too, set new value to closed.
6069         (isBound): Reindented.
6070         (isClosed): Implemented.
6071         * java/net/Socket.java
6072         (closed): New member variable.
6073         (bind): Check if socket is closed.
6074         (connect): Check if socket is closed.
6075         (close): Close an associated channel too, set new value to closed.
6076         (isClosed): Implemented.
6077
6078 2003-01-10  Michael Koch  <konqueror@gmx.de>
6079
6080         * java/awt/DisplayMode.java
6081         (equals): Fixed argument type and implementation.
6082
6083 2003-01-07  Tom Tromey  <tromey@redhat.com>
6084
6085         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6086         JV_HASH_SYNCHRONIZATION.
6087         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6088         JV_HASH_SYNCHRONIZATION.
6089
6090 2003-01-07  Michael Koch  <konqueror@gmx.de>
6091  
6092         * java/net/DatagramSocket.java:
6093         Added classpath license info.
6094         (DatagramSocket): Merged description with classpath.
6095         (close): Merged description with classpath.
6096         (getChannel): Merged description with classpath.
6097         (getInetAddress): Merged description with classpath.
6098         (getPort): Merged description with classpath.
6099         (getLocalAddress): Merged description with classpath.
6100         (getLocalPort): Merged description with classpath.
6101         (getSoTimeout): Merged description with classpath.
6102         (setSoTimeout): Merged description with classpath.
6103         (getSendBufferSize): Merged description with classpath.
6104         (setSendBufferSize): Merged description with classpath.
6105         (getReceiveBufferSize): Merged description with classpath.
6106         (setReceiveBufferSize): Merged description with classpath.
6107         
6108 2003-01-04  Tom Tromey  <tromey@redhat.com>
6109
6110         * java/awt/List.java: Merged with Classpath.
6111
6112 2003-01-03  Mark Wielaard  <mark@klomp.org>
6113
6114         * java/io/FileDescriptor.java (position): New private field.
6115         * java/io/natFileDescriptorPosix.cc (write): Up position.
6116         (setLength): Use and set position.
6117         (seek): Set position.
6118         (getFilePointer): Return position.
6119         (read): Up position.
6120
6121 2003-01-03  Mark Wielaard  <mark@klomp.org>
6122
6123         Merge with Classpath:
6124         * java/io/ObjectStreamClass.java (lookup): Split method and call
6125         lookupForClassObject().
6126         (lookupForClassObject): New method.
6127         (isProxyClass): New field.
6128         (setClass): Set isProxyClass, add object to classLookupTable, set
6129         superClass and calculateOffsets.
6130         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6131         and not a proxy class.
6132         (setFields): Set accessible true for serialPersistentFields.
6133         (getClassUID): Same for suid. And check if suid is of type long.
6134         (hasClassInitializer): Don't throw NoSuchMethodError.
6135
6136 2003-01-03  Mark Wielaard  <mark@klomp.org>
6137
6138         * java/io/FileInputStream.java (finalize): Don't explicitly
6139         finalize FileDescriptor.
6140
6141 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
6142
6143         * configure.host (sparc*-*): Enable bytecode interpreter.
6144
6145 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
6146
6147         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6148         Don't throw RemoteException.
6149         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6150         throw RemoteException.
6151
6152 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6153
6154         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6155         proxyHost): New static fields.
6156         (<clinit>): Initialize new fields.
6157         (connect): Use proxy if necessary.
6158         (usingProxy): Implement.
6159
6160 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
6161
6162         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6163         (TreeIterator.remove): Prefer IllegalStateException over
6164         ConcurrentModificationException, to match Sun.
6165
6166 2002-12-22  Anthony Green  <green@redhat.com>
6167
6168         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6169
6170 2003-01-02  Mark Wielaard  <mark@klomp.org>
6171
6172         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6173         public.
6174         (HTTP_USE_PROXY): Add field.
6175         (getResponseVals): Only set responseCode when not yet explicitly
6176         set by subclass.
6177
6178 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
6179             Mark Wielaard  <mark@klomp.org>
6180
6181         * java/util/zip/ZipFile.java (entries): Now HashMap.
6182         (readLeShort(DataInput, byte[])): Read from given byte array.
6183         (readLeInt(DataInput, byte[]): Likewise.
6184         (readLeShort(byte[] b, int off)): New method.
6185         (readLeInt(byte[] b, int off)): Likewise.
6186         (readEntries): Use byte arrays to read info in bigger chunks.
6187         (getEntries): Return HashMap.
6188         (getEntry): Use HashMap.
6189         (locBuf): New private field.
6190         (checkLocalHeader): Use locBuf to read info in one chunk.
6191         (getInputStream): Use entries HashMap, wrap PartialInputStream
6192         in BufferedInputStream.
6193         (ZipEntryEnumeration): Use HashMap and Interator.
6194
6195 2003-01-02  Mark Wielaard  <mark@klomp.org>
6196             Jeroen Frijters  <jeroen@sumatra.nl>
6197
6198         * java/net/URLClassLoader.java (Resource.getCodeSource):
6199         Fix check certs == null.
6200         (getCanonicalFileURL): Removed method.
6201         (JarURLLoader): Don't call removed method.
6202         (FileURLLoader): Likewise.
6203         (FileURLLoader.getResource): Don't canonicalize file name.
6204
6205 2003-01-01  Tom Tromey  <tromey@redhat.com>
6206
6207         * Makefile.in: Rebuilt.
6208         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6209         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6210         java/awt/BufferCapabilities.java, java/awt/Button.java,
6211         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6212         java/awt/Container.java, java/awt/Cursor.java,
6213         java/awt/EventQueue.java, java/awt/FileDialog.java,
6214         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6215         java/awt/MenuBar.java, java/awt/MenuComponent.java,
6216         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6217         java/awt/Scrollbar.java, java/awt/TextArea.java,
6218         java/awt/TextField.java, java/awt/color/CMMException.java,
6219         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6220         java/awt/color/ProfileDataException.java,
6221         java/awt/datatransfer/Clipboard.java,
6222         java/awt/datatransfer/DataFlavor.java,
6223         java/awt/datatransfer/FlavorMap.java,
6224         java/awt/datatransfer/SystemFlavorMap.java,
6225         java/awt/dnd/DragGestureEvent.java,
6226         java/awt/dnd/DragGestureRecognizer.java,
6227         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6228         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6229         java/awt/im/InputMethodHighlight.java,
6230         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6231         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6232
6233         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6234         `op' to BufferedImageOp.
6235
6236 2002-12-31  Tom Tromey  <tromey@redhat.com>
6237
6238         Fix for PR libgcj/7416:
6239         * javax/naming/InitialContext.java (init): Use
6240         gnu.classpath.home.url.
6241         * java/security/Security.java: Use new properties.
6242         (loadProviders): Accept base url; use it.
6243         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6244         gnu.classpath.home.url.
6245         (gnu.classpath.home.url): Define.
6246         (gnu.classpath.vm.shortname): Likewise.
6247
6248 2002-12-31  Tom Tromey  <tromey@redhat.com>
6249             Ranjit Mathew  <rmathew@hotmail.com>
6250
6251         Fix for PR libgcj/8997:
6252         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6253         Include platform.h.
6254         * include/posix.h (_Jv_platform_usleep): New function.
6255         * include/win32.h (_Jv_platform_usleep): New function.
6256
6257 2002-12-29  Tom Tromey  <tromey@redhat.com>
6258
6259         * gcj/javaprims.h: Updated.
6260         * scripts/classes.pl (scan): Removed stray semicolon.
6261
6262 2002-12-30  Mark Wielaard  <mark@klomp.org>
6263
6264         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6265         if zero or smaller.
6266
6267 2002-12-30  Mark Wielaard  <mark@klomp.org>
6268
6269         * java/util/Properties (formatForOutput): Don't fall through to
6270         default case after escaping character.
6271
6272 2002-12-30  Mark Wielaard  <mark@klomp.org>
6273
6274         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6275         against count.
6276
6277 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6278
6279         * boehm.cc: Remove stray semicolon.
6280         * interpret.cc: Likewise.
6281         * prims.cc: Likewise.
6282         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6283         earlier to ensure default arguments are processed.
6284         * gcj/array.h (JArray): Add forward declaration.
6285         (elements): Likewise.
6286         * gcj/javaprim.h: Remove stray semicolons.
6287         * include/bohm-gc.h: Likewise.
6288         * include/jni.h: Likewise.
6289         * include/jvm.h: Likewise.
6290         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6291         
6292 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6293
6294         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6295         of catch_type.
6296         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6297         idt tables after initializing superclass.
6298         * java/lang/natClassLoader.cc (uaddr): New typedef.
6299         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6300         if they are constant pool indicies.  Don't link vtable, otable yet.
6301
6302 2002-12-21  Anthony Green  <green@redhat.com>
6303
6304         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6305         libraries.
6306         * Makefile.in: Rebuilt.
6307
6308 2002-12-19  Anthony Green  <green@redhat.com>
6309
6310         * Makefile.am (ordinary_java_source_files): Add
6311         org/xml/sax/helpers/NewInstance.java.
6312         * Makefile.in: Rebuilt.
6313         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6314         org/xml/sax/helpers/package.html: New files.
6315         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6316         http://www.saxproject.org.
6317
6318 2002-12-19  Andrew Haley  <aph@redhat.com>
6319
6320         * java/util/natResourceBundle.cc: Include
6321         ArrayIndexOutOfBoundsException.h.
6322         (getCallingClassLoader): Don't put upper bound on stack search.
6323         Catch ArrayIndexOutOfBoundsException.
6324
6325 2002-12-19  Tom Tromey  <tromey@redhat.com>
6326
6327         * libtool-version: Increased `current'.
6328
6329 2002-12-19  Tom Tromey  <tromey@redhat.com>
6330
6331         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6332         comment.
6333         * java/lang/ClassLoader.java (defineClass): Use chained
6334         exception when rethrowing.
6335         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6336         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6337         constants.
6338         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6339         (_Jv_PrepareClass): Use it.
6340         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6341         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6342         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6343         (Class): _Jv_PrepareMissingMethods now friend.
6344         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6345         Record `NULL' for system class loader.
6346         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6347         system class loader.
6348         (_Jv_FindClassInCache): Likewise.
6349         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6350         (_Jv_FindClass): Special case system class loader.
6351         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6352         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6353         vtable slots.
6354         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6355         in a final class.
6356         (_getDeclaredMethod): Don't return synthetic methods.
6357         (getDeclaredMethods): Likewise.
6358         (_getMethod): Likewise.
6359         (_getMethods): Likewise.
6360
6361 2002-12-18  Raif Naffah  <raif@fl.net.au>
6362
6363         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6364         canonical form after divide().
6365         (modInverse): Likewise.
6366
6367 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6368             Mark Wielaard  <mark@klomp.org>
6369
6370         * java/security/SecurityRandom (digest): Removed field.
6371         (SecureRandom): Check all providers for case-insensitive SecureRandom
6372         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6373         if necessary.
6374         (getInstance(String,Provider,boolean): New method.
6375         (getInstance(String)): Use new method.
6376         (getInstance(String,String)): Likewise.
6377         (getInstance(String,Provider)): Likewise.
6378
6379 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6380
6381         * java/security/Security.java (loadProviders): Increment i only once.
6382
6383 2002-12-12  Mark Wielaard  <mark@klomp.org>
6384
6385         * java/lang/ClassLoader.java (resolveClass0): Transform
6386         ClassNotFoundException to NoClassDefFoundError. Transform all other
6387         throwables to LinkageError.
6388
6389 2002-12-11  Tom Tromey  <tromey@redhat.com>
6390
6391         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6392
6393         * java/lang/ClassLoader.java (loadedClasses): New field.
6394         (defineClass): Fixed indentation.  Put new class in
6395         loadedClasses.
6396         (findLoadedClass): Implement here.
6397         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6398
6399 2002-12-10  Tom Tromey  <tromey@redhat.com>
6400
6401         * Makefile.in: Rebuilt.
6402         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6403         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6404         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6405         * java/lang/natClassLoader.cc
6406         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6407
6408 2002-12-10  Mark Wielaard  <mark@klomp.org>
6409             Tom Tromey  <tromey@redhat.com>
6410
6411         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6412         (JarURLLoader): Use it.
6413         (FileURLLoader): Likewise.
6414         (JarURLResource.getURL): Use chained exception.
6415         (FileResource.getURL): Likewise.
6416         (FileURLLoader.getResource): Use canonical file name.
6417         (addURL): Indentation fix.
6418
6419 2002-12-10  Tom Tromey  <tromey@redhat.com>
6420
6421         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6422         From Laurent Bardet <l.bardet@magic.fr>.
6423
6424 2002-12-09  Tom Tromey  <tromey@redhat.com>
6425
6426         * include/win32.h (_Jv_platform_solib_prefix): New define.
6427         (_Jv_platform_solib_suffix): Likewise.
6428         * include/posix.h (_Jv_platform_solib_prefix): New define.
6429         (_Jv_platform_solib_suffix): Likewise.
6430         * java/lang/natRuntime.cc: Include StackTrace.h.
6431         (_load): Use findLibrary and new platform defines.
6432         (nativeGetLibname): Use new platform defines.
6433
6434         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6435         `t' won't be null.
6436
6437 2002-12-08  Mark Wielaard  <mark@klomp.org>
6438
6439         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6440         cache remote jar files.
6441         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6442         add File.separator to URL when it is a directory.
6443         * java/lang/ClassLoader.java: Add Classpath javadoc.
6444         (parent): final.
6445         (getParent): Add (disabled) security check.
6446         (findLibrary): New default method.
6447         * java/net/JarURLConnection.java (getManifest): Implement.
6448         (getInputStream): Only create InputStream when entry exists.
6449         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6450         when they exist.
6451         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6452
6453 2002-12-08  Mark Wielaard  <mark@klomp.org>
6454
6455         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6456         (lastDefaultLocale): New field.
6457         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6458         resourceBundleCache.
6459
6460 2002-12-06  Mark Wielaard  <mark@klomp.org>
6461
6462         * java/net/InetAddress.java (toString): Use hostname when not null,
6463         don't do an explicit reverse getHostName() lookup.
6464         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6465         NullPointerException.
6466
6467 2002-12-06  Tom Tromey  <tromey@redhat.com>
6468
6469         * include/java-interp.h (class _Jv_InterpMethod): Added
6470         JV_MARKOBJ_DECL.
6471         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6472         mark `prepared' field of interpreted method.
6473         * interpret.cc (compile): Use _Jv_AllocBytes.
6474
6475 2002-12-05  Andrew Haley  <aph@redhat.com>
6476
6477         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6478         #ifdef (HAVE_BACKTRACE) around the whole function body.
6479
6480 2002-12-05  Tom Tromey  <tromey@redhat.com>
6481
6482         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6483         * resolve.cc: Don't include AbstractMethodError.h.
6484         (_Jv_abstractMethodError): Removed.
6485         * defineclass.cc (handleMethodsBegin): Initialize method index to
6486         -1.
6487         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6488         method index for "new" final method.
6489         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6490         isVirtualMethod.  Added `flags' argument.
6491         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6492         class.
6493
6494 2002-12-04  Tom Tromey  <tromey@redhat.com>
6495
6496         * java/net/SocketPermission.java (hashCode): Rewrote.
6497
6498 2002-12-04  Tom Tromey  <tromey@redhat.com>
6499
6500         * Makefile.in: Rebuilt.
6501         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6502         natResourceBundle.
6503         * java/util/ResourceBundle.java (Security): Removed.
6504         (getCallingClassLoader): Now native.
6505         * java/util/natResourceBundle.cc: New file.
6506         * java/lang/natVMSecurityManager.cc: New file.
6507         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6508
6509 2002-12-03  Mark Wielaard  <mark@klomp.org>
6510
6511         * java/util/jar/JarFile.java (manifest): Not final.
6512         (manifestRead): New field.
6513         (JarFile): Don't read Manifest in constructor.
6514         (getManifest): New method.
6515         (JarEnumeration.nextElement): Use new method.
6516         (getEntry): Likewise.
6517         * java/util/zip/ZipFile.java (name): Final.
6518         (raf): Likewsie.
6519         (entries): Change type to Hashtable.
6520         (closed): New field.
6521         (ZipFile): Don't read enties in constructor.
6522         (readEntries): Use Hashtable.
6523         (close): Set new close flag and set entries to null inside
6524         synchronized block.
6525         (entries): Contruct enumeration using new getEntries() method and
6526         entries Hashtable.
6527         (getEntryIndex): Removed.
6528         (getEntries): New method.
6529         (getEntry): Use new getEntries() method and entries Hastable.
6530         (getInputStream): Likewise.
6531         (size): Return getEntries().size().
6532         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6533         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6534         (time): Removed
6535         (dostime): New field.
6536         (zipFileIndex): Removed.
6537         (ZipEntry(ZipEntry)): Copy dostime.
6538         (setDOSTime): Now final and doesn't convert dos time.
6539         (getDOSTime): Likewise.
6540         (setTime): Convert dos time.
6541         (getTime): Likewise.
6542         (getCalendar): New method.
6543         (setExtra): Use setTime().
6544         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6545
6546 2002-12-03  Tom Tromey  <tromey@redhat.com>
6547
6548         * java/lang/Character.java (forDigit): Formatting fix.
6549
6550 2002-12-03  Raif Naffah  <raif@fl.net.au>
6551
6552         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6553         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6554         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6555
6556 2002-12-03  Andrew Haley  <aph@redhat.com>
6557
6558         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6559         _Jv_PushClass.
6560         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6561         (_Jv_PopClass): New.
6562         (_Jv_PushClass): New.
6563         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6564         discover the ClassLoader of our caller.
6565         (_Jv_CheckArrayStore): Don't check that a class is assignment
6566         compatible with Object.
6567         * java/lang/natVMTHrowable.cc: Delete.
6568         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6569         java.lang.VMThrowable.
6570         (StackTrace(), StackTrace(int)): New constructors.
6571         (classAt, methodAt, update, methodAtAddress): New methods.
6572         (map): New field.
6573         * java/lang/VMThrowable.java: Use StackTrace instead of
6574         natVMTHrowable.
6575         * java/lang/Class.h (getClassLoaderInternal): New.
6576         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6577         Be friendly with gnu::gcj::runtime::StackTrace.
6578         (Object.chain): New field.
6579         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6580         gnu::gcj::runtime::StackTrace.
6581         * gnu/gcj/runtime/natStackTrace.cc: New file.
6582         * gnu/gcj/runtime/MethodRef.java: New file.
6583         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6584         instead of getClassLoader().
6585         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6586         java::lang::VMThrowable.
6587         * Makefile.am (core_java_source_files): Add MethodRef.java,
6588         StackTrace.java.
6589         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6590         * Makefile.in: Rebuild.
6591
6592 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6593
6594         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6595         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6596         yes also for sh-linux* and sh[34]*-linux*.
6597         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6598         set SIGNAL_HANDLER to use DWARF2 exception for them.
6599         * configure: Regenerate.
6600
6601 2002-12-02  Tom Tromey  <tromey@redhat.com>
6602
6603         * jni.cc: Added `name' argument.
6604         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6605         `const char *' argument.
6606         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6607
6608 2002-12-01  Tom Tromey  <tromey@redhat.com>
6609
6610         Bug compatibility, for PR libgcj/8738:
6611         * java/io/CharArrayWriter.java (close): Do nothing.
6612         (flush): Likewise.
6613         (reset): Don't touch `closed'.
6614         (write(int)): Don't throw IOException.
6615         (write(char[],int,int)): Likewise.
6616         (write(String,int,int)): Likewise.
6617         (closed): Removed.
6618
6619 2002-12-01  Mark Wielaard  <mark@klomp.org>
6620
6621         * java/lang/SecurityManager.java: Remerge comments, indenting and
6622         checkXXX methods with Classpath.
6623
6624 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6625
6626         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6627         getNormalizedComponents): Fix calculation which was using one too
6628         many bits in the unnormalized format.
6629
6630 2002-11-29  Gary Benson  <gbenson@redhat.com>
6631
6632         For PR libgcj/8759:
6633         * java/beans/Introspector.java (flushCaches): New method.
6634         (flushFromCaches): Likewise.
6635
6636 2002-11-29  Michael Koch <konqueror@gmx.de>
6637
6638         * java/nio/channels/DatagramChannel.java
6639         (open): Added exception documentation.
6640         (write): Added exception documentation.
6641         (connect): Added exception documentation.
6642         (disconnect): Added exception documentation.
6643         (isConnected): Added exception documentation.
6644         (read): Added exception documentation.
6645         (receive): Added exception documentation.
6646         (send): Added exception documentation.
6647         (validOps): Added exception documentation.
6648         * java/nio/channels/SocketChannel.java
6649         (open): Added exception documentation.
6650         (read): Added exception documentation.
6651         (write): Added exception documentation.
6652         (connect): Added exception documentation.
6653         (finishConnect): Added exception documentation.
6654
6655 2002-11-29  Michael Koch <konqueror@gmx.de>
6656
6657         * gnu/java/nio/DatagramChannelImpl:
6658         (fd): New member variable to store file descriptor of socket.
6659         * gnu/java/nio/SelectionKeyImpl.java:
6660         (ops): Removed.
6661         (readyOps): New member variable.
6662         (interestOps): New member variable.
6663         (readyOps): Implemented.
6664         (readyOps): New method to set member variable readyOps.
6665         (interestOps): Replaced ops by interestOps.
6666         * gnu/java/nio/SelectorImpl.java:
6667         (SelectorImpl): Initialize key sets.
6668         (select): Call select with -1 instead of Long.MAX_VALUE).
6669         (java_do_select): Make it a native method.
6670         (getFDsAsArray): New helper method.
6671         (select): Remove canceled keys, give only interested file discriptors
6672         to java_do_select, set ready ops.
6673         (add): No need to initialize keys set here.
6674         (add_selected): No need to initialize selected set here.
6675         (deregisterCanceledKeys): New helper method.
6676         (register): Set interest ops, set attachments, added handling of datagram
6677         channels.
6678         * gnu/java/nio/ServerSocketChannelImpl:
6679         (SocketAccept): Renamed from NioSocketAccept.
6680         (implConfigureBlocking): Implemented.
6681         (accept): Use SocketAccept instead of NioSocketAccept.
6682         * gnu/java/nio/SocketChannelImpl:
6683         Reactivate native methods.
6684
6685 2002-11-29  Michael Koch <konqueror@gmx.de>
6686
6687         * gnu/java/nio/natByteBufferImpl.cc,
6688         gnu/java/nio/natCharBufferImpl.cc,
6689         gnu/java/nio/natDoubleBufferImpl.cc,
6690         gnu/java/nio/natFloatBufferImpl.cc,
6691         gnu/java/nio/natIntBufferImpl.cc,
6692         gnu/java/nio/natLongBufferImpl.cc,
6693         gnu/java/nio/natSelectorImpl.cc,
6694         gnu/java/nio/natServerSocketChannelImpl.cc,
6695         gnu/java/nio/natShortBufferImpl.cc,
6696         gnu/java/nio/natSocketChannelImpl.cc:
6697         New files that implement native functionalities.
6698
6699 2002-11-29  Michael Koch <konqueror@gmx.de>
6700
6701         * gnu/java/nio/ByteBufferImpl.java
6702         (ByteBufferImpl): Moved position() after limit.
6703         (nio_*): Use native implementation.
6704         * gnu/java/nio/CharBufferImpl.java:
6705         Reformated.
6706         (endian): New member variable string endianess of buffer.
6707         (CharBufferImpl): Moved position() after limit.
6708         (nio_*): Use native implementation.
6709         (subSequence): Implemented.
6710         * gnu/java/nio/DoubleBufferImpl.java
6711         (DoubleBufferImpl): Moved position() after limit.
6712         (nio_*): Use native implementation.
6713         * gnu/java/nio/FloatBufferImpl.java
6714         Reformated.
6715         (FloatBufferImpl): Moved position() after limit.
6716         (nio_*): Use native implementation.
6717         * gnu/java/nio/IntBufferImpl.java
6718         Added needed imports, Reformated.
6719         (IntBufferImpl): Moved position() after limit.
6720         (nio_*): Use native implementation.
6721         * gnu/java/nio/LongBufferImpl.java
6722         Reformated.
6723         (LongBufferImpl): Moved position() after limit.
6724         (nio_*): Use native implementation.
6725         * gnu/java/nio/ShortBufferImpl.java
6726         Reformated.
6727         (ShortBufferImpl): Moved position() after limit.
6728         (nio_*): Use native implementation.
6729
6730 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6731
6732         * java/util/Locale.java (toString): Improve efficiency if country
6733         and variant are both empty.
6734
6735 2002-11-26  Tom Tromey  <tromey@redhat.com>
6736
6737         * verify.cc (pop_init_ref): New method.
6738         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6739         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6740         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6741         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6742         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6743         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6744         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6745         let `this' argument be uninitialized.  Don't let `null' be passed
6746         as `this' to construtor.
6747
6748 2002-11-26  Mark Wielaard  <mark@klomp.org>
6749
6750         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6751         * javax/transaction/HeuristicMixedException.java: Likewise.
6752         * javax/transaction/HeuristicRollbackException.java: Likewise.
6753         * javax/transaction/InvalidTransactionException.java: Likewise.
6754         * javax/transaction/NotSupportedException.java: Likewise.
6755         * javax/transaction/RollbackException.java: Likewise.
6756         * javax/transaction/Status.java: Likewise.
6757         * javax/transaction/Synchronization.java: Likewise.
6758         * javax/transaction/SystemException.java: Likewise.
6759         * javax/transaction/Transaction.java: Likewise.
6760         * javax/transaction/TransactionManager.java: Likewise.
6761         * javax/transaction/TransactionRequiredException.java: Likewise.
6762         * javax/transaction/TransactionRolledbackException.java: Likewise.
6763         * javax/transaction/UserTransaction.java: Likewise.
6764         * javax/transaction/xa/XAException.java: Likewise.
6765         * javax/transaction/xa/XAResource.java: Likewise.
6766         * javax/transaction/xa/Xid.java: Likewise.
6767
6768 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6769
6770         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6771         define.
6772         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6773         * include/posix.h (socklen_t): Define if not already defined.
6774
6775 2002-11-25  Tom Tromey  <tromey@redhat.com>
6776
6777         * verify.cc (type::compatible): Backed out broken change.
6778
6779         * verify.cc (type::compatible): Check initialization status
6780         first.
6781         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6782         Don't use NULLCHECK.
6783
6784 2002-11-23  H.J. Lu <hjl@gnu.org>
6785
6786         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6787         Include ../config/accross.m4.
6788         * aclocal.m4; Rebuild.
6789         * configure: Likewise.
6790
6791 2002-11-23  Mark Wielaard  <mark@klomp.org>
6792
6793         * javax/naming/AuthenticationException.java: Update copyright header.
6794         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6795         * javax/naming/Binding.java: Likewise.
6796         * javax/naming/CannotProceedException.java: Likewise.
6797         * javax/naming/CommunicationException.java: Likewise.
6798         * javax/naming/CompositeName.java: Likewise.
6799         * javax/naming/CompoundName.java: Likewise.
6800         * javax/naming/ConfigurationException.java: Likewise.
6801         * javax/naming/Context.java: Likewise.
6802         * javax/naming/ContextNotEmptyException.java: Likewise.
6803         * javax/naming/InitialContext.java: Likewise.
6804         * javax/naming/InsufficientResourcesException.java: Likewise.
6805         * javax/naming/InterruptedNamingException.java: Likewise.
6806         * javax/naming/LimitExceededException.java: Likewise.
6807         * javax/naming/LinkException.java: Likewise.
6808         * javax/naming/LinkLoopException.java: Likewise.
6809         * javax/naming/LinkRef.java: Likewise.
6810         * javax/naming/MalformedLinkException.java: Likewise.
6811         * javax/naming/NameAlreadyBoundException.java: Likewise.
6812         * javax/naming/NameClassPair.java: Likewise.
6813         * javax/naming/NameNotFoundException.java: Likewise.
6814         * javax/naming/NameParser.java: Likewise.
6815         * javax/naming/NamingEnumeration.java: Likewise.
6816         * javax/naming/NamingSecurityException.java: Likewise.
6817         * javax/naming/NoInitialContextException.java: Likewise.
6818         * javax/naming/NoPermissionException.java: Likewise.
6819         * javax/naming/NotContextException.java: Likewise.
6820         * javax/naming/OperationNotSupportedException.java: Likewise.
6821         * javax/naming/PartialResultException.java: Likewise.
6822         * javax/naming/Reference.java: Likewise.
6823         * javax/naming/Referenceable.java: Likewise.
6824         * javax/naming/ReferralException.java: Likewise.
6825         * javax/naming/ServiceUnavailableException.java: Likewise.
6826         * javax/naming/SizeLimitExceededException.java: Likewise.
6827         * javax/naming/TimeLimitExceededException.java: Likewise.
6828         * javax/naming/directory/Attribute.java: Likewise.
6829         * javax/naming/directory/AttributeInUseException.java: Likewise.
6830         * javax/naming/directory/AttributeModificationException.java: Likewise.
6831         * javax/naming/directory/Attributes.java: Likewise.
6832         * javax/naming/directory/BasicAttribute.java: Likewise.
6833         * javax/naming/directory/BasicAttributes.java: Likewise.
6834         * javax/naming/directory/DirContext.java: Likewise.
6835         * javax/naming/directory/InitialDirContext.java: Likewise.
6836         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6837         Likewise.
6838         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6839         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6840         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6841         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6842         * javax/naming/directory/ModificationItem.java: Likewise.
6843         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6844         * javax/naming/directory/SchemaViolationException.java: Likewise.
6845         * javax/naming/directory/SearchControls.java: Likewise.
6846         * javax/naming/directory/SearchResult.java: Likewise.
6847         * javax/naming/event/EventContext.java: Likewise.
6848         * javax/naming/event/EventDirContext.java: Likewise.
6849         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6850         * javax/naming/event/NamingEvent.java: Likewise.
6851         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6852         * javax/naming/event/NamingListener.java: Likewise.
6853         * javax/naming/event/ObjectChangeListener.java: Likewise.
6854         * javax/naming/ldap/Control.java: Likewise.
6855         * javax/naming/ldap/ControlFactory.java: Likewise.
6856         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6857         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6858         * javax/naming/ldap/HasControls.java: Likewise.
6859         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6860         * javax/naming/ldap/LdapContext.java: Likewise.
6861         * javax/naming/ldap/LdapReferralException.java: Likewise.
6862         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6863         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6864         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6865         * javax/naming/spi/DirObjectFactory.java: Likewise.
6866         * javax/naming/spi/DirStateFactory.java: Likewise.
6867         * javax/naming/spi/DirectoryManager.java: Likewise.
6868         * javax/naming/spi/InitialContextFactory.java: Likewise.
6869         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6870         * javax/naming/spi/NamingManager.java: Likewise.
6871         * javax/naming/spi/ObjectFactory.java: Likewise.
6872         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6873         * javax/naming/spi/ResolveResult.java: Likewise.
6874         * javax/naming/spi/Resolver.java: Likewise.
6875         * javax/naming/spi/StateFactory.java: Likewise.
6876
6877         * javax/naming/spi/NamingManager.java (ofb): Package private.
6878
6879 2002-11-21  Mark Wielaard  <mark@klomp.org>
6880
6881         * java/net/URL.java: Merge with Classpath (partly).
6882         * java/net/URLStreamHandler: Merge with Classpath.
6883
6884 2002-11-22  Michael Koch <konqueror@gmx.de>
6885
6886         * include/posix.h:
6887         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6888         * include/win32.h:
6889         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6890         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6891
6892 2002-11-21  Michael Koch <konqueror@gmx.de>
6893
6894         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6895         Only the new network functions should be in it.
6896
6897 2002-11-21  Michael Koch <konqueror@gmx.de>
6898
6899         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6900         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6901
6902 2002-11-21  Michael Koch <konqueror@gmx.de>
6903
6904         * java/nio/channels/AsynchronousCloseException.java,
6905         java/nio/channels/CancelledKeyException.java,
6906         java/nio/channels/ClosedByInterruptException.java,
6907         java/nio/channels/ConnectionPendingException.java,
6908         java/nio/channels/FileLockInterruptionException.java,
6909         java/nio/channels/IllegalSelectorException.java,
6910         java/nio/channels/NoConnectionPendingException.java,
6911         java/nio/channels/NonReadableChannelException.java,
6912         java/nio/channels/NonWritableChannelException.java,
6913         java/nio/channels/NotYetBoundException.java,
6914         java/nio/channels/NotYetConnectedException.java,
6915         java/nio/channels/OverlappingFileLockException.java,
6916         java/nio/channels/UnresolvedAddressException.java,
6917         java/nio/channels/UnsupportedAddressTypeException.java:
6918         New files.
6919         * Makefile.am (ordinary_java_source_files): Added new files.
6920         * Makefile.in: Regenerated.
6921
6922 2002-11-21  Michael Koch <konqueror@gmx.de>
6923
6924         * include/posix.h
6925         (_Jv_socket): New method.
6926         (_Jv_connect): New method.
6927         (_Jv_close): New method.
6928         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6929         (_Jv_bind): New method.
6930         (_Jv_listen): New method.
6931         (_Jv_write): New method.
6932         (_Jv_read): New method.
6933         * include/win32.h
6934         (_Jv_socket): New method.
6935         (_Jv_connect): New method.
6936         (_Jv_close): New method.
6937         (_Jv_bind): New method.
6938         (_Jv_listen): New method.
6939         (_Jv_write): New method.
6940         (_Jv_read): New method.
6941         * java/net/natNetworkInterface.cc:
6942         Include platform.h, removed inclusion of socket.h
6943         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6944         ::close() by _Jv_close().
6945         * java/net/natPlainDatagramSocketImpl.cc:
6946         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6947         added some new lines to make code more readable.
6948         (create): Replaced ::socket() by _Jv_socket().
6949         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6950         * java/net/natPlainSocketImpl.cc:
6951         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6952         removed include of socket.h, removed some windows defines
6953         (now in include/win32.h).
6954         (create): Replaced ::socket() by _Jv_socket().
6955         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6956         (write): Replaced ::read by _Jv_write().
6957         (read): Replaced ::read by _Jv_read().
6958
6959 2002-11-20  Michael Koch <konqueror@gmx.de>
6960
6961         * Makefile.am (ordinary_java_source_files):
6962         Added java/nio/channels/FileChannel.java.
6963         * Makefile.in: Regenerated.
6964
6965 2002-11-20  Michael Koch <konqueror@gmx.de>
6966
6967         * java/io/FileInputStream.java
6968         (getChannel): New method.
6969         * java/io/FileOutputStream.java
6970         (getChannel): New method.
6971         * java/net/ServerSocket.java
6972         (bind): Removed duplicate code and called another bind method instead.
6973         * java/nio/channels/SelectionKey.java
6974         (isValid): Removed wrong exception documentation.
6975         * java/nio/channels/ServerSocketChannel.java
6976         (accept): Added exception documentation.
6977         (open): Fixed typo, added exception documentation.
6978         * java/nio/channels/spi/AbstractSelectableChannel.java
6979         (implCloseChannel): Added exception documentation.
6980         (add): Reformated.
6981         (register): Added exception documentation.
6982
6983 2002-11-20  Andreas Jaeger  <aj@suse.de>
6984
6985         * configure: Regenerated with new libtool.m4.
6986
6987 2002-11-19  Tom Tromey  <tromey@redhat.com>
6988
6989         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6990         `referent'.
6991         (finalize_referred_to_object): Don't modify `referent' or `copy'
6992         fields.
6993         (add_to_hash): Correctly set `n->next' when updating list.
6994         * java/lang/ref/Reference.java (enqueue): Return false if already
6995         enqueued.
6996
6997 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6998
6999         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7000         to function and function pointer declarations in accordance with
7001         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7002         based on whether __GCJ_JNI_IMPL__ has been defined or not.
7003         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7004         JNI function definitions.
7005
7006 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7007
7008         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7009         that was causing CoderResults to be cached, not WeakReferences
7010         to CoderResults.
7011
7012 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
7013
7014         * java/security/KeyStore.java (getInstance): Fix
7015         comment and throw IllegalArgumentException if
7016         given provider is null.
7017         (getInstance): New method for jdk1.4 compatibility.
7018
7019 2002-11-18  Michael Koch <konqueror@gmx.de>
7020
7021         * java/net/PlainSocketImpl.java: Fix imports.
7022
7023 2002-11-18  Michael Koch <konqueror@gmx.de>
7024
7025         * java/nio/channels/SelectionKey.java
7026         (isValid): Added exception documentation.
7027         * java/nio/channels/Selector.java
7028         (open): Declare "throws IOException".
7029
7030 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7031
7032         * java/nio/charset/Charset.java
7033         (<clinit>): New method.
7034         (encode): Synchronize use of cached encoder object.
7035         (decode): Synchronize use of cached encoder object.
7036
7037 2002-11-18  Michael Koch <konqueror@gmx.de>
7038
7039         * gnu/java/nio/ByteBufferImpl.java,
7040         gnu/java/nio/CharBufferImpl.java,
7041         gnu/java/nio/DatagramChannelImpl.java,
7042         gnu/java/nio/DoubleBufferImpl.java,
7043         gnu/java/nio/FileChannelImpl.java,
7044         gnu/java/nio/FloatBufferImpl.java,
7045         gnu/java/nio/IntBufferImpl.java,
7046         gnu/java/nio/LongBufferImpl.java,
7047         gnu/java/nio/PipeImpl.java,
7048         gnu/java/nio/SelectionKeyImpl.java,
7049         gnu/java/nio/SelectorImpl.java,
7050         gnu/java/nio/SelectorProviderImpl.java,
7051         gnu/java/nio/ServerSocketChannelImpl.java,
7052         gnu/java/nio/ShortBufferImpl.java,
7053         gnu/java/nio/SocketChannelImpl.java,
7054         java/nio/DoubleBuffer.java,
7055         java/nio/FloatBuffer.java,
7056         java/nio/IntBuffer.java,
7057         java/nio/LongBuffer.java,
7058         java/nio/ShortBuffer.java,
7059         java/nio/channels/FileChannel.java: New files.
7060
7061 2002-11-18  Michael Koch <konqueror@gmx.de>
7062
7063         * Makefile.am (ordinary_java_source_files):
7064         Added java/nio/ReadOnlyBufferException.java and
7065         java/nio/channels/ClosedSelectorException.java.
7066         * Makefile.in: Regenerated.
7067
7068 2002-11-18  Michael Koch <konqueror@gmx.de>
7069
7070         * java/net/PlainSocketImpl.java: Reworked imports.
7071         * java/net/ServerSocket.java
7072         (ServerSocket): Create socket.
7073         * java/net/SocketAddress.java: Documentation added.
7074         * java/net/natPlainSocketImpl.cc: Reindented.
7075         * java/nio/ReadOnlyBufferException.java: New file
7076         * java/nio/channels/ClosedChannelException.java: Documentation added.
7077         * java/nio/channels/ClosedSelectorException.java: New file.
7078
7079 2002-11-17  Mark Wielaard  <mark@klomp.org>
7080
7081         * java/net/HttpURLConnection.java ((getPermission): Take port
7082         into consideration.
7083         (getErrorStream): Implement.
7084
7085 2002-11-17  Mark Wielaard  <mark@klomp.org>
7086
7087         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7088
7089 2002-11-16  Mark Wielaard  <mark@klomp.org>
7090
7091         Integrate work by Raif S. Naffah (raif@fl.net.au)
7092         * java/security/DummyKeyPairGenerator.java (clone): New method.
7093         * java/security/DummyMessageDigest.java (clone): New method.
7094         (engineUpdate): Now public.
7095         (engineReset): Likewise.
7096         (engineDigest): Likewise.
7097         (engineGetDigestLength): New method.
7098         * java/security/DummySignature.java (clone): New method.
7099         * java/security/KeyPairGenerator.java (provider): Now package private.
7100         (getInstance(String)): Use getInstance(String,Provider).
7101         (getInstance(String,String): Use getInstance(String,Provider)
7102         (getInstance(String,Provider): New method.
7103         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7104         * java/security/KeyPairGeneratorSpi.java (clone): New method.
7105         * java/security/MessageDigest.java (provider): Now package private.
7106         (getInstance(String): Use getInstance(String,Provider).
7107         (getInstance(String,String): Use getInstance(String,Provider)
7108         (getInstance(String,Provider): New method.
7109         * java/security/Provider.java (toCanonicalKey): New method.
7110         (get): New method that uses toCanonicalKey().
7111         (put): Use toCanonicalKey().
7112         (remove): Likewise.
7113         * java/security/Security.java (insertProviderAt): Provider index is one
7114         based, not zero based.
7115         (addProvider): Likewise.
7116         (removeProvider): Likewise.
7117         * java/security/Signature.java (provider): Now package private.
7118         (getInstance(String)): Use getInstance(String,Provider).
7119         (getInstance(String,String): Use getInstance(String,Provider)
7120         (getInstance(String,Provider): New method.
7121         (getInstance(String,String,Provider): Don't cast DummySignature.
7122
7123 2002-11-15  Tom Tromey  <tromey@redhat.com>
7124
7125         For PR libgcj/8593:
7126         * java/util/zip/GZIPInputStream.java (read): Check file size.
7127         Look in inflater for remaining input bytes.
7128         (read4): Added buf and offset arguments.
7129
7130 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
7131
7132         * java/applet/AppletContext.java: Fix typo and remove redundant
7133         modifiers.
7134
7135 2002-11-14  Tom Tromey  <tromey@redhat.com>
7136
7137         * java/lang/natRuntime.cc (insertSystemProperties): Set
7138         gnu.classpath.home.
7139
7140 2002-11-13  Michael Koch <konqueror@gmx.de>
7141
7142         * java/nio/ByteBuffer.java
7143         (allocate): New method.
7144         (wrap): New method.
7145         (put): New method.
7146         (get): New method.
7147
7148 2002-11-13  Michael Koch <konqueror@gmx.de>
7149
7150         * java/nio/channels/AlreadyConnectedException.java:
7151         Removed unneeded import.
7152         (AlreadyConnectedException): Documentation added.
7153         * java/nio/channels/Pipe.java
7154         (SinkChannel.SinkChannel): Documentation added.
7155         (SinkChannel.validOps): New method.
7156         (SourceChannel.SourceChannel): Documentation added.
7157         (SourceChannel.validOps): New method.
7158         (Pipe): Documentation added.
7159         (open): Documentation added.
7160         (SinkChannel.channel): Documentation added.
7161         (SourceChannel.channel): Documentation added.
7162         * java/nio/channel/SelectableChannel.java
7163         (SelectableChannel): Documentation added.
7164         (blockingLock): Documentation added.
7165         (configureBlocking):Documentation added.
7166         (isBlocking):Documentation added.
7167         (isRegistered):Documentation added.
7168         (keyFor):Documentation added.
7169         (provider):Documentation added.
7170         (register): Documentation added.
7171         (validOps): Documentation added.
7172         * jaba/nio/channels/SelectionKey.java
7173         (SelectionKey): Documentation added.
7174         (attach): Documentation added.
7175         (attachment): Documentation added.
7176         (isAcceptable): Documentation added.
7177         (isConnetable): Documentation added.
7178         (isReadable): Documentation added.
7179         (isWritable): Documentation added.
7180         (cancel): Documentation added.
7181         (channel): Documentation added.
7182         (interestOps): Documentation added.
7183         (isValid): Documentation added.
7184         (readyOps): Documentation added.
7185         (selector): Documentation added.
7186         * jaba/nio/channels/Selector.java
7187         (Selector): Documentation added.
7188         (open): Documentation added.
7189         (close): Documentation added.
7190         (isOpen): Documentation added.
7191         (keys): Documentation added.
7192         (provider): Documentation added.
7193         (select): Documentation added.
7194         (selectedKeys): Documentation added.
7195         (selectNow): Documentation added.
7196         (wakeup): Documentation added.
7197         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7198         (AbstractInterruptibleChannel): Documentation added.
7199         (opened): Default to true;
7200         (begin): Documentation added.
7201         (close): Set opened to false, documentation added.
7202         (isOpen): Documentation added.
7203         * java/nio/channels/spi/AbstractSelectionKey.java
7204         (AbstractSelectionKey): Documentation added.
7205         (cancel): Documentation added.
7206         (isValid): Documentation added.
7207         * java/nio/channels/spi/AbstractSelector.java
7208         (AbstractSelector): Documentation added.
7209         (begin): Documentation added.
7210         (close): Documentation added.
7211         (isOpen): Documentation added.
7212         (deregister): Documentation added.
7213         (end): Documentation added.
7214         (provider): Documentation added.
7215         (implCloseSelector): Documentation added.
7216         (register): Documentation added.
7217         * java/nio/channels/spi/SelectorProvider.java
7218         (SelectorProvider): Documentation added.
7219         (openDatagramChannel): Documentation added.
7220         (openPipe): Documentation added.
7221         (openSelector): Documentation added.
7222         (openServerSocketChannel): Documentation added.
7223         (openSocketChannel): Documentation added.
7224         (provider): Documentation added.
7225
7226 2002-11-12  Michael Koch <konqueror@gmx.de>
7227
7228         * java/nio/Buffer.java: Implemented.
7229         * java/nio/CharBuffer.java: New file.
7230         * java/nio/InvalidMarkException.java: New file.
7231         * java/nio/channels/DatagramChannel.java: Implemented.
7232         * java/nio/channels/ServerSocketChannel.java: Implemented.
7233         * java/nio/channels/SocketChannel.java: Implemented.
7234         * java/nio/channels/spi/AbstractChannel.java: Removed.
7235         * java/nio/channels/spi/AbstractSelectableChannel.java:
7236         Implemented.
7237         * java/nio/charset/Charset.java:
7238         Merge from Classpath.
7239         * java/nio/charset/CharsetDecoder.java: New file.
7240         * java/nio/charset/CharsetEncoder.java: New file.
7241         * java/nio/charset/CoderResult.java: New file.
7242         * Makefile.am (ordinary_java_source_files): Added new files.
7243         * Makefile.in: Regenerated.
7244
7245 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7246
7247         * gnu/java/nio/charset/ISO_8859_1.java,
7248         gnu/java/nio/charset/Provider.java,
7249         gnu/java/nio/charset/US_ASCII.java,
7250         gnu/java/nio/charset/UTF_16.java,
7251         gnu/java/nio/charset/UTF_16BE.java,
7252         gnu/java/nio/charset/UTF_16Decoder.java,
7253         gnu/java/nio/charset/UTF_16Encoder.java,
7254         gnu/java/nio/charset/UTF_16LE.java,
7255         gnu/java/nio/charset/UTF_8.java: New files.
7256
7257 2002-11-11  Michael Koch <konqueror@gmx.de>
7258
7259         * java/nio/charset/CharacterCodingException.java:
7260         This class must be public.
7261         * java/nio/charset/CoderMalfunctionError.java:
7262         This class must be public.
7263         * java/nio/charset/CodingErrorAction.java:
7264         This class must be public.
7265         * java/nio/charset/IllegalCharsetNameException.java:
7266         This class must be public, better implementation.
7267         * java/nio/charset/MalformedInputException.java:
7268         This class must be public, better implementation.
7269         * java/nio/charset/UnmappableCharacterException.java:
7270         This class must be public, better implementation.
7271         * java/nio/charset/UnsupportedCharsetException.java:
7272         This class must be public, better implementation.
7273
7274 2002-11-11  Michael Koch <konqueror@gmx.de>
7275
7276         * java/nio/BufferOverflowException.java,
7277         java/nio/BufferUnderflowException.java: New file.
7278         * Makefile.am (ordinary_java_source_files):
7279         Added new files.
7280         * Makefile.in: Regenerated.
7281
7282 2002-11-10  Tom Tromey  <tromey@redhat.com>
7283
7284         * java/awt/Container.java (validate): Use tree lock.
7285         (getComponent): Likewise.
7286         (getComponents): Likewise.
7287         (addImpl): Likewise.
7288         (remove): Likewise.
7289         (removeAll): Likewise.
7290         (processEvent): Fixed indentation.
7291         (getComponentAt): Use tree lock.
7292         (findComponentAt): Likewise.
7293         (removeNotify): Likewise.
7294         (isAncestorOf): Likewise.
7295         (list): Likewise.
7296         (visitChildren): Likewise.
7297         (findNextFocusComponent): Likewise.
7298         (addNotifyContainerChildren): Likewise.
7299         (getAccessibleChildrenCount): Likewise.
7300         (getAccessibleChild): Likewise.
7301
7302         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7303         (getSize): Likewise.
7304         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7305         (getSize): Likewise.
7306         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7307         (calcSize): Likewise.
7308         * java/awt/CardLayout.java (getSize): Use tree lock.
7309         (gotoComponent): Likewise.
7310         (layoutContainer): Likewise.
7311
7312         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7313         count is 0.
7314         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7315         count is 0.
7316
7317         * java/io/Externalizable.java, java/io/FilePermission.java,
7318         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7319         java/io/SerializablePermission.java, java/text/Format.java,
7320         java/util/AbstractMap.java, java/util/HashMap.java,
7321         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7322         versions from Classpath.
7323
7324 2002-11-10  Anthony Green  <green@redhat.com>
7325
7326         * java/util/jar/Attributes.java (Name): Fix name check.
7327
7328 2002-11-10  Mark Wielaard  <mark@klomp.org>
7329
7330         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7331         with getName() as message.
7332         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7333         type as message.
7334
7335         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7336         unused.
7337
7338 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7339
7340         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7341         for Win32. JNICALL has been defined to __stdcall to be compatible
7342         with Sun's JDKs.
7343
7344 2002-11-10  Tom Tromey  <tromey@redhat.com>
7345
7346         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7347         (setRows): Check newRows, not rows.
7348
7349         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7350
7351 2002-11-09  Tom Tromey  <tromey@redhat.com>
7352
7353         * java/applet/Applet.java, java/applet/AppletContext.java,
7354         java/applet/AppletStub.java, java/applet/AudioClip.java,
7355         java/awt/CardLayout.java,
7356         java/awt/ContainerOrderFocusTraversalPolicy.java,
7357         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7358         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7359         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7360         java/awt/color/ICC_ColorSpace.java,
7361         java/awt/color/ICC_Profile.java,
7362         java/awt/color/ICC_ProfileGray.java,
7363         java/awt/color/ICC_ProfileRGB.java,
7364         java/awt/datatransfer/DataFlavor.java,
7365         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7366         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7367         New versions from Classpath.
7368         * Makefile.in: Rebuilt.
7369         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7370         ICC_ProfileRGB.
7371
7372         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7373         display policy.
7374
7375         * java/awt/List.java (processEvent): Added missing `else's.
7376
7377         * java/awt/Window.java (show): validate() before showing.  Make
7378         parent displayable.
7379         (isDisplayable): New method.
7380
7381 2002-11-07  Mark Wielaard  <mark@klomp.org>
7382
7383         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7384         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7385
7386         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7387         annotation.
7388         (loadClass): Take String as codebases.
7389         (getClassAnnotation): Use MyClassLoader annotations.
7390         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7391         call exportObject(this).
7392
7393         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7394         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7395         (setAnnotation): Don't set locBytesStream and locStream.
7396         (replaceObject): Removed.
7397         (flush): Don't test locStream.
7398         (getLocBytes): LikeWise.
7399         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7400         (leaseCache): New field.
7401         (dirty): Use leaseCache.
7402         (LeaseRecord): New inner class.
7403         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7404         explicitly call exportObject().
7405         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7406         false to communicate with Sun JDK130.
7407         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7408         * gnu/java/rmi/server/RMIObjectInputStream.java
7409         (UnicastConnectionManager): Removed field.
7410         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7411         Use UnicastServer.getExportedRef().
7412         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7413         (expireTime): Likewise.
7414         (CONNECTION_TIMEOUT): Likewise.
7415         (disconnect): Call sock.close().
7416         (isExpired): New method.
7417         (resetTime): Likewise.
7418         (run): Use do while loop and catch Exception for discardConnection().
7419         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7420         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7421         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7422         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7423         (exportObject): Use refcache.
7424         (unexportObject): Likewise.
7425         (getExportedRef): New method.
7426         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7427         constructor.
7428         (exportObject): Save manager.serverobj.
7429         (getStub): New method.
7430
7431 2002-11-07  Mark Wielaard  <mark@klomp.org>
7432
7433         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7434         (getByte): Likewise.
7435         (getShort): Likewise.
7436         (getInt): Likewise.
7437         (getLong): Likewise.
7438         (getFloat): Likewise.
7439         (getDouble): Likewise.
7440         (get): Likewise.
7441         (setChar): Likewise.
7442         (setByte): Likewise.
7443         (setShort): Likewise.
7444         (setInt): Likewise.
7445         (setLong): Likewise.
7446         (setFloat): Likewise.
7447         (setDouble): Likewise.
7448
7449 2002-11-07  Michael Koch <konqueror@gmx.de>
7450
7451         * java/awt/Choice.java,
7452         java/awt/Container.java,
7453         java/awt/GridBagLayout.java:
7454         Fixed documentation.
7455         * java/awt/peer/ContainerPeer.java:
7456         Reindented.
7457
7458 2002-11-07  Michael Koch <konqueror@gmx.de>
7459
7460         * java/awt/color/ICC_Profile.java:
7461         Added missing constants.
7462         * java/awt/color/ICC_ColorSpace.java
7463         (getMinValue): Added dummy implementation.
7464         (getMaxValue): Added dummy implementation.
7465         * java/awt/datatransfer/DataFlavor.java
7466         (imageFlavor): Added.
7467         (isMimeTypeEqual): Must be final.
7468         (getDefaultRepresentationClass): Must be non-static.
7469         (getDefaultRepresentationClassAsString): Must be non-static.
7470         * java/awt/dnd/DragSourceContext.java
7471         (dragExit): Corrected argument.
7472         (dragDropEnd): Corrected argument.
7473         * java/awt/dnd/DragSourceListener.java.java
7474         (dragExit): Corrected argument.
7475         (dragDropEnd): Corrected argument.
7476         * java/awt/font/TextHitInfo.java
7477         (toString): Added stubbed implementation.
7478         * java/awt/geom/PathIterator.java:
7479         The constants must be static.
7480         * java/awt/image/VolatileImage.java
7481         (IMAGE_INCOMPATIBLE): Fixed typo.
7482         * java/awt/image/renderable/RenderableImage.java
7483         (HINTS_OBSERVED): Must be static.
7484         * java/beans/BeanInfo.java:
7485         Constants must be final.
7486
7487 2002-11-06  Tom Tromey  <tromey@redhat.com>
7488
7489         From svens@it.uu.se.  For PR libgcj/8481.
7490         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7491
7492 2002-11-06  Tom Tromey  <tromey@redhat.com>
7493
7494         * jni.cc (array_from_valist): Assume that jlong won't be
7495         promoted.
7496
7497 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7498
7499         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7500         Return 20.
7501         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7502         Return 16.
7503
7504 2002-11-03  Tom Tromey  <tromey@redhat.com>
7505
7506         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7507         VMClassLoader, not findClass.
7508
7509 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7510
7511         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7512         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7513         _Jv_DetermineVTableIndex, to determine vtable offset.
7514         (_Jv_DetermineVTableIndex): Remove.
7515         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7516
7517         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7518
7519 2002-11-03  Tom Tromey  <tromey@redhat.com>
7520
7521         * java/nio/channels/AlreadyConnectedException.java: Extend
7522         IllegalStateException, per spec.
7523
7524 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7525
7526         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7527
7528 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7529
7530         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7531         size items.
7532
7533 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7534
7535         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7536         initial estimated size to avoid enlarge buffer frequently.
7537
7538 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7539
7540         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7541         ClassLoader when null.
7542         (ProxyType.hashCode): Loader null check no longer needed.
7543         (ProxyType.sameTypes): New method.
7544         (ProxyType.equals): Use new method.
7545
7546 2002-10-31  Mark Wielaard  <mark@klomp.org>
7547
7548         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7549         length of String.
7550         * java/net/URLEncoder.java (encode): Likewise.
7551
7552 2002-10-31  Mark Wielaard  <mark@klomp.org>
7553
7554         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7555         when stream is closed.
7556         (closeEntry): Likewise.
7557         (read): Likewise.
7558         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7559         ZipException when no entry active.
7560         (closeEntry): Likewise.
7561         (write): Likewise.
7562
7563 2002-11-02  Tom Tromey  <tromey@redhat.com>
7564
7565         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7566         * java/lang/natClass.cc (initializeClass): Don't return just
7567         because self==thread.
7568
7569         For PR java/8415:
7570         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7571         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7572
7573 2002-11-02  Andreas Schwab  <schwab@suse.de>
7574
7575         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7576         pass GCJFLAGS.
7577         (FLAGS_TO_PASS): Define.
7578         * Makefile.in: Regenerated.
7579
7580 2002-11-01  Michael Koch  <konqueror@gmx.de>
7581
7582         * java/nio/ByteOrder.java: New file.
7583         * java/nio/channels/DatagramChannel.java:
7584         (DatagramChannel): New constructor.
7585         * java/nio/channels/Pipe.java: New file.
7586         * java/nio/channels/SelectableChannel.java: New file.
7587         * java/nio/channels/SelectionKey.java: New file.
7588         * java/nio/channels/Selector.java: New file.
7589         * java/nio/channels/ServerSocketChannel.java
7590         (ServerSocketChannel): New constructor.
7591         * java/nio/channels/SocketChannel.java
7592         (SocketChannel): New constructor.
7593         * java/nio/channels/Pipe.java: New file.
7594         * java/nio/channels/spi/AbstractChannel.java: New file.
7595         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7596         * java/nio/channels/spi/AbstractSelectableChannel.java:
7597         License added
7598         (AbstractSelectableChannel): New stubbed method.
7599         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7600         * java/nio/channels/spi/AbstractSelector.java: New file.
7601         * java/nio/channels/spi/SelectorProvider.java: New file.
7602         * java/nio/charset/Charset.java: New file.
7603         * java/nio/charset/CoderMalfunctionError.java: New file.
7604         * java/nio/charset/CodingErrorAction.java: New file.
7605         * java/nio/charset/spi/CharsetProvider.java
7606         (charsetForName): Uncommented.
7607         * Makefile.am (java_native_source_files): Added new files.
7608         * Makefile.in: Regenerated.
7609
7610 2002-11-01  Michael Koch  <konqueror@gmx.de>
7611
7612         * java/net/InetAddress.java:
7613         (isAnyLocalAddress): Implemented.
7614         (isLoopbackAddress): Implemented, comment added.
7615         (isLinkLocalAddress): Implemented, documentation added.
7616         (isSiteLocalAddress): Implemented, documentation added.
7617         (isMCGlobal): Implemented, documentation added.
7618         (isMCNodeLocal): Implemented, documentation added.
7619         (isMCLinkLocal): Implemented, documentation added.
7620         (isMCSiteLocal): Implemented, documentation added.
7621         (isMCOrgLocal): Implemented, documentation added.
7622         (getHostName): Documentation added.
7623         (getCanonicalHostName): Implemented, documentation added.
7624         (getAddress): Documentation added.
7625         (hashCode): Documentation added.
7626         (equals): Documentation added.
7627         (toString): Fixed implementation.
7628         (getByAddress): Use Inet4Address and Inet6Address.
7629         (lookup): New linewrap.
7630         (getByName): SecurityManager check added, support Inet4Address and
7631         Inet6address, comments added.
7632         (getAllByName): SecurityManager check added, comments added.
7633         * java/net/Inet6Address.java:
7634         (Inet6Address): Initialize parent class with addr instead of null.
7635         * java/net/URL.java
7636         (equals): Documentation added.
7637         (getFile): Documentation added.
7638         (hashCode): Documentation added.
7639         * java/net/natInetAddress.cc:
7640         (aton): Fix IPv6 support.
7641         * java/net/natPlainDatagramSocketImpl.cc:
7642         (peek): Throw PortUnreachableException when suitable.
7643         (peekData): Throw PortUnreachableException when suitable.
7644         (send): Throw PortUnreachableException when suitable.
7645         (receive): Throw PortUnreachableException when suitable.
7646
7647 2002-10-27  Mark Wielaard  <mark@klomp.org>
7648
7649         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7650         argument.
7651         (readLeShort): Likewise and use byte[].
7652         (readLeInt): Likewise.
7653         (readEntries): Use new versions of methods and use byte[] for reading
7654         a complete zip entry. Add ZipFile name to exceptions.
7655         (entries): Add ZipFile name to exceptions.
7656         (getEntry): Likewise.
7657         (checkLocalHeader): Use new versions of methods and add ZipFile name
7658         to exceptions.
7659
7660 2002-10-31  Mark Anderson  <mark@panonet.net>
7661
7662         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7663         added
7664
7665 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7666
7667         * configure.in: Disable hash sync when not using threads.
7668         * configure: Regenerated.
7669
7670 2002-10-24  Tom Tromey  <tromey@redhat.com>
7671
7672         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7673         (_Jv_FindSymbolInExecutable): Removed argument name.
7674         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7675         java.library.path is set.
7676
7677         * gij.cc (help): Document --showversion.
7678         (version): Don't exit.
7679         (main): Handle --showversion.  Exit if --version given.
7680
7681 2002-10-23  Tom Tromey  <tromey@redhat.com>
7682
7683         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7684         (array_from_valist): Correctly handle promotion for jint, jlong,
7685         jfloat, and jdouble.
7686
7687 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7688
7689         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7690         GetFileAttributesEx( ) to find file length and modification times,
7691         as the latter is not present on Windows 95.
7692
7693 2002-10-21  Michael Koch  <konqueror@gmx.de>
7694
7695         * java/net/URL.java
7696         (URL): Activate SecurityManager checks.
7697         (equals): Use URLStreamHandler implementation instead of doing it
7698         alone. This allows special protocol stream handlers to change default
7699         behaviour.
7700         (hashCode): Use URLStreamHandler implementation instead of doing it
7701         alone. This allows special protocol stream handlers to change default
7702         behaviour.
7703         * java/net/URLStreamHandler.java
7704         (equals): Implemented default URL equality check.
7705         (hostsEqual): Implemented default URL equality check.
7706         (hashCode): Implemented default URL hashCode algorithm.
7707         * java/net/natPlainDatagramSocketImpl.cc:
7708         No lines longer then 80 characters.
7709
7710 2002-10-20  Adam Megacz <adam@xwt.org>
7711
7712         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7713         * configure.in: enabled hash sync on Win32
7714         * include/win32-threads.h (_Jv_ThreadId_t): added.
7715         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7716         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7717         removed some posix-isms, use Thread::sleep() instead of usleep,
7718         added code to clear bottom three bits if platform has a broken
7719         linker.
7720         * include/win32-threads.h (_Jv_ThreadId_t): added.
7721
7722 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7723
7724         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7725         runtime property "gnu.gcj.progname" containing the name used to
7726         invoke the current Java program (similar to argv[0] for C
7727         programs).
7728
7729 2002-10-15  Tom Tromey  <tromey@redhat.com>
7730
7731         Fix for PR libgcj/8234:
7732         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7733         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7734
7735 2002-10-13  Mark Wielaard  <mark@klomp.org>
7736
7737         * mauve-libgcj: Enable Mauve tests that compile now.
7738
7739 2002-10-11  Mark Wielaard  <mark@klomp.org>
7740
7741         Fix for PR libgcj/8142
7742         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7743         loading native modules.
7744
7745 2002-10-10  Michael Koch  <konqueror@gmx.de>
7746
7747         * javax/swing/AbstractListModel.java
7748         (getListDataListeners): New stubbed method.
7749         javax/swing/DefaultBoundedRangeModel.java
7750         (getChangeListeners): New stubbed method.
7751         javax/swing/DefaultSingleSelectionModel.java
7752         (getChangeListeners): New stubbed method.
7753
7754 2002-10-10  Michael Koch  <konqueror@gmx.de>
7755
7756         * gcj/.cvsignore: New file to ignore files generated during build.
7757         * include/.cvsignore: New file to ignore files generated during build.
7758
7759 2002-10-10  Michael Koch  <konqueror@gmx.de>
7760
7761         * java/net/HttpURLConnection.java
7762         (getPermission): New method.
7763         (getErrorStream): New stub method.
7764         (getHeaderFieldDate): New stub method.
7765         * java/net/Inet4Address.java:
7766         (isLinkLocalAddress): Typo fixed.
7767         * java/net/InetAddress.java:
7768         (readResolve): New stubbed method (for serialization).
7769         (isAnyLocalAddress): New stubbed method.
7770         (isLoopbackAddress): New stubbed method.
7771         (isLinkLocalAddress): New stubbed method.
7772         (isSiteLocalAddress): New stubbed method.
7773         (isMCGlobal): New stubbed method.
7774         (isMCNodeGlobal): New stubbed method.
7775         (isMCLinkLocal): New stubbed method.
7776         (isMCSiteLocal): New stubbed method.
7777         (isMCOrgLocal): New stubbed method.
7778         (getCanonicalHostName): New stubbed method.
7779         (getByAddress): Create instances of Inet4Address/Inet6Address,
7780         instead of InetAddress, documentation added.
7781         * java/net/MulticastSocket.java
7782         (getInterface): Removed FIXME.
7783         (getNetworkInterface): New method.
7784         (setNetworkInterface): New method.
7785         * java/net/NetworkInterface.java:
7786         (toString): Use property "line.separator" instead of "\n".
7787         * java/net/URLConnection.java
7788         (getContent): New stubbed method.
7789         * java/net/URLStreamHandler.java:
7790         (equals): New stubbed method.
7791         (hostsEqual): New stubbed method.
7792         (hashCode): New stubbed method.
7793         * java/net/natNetworkInterface.cc:
7794         (getRealNetworkInterfaces): Create Inet4Address object
7795         instead of InetAddress.
7796
7797 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7798
7799         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7800         unsigned long temporary to implement insn_iushr shifts.
7801
7802 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7803
7804         * configure.host [s390*-*]: Enable Java interpreter.
7805         Enable hash synchronization.  Add sysdeps dir.
7806         * sysdep/s390/locks.h: New file.
7807
7808 2002-10-06  Mark Wielaard  <mark@klomp.org>
7809
7810         * java/lang/Thread.java (setDaemon): Check startable_flag,
7811         not isAlive().
7812
7813 2002-10-07  Michael Koch  <konqueror@gmx.de>
7814
7815         * java/nio/Buffer.java: New stub file.
7816         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7817         of class Charset.
7818         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7819         * Makefile.in: Regenerated.
7820
7821 2002-10-07  Michael Koch  <konqueror@gmx.de>
7822
7823         * java/nio/ByteBuffer.java:
7824         removed import of not commited class.
7825
7826 2002-10-07  Michael Koch  <konqueror@gmx.de>
7827
7828         * java/nio/ByteBuffer.java,
7829         java/nio/MappedByteBuffer.java:
7830         New files, forgot to add these dummies.
7831         * Makefile.am (java_native_source_files): Added new files.
7832         * Makefile.in: Regenerated.
7833
7834 2002-10-07  Michael Koch  <konqueror@gmx.de>
7835
7836         * java/nio/channels/AlreadyConnectedException.java,
7837         java/nio/channels/ClosedChannelException.java,
7838         java/nio/channels/ReadableByteChannel.java,
7839         java/nio/channels/InterruptibleChannel.java,
7840         java/nio/channels/Channel.java,
7841         java/nio/channels/ByteChannel.java,
7842         java/nio/channels/GatheringByteChannel.java,
7843         java/nio/channels/ScatteringByteChannel.java,
7844         java/nio/channels/WritableByteChannel.java,
7845         java/nio/charset/CharacterCodingException.java,
7846         java/nio/charset/IllegalCharsetNameException.java,
7847         java/nio/charset/MalformedInputException.java,
7848         java/nio/charset/UnmappableCharacterException.java,
7849         java/nio/charset/UnsupportedCharsetException.java,
7850         java/nio/charset/spi/CharsetProvider.java: New file.
7851         These files are exceptions or interfaces,
7852         no real or abstract classes.
7853         * Makefile.am (java_native_source_files): Added new files.
7854         * Makefile.in: Regenerated.
7855
7856 2002-10-05  Michael Koch  <konqueror@gmx.de>
7857
7858         * java/net/InetAddress.java
7859         (getByAddress): Fixed documentation.
7860         (getByAddress): New method.
7861         * java/net/Inet4Address.java: New file.
7862         * java/net/URL.java
7863         (URL): Documentation added.
7864         (getContent): Documentation added.
7865         (getContent): New stubbed method.
7866         (getQuery): New method.
7867         (openConnection): Documentation added.
7868         (openStream): Documentation added.
7869         (setURLStreamHandlerFactory): Documentation added.
7870         * java/net/URI.java: New stub file.
7871         * Makefile.am
7872         (java_native_source_files): Added java/net/Inet4Address.java,
7873         java/net/Inet6Address.java and java/net/URI.java.
7874         * Makefile.in: Regenerated.
7875
7876 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7877
7878         * java/lang/ProtectionDomain.java (linesep): Remove field.
7879         (toString): Use System.getProperty("line.separator").
7880
7881 2002-10-04  Michael Koch  <konqueror@gmx.de>
7882
7883         * java/security/Identity.java: Added serialVersionUID.
7884         * java/security/KeyPair.java: Added serialVersionUID.
7885         * java/security/Provider.java: Added serialVersionUID.
7886         * java/security/SecureRandom.java: Added serialVersionUID.
7887         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7888         * java/security/SignedObject.java: Added serialVersionUID.
7889         * java/security/cert/Certificate.java: Added serialVersionUID.
7890
7891 2002-10-04  Mark Wielaard <mark@klomp.org>
7892
7893         * java/security/Security.java: Use java.home or gnu.classpath.home
7894         to load providers.
7895         (loadProviders): Extra dir argument.
7896         (getProvider): Return null when not found.
7897
7898 2002-10-04  Mark Wielaard  <mark@klomp.org>
7899
7900         * java/lang/Throwable.java: Remerge with Classpath.
7901
7902 2002-10-04  Michael Koch  <konqueror@gmx.de>
7903
7904         * java/net/InetAddress.java:
7905         (isMulticastAddress): Added documentation.
7906         (getHostAddress): Added documentation.
7907         (toString): Added documentation.
7908         (getByAddress): Fixed documentation.
7909         (getByName): Added documentation.
7910         (getAllByName): Added documentation.
7911         (getLocalHost): Added documentation.
7912
7913 2002-10-04  Michael Koch  <konqueror@gmx.de>
7914
7915         * java/beans/beancontext/BeanContextChildSupport.java:
7916         Added serialVersionUID.
7917         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7918         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7919         * javax/naming/Name.java: Added serialVersionUID.
7920
7921 2002-10-03  Adam Megacz <adam@xwt.org>
7922
7923         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7924         some functionality that isn't supported yet on WIN32.
7925
7926 2002-10-03  Tom Tromey  <tromey@redhat.com>
7927
7928         * Makefile.in: Rebuilt.
7929         * Makefile.am (awt_java_source_files): Added new files.
7930
7931 2002-10-03  Michael Koch  <konqueror@gmx.de>
7932
7933         * java/net/InetAddress.java
7934         (class InetAddress): Removed final keyword.
7935         (equals): Fixed typo.
7936         (getByAddress): New method.
7937
7938 2002-10-03  Michael Koch  <konqueror@gmx.de>
7939
7940         * java/awt/dnd/Autoscroll.java:
7941         New file, merge from Classpath.
7942         * java/awt/dnd/DragSourceAdapter.java:
7943         (dragExit): Fixed typos in argument type.
7944         (dragDropEnd): Fixed typos in argument type.
7945         * java/awt/dnd/DragSourceDropEvent.java:
7946         New file, merge from Classpath.
7947         * java/awt/dnd/DropTarget.java:
7948         Added stubs, merge from Classpath.
7949         * java/awt/dnd/DropTargetAdapter.java:
7950         New file, merge from Classpath.
7951         * java/awt/dnd/DropTargetContext.java:
7952         New file, merge from Classpath.
7953         * java/awt/dnd/DropTargetDragEvent.java:
7954         New file, merge from Classpath.
7955         * java/awt/dnd/DropTargetDropEvent.java:
7956         New file, merge from Classpath.
7957         * java/awt/dnd/DropTargetEvent.java:
7958         New file, merge from Classpath.
7959         * java/awt/dnd/DropTargetListener.java:
7960         New file, merge from Classpath.
7961         * java/awt/dnd/MouseDragGestureRecognizer.java:
7962         New file, merge from Classpath.
7963         * java/awt/dnd/peer/DropTargetContextPeer.java:
7964         New file, merge from Classpath.
7965
7966 2002-10-03  Michael Koch  <konqueror@gmx.de>
7967
7968         * java/net/DatagramPacket.java
7969         (setLength): Fixed typo and be HTML-aware.
7970         * java/net/InetSocketAddress.java
7971         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7972         (equals): Added comment about equality of InetSocketAddress objects.
7973         * java/net/ServerSocket.java
7974         (accept): Added checks.
7975         (isClosed): New stubbed method.
7976         * java/net/SocketOptions.java: Reindention.
7977         * java/net/SocketPermission
7978         (SocketPermission): Documentation fixed.
7979
7980 2002-10-03  Michael Koch  <konqueror@gmx.de>
7981
7982         * java/net/DatagramSocket.java
7983         (receive): Check with SecurityManager AFTER the packet is received,
7984         check if connected to multicast address, documentation added.
7985         (send): Only check SecurityManager if connected, check address of
7986         packet to send.
7987         (connect): Implemented, documentation added.
7988         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7989         * java/net/InetSocketAddress.java
7990         (whole file): Reindented.
7991         (hostname): New attribute.
7992         (InetSocketAddress): Initialize new attribute.
7993         (getAddress): Documentation added.
7994         (getHostName): Documentation added.
7995         (getPort): Documentation added.
7996         (hashCode): Documentation added.
7997         (isUnresolved): Documentation added.
7998         (toString): Conform to output of JDK 1.4.1, documentation added.
7999         * java/net/MulticastSocket.java
8000         (joinGroup): Removed FIXME, documentation added.
8001         (leaveGroup): Removed FIXME, documentation added.
8002         (send): Documentation added.
8003         * java/net/Socket.java
8004         (inputShutdown): New variable.
8005         (outputShutdown): New variable.
8006         (Socket): Initialize new variables.
8007         (getRemoteSocketAddress): Check if connected.
8008         (shutdownInput): Set new variable.
8009         (shutdownOutput): Set new variable.
8010         (isConnected): New method.
8011         (isClosed): New method.
8012         (isInputShutdown): New method.
8013         (isOutputShutdown): New method.
8014         * java/net/URLStreamHandler.java
8015         (URLStreamHandler): New method.
8016         (openConnection): Added documentation.
8017         (parseURL): Added documentation.
8018         (getHostAddress): New method.
8019         (getDefaultPort): New method.
8020
8021 2002-10-02  Tom Tromey  <tromey@redhat.com>
8022
8023         * java/rmi/activation/ActivationDesc.java,
8024         java/rmi/activation/ActivationGroupDesc.java,
8025         java/rmi/activation/ActivationGroupID.java,
8026         java/rmi/activation/ActivationID.java: New versions from
8027         Classpath.
8028
8029 2002-09-30  Bo Thorsen  <bo@suse.de>
8030
8031         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8032
8033 2002-09-30  Tom Tromey  <tromey@redhat.com>
8034
8035         * java/io/ObjectInputStream.java (resolveProxyClass): New method
8036         from Classpath.
8037         * Makefile.in: Rebuilt.
8038         * Makefile.am (rmi_java_source_files): Added new files.
8039         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8040         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8041         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8042         Classpath.
8043         * gnu/java/rmi/dgc/DGCImpl.java,
8044         gnu/java/rmi/dgc/DGCImpl_Skel.java,
8045         gnu/java/rmi/dgc/DGCImpl_Stub.java,
8046         gnu/java/rmi/registry/RegistryImpl_Skel.java,
8047         gnu/java/rmi/registry/RegistryImpl_Stub.java,
8048         gnu/java/rmi/server/RMIHashes.java,
8049         gnu/java/rmi/server/RMIObjectInputStream.java,
8050         gnu/java/rmi/server/RMIObjectOutputStream.java,
8051         gnu/java/rmi/server/UnicastConnection.java,
8052         gnu/java/rmi/server/UnicastConnectionManager.java,
8053         gnu/java/rmi/server/UnicastRef.java,
8054         gnu/java/rmi/server/UnicastServer.java,
8055         gnu/java/rmi/server/UnicastServerRef.java,
8056         java/rmi/MarshalledObject.java,
8057         java/rmi/server/RMIClassLoader.java,
8058         java/rmi/server/RemoteObject.java,
8059         java/rmi/server/UnicastRemoteObject.java,
8060         java/security/SecureClassLoader.java: Merged from Classpath.
8061
8062 2002-09-29  Anthony Green  <green@redhat.com>
8063
8064         * java/lang/reflect/UndeclaredThrowableException.java: New file.
8065         Imported from GNU Classpath.
8066         * java/lang/reflect/natProxy.cc: New file.
8067         * java/lang/reflect/InvocationHandler.java: New file.  Imported
8068         from GNU Classpath.
8069         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
8070         Classpath.
8071         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8072         Classpath.
8073         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8074         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8075         New statics.
8076         * gcj/javaprims.h ("Java"): Add new classes.
8077         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8078         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8079         java/lang/reflect/Proxy$$ProxyType.h): And this.
8080         (inner_nat_headers): Add these new headers.
8081         (ordinary_java_source_files): Add new files.
8082         (nat_source_files): Add new file.
8083         * Makefile.in: Rebuilt.
8084
8085 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
8086
8087         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8088         a single configuration.
8089
8090 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8091
8092         * java/util/TimeZone.java (getDSTSavings): New method.
8093         Fixes PR libgcj/7786.
8094
8095 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8096
8097         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8098         to see if `the_method == 0' before looking up vtable index.
8099         Fixes PR libgcj/7709.
8100
8101 2002-09-25  Tom Tromey  <tromey@redhat.com>
8102
8103         * java/lang/natClassLoader.cc:
8104         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8105         * resolve.cc: Include NoClassDefFoundError.h, not
8106         ClassNotFoundException.h.
8107         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8108
8109         * defineclass.cc: Don't include ClassNotFoundException.h.
8110
8111         * resolve.cc: Include StringBuffer.
8112         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8113
8114         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8115         allocated but not initialized.
8116
8117 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8118
8119         Fix for PR libgcj/7766:
8120         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8121         (getNextEntry): Set it.
8122         (closeEntry): Likewise.
8123         (read): Likewise.
8124         (close): Likewise.
8125         (available): Use it.
8126
8127 2002-09-25  Michael Koch  <konqueror@gmx.de>
8128
8129         * java/net/DatagramSocket.java
8130         (DatagramSocket): Initialize new instance variables.
8131         (close): Reset new instance variables.
8132         (getLocalAddress): Remove unneeded SecurityManager usage.
8133         (getLocalPort): Check if socket is already bound.
8134         (isConnected): New method.
8135         (getInetAddress): Implemented.
8136         (getPort): Better Implementation, documentation fixed.
8137         (getRemoteSocketAddress): New method.
8138         * java/net/JarURLConnection.java
8139         (element): Typo fixed.
8140         (getMainAttributes): New method.
8141         (getAttributes): New method (stub only).
8142         (getManifest): New method (stub only).
8143         * java/net/NetPermission.java: Added serialVersionsUID.
8144         * java/net/Socket.java
8145         (connect): Check blocking mode of associated channel,
8146         documentation added.
8147         (getLocalSocketAddress): Better implementation.
8148         (getRemoteSocketAddress): Implemented.
8149         (isBound): New method.
8150         (setSendBufferSize): Documentation added.
8151         * java/net/SocketAddress.java: Added serialVersionsUID.
8152         * java/net/SocketPermission.java: Added serialVersionsUID.
8153         * java/net/URL.java
8154         (URL): Wrap for shorter lines, initialize new instance variables,
8155         documentation added.
8156         (equals): Check new instance variables too.
8157         (getContent): Documentation added.
8158         (getPath): Documentation added.
8159         (getAuthority): New method.
8160         (getHost): Documentation added.
8161         (getPort): Documentation added.
8162         (getDefaultPort): New method.
8163         (getProtocol): Documentation added.
8164         (getUserInfo): Documentation added.
8165         (set): Initialize new instance variables, documentation added.
8166         * java/net/URLStreamHandler.java
8167         (setURL): New method.
8168         * java/net/natPlainDatagramSocketImpl.cc
8169         (connect): Fix exception name.
8170         (disconnect): Fix exception name.
8171
8172 2002-09-25  Michael Koch  <konqueror@gmx.de>
8173
8174         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8175         * java/nio/channels/DatagramChannel.java:
8176         extends AbstractSelectableChannel
8177         * java/nio/channels/ServerSocketChannel.java:
8178         extends AbstractSelectableChannel
8179         * java/nio/channels/SocketChannel.java:
8180         extends AbstractSelectableChannel
8181         * Makefile.am (ordinary_java_source_files):
8182         java/nio/channels/spi/AbstractSelectableChannel.java added.
8183         * Makefile.in: Regenerated.
8184
8185 2002-09-25  Michael Koch  <konqueror@gmx.de>
8186
8187         * java/net/DatagramSocket.java
8188         (DatagramSocket): Exception documentation added.
8189         (bind): Exception documentation added, addded SecurityManager check,
8190         added SocketAddress type check.
8191         (getSoTimeout): Check impl.
8192         (receive): Fix SecurityManager check, check impl, documentation added.
8193         (send): Check channel mode, documentation added.
8194         (connect): New method.
8195         (disconnect): Implemented.
8196         (getLocalSocketAddress): New method.
8197         (getReceiveBufferSize): Check impl.
8198         (setReuseAddress): Check impl.
8199         (getReuseAddress): Check impl.
8200         (setBroadcast): Check impl.
8201         (getBroadcast): Check impl.
8202         (setTrafficClass): Check impl, Documentation cleared.
8203         (getTrafficClass): Check impl.
8204         (getSendBufferSize): Check impl.
8205         (setReceiveBufferSize): Check impl, documentation added.
8206         (setSendBufferSize): Documentation added.
8207         (setDatagramSocketImplFactory): New method.
8208         * java/net/HttpURLConnection.java
8209         (HTTP_INTERNAL_ERROR): The correct code is 500.
8210         (HTTP_NOT_IMPLEMENTED): Added new constant.
8211         (setFollowRedirects): Documentation added.
8212         (getInstanceFollowRedirects): New method.
8213         (setInstanceFollowRedirects): New method.
8214         (setRequestMethod): Documentation added.
8215         (getResponseCode): Documentation added.
8216         (getResponseMessage): Documentation added.
8217         * java/net/JarURLConnection.java
8218         (JarURLConnection): protected since JDK 1.4.
8219         (getJarEntry): java.io.IOException to IOException, documentation added.
8220         (getJarFile): Documentation added.
8221         * java/net/ServerSocket.java
8222         (ServerSocket): Private to public, exception added.
8223         (ServerSocket): java.io.IOException to IOException, documentation added.
8224         (bind): Check socket address type, documentation added.
8225         (bind): java.io.IOException to IOException, documentation added.
8226         (accept): Documentation added.
8227         (implAccept): Check ch is not non-blocking, documentation added.
8228         (setSoTimeout): Documentation fixed.
8229         (setReceiveBufferSize): Documentation added.
8230         * java/net/Socket.java
8231         (Socket): Documentation added.
8232         (bind): Documentation added.
8233         (connect): Check socket address type, documentation added.
8234         (getRemoteSocketAddress): New method.
8235         (getLocalSocketAddress): New method.
8236         (setSoLinger): Documentation added.
8237         (getReuseAddress): New method.
8238         (setReuseAddress): New method.
8239         (getTrafficClass): New method.
8240         (setTrafficClass): New method.
8241         * java/net/URLStreamHandler.java
8242         (openConnection): java.io.IOException to IOException.
8243         (parseURL): Documentation added.
8244         (sameFile): public to protected, documentation added.
8245         (setURL): Documentation added.
8246         * java/nio/IllegalBlockingModeException.java: New file.
8247         * Makefile.am (ordinary_java_source_files):
8248         added java/nio/IllegalBlockingModeException.java
8249         * Makefile.in: Regenerated.
8250
8251 2002-09-25  Michael Koch  <konqueror@gmx.de>
8252
8253         * java/net/DatagramPacket
8254         (DatagramPacket): Exception documentation added.
8255         (setData): Likewise.
8256         (setSocketAddress): Likewise.
8257         * java/net/DatagramSocketImpl.java
8258         (peek): Documentation addded.
8259         (peekData): Documentation addded.
8260         (send): Documentation addded.
8261         (receive): Documentation addded.
8262         (connect): New method.
8263         (disconnect): New method.
8264         (joinGroup): New abstract method.
8265         (leaveGroup): New abstract method.
8266         * java/net/InetSocketAddress.java
8267         (InetSocketAddress): Documentation added.
8268         (equals): final keyword added.
8269         (getAddress): final keyword added.
8270         (getHostName): final keyword added.
8271         (getPort): final keyword added.
8272         (hashCode): final keyword added.
8273         (isUnresolved): final keyword added.
8274         * java/net/MulticastSocket.java
8275         (MulticastSocket): Documentation added.
8276         (MulticastSocket): New method.
8277         (joinGroup): Documentation added.
8278         (joinGroup): New method.
8279         (leaveGroup): Documentation added.
8280         (leaveGroup): New method.
8281         (send): Documentation added.
8282         * java/net/NetworkInterface.java
8283         (getByName): Documentation added.
8284         (getByInetAddress): Documentation added.
8285         (getNetworkInterfaces): Documentation added.
8286         * java/net/PlainDatagramSocketImpl.java
8287         (connect): New method.
8288         (disconnect): New method.
8289         * java/net/SocketImpl.java
8290         (create): Documentation added.
8291         (shutdownInput): Convert public to protected, as it always was.
8292         (shutdownOutput): Convert public to protected, as it always was.
8293         * java/net/SocketOptions.java
8294         (whole file): Reintented.
8295         * java/net/URLClassLoader.java
8296         (URLClassLoader): SecurityManager check added, documentation added.
8297         (findResources): Documentation added.
8298         (findClass): Documentation added.
8299         (newInstance): More correct method arguments.
8300         * java/net/URLConnection.java
8301         (connect): Documentation added.
8302         (getContent): Documentation added.
8303         (getPermission): Documentation added.
8304         (getInputStream): Documentation added.
8305         (getOutputStream): Documentation added.
8306         (setDoInput): Throw correct exception, documentation added.
8307         (setDoOutput): Throw correct exception, documentation added.
8308         (setAllowUserInteraction): Throw correct exception, documentation added.
8309         (setUseCaches): Throw correct exception, documentation added.
8310         (setIfModifiedSince): Throw correct exception, documentation added.
8311         (setRequestProperty): Throw exception, documentation added.
8312         (addRequestProperty): Throw exception, documentation added.
8313         (getRequestProperty): Throw exception, documentation added.
8314         (getRequestProperties): Documentation added.
8315         (setContentHandlerFactory): Documentation added.
8316         (guessContentTypeFromName): protected to public.
8317         (setFileNameMap): Documentation added.
8318         * java/net/URLDecoder.java
8319         (URLDecoder): New method.
8320         (decode): Documentation added.
8321         (whole file): Reindented.
8322         * java/net/URLEncoder.java
8323         (encode): Documentation added.
8324         * java/net/natPlainDatagramSocketImpl.cc
8325         (connect): New method.
8326         (disconnect): New method.
8327         * javax/naming/RefAddr:
8328         (addrType): addrType was never final.
8329         (equals): Fix typo in method name.
8330         * javax/naming/BinaryRefAddr:
8331         (equals): Fix typo in method name.
8332
8333 2002-09-22  Tom Tromey  <tromey@redhat.com>
8334
8335         Fix for PR libgcj/6576:
8336         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8337         didn't find a given bundle.
8338         (getBundle): Don't require base bundle.
8339         (setParent): Removed old comment.
8340         (tryLocalBundle): Try components even if preceding components were
8341         empty.
8342
8343 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8344
8345         * Makefile.am (all-multi): Fix multilib parallel build.
8346
8347 2002-09-21  Michael Koch  <konqueror@gmx.de>
8348
8349         * java/net/Socket.java
8350         (sendUrgentData): New method.
8351         (getChannel): New method.
8352         * java/net/ServerSocket.java
8353         (getChannel): New method.
8354         (isBound): New method.
8355         * java/net/DatagramSocket.java
8356         (DatagramSocket): Two new methods.
8357         (bind): New method.
8358         (getChannel): New method.
8359         (isBound): New method.
8360         (send): Added newline to to make shorter lines.
8361         * java/net/PlainDatagramSocketImpl.java
8362         (mcastGrp): Added argument.
8363         (join): Use new mcastGrp.
8364         (leave): Use new mcastGrp.
8365         (joinGroup): New method.
8366         (leaveGroup): New method.
8367         * java/net/natPlainDatagramSocketImpl.cc
8368         (mcastGrp): Added argument, no yet really implemented.
8369         (getOption): Added newline for shorter lines.
8370         * java/net/natPlainSocketImpl.cc
8371         (read, setOption, getOption): Added newline for shorter lines.
8372
8373 2002-09-19  Tom Tromey  <tromey@redhat.com>
8374
8375        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8376        newly-created exception.
8377
8378 2002-09-18  Michael Koch  <konqueror@gmx.de>
8379
8380         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8381         java/util/regex/PatternSyntaxException.java:
8382         Merge with classpath, new files.
8383         * Makefile.am (core_java_source_files):
8384         Added java/util/regex/Matcher.java,
8385         java/util/regex/Pattern.java,
8386         java/util/regex/PatternSyntaxException.java
8387         * Makefile.in: Regenerated.
8388         * include/config.h.in: Added HAVE_NET_IF_H.
8389         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8390         Removed #if 0 ... #endif.
8391
8392 2002-09-17  Michael Koch  <konqueror@gmx.de>
8393
8394         * java/net/natNetworkInterface.cc:
8395         Removed unneed and yet wrong includes.
8396
8397 2002-09-17  Michael Koch  <konqueror@gmx.de>
8398
8399         * java/net/NetworkInterface.java: New file.
8400         * java/net/natNetworkInterface.java: New file.
8401         * configure.in: Added check for net/if.h.
8402         * configure: Regenerated.
8403         * Makefile.am
8404         (ordinary_java_source_files): Added NetworkInterface.java.
8405         (nat_source_files): Added natNetworkInterface.cc.
8406         * Makefile.in: Regenerated.
8407
8408 2002-09-16  Tom Tromey  <tromey@redhat.com>
8409
8410         * java/net/URLClassLoader.java (findClass): Code source for a
8411         class from a jar is not necessarily a jar: URL.
8412
8413 2002-09-16  Michael Koch  <konqueror@gmx.de>
8414
8415         * java/lang/AssertionError.java:
8416         Merge with classpath, fixes HTML.
8417         * java/rmi/server/LogStream.java:
8418         Merge with classpath, fixes some constants.
8419         * java/net/server/RemoteServer.java:
8420         Merge with classpath, adds serialVersionUID.
8421         * javax/naming/BinaryRefAddr.java:
8422         Merge with classpath, s/equal/equals/.
8423         * javax/naming/NamingException.java:
8424         Merge with classpath, fixed typo.
8425         * javax/naming/RefAddr.java:
8426         Merge with classpath, s/equal/equals/.
8427         * java/awt/Toolkit.java:
8428         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8429         and typo fixed.
8430
8431 2002-09-15  Adam Megacz <adam@xwt.org>
8432
8433         * java/net/natPlainSocketImpl.cc: fixed typo.
8434
8435 2002-09-15  Adam Megacz <adam@xwt.org>
8436
8437         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8438         which don't work on Win32 (yet).
8439
8440 2002-09-14  Adam Megacz <adam@xwt.org>
8441
8442         * java/net/natPlainDatagramSocket.cc: removed #include
8443         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8444         * include/win32.h: included definition for IP_TOS to satisfy
8445         natPlainDatagramSocket.cc
8446
8447 2002-09-13  Michael Koch  <konqueror@gmx.de>
8448
8449         * java/net/DatagramPacket.java (DatagramPacket):
8450         Added linebreak for 80 chars per line.
8451         * java/net/JarURLConection.java
8452         (getInputStreami, getJarEntry): Likewise.
8453         * java/net/SocketPErmission.java
8454         (SocketPermission class docu, implies): Likewise.
8455         * java/net/URLClassLoader.java (findResources): Likewise.
8456         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8457
8458 2002-09-13  Michael Koch  <konqueror@gmx.de>
8459
8460         * java/nio/channels/DatagramChannel.java,
8461         java/nio/channels/ServerSocketChannel.java
8462         java/nio/channels/SocketChannel.java:
8463         New dummy files to make java.net fully JDK 1.4 compatible
8464         * Makefile.am (ordinary_java_source_files): Added
8465         java/net/DatagramSocketImplFactory.java (long forgotten),
8466         java/nio/SocketChannel.java,
8467         java/nio/ServerSocketChannel.java,
8468         java/nio/DatagramChannel.java
8469         * Makefile.in: Regenrated.
8470
8471 2002-09-12  Michael Koch  <konqueror@gmx.de>
8472
8473         * java/net/DatagramSocketImpl.java
8474         (peekData): New method.
8475         * java/net/PlainDatagramSocketImpl.java
8476         (peekData): New method.
8477         * java/net/natPlainDatagramSocketImpl.cc
8478         (peekData): New method.
8479         * java/net/URLConnection
8480         (getPermission): New method.
8481         (addRequestProperty): New method.
8482         (getRequestProperties): New method.
8483         (guessContentTypeFromStream): New method, not really implemented.
8484         (URLConnection): Added/updated documentation.
8485         (connect): Added/updated documentation.
8486         (getURL): Added/updated documentation.
8487         (getContentLength): Added/updated documentation.
8488         (getContentType: Added/updated documentation.
8489         (getContentEncoding): Added/updated documentation.
8490         (getExpiration): Added/updated documentation.
8491         (getDate): Added/updated documentation.
8492         (getLastModified): Added/updated documentation.
8493         (getHeaderField): Added/updated documentation.
8494         (getHeaderFields): Added/updated documentation.
8495         (getHeaderFieldInt): Added/updated documentation.
8496         (getHeaderFieldDate): Added/updated documentation.
8497         (getHeaderFieldKey): Added/updated documentation.
8498         (getContent): Added/updated documentation.
8499         (getInputStream): Added/updated documentation.
8500         (getOutputStream): Added/updated documentation.
8501         (toString): Added/updated documentation.
8502         (setDoInput): Added/updated documentation.
8503         (getDoInput): Added/updated documentation.
8504         (setDoOutput): Added/updated documentation.
8505         (getDoOutput): Added/updated documentation.
8506         (setAllowUserInteraction): Added/updated documentation.
8507         (getAllowUserInteraction): Added/updated documentation.
8508         (setDefaultAllowUserInteraction): Added/updated documentation.
8509         (getDefaultAllowUserInteraction): Added/updated documentation.
8510         (setUseCaches): Added/updated documentation.
8511         (getUseCaches): Added/updated documentation.
8512         (setIfModifiedSince): Added/updated documentation.
8513         (getIfModifiedSince): Added/updated documentation.
8514         (getDefaultUseCaches): Added/updated documentation.
8515         (setDefaultUseCaches): Added/updated documentation.
8516         (setRequestProperty): Added/updated documentation.
8517         (getRequestProperty): Added/updated documentation.
8518         (setDefaultRequestProperty): Added/updated documentation.
8519         (getDefaultRequestProperty): Added/updated documentation.
8520         (setContentHandlerFactory): Added/updated documentation.
8521         (guessContentTypeFromName): Added/updated documentation.
8522         (getFileNameMap): Added/updated documentation.
8523         (setFileNameMap): Added/updated documentation.
8524
8525 2002-09-11  Michael Koch  <konqueror@gmx.de>
8526
8527         * java/net/Socket.java
8528         (Socket): protected to public (since JDK 1.4). Added @specnote.
8529         (bind): New method.
8530         (connect): Two new methods.
8531         (getKeepalive): Get correct socket option.
8532         (setKeepalive): Set correct socket option.
8533         (getOOBInline): New method.
8534         (setOOBInline): New method.
8535         * java/net/ServerSocket.java
8536         (bind): Two new methods.
8537         (getInetAddress): Reimplemented, catch exception.
8538         (getLocalSocketAddress): New method.
8539         (setReuseAddress): New method.
8540         (getReuseAdress): New method.
8541         (setReceiveBufferSize): New method.
8542         (getReceiveBufferSize): New method.
8543         (toString): Made string JDK 1.4 compliant.
8544
8545 2002-09-10  Michael Koch  <konqueror@gmx.de>
8546
8547         * java/net/SocketImpl.java
8548         (connect): New method.
8549         (supportsUrgentData): New method.
8550         (sendUrgentData): New method.
8551         * java/net/PlainSocketImpl.java
8552         (connect): One new method and two new implementation.
8553         (sendUrgentData): New method.
8554         * java/natPlainSocketImpl.cc
8555         (connect): Arguments changed, added support for timeouts.
8556         (getOption): Another __java_boolean to jboolean.
8557
8558 2002-09-07  Adam Megacz <adam@xwt.org>
8559
8560         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8561         definition of IP_TOS.
8562
8563 2002-09-04  Michael Koch  <konqueror@gmx.de>
8564
8565         * java/net/DatagramSocket.java
8566         (DatagramSocket): Added documentation.
8567         (close): Likewise.
8568         (getLocalAddress): Likewise.
8569         (getLocalPort): Likewise.
8570         (receive): Likewise.
8571         (send): Likewise.
8572         (setSoTimeout): Likewise.
8573         (connect): New method.
8574         (disconnect): New method.
8575         (getInetAddress): New method (FIXME)
8576         (getPort): New method.
8577         (setReuseAddress): New method.
8578         (getReuseAddress): New method.
8579         (setBroadcast): New method.
8580         (getBroadcast): New method.
8581         (setTrafficClass): New method.
8582         (getTrafficClass): New method.
8583         * java/net/MulticastSocket.java):
8584         (getTTL): Added @see in documentation.
8585         (setTTL): Added @see in documentation.
8586         (setLoopbackMode): New method.
8587         (getLoopbackMode): New method.
8588         * java/net/PlainSocketImpl.java:
8589         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8590         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8591         * java/net/PlainDatagramSocketImpl.java
8592         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8593         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8594         * java/net/natPlainSocketImpl.cc
8595         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8596         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8597         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8598         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8599         This should also fix SO_KEEPALIVE
8600         * java/net/natPlainDatagramSocketImpl.cc
8601         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8602         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8603         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8604         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8605
8606 2002-09-04  Michael Koch  <konqueror@gmx.de>
8607
8608         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8609         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8610         IP_MULTICAST_LOOP, IP_TOS
8611
8612 2002-09-03  Tom Tromey  <tromey@redhat.com>
8613
8614         * java/lang/Class.h (_getDeclaredMethod): Declare.
8615         (_getMethod): Now private.
8616         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8617         getDeclaredMethod.  Now returns NULL on failure.
8618         * java/lang/Class.java (_getDeclaredMethod): Declare.
8619         (getDeclaredMethod): No longer native; implements access checks.
8620
8621 2002-09-01  Mark Wielaard  <mark@klomp.org>
8622
8623         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8624         (sanitizeStack): Correctly reset unknown and interpreter counters,
8625         detect interpreter runtime frames.
8626         (demangleInterpreterMethod): New method.
8627         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8628         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8629         filling in addrs[].
8630
8631 2002-09-02  Michael Koch  <konqueror@gmx.de>
8632
8633         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8634         re-indented documentation.
8635
8636 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8637
8638         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8639         public, per 1.4 spec.  Fixes PR libgcj/7785.
8640
8641 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8642
8643         * Makefile.in: Rebuilt.
8644         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8645
8646 2002-08-29  Tom Tromey  <tromey@redhat.com>
8647
8648         * java/net/JarURLConnection.java (getCertificates): New method
8649         from Classpath.
8650         * java/net/URLClassLoader.java (URLClassLoader): Extends
8651         SecureClassLoader.
8652         (definePackage): New method from Classpath.
8653         (getPermissions): Likewise.
8654         (newInstance): Likewise.
8655         (findClass): Construct CodeSource for new class (from Classpath).
8656         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8657         methods.
8658         * java/net/URL.java (getUserInfo): New method.
8659         (set(String,String,int,String,String,String,String,String)): New
8660         method.
8661         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8662         (shutdownInput, shutdownOutput): Declare.
8663         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8664         Define.
8665         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8666         (getOption): Likewise.
8667         (shutdownInput): New method.
8668         (shutdownOutput): Likewise.
8669         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8670         keepalive.
8671         (getOption): Likewise.
8672         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8673         * java/net/Socket.java (setKeepAlive): New method.
8674         (getKeepAlive): Likewise.
8675         (shutdownInput, shutdownOutput): New methods.
8676
8677 2002-08-29  Michael Koch  <konqueror@gmx.de>
8678
8679         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8680         new methods are:
8681         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8682           address),
8683         DatagramPacket(byte[] buf, int length, SocketAddress address),
8684         void setSocketAddress(SocketAddress address)
8685         public SocketAddress getSocketAddress()
8686
8687 2002-08-29  Tom Tromey  <tromey@redhat.com>
8688
8689         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8690         ftruncate is missing.
8691         * configure, include/config.h.in: Rebuilt.
8692         * acconfig.h (HAVE_FTRUNCATE): Mention.
8693         * configure.in: Check for ftruncate.
8694
8695 2002-08-29  Tom Tromey  <tromey@redhat.com>
8696
8697         * include/jvm.h (struct _Jv_frame_info): New structure.
8698         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8699         java-interp.h.
8700         (lookupInterp): New method.
8701         (getAddrAsString): Use _Jv_frame_info.
8702         (dladdrLookup): Likewise.
8703         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8704         interpreted frame.
8705         (lookupInterp): Declare.
8706         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8707         (fillInStackTrace): Collect information on interpreted frames.
8708         Use _Jv_frame_info.
8709         * interpret.cc: Include Thread.h.
8710         (run): Create and push _Jv_MethodChain object.
8711         (_Jv_EndOfInterpreter): New global.
8712         * java/lang/Thread.java (interp_frame): New field.
8713         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8714         Include NameFinder.h.
8715
8716 2002-08-28  Tom Tromey  <tromey@redhat.com>
8717
8718         * java/lang/Class.h: Include Package.h.
8719         (Class::getProtectionDomain): Declare.
8720         (Class::getPackage): Declare.
8721
8722 2002-08-28  Michael Koch <konqueror@gmx.de>
8723
8724         * java/net/InetSocketAddress.java: Added some documentation and argument
8725         checks for the port numbers.
8726         * java/net/DatagramSocketImplFactory.java: New file.
8727
8728 2002-08-28  Michael Koch <konqueror@gmx.de>
8729
8730         * java/net/Authenticator.java: added some documentation.
8731
8732 2002-08-27  Tom Tromey  <tromey@redhat.com>
8733
8734         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8735         class.
8736         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8737
8738 2002-08-27  Michael Koch <konqueror@gmx.de>
8739
8740         * java/net/BindException.java,
8741         java/net/JarURLConnection.java,
8742         java/net/FileNameMap.java,
8743         java/net/HttpURLConnection.java,
8744         java/net/InetSocketAddress.java,
8745         java/net/DatagramPacket.java,
8746         java/net/DatagramSocket.java,
8747         java/net/DatagramSocketImpl.java,
8748         java/net/MulticastSocket.java,
8749         java/net/PasswordAuthentication.java,
8750         java/net/ServerSocket.java,
8751         java/net/Socket.java,
8752         java/net/URLClassLoader.java,
8753         java/net/URLConnection.java: add/update of some @since/@deprecated
8754
8755 2002-08-27  Tony Kimball <alk@pobox.com>
8756             Tom Tromey  <tromey@redhat.com>
8757
8758         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8759         define.
8760         (::close): Removed.
8761         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8762         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8763         (::close): Removed.
8764         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8765         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8766
8767 2002-08-25  Adam Megacz <adam@xwt.org>
8768
8769         * include/win32.h (getcwd): copied function declaration as
8770         temporary fix for header confusion.
8771
8772 2002-08-24  Mark Wielaard <mark@klomp.org>
8773
8774         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8775         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8776         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8777         and natNameFinder.cc.
8778         * Makefile.in: Regenerate.
8779         * prims.cc: Use trace_enabled from VMThrowable.
8780         * name-finder.cc: Removed.
8781         * gcj/javaprims.h: Add class VMThrowable.
8782         * gnu/gcj/runtime/NameFinder.java: New file.
8783         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8784         * include/name-finder.h: Removed.
8785         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8786         method stackTraceString().
8787         (printStackTrace (PrintWriter)): Likewise.
8788         (stackTraceString): Complete rewrite of old printStackTrace using
8789         StringBuffer.
8790         (stackTraceStringBuffer): New helper method for stackTraceString().
8791         (fillInStackTrace): Delegate to VMTrowable.
8792         (getStackTrace): Likewise.
8793         (getStackTrace0): Removed.
8794         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8795         (setStackTrace): Copy given array.
8796         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8797         * java/lang/VMThrowable.java: New class.
8798         * java/lang/natVMThrowable.cc: New file.
8799
8800 2003-08-23  Michael Koch  <konqueror@gmx.de>
8801
8802         * java/net/URLConnection.java,
8803         java/netJarURLConnection.java,
8804         gnu/gcj/protocol/core/Connection.java,
8805         gnu/gcj/protocol/file/Connection.java,
8806         gnu/gcj/protocol/http/Connection.java: Added implementation of
8807         getHeaderFields().
8808
8809 2002-08-22  Tom Tromey  <tromey@redhat.com>
8810
8811         * gij.cc (help): Document -cp and -classpath.
8812         (main): Handle -classpath.
8813
8814 2002-08-21  Tom Tromey  <tromey@redhat.com>
8815
8816         * Makefile.in: Rebuilt.
8817         * Makefile.am (ordinary_java_source_files): Added
8818         SocketAddress.java, InetSocketAddress.java.
8819         * java/net/PortUnreachableException.java: Merged with Classpath.
8820         * java/net/SocketTimeoutException.java: Likewise.
8821         * java/net/URISyntaxException.java: Likewise.
8822         * java/net/SocketAddress.java: New class from Classpath.
8823         * java/net/InetSocketAddress.java: Likewise.
8824
8825 2003-08-21  Michael Koch  <konqueror@gmx.de>
8826
8827         * java/net/Authenticator.java: updated JDK 1.4
8828         * java/net/ContentHandler.java: updated JDK 1.4
8829
8830 2002-08-20  Michael Koch  <konqueror@gmx.de>
8831
8832         * java/net/URISyntaxException.java: New file.
8833         * java/net/SocketTimeoutException.java: New file.
8834         * java/net/PortUnreachableException.java: New file.
8835         * Makefile.am: Updated.
8836         * Makefile.in: Rebuilt.
8837
8838 2002-08-18  Mark Wielaard  <mark@klomp.org>
8839
8840         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8841         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8842         MessageDigestSpi (fixes Classpath bug #783).
8843
8844 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8845
8846         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8847         (startProcess): Allocate path for chdir in async-signal-safe way.
8848
8849 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8850
8851         Fix for PR libgcj/7570 and PR libgcj/7578:
8852         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8853         (startProcess): Handle new `dir' argument.
8854         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8855         argument.
8856         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8857         argument.
8858         (startProcess): Likewise.
8859         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8860         argument.
8861         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8862         (exec): Don't create new environment if ENV==null.  Pass DIR to
8863         execInternal.
8864         * java/lang/natRuntime.cc: Include java/io/File.h.
8865         (execInternal): Added `dir' argument.
8866
8867 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8868
8869         * java/io/RandomAccessFile.java (skipBytes): Return number of
8870         bytes skipped.
8871
8872 2002-08-01  Mark Wielaard  <mark@klomp.org>
8873
8874         Reenable patch since shared library troubles on powerpc are solved:
8875         * gnu/java/security/provider/Gnu.java: Reference all implementation
8876         classes by using Class.getName().
8877         * gnu/java/security/der/DEREncodingException.java,
8878         gnu/java/security/provider/DERReader.java,
8879         gnu/java/security/provider/DERWriter.java,
8880         gnu/java/security/provider/DSAKeyPairGenerator.java,
8881         gnu/java/security/provider/DSAParameterGenerator.java,
8882         gnu/java/security/provider/DSAParameters.java,
8883         gnu/java/security/provider/DSASignature.java,
8884         gnu/java/security/provider/GnuDSAPrivateKey.java,
8885         gnu/java/security/provider/GnuDSAPublicKey.java,
8886         gnu/java/security/provider/MD5.java,
8887         gnu/java/security/util/Prime.java: New classes
8888         * Makefile.am (ordinary_java_source_files): Add above files.
8889         * Makefile.in: Regenerate.
8890         * gnu/java/security/provider/DefaultPolicy.java
8891         (getPermissions): Don't maintain static class variable of Permissions.
8892         * gnu/java/security/provider/SHA.java
8893         (engineUpdate): algorithm change.
8894         (engineDigest): algorithm change.
8895
8896 2002-08-09  Mark Wielaard  <mark@klomp.org>
8897
8898         * java/awt/image/MemoryImageSource.java: Change constructor to take
8899         int[] not byte[].
8900         * java/awt/Graphics2D.java: Uncomment methods that can now be
8901         compiled.
8902         * java/awt/GridBagLayout.java: New stub implementation.
8903         * javax/swing/text/html/HTML.java: Stub implementation.
8904         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8905         implementation.
8906
8907         * Makefile.am: Add new files.
8908         * Makefile.in: Rebuilt.
8909
8910 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8911
8912         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8913         methods in Graphics2D.
8914
8915 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8916
8917         AWT/Swing merge from GNU Classpath.
8918
8919         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8920         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8921         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8922         java/awt/color/ProfileDataException.java,
8923         java/awt/CompositeContext.java, java/awt/Composite.java,
8924         java/awt/ContainerOrderFocusTraversalPolicy.java,
8925         java/awt/datatransfer/FlavorTable.java,
8926         java/awt/DefaultFocusTraversalPolicy.java,
8927         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8928         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8929         java/awt/dnd/DragGestureListener.java,
8930         java/awt/dnd/DragGestureRecognizer.java,
8931         java/awt/dnd/DragSourceAdapter.java,
8932         java/awt/dnd/DragSourceContext.java,
8933         java/awt/dnd/DragSourceDragEvent.java,
8934         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8935         java/awt/dnd/DragSourceListener.java,
8936         java/awt/dnd/DragSourceMotionListener.java,
8937         java/awt/dnd/DropTarget.java,
8938         java/awt/dnd/InvalidDnDOperationException.java,
8939         java/awt/dnd/peer/DragSourceContextPeer.java,
8940         java/awt/event/AWTEventListenerProxy.java,
8941         java/awt/event/MouseWheelEvent.java,
8942         java/awt/event/MouseWheelListener.java,
8943         java/awt/event/WindowFocusListener.java,
8944         java/awt/event/WindowStateListener.java,
8945         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8946         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8947         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8948         java/awt/geom/FlatteningPathIterator.java,
8949         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8950         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8951         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8952         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8953         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8954         java/awt/image/ImagingOpException.java,
8955         java/awt/image/RasterFormatException.java,
8956         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8957         java/awt/image/VolatileImage.java,
8958         java/awt/image/WritableRenderedImage.java,
8959         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8960         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8961         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8962         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8963         java/awt/PageAttributes.java, java/awt/print/Book.java,
8964         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8965         java/awt/print/Paper.java, java/awt/print/Printable.java,
8966         java/awt/print/PrinterAbortException.java,
8967         java/awt/print/PrinterException.java,
8968         java/awt/print/PrinterGraphics.java,
8969         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8970         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8971         java/awt/Stroke.java, java/awt/TexturePaint.java,
8972         javax/accessibility/AccessibleAction.java,
8973         javax/accessibility/AccessibleBundle.java,
8974         javax/accessibility/AccessibleComponent.java,
8975         javax/accessibility/AccessibleContext.java,
8976         javax/accessibility/AccessibleEditableText.java,
8977         javax/accessibility/AccessibleExtendedComponent.java,
8978         javax/accessibility/AccessibleExtendedTable.java,
8979         javax/accessibility/AccessibleHyperlink.java,
8980         javax/accessibility/AccessibleHypertext.java,
8981         javax/accessibility/AccessibleIcon.java,
8982         javax/accessibility/Accessible.java,
8983         javax/accessibility/AccessibleKeyBinding.java,
8984         javax/accessibility/AccessibleRelation.java,
8985         javax/accessibility/AccessibleRelationSet.java,
8986         javax/accessibility/AccessibleResourceBundle.java,
8987         javax/accessibility/AccessibleRole.java,
8988         javax/accessibility/AccessibleSelection.java,
8989         javax/accessibility/AccessibleState.java,
8990         javax/accessibility/AccessibleStateSet.java,
8991         javax/accessibility/AccessibleTable.java,
8992         javax/accessibility/AccessibleTableModelChange.java,
8993         javax/accessibility/AccessibleText.java,
8994         javax/accessibility/AccessibleValue.java,
8995         javax/swing/AbstractAction.java,
8996         javax/swing/AbstractButton.java,
8997         javax/swing/AbstractCellEditor.java,
8998         javax/swing/AbstractListModel.java,
8999         javax/swing/AbstractSet.java, javax/swing/Action.java,
9000         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9001         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9002         javax/swing/border/CompoundBorder.java,
9003         javax/swing/border/EmptyBorder.java,
9004         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9005         javax/swing/border/LineBorder.java,
9006         javax/swing/border/MatteBorder.java,
9007         javax/swing/border/TitledBorder.java,
9008         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9009         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9010         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9011         javax/swing/CellRendererPane.java,
9012         javax/swing/colorchooser/AbstractColorChooserPanel.java,
9013         javax/swing/colorchooser/ColorChooserComponentFactory.java,
9014         javax/swing/colorchooser/ColorSelectionModel.java,
9015         javax/swing/colorchooser/DefaultColorSelectionModel.java,
9016         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9017         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9018         javax/swing/DefaultBoundedRangeModel.java,
9019         javax/swing/DefaultButtonModel.java,
9020         javax/swing/DefaultCellEditor.java,
9021         javax/swing/DefaultCellRenderer.java,
9022         javax/swing/DefaultComboBoxModel.java,
9023         javax/swing/DefaultDesktopManager.java,
9024         javax/swing/DefaultFocusManager.java,
9025         javax/swing/DefaultListCellRenderer.java,
9026         javax/swing/DefaultListModel.java,
9027         javax/swing/DefaultListSelectionModel.java,
9028         javax/swing/DefaultSingleSelectionModel.java,
9029         javax/swing/DesktopManager.java,
9030         javax/swing/event/AncestorEvent.java,
9031         javax/swing/event/AncestorListener.java,
9032         javax/swing/event/CaretEvent.java,
9033         javax/swing/event/CaretListener.java,
9034         javax/swing/event/CellEditorListener.java,
9035         javax/swing/event/ChangeEvent.java,
9036         javax/swing/event/ChangeListener.java,
9037         javax/swing/event/DocumentEvent.java,
9038         javax/swing/event/DocumentListener.java,
9039         javax/swing/event/EventListenerList.java,
9040         javax/swing/event/HyperlinkEvent.java,
9041         javax/swing/event/HyperlinkListener.java,
9042         javax/swing/event/InternalFrameAdapter.java,
9043         javax/swing/event/InternalFrameEvent.java,
9044         javax/swing/event/InternalFrameListener.java,
9045         javax/swing/event/ListDataEvent.java,
9046         javax/swing/event/ListDataListener.java,
9047         javax/swing/event/ListSelectionEvent.java,
9048         javax/swing/event/ListSelectionListener.java,
9049         javax/swing/event/MenuDragMouseEvent.java,
9050         javax/swing/event/MenuDragMouseListener.java,
9051         javax/swing/event/MenuEvent.java,
9052         javax/swing/event/MenuKeyEvent.java,
9053         javax/swing/event/MenuKeyListener.java,
9054         javax/swing/event/MenuListener.java,
9055         javax/swing/event/MouseInputAdapter.java,
9056         javax/swing/event/MouseInputListener.java,
9057         javax/swing/event/PopupMenuEvent.java,
9058         javax/swing/event/PopupMenuListener.java,
9059         javax/swing/event/SwingPropertyChangeSupport.java,
9060         javax/swing/event/TableColumnModelEvent.java,
9061         javax/swing/event/TableColumnModelListener.java,
9062         javax/swing/event/TableModelEvent.java,
9063         javax/swing/event/TableModelListener.java,
9064         javax/swing/event/TreeExpansionEvent.java,
9065         javax/swing/event/TreeExpansionListener.java,
9066         javax/swing/event/TreeModelEvent.java,
9067         javax/swing/event/TreeModelListener.java,
9068         javax/swing/event/TreeSelectionEvent.java,
9069         javax/swing/event/TreeSelectionListener.java,
9070         javax/swing/event/TreeWillExpandListener.java,
9071         javax/swing/event/UndoableEditEvent.java,
9072         javax/swing/event/UndoableEditListener.java,
9073         javax/swing/filechooser/FileFilter.java,
9074         javax/swing/filechooser/FileSystemView.java,
9075         javax/swing/filechooser/FileView.java,
9076         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9077         javax/swing/Icon.java, javax/swing/ImageIcon.java,
9078         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9079         javax/swing/JApplet.java, javax/swing/JButton.java,
9080         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9081         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9082         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9083         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9084         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9085         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9086         javax/swing/JLayeredPane.java, javax/swing/JList.java,
9087         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9088         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9089         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9090         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9091         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9092         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9093         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9094         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9095         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9096         javax/swing/JTextField.java, javax/swing/JTextPane.java,
9097         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9098         javax/swing/JToolTip.java, javax/swing/JTree.java,
9099         javax/swing/JViewport.java, javax/swing/JWindow.java,
9100         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9101         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9102         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9103         javax/swing/MenuSelectionManager.java,
9104         javax/swing/MutableComboBoxModel.java,
9105         javax/swing/OverlayLayout.java,
9106         javax/swing/plaf/ActionMapUIResource.java,
9107         javax/swing/plaf/basic/BasicBorders.java,
9108         javax/swing/plaf/basic/BasicButtonUI.java,
9109         javax/swing/plaf/basic/BasicCheckBoxUI.java,
9110         javax/swing/plaf/basic/BasicDefaults.java,
9111         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9112         javax/swing/plaf/basic/BasicIconFactory.java,
9113         javax/swing/plaf/basic/BasicLabelUI.java,
9114         javax/swing/plaf/basic/BasicListUI.java,
9115         javax/swing/plaf/basic/BasicLookAndFeel.java,
9116         javax/swing/plaf/basic/BasicOptionPaneUI.java,
9117         javax/swing/plaf/basic/BasicPanelUI.java,
9118         javax/swing/plaf/basic/BasicRadioButtonUI.java,
9119         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9120         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9121         javax/swing/plaf/basic/BasicTextUI.java,
9122         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9123         javax/swing/plaf/basic/BasicTreeUI.java,
9124         javax/swing/plaf/basic/BasicViewportUI.java,
9125         javax/swing/plaf/BorderUIResource.java,
9126         javax/swing/plaf/ButtonUI.java,
9127         javax/swing/plaf/ColorChooserUI.java,
9128         javax/swing/plaf/ColorUIResource.java,
9129         javax/swing/plaf/ComboBoxUI.java,
9130         javax/swing/plaf/ComponentInputMapUIResource.java,
9131         javax/swing/plaf/ComponentUI.java,
9132         javax/swing/plaf/DesktopIconUI.java,
9133         javax/swing/plaf/DesktopPaneUI.java,
9134         javax/swing/plaf/DimensionUIResource.java,
9135         javax/swing/plaf/FileChooserUI.java,
9136         javax/swing/plaf/FontUIResource.java,
9137         javax/swing/plaf/IconUIResource.java,
9138         javax/swing/plaf/InputMapUIResource.java,
9139         javax/swing/plaf/InsetsUIResource.java,
9140         javax/swing/plaf/InternalFrameUI.java,
9141         javax/swing/plaf/LabelUI.java,
9142         javax/swing/plaf/ListUI.java,
9143         javax/swing/plaf/MenuBarUI.java,
9144         javax/swing/plaf/MenuItemUI.java,
9145         javax/swing/plaf/OptionPaneUI.java,
9146         javax/swing/plaf/PanelUI.java,
9147         javax/swing/plaf/PopupMenuUI.java,
9148         javax/swing/plaf/ProgressBarUI.java,
9149         javax/swing/plaf/RootPaneUI.java,
9150         javax/swing/plaf/ScrollBarUI.java,
9151         javax/swing/plaf/ScrollPaneUI.java,
9152         javax/swing/plaf/SeparatorUI.java,
9153         javax/swing/plaf/SliderUI.java,
9154         javax/swing/plaf/SplitPaneUI.java,
9155         javax/swing/plaf/TabbedPaneUI.java,
9156         javax/swing/plaf/TableHeaderUI.java,
9157         javax/swing/plaf/TableUI.java,
9158         javax/swing/plaf/TextUI.java,
9159         javax/swing/plaf/ToolBarUI.java,
9160         javax/swing/plaf/ToolTipUI.java,
9161         javax/swing/plaf/TreeUI.java,
9162         javax/swing/plaf/UIResource.java,
9163         javax/swing/plaf/ViewportUI.java,
9164         javax/swing/ProgressMonitorInputStream.java,
9165         javax/swing/ProgressMonitor.java,
9166         javax/swing/Renderer.java,
9167         javax/swing/RepaintManager.java,
9168         javax/swing/RootPaneContainer.java,
9169         javax/swing/Scrollable.java,
9170         javax/swing/ScrollPaneConstants.java,
9171         javax/swing/ScrollPaneLayout.java,
9172         javax/swing/SingleSelectionModel.java,
9173         javax/swing/SizeRequirements.java,
9174         javax/swing/SizeSequence.java,
9175         javax/swing/SwingConstants.java,
9176         javax/swing/SwingUtilities.java,
9177         javax/swing/table/AbstractTableModel.java,
9178         javax/swing/table/DefaultTableCellRenderer.java,
9179         javax/swing/table/DefaultTableColumnModel.java,
9180         javax/swing/table/DefaultTableModel.java,
9181         javax/swing/table/TableCellEditor.java,
9182         javax/swing/table/TableCellRenderer.java,
9183         javax/swing/table/TableColumn.java,
9184         javax/swing/table/TableColumnModel.java,
9185         javax/swing/table/TableModel.java,
9186         javax/swing/text/AbstractDocument.java,
9187         javax/swing/text/AttributeSet.java,
9188         javax/swing/text/BadLocationException.java,
9189         javax/swing/text/Caret.java,
9190         javax/swing/text/CharacterIterator.java,
9191         javax/swing/text/ComponentView.java,
9192         javax/swing/text/DefaultCaret.java,
9193         javax/swing/text/DefaultEditorKit.java,
9194         javax/swing/text/Document.java,
9195         javax/swing/text/EditorKit.java,
9196         javax/swing/text/Element.java,
9197         javax/swing/text/GapContent.java,
9198         javax/swing/text/JTextComponent.java,
9199         javax/swing/text/Keymap.java,
9200         javax/swing/text/MutableAttributeSet.java,
9201         javax/swing/text/PlainDocument.java,
9202         javax/swing/text/PlainEditorKit.java,
9203         javax/swing/text/Position.java,
9204         javax/swing/text/Segment.java,
9205         javax/swing/text/StyledDocument.java,
9206         javax/swing/text/StyledEditorKit.java,
9207         javax/swing/text/Style.java,
9208         javax/swing/text/TextAction.java,
9209         javax/swing/text/ViewFactory.java,
9210         javax/swing/text/View.java,
9211         javax/swing/Timer.java,
9212         javax/swing/ToggleButtonModel.java,
9213         javax/swing/ToolTipManager.java,
9214         javax/swing/tree/AbstractLayoutCache.java,
9215         javax/swing/tree/DefaultMutableTreeNode.java,
9216         javax/swing/tree/DefaultTreeCellEditor.java,
9217         javax/swing/tree/DefaultTreeCellRenderer.java,
9218         javax/swing/tree/DefaultTreeModel.java,
9219         javax/swing/tree/DefaultTreeSelectionModel.java,
9220         javax/swing/tree/ExpandVetoException.java,
9221         javax/swing/tree/FixedHeightLayoutCache.java,
9222         javax/swing/tree/MutableTreeNode.java,
9223         javax/swing/tree/RowMapper.java,
9224         javax/swing/tree/TreeCellEditor.java,
9225         javax/swing/tree/TreeCellRenderer.java,
9226         javax/swing/tree/TreeModel.java,
9227         javax/swing/tree/TreeNode.java,
9228         javax/swing/tree/TreePath.java,
9229         javax/swing/tree/TreeSelectionModel.java,
9230         javax/swing/tree/VariableHeightLayoutCache.java,
9231         javax/swing/UIDefaults.java,
9232         javax/swing/UIManager.java,
9233         javax/swing/undo/AbstractUndoableEdit.java,
9234         javax/swing/undo/CannotRedoException.java,
9235         javax/swing/undo/CannotUndoException.java,
9236         javax/swing/undo/CompoundEdit.java,
9237         javax/swing/undo/StateEditable.java,
9238         javax/swing/undo/StateEdit.java,
9239         javax/swing/undo/UndoableEdit.java,
9240         javax/swing/undo/UndoableEditSupport.java,
9241         javax/swing/undo/UndoManager.java,
9242         javax/swing/UnsupportedLookAndFeelException.java,
9243         javax/swing/ViewportLayout.java,
9244         javax/swing/WindowConstants.java: New files, from GNU Classpath.
9245
9246         * java/awt/ActiveEvent.java,
9247         java/awt/Adjustable.java, java/awt/AWTError.java,
9248         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9249         java/awt/AWTException.java, java/awt/AWTPermission.java,
9250         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9251         java/awt/Color.java, java/awt/Component.java,
9252         java/awt/ComponentOrientation.java, java/awt/Container.java,
9253         java/awt/datatransfer/MimeTypeParseException.java,
9254         java/awt/datatransfer/Transferable.java,
9255         java/awt/datatransfer/UnsupportedFlavorException.java,
9256         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9257         java/awt/event/ActionListener.java,
9258         java/awt/event/AdjustmentEvent.java,
9259         java/awt/event/AdjustmentListener.java,
9260         java/awt/event/AWTEventListener.java,
9261         java/awt/event/ComponentAdapter.java,
9262         java/awt/event/ComponentEvent.java,
9263         java/awt/event/ComponentListener.java,
9264         java/awt/event/ContainerAdapter.java,
9265         java/awt/event/ContainerEvent.java,
9266         java/awt/event/ContainerListener.java,
9267         java/awt/event/FocusAdapter.java,
9268         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9269         java/awt/event/HierarchyBoundsAdapter.java,
9270         java/awt/event/HierarchyBoundsListener.java,
9271         java/awt/event/HierarchyEvent.java,
9272         java/awt/event/HierarchyListener.java,
9273         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9274         java/awt/event/InputMethodListener.java,
9275         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9276         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9277         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9278         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9279         java/awt/event/MouseListener.java,
9280         java/awt/event/MouseMotionAdapter.java,
9281         java/awt/event/MouseMotionListener.java,
9282         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9283         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9284         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9285         java/awt/event/WindowListener.java, java/awt/Font.java,
9286         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9287         java/awt/geom/Ellipse2D.java,
9288         java/awt/geom/IllegalPathStateException.java,
9289         java/awt/geom/Line2D.java,
9290         java/awt/geom/NoninvertibleTransformException.java,
9291         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9292         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9293         java/awt/geom/RoundRectangle2D.java,
9294         java/awt/GraphicsConfiguration.java,
9295         java/awt/IllegalComponentStateException.java,
9296         java/awt/image/IndexColorModel.java,
9297         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9298         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9299         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9300         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9301         java/awt/MenuItem.java, java/awt/PaintContext.java,
9302         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9303         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9304         java/awt/PrintJob.java, java/awt/Rectangle.java,
9305         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9306         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9307         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9308
9309         * java/awt/im/spi/InputMethod.java,
9310         java/awt/im/spi/InputMethodContext.java,
9311         java/awt/im/spi/InputMethodDescriptor.java,
9312         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9313         java/awt/image/renderable/ParameterBlock.java,
9314         java/awt/image/renderable/RenderContext.java,
9315         java/awt/image/renderable/RenderableImage.java,
9316         java/awt/image/renderable/RenderableImageOp.java,
9317         java/awt/image/renderable/RenderableImageProducer.java,
9318         java/awt/image/renderable/RenderedImageFactory.java: New files from
9319         classpath.
9320
9321         * gnu/java/awt/EventModifier.java,
9322         gnu/java/awt/image/ImageDecoder.java,
9323         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9324
9325         * gnu/awt/xlib/XGraphicsConfiguration.java,
9326         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9327         API.
9328
9329         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9330         GNU Classpath.
9331
9332         * Makefile.am: Add new files.
9333         * Makefile.in: Rebuilt.
9334
9335 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9336
9337         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9338         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9339         findResource, getResources, findResources): Add javadoc from classpath.
9340         (getSystemResources): Implemented.
9341
9342 2002-08-01  Mark Wielaard  <mark@klomp.org>
9343
9344         Revert patch that breaks libgcj shared library on powerpc:
9345         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9346         implementation classes by using Class.getName(). Uses Strings again.
9347         * gnu/java/security/der/DEREncodingException.java,
9348         gnu/java/security/provider/DERReader.java,
9349         gnu/java/security/provider/DERWriter.java,
9350         gnu/java/security/provider/DSAKeyPairGenerator.java,
9351         gnu/java/security/provider/DSAParameterGenerator.java,
9352         gnu/java/security/provider/DSAParameters.java,
9353         gnu/java/security/provider/DSASignature.java,
9354         gnu/java/security/provider/GnuDSAPrivateKey.java,
9355         gnu/java/security/provider/GnuDSAPublicKey.java,
9356         gnu/java/security/provider/MD5.java,
9357         gnu/java/security/util/Prime.java: Removed.
9358         * Makefile.am (ordinary_java_source_files): Remove above files.
9359         * Makefile.in: Regenerate.
9360         * gnu/java/security/provider/DefaultPolicy.java
9361         (getPermissions): Revert to maintaining static class variable of
9362         Permissions.
9363         * gnu/java/security/provider/SHA.java
9364         (engineUpdate): Revert algorithm change.
9365         (engineDigest): Revert algorithm change.
9366
9367 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9368
9369         * configure.host: Add SH support.
9370         * sysdep/sh/locks.h: New file.
9371
9372 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9373
9374         * java/awt/Frame.java (Frame): Remove println calls.
9375
9376 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9377
9378         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9379         * configure: Rebuilt.
9380
9381 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9382
9383         * sysdep/powerpc/locks.h: Formatting.
9384         (_LARX): Define.
9385         (_STCX): Define.
9386         (compare_and_swap): Use _LARX and _STCX.
9387         (compare_and_swap_release): Likewise.
9388
9389 2002-07-26  Tom Tromey  <tromey@redhat.com>
9390
9391         * java/net/Authenticator.java: New version from Classpath.
9392         * java/net/DatagramSocketImpl.java: New version from Classpath.
9393
9394 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9395
9396         * configure.host: Add powerpc64*-* entry.
9397
9398 2002-07-26  Tom Tromey  <tromey@redhat.com>
9399
9400         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9401         fcntl.h.
9402
9403 2002-07-24  Tom Tromey  <tromey@redhat.com>
9404
9405         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9406         argument to _load.
9407
9408 2002-07-24  Tom Tromey  <tromey@redhat.com>
9409             Tony Kimball <alk@pobox.com>
9410
9411         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9412         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9413         * java/io/RandomAccessFile.java (setLength): New method.
9414         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9415         * java/io/FileDescriptor.java (setLength): New method.
9416
9417 2002-07-24  Mark Wielaard  <mark@klomp.org>
9418
9419         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9420         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9421         field call setAccessible(true).
9422         (setByteField): Likewise.
9423         (setCharField): Likewise.
9424         (setDoubleField): Likewise.
9425         (setFloatField): Likewise.
9426         (setIntField): Likewise.
9427         (setLongField): Likewise.
9428         (setShortField): Likewise.
9429         (setObjectField): Likewise.
9430
9431 2002-07-24  Tom Tromey  <tromey@redhat.com>
9432
9433         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9434         use toString() to format array element.
9435
9436 2002-07-23  Mark Wielaard  <mark@klomp.org>
9437
9438         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9439         MessageDigestSpi (fixes Classpath bug #783).
9440
9441 2002-07-21  Mark Wielaard  <mark@klomp.org>
9442
9443         * gnu/java/security/provider/Gnu.java: Reference all implementation
9444         classes by using Class.getName().
9445
9446 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9447
9448         * java/lang/ieeefp.h: Add x86-64 support.
9449         * configure.in: Likewise.
9450         * configure.host: Likewise.
9451         * configure: Regenerated.
9452         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9453
9454 2002-07-16  Mark Wielaard  <mark@klomp.org>
9455
9456         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9457         (whitespaceChars): call resetChar().
9458
9459 2002-07-15  Tom Tromey  <tromey@redhat.com>
9460
9461         * Makefile.in: Rebuilt.
9462         * Makefile.am (awt_java_source_files): Added new files.
9463         * java/beans/ExceptionListener.java: Merged with Classpath.
9464         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9465         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9466         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9467         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9468         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9469         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9470         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9471
9472 2002-07-14  Mark Wielaard  <mark@klomp.org>
9473
9474         * gnu/java/security/der/DEREncodingException.java,
9475         gnu/java/security/provider/DERReader.java,
9476         gnu/java/security/provider/DERWriter.java,
9477         gnu/java/security/provider/DSAKeyPairGenerator.java,
9478         gnu/java/security/provider/DSAParameterGenerator.java,
9479         gnu/java/security/provider/DSAParameters.java,
9480         gnu/java/security/provider/DSASignature.java,
9481         gnu/java/security/provider/GnuDSAPrivateKey.java,
9482         gnu/java/security/provider/GnuDSAPublicKey.java,
9483         gnu/java/security/provider/MD5.java,
9484         gnu/java/security/util/Prime.java: New files from Classpath.
9485         * Makefile.am (ordinary_java_source_files): Add new files.
9486         * Makefile.in: Regenerate.
9487
9488 2002-07-14  C. Brian Jones <cbj@gnu.org>
9489
9490         * gnu/java/security/provider/DefaultPolicy.java
9491         (getPermissions): do not maintain static class variable of
9492         Permissions
9493         * gnu/java/security/provider/SHA.java
9494         (engineUpdate): algorithm change
9495         (engineDigest): algorithm change
9496
9497 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9498
9499         For PR libgcj/7292:
9500         * java/lang/Character.java (toString(char)): Now static.
9501
9502 2002-07-12  Mark Wielaard  <mark@klomp.org>
9503
9504         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9505         (getStackTrace0): new method.
9506         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9507         (printStackTrace(PrintWriter)): replace with pure java implementation.
9508         (printRawStackTrace): removed.
9509         (getStackTrace0): new method.
9510         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9511         * gcj/javaprims.h: regenerate class list.
9512         * include/name-finder.h (lookup): new returns StackTraceElement*.
9513         (method_name, file_name): fields removed.
9514         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9515         (~_Jv_name_finder): close new descriptors.
9516         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9517         (createStackTraceElement): new method.
9518         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9519
9520 2002-07-10  Tom Tromey  <tromey@redhat.com>
9521
9522         * configure: Rebuilt.
9523         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9524
9525 2002-07-08  Mark Wielaard  <mark@klomp.org>
9526
9527         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9528         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9529         java.sql.DatabaseMetaData.TestJdbc20
9530
9531 2002-07-05  Tony Kimball  <alk@pobox.com>
9532
9533         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9534
9535 2002-07-04  Tom Tromey  <tromey@redhat.com>
9536             Jeff Sturm  <jsturm@one-point.com>
9537
9538         Fix for PR libgcj/7060:
9539         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9540         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9541         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9542         * java/lang/Class.java (getMethod): New Java implementation;
9543         complies with spec.
9544         (_getMethod): New native method.
9545
9546 2002-07-02  Tom Tromey  <tromey@redhat.com>
9547             David Hovemeyer  <daveho@cs.umd.edu>
9548
9549         * java/text/ChoiceFormat.java
9550         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9551         in check loop.
9552         * java/text/MessageFormat.java
9553         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9554         to MessageFormat.
9555
9556 2002-07-01  Tom Tromey  <tromey@redhat.com>
9557
9558         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9559         StringTokenizer on null string.  For PR libgcj/7180.
9560         From daveho@cs.umd.edu.
9561
9562 2002-06-24  Tom Tromey  <tromey@redhat.com>
9563
9564         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9565         (IntegerClass): Likewise.
9566         * java/lang/natClass.cc (CloneableClass): Removed.
9567         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9568         ConstructorClass): Likewise.
9569         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9570         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9571         SerializableClass): Likewise.
9572         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9573         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9574         LongClass, FloatClass, DoubleClass): Likewise.
9575
9576         * verify.cc (branch_prepass): Updated for change to exception
9577         handler type.
9578         (verify_instructions_0): Likewise.
9579         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9580         (handleExceptionTableEntry): Updated for change to exception
9581         handler type.
9582         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9583         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9584         (union _Jv_InterpPC): New.
9585         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9586         (class _Jv_InterpMethod): Added new `prepared' field.
9587         (class _Jv_InterpMethod): Added `compile' method.  Removed
9588         `continue1' and `find_exception'.  Changed arguments to `run'.
9589         * interpret.cc (union insn_slot): New.
9590         (find_exception): Removed.
9591         (run_normal): Removed most logic.
9592         (run_synch_object): Likewise; also, use JvSynchronize.
9593         (run_synch_class): Likewise.
9594         (run): Removed.
9595         (continue1): Renamed as `run'.  Compile bytecode if required.
9596         Add new code to allow refinement of direct-threaded code at
9597         runtime.  Handle exceptions.
9598         (SAVE_PC): Removed.
9599         (compile): New method.
9600         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9601         (NULLARRAYCHECK): Don't use SAVE_PC.
9602         (pc_t): New typedef.
9603         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9604         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9605
9606 2002-06-23  Tom Tromey  <tromey@redhat.com>
9607
9608         * configure: Rebuilt.
9609         * configure.in (INTERPRETER): New subst.
9610         (AM_RUNTESTFLAGS): Don't subst.
9611
9612         * Makefile.in: Rebuilt.
9613         * Makefile.am ($(srcdir)/java/lang/Object.h,
9614         $(srcdir)/java/lang/Class.h): Added dummy targets.
9615
9616 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9617
9618         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9619
9620         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9621         java/sql/Savepoint.java: New files.
9622         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9623         java/sql/Blob.java, java/sql/CallableStatement.java,
9624         java/sql/Clob.java, java/sql/Connection.java,
9625         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9626         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9627         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9628         java/sql/Ref.java, java/sql/ResultSet.java,
9629         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9630         java/sql/SQLException.java, java/sql/SQLInput.java,
9631         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9632         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9633         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9634         (JDK 1.4) specification.
9635         * javax/sql/ConnectionEvent.java,
9636         javax/sql/ConnectionEventListener.java,
9637         javax/sql/ConnectionPoolDataSource.java,
9638         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9639         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9640         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9641         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9642         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9643         javax/sql/XADataSource.java: New files.
9644         * Makefile.am: Add new files.
9645         * Makefile.in: Rebuilt.
9646
9647 2002-06-20  Tom Tromey  <tromey@redhat.com>
9648
9649         For PR libgcj/7073:
9650         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9651         exists.
9652         * defineclass.cc (handleClassBegin): Superclass for interface is
9653         `null'.
9654
9655 2002-06-18  Tom Tromey  <tromey@redhat.com>
9656
9657         * gcj/javaprims.h: Updated class declaration list.
9658         * Makefile.in: Rebuilt.
9659         * Makefile.am (core_java_source_files): Removed
9660         BasicMapEntry.java.
9661         * java/util/BasicMapEntry.java: Removed.
9662
9663 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9664
9665         * java/net/natPlainDatagramSocketImpl.cc (receive):
9666         Check bounds of argument to FD_SET.
9667         (setOption): Throw exception if socket is closed.
9668
9669         * java/net/natPlainSocketImpl.cc (accept, read):
9670         Check bounds of argument to FD_SET.
9671         (setOption): Throw exception if socket is closed.
9672
9673 2002-06-18  Tom Tromey  <tromey@redhat.com>
9674
9675         * gcj/javaprims.h: Updated class declaration list.
9676         * Makefile.in: Rebuilt.
9677         * Makefile.am (core_java_source_files): Added
9678         PropertyPermissionCollection.java.
9679         * java/lang/Thread.java (group, name): Now package-private.
9680         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9681         * java/util/AbstractList.java: Likewise.
9682         * java/util/AbstractMap.java: Likewise.
9683         * java/util/Calendar.java: Likewise.
9684         * java/util/Collections.java: Likewise.
9685         * java/util/HashMap.java: Likewise.
9686         * java/util/Hashtable.java: Likewise.
9687         * java/util/LinkedHashMap.java: Likewise.
9688         * java/util/LinkedList.java: Likewise.
9689         * java/util/List.java: Likewise.
9690         * java/util/ListResourceBundle.java: Likewise.
9691         * java/util/Map.java: Likewise.
9692         * java/util/Observable.java: Likewise.
9693         * java/util/Properties.java: Likewise.
9694         * java/util/PropertyPermission.java: Likewise.
9695         * java/util/PropertyPermissionCollection.java: Likewise.
9696         * java/util/PropertyResourceBundle.java: Likewise.
9697         * java/util/Random.java: Likewise.
9698         * java/util/SimpleTimeZone.java: Likewise.
9699         * java/util/StringTokenizer.java: Likewise.
9700         * java/util/TimerTask.java: Likewise.
9701         * java/util/TreeMap.java: Likewise.
9702         * java/util/WeakHashMap.java: Likewise.
9703         * java/util/jar/Attributes.java: Likewise.
9704         * java/util/jar/JarException.java: Likewise.
9705         * java/util/jar/Manifest.java: Likewise.
9706
9707 2002-06-17  Tom Tromey  <tromey@redhat.com>
9708
9709         * gcj/javaprims.h: Updated class declaration list.
9710         * Makefile.in: Rebuilt.
9711         * Makefile.am (core_java_source_files): Added new file.
9712         * java/util/EventListenerProxy.java: New file.
9713         * java/util/EventListener.java: Re-merge with Classpath.
9714         * java/util/EventObject.java: Re-merge with Classpath.
9715
9716 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9717
9718         * java/lang/ClassNotFoundException.java: New Classpath version.
9719
9720 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9721
9722         * java/rmi/activation/ActivateFailedException.java: Remerge from
9723         Classpath version.
9724         * java/rmi/activation/ActivationException.java: Ditto.
9725         * java/rmi/activation/UnknownGroupException.java: Ditto.
9726         * java/rmi/activation/UnknownObjectException.java: Ditto.
9727         * java/rmi/server/ExportException: Ditto.
9728         * java/rmi/server/ServerCloneException: Ditto.
9729         * java/rmi/server/ServerNotActiveException: Ditto.
9730         * java/rmi/server/SkeletonMismatchException: Ditto.
9731         * java/rmi/server/SkeletonNotFoundException: Ditto.
9732         * java/rmi/server/SocketSecurityException: Ditto.
9733
9734 2002-06-16  Tom Tromey  <tromey@redhat.com>
9735
9736         * gcj/javaprims.h: Updated class declaration list.
9737
9738         * java/io/LineNumberInputStream.java: Merged with Classpath.
9739
9740         * java/lang/RuntimeException.java: Re-merge with Classpath.
9741         * java/util/ArrayList.java: Likewise.
9742         * java/util/Arrays.java: Likewise.
9743         * java/util/BitSet.java: Likewise.
9744         * java/util/Dictionary.java: Likewise.
9745         * java/util/IdentityHashMap.java: Likewise.
9746         * java/util/MissingResourceException.java: Likewise.
9747         * java/util/Observer.java: Likewise.
9748         * java/util/TooManyListenersException.java: Likewise.
9749         * java/util/zip/DataFormatException.java: Likewise.
9750         * java/util/zip/ZipException.java: Likewise.
9751
9752 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9753
9754         * java/rmi/AccessException.java: Remerge from Classpath.
9755         * java/rmi/AlreadyBoundException.java: Ditto.
9756         * java/rmi/ConnectException.java: Ditto.
9757         * java/rmi/ConnectIOException.java: Ditto.
9758         * java/rmi/MarshalException.java: Ditto.
9759         * java/rmi/NoSuchObjectException.java: Ditto.
9760         * java/rmi/NotBoundException.java: Ditto.
9761         * java/rmi/RemoteException.java: Ditto.
9762         * java/rmi/RMISecurityException.java: Ditto.
9763         * java/rmi/ServerError.java: Ditto.
9764         * java/rmi/ServerException.java: Ditto.
9765         * java/rmi/ServerRuntimeException.java: Ditto.
9766         * java/rmi/StubNotFoundException.java: Ditto.
9767         * java/rmi/UnexpectedExcpetion.java: Ditto.
9768         * java/rmi/UnknownHostException.java: Ditto.
9769         * java/rmi/UnmarshalException.java: Ditto.
9770
9771 2002-06-15  Tom Tromey  <tromey@redhat.com>
9772
9773         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9774         * java/lang/ArithmeticException.java: Likewise.
9775         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9776         * java/lang/ArrayStoreException.java: Likewise.
9777         * java/lang/Byte.java: Likewise.
9778         * java/lang/CharSequence.java: Likewise.
9779         * java/lang/ClassCastException.java: Likewise.
9780         * java/lang/ClassCircularityError.java: Likewise.
9781         * java/lang/ClassFormatError.java: Likewise.
9782         * java/lang/CloneNotSupportedException.java: Likewise.
9783         * java/lang/Cloneable.java: Likewise.
9784         * java/lang/Comparable.java: Likewise.
9785         * java/lang/Compiler.java: Likewise.
9786         * java/lang/Error.java: Likewise.
9787         * java/lang/ExceptionInInitializerError.java: Likewise.
9788         * java/lang/IllegalAccessError.java: Likewise.
9789         * java/lang/IllegalAccessException.java: Likewise.
9790         * java/lang/IllegalArgumentException.java: Likewise.
9791         * java/lang/IllegalMonitorStateException.java: Likewise.
9792         * java/lang/IllegalStateException.java: Likewise.
9793         * java/lang/IllegalThreadStateException.java: Likewise.
9794         * java/lang/IncompatibleClassChangeError.java: Likewise.
9795         * java/lang/IndexOutOfBoundsException.java: Likewise.
9796         * java/lang/InheritableThreadLocal.java: Likewise.
9797         * java/lang/InstantiationError.java: Likewise.
9798         * java/lang/InstantiationException.java: Likewise.
9799         * java/lang/InternalError.java: Likewise.
9800         * java/lang/InterruptedException.java: Likewise.
9801         * java/lang/LinkageError.java: Likewise.
9802         * java/lang/NegativeArraySizeException.java: Likewise.
9803         * java/lang/NoClassDefFoundError.java: Likewise.
9804         * java/lang/NoSuchFieldError.java: Likewise.
9805         * java/lang/NoSuchFieldException.java: Likewise.
9806         * java/lang/NoSuchMethodError.java: Likewise.
9807         * java/lang/NoSuchMethodException.java: Likewise.
9808         * java/lang/NullPointerException.java: Likewise.
9809         * java/lang/NumberFormatException.java: Likewise.
9810         * java/lang/OutOfMemoryError.java: Likewise.
9811         * java/lang/Process.java: Likewise.
9812         * java/lang/Runnable.java: Likewise.
9813         * java/lang/RuntimePermission.java: Likewise.
9814         * java/lang/SecurityException.java: Likewise.
9815         * java/lang/Short.java: Likewise.
9816         * java/lang/StackOverflowError.java: Likewise.
9817         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9818         * java/lang/ThreadDeath.java: Likewise.
9819         * java/lang/ThreadLocal.java: Likewise.
9820         * java/lang/UnknownError.java: Likewise.
9821         * java/lang/UnsatisfiedLinkError.java: Likewise.
9822         * java/lang/UnsupportedClassVersionError.java: Likewise.
9823         * java/lang/UnsupportedOperationException.java: Likewise.
9824         * java/lang/VerifyError.java: Likewise.
9825         * java/lang/VirtualMachineError.java: Likewise.
9826         * java/lang/reflect/InvocationTargetException.java: Likewise.
9827         * java/net/BindException.java: Likewise.
9828         * java/net/ConnectException.java: Likewise.
9829         * java/net/MalformedURLException.java: Likewise.
9830         * java/net/NoRouteToHostException.java: Likewise.
9831         * java/net/ProtocolException.java: Likewise.
9832         * java/net/SocketException.java: Likewise.
9833         * java/net/UnknownHostException.java: Likewise.
9834         * java/net/UnknownServiceException.java: Likewise.
9835
9836         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9837         * java/io/CharConversionException.java: Likewise.
9838         * java/io/EOFException.java: Likewise.
9839         * java/io/FileNotFoundException.java: Likewise.
9840         * java/io/IOException.java: Likewise.
9841         * java/io/InterruptedIOException.java: Likewise.
9842         * java/io/InvalidClassException.java: Likewise.
9843         * java/io/InvalidObjectException.java: Likewise.
9844         * java/io/NotActiveException.java: Likewise.
9845         * java/io/NotSerializableException.java: Likewise.
9846         * java/io/ObjectStreamException.java: Likewise.
9847         * java/io/ObjectStreamConstants.java: Likewise.
9848         * java/io/OptionalDataException.java: Likewise.
9849         * java/io/PipedInputStream.java: Likewise.
9850         * java/io/PushbackInputStream.java: Likewise.
9851         * java/io/StreamCorruptedException.java: Likewise.
9852         * java/io/SyncFailedException.java: Likewise.
9853         * java/io/UTFDataFormatException.java: Likewise.
9854         * java/io/UnsupportedEncodingException.java: Likewise.
9855         * java/io/WriteAbortedException.java: Likewise.
9856
9857 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9858
9859         * java/text/ChoiceFormat.java: Update comments from Classpath.
9860         * java/text/ParseException.java (serialVersionUID): New
9861         field from Classpath.
9862         * java/text/ParseException.java: Update formatting & comments
9863         from Classpath.
9864
9865 2002-06-15  Tom Tromey  <tromey@redhat.com>
9866
9867         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9868         been read but none output by inflater.
9869         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9870         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9871         is_finished.
9872         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9873         version.
9874         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9875         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9876         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9877         version.
9878         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9879
9880 2002-06-13  Tom Tromey  <tromey@redhat.com>
9881
9882         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9883         true and OFFSET!=0.
9884         * java/lang/String.java (String(char[],int,int,boolean): New
9885         constructor.
9886         * java/lang/Long.java: Imported new version from Classpath.
9887         * java/lang/Number.java: Likewise.
9888         * java/lang/Integer.java: Likewise.
9889         * java/lang/Long.java: Likewise.
9890         * java/lang/Float.java: Likewise.
9891         * java/lang/Boolean.java: Likewise.
9892         * java/lang/Double.java: Likewise.
9893         * java/lang/Void.java: Likewise.
9894
9895 2002-06-12  Tom Tromey  <tromey@redhat.com>
9896
9897         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9898         Fixes PR libgcj/6652.
9899
9900 2002-06-10  Tom Tromey  <tromey@redhat.com>
9901
9902         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9903         (Class::getPackagePortion): Likewise.
9904         * java/lang/Class.java (desiredAssertionStatus): New method from
9905         Classpath.
9906         (getPackagePortion): Likewise.
9907         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9908         packageAssertionStatus, classAssertionStatus): New methods from
9909         Classpath.
9910         * java/lang/ClassLoader.java (defaultAssertionStatus,
9911         systemPackageAssertionStatus, packageAssertionStatus,
9912         systemClassAssertionStatus, classAssertionStatus): New fields from
9913         Classpath.
9914         (setDefaultAssertionStatus, setPackageAssertionStatus,
9915         setClassAssertionStatus, clearAssertionStatus): New methods from
9916         Classpath.
9917         * Makefile.in: Rebuilt.
9918         * Makefile.am (core_java_source_files): Added AssertionError.java.
9919         * java/lang/AssertionError.java: New from Classpath.
9920
9921 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9922
9923         * configure.host: Disable hash synchronization and slow_pthread_self
9924         for cygwin.
9925
9926 2002-06-06  Adam Megacz <adam@xwt.org>
9927
9928         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9929         locking, just like the Sun JVM does.
9930
9931 2002-06-05  H.J. Lu  (hjl@gnu.org)
9932
9933         * Makefile.am (libgcj_convenience.la): Revert the last change.
9934         (libgcj.la): Likewise.
9935         * Makefile.in: Regenerated.
9936
9937 2002-06-04  H.J. Lu  (hjl@gnu.org)
9938
9939         * Makefile.am (libgcj_convenience.la): New target.
9940         (libgcj.la): Depend on libgcj_convenience.la.
9941         * Makefile.in: Regenerated.
9942
9943 2002-06-04  H.J. Lu  (hjl@gnu.org)
9944
9945         * configure.in (--with-newlib): New option:
9946         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9947         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9948         Linux.
9949         * configure: Regenerated.
9950
9951 2002-06-04  Tom Tromey  <tromey@redhat.com>
9952
9953         * java/util/natTimeZone.cc: Include <stdio.h>.
9954
9955 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9956
9957         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9958         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9959         Set SIGNAL_HANDLER=include/s390-linux.h.
9960         * configure: Regenerate.
9961         * include/s390-linux.h: New file.
9962
9963 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9964
9965         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9966         not "stackTrace".
9967
9968 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9969
9970         Merge JDK 1.4 java.security changes from classpath.
9971
9972         * java/security/AccessControlException.java: Merge from Classpath.
9973         * java/security/AccessController.java: Likewise.
9974         * java/security/AllPermission.java: Likewise.
9975         * java/security/BasicPermission.java: Likewise.
9976         * java/security/Certificate.java: Likewise.
9977         * java/security/CodeSource.java: Likewise.
9978         * java/security/DigestException.java: Likewise.
9979         * java/security/DigestOutputStream.java: Likewise.
9980         * java/security/DomainCombiner.java: Likewise.
9981         * java/security/GeneralSecurityException.java: Likewise.
9982         * java/security/Guard.java: Likewise.
9983         * java/security/GuardedObject.java: Likewise.
9984         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9985         * java/security/InvalidKeyException.java: Likewise.
9986         * java/security/InvalidParameterException.java: Likewise.
9987         * java/security/Key.java: Likewise.
9988         * java/security/KeyException.java: Likewise.
9989         * java/security/KeyManagementException.java: Likewise.
9990         * java/security/KeyStoreException.java: Likewise.
9991         * java/security/MessageDigest.java: Likewise.
9992         * java/security/NoSuchAlgorithmException.java: Likewise.
9993         * java/security/NoSuchProviderException.java: Likewise.
9994         * java/security/Permission.java: Likewise.
9995         * java/security/PermissionCollection.java: Likewise.
9996         * java/security/Permissions.java: Likewise.
9997         * java/security/Policy.java: Likewise.
9998         * java/security/Principal.java: Likewise.
9999         * java/security/PrivateKey.java: Likewise.
10000         * java/security/PrivilegedAction.java: Likewise.
10001         * java/security/PrivilegedActionException.java: Likewise.
10002         * java/security/PrivilegedExceptionAction.java: Likewise.
10003         * java/security/ProtectionDomain.java: Likewise.
10004         * java/security/ProviderException.java: Likewise.
10005         * java/security/PublicKey.java: Likewise.
10006         * java/security/SecureClassLoader.java: Likewise.
10007         * java/security/SecurityPermission.java: Likewise.
10008         * java/security/SignatureException.java: Likewise.
10009         * java/security/UnrecoverableKeyException.java: Likewise.
10010         * java/security/UnresolvedPermission.java: Likewise.
10011         * java/security/acl/AclNotFoundException.java: Likewise.
10012         * java/security/acl/LastOwnerException.java: Likewise.
10013         * java/security/acl/NotOwnerException.java: Likewise.
10014         * java/security/cert/CRLException.java: Likewise.
10015         * java/security/cert/CertificateEncodingException.java: Likewise.
10016         * java/security/cert/CertificateException.java: Likewise.
10017         * java/security/cert/CertificateExpiredException.java: Likewise.
10018         * java/security/cert/CertificateFactory.java: Likewise.
10019         * java/security/cert/CertificateNotYetValidException.java: Likewise.
10020         * java/security/cert/CertificateParsingException.java: Likewise.
10021         * java/security/spec/InvalidKeySpecException.java: Likewise.
10022         * java/security/spec/InvalidParameterSpecException.java: Likewise.
10023
10024         * java/security/cert/CertPath.java: New file.
10025         * java/security/cert/CertPathBuilderException.java: New file.
10026         * java/security/cert/CertPathValidatorException.java: New file.
10027         * java/security/cert/CertStoreException.java: New file.
10028
10029         * Makefile.am: Add new CertPath classes.
10030         * Makefile.in: Rebuilt.
10031
10032         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10033
10034 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10035
10036         Merge JDK 1.4 exception chaining support from classpath.
10037
10038         * java/lang/Throwable.java: Merge 1.4 support from classpath.
10039         (stackTraceBytes): Rename from stackTrace.
10040         * java/lang/Exception.java: Merge from classpath.
10041         * java/lang/StackTraceElement: New file from classpath.
10042         * gcj/javaprims.h: Rebuild CNI namespace declarations.
10043         * Makefile.am: Add StackTraceElement.
10044         * Makefile.in: Rebuilt.
10045
10046 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10047
10048         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10049         they build first.
10050         * Makefile.in: Rebuilt.
10051
10052 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10053
10054         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10055         * configure.in: Likewise.
10056         * aclocal.m4: Regenerate.
10057         * configure: Regenerate.
10058
10059 2002-05-13  Tom Tromey  <tromey@redhat.com>
10060
10061         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10062         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10063         Include platform.h.
10064
10065         Fixes PR libgcj/6389:
10066         * Makefile.in: Rebuilt.
10067         * Makefile.am (nat_source_files): Added natTimeZone.cc.
10068         * java/util/natTimeZone.cc: New file.
10069         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10070         * java/lang/System.java: Merged with Classpath.
10071         * java/lang/Runtime.java: Merged with Classpath.
10072         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10073         security check.
10074         (setIn0): Renamed from setIn; don't run security check.
10075         (setOut0): Renamed from setOut; don't run security check.
10076         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10077         init_properties): Moved to natRuntime.cc.
10078         Moved many includes to natRuntime.cc.
10079         (isWordsBigEndian): New method.
10080         * java/lang/natRuntime.cc: Include Long.h, also other includes
10081         previously in natSystem.cc.
10082         (maxMemory): New function.
10083         (exitInternal): Renamed from `_exit'.
10084         (exit): Removed.
10085         (init): Don't set finalize_on_exit.
10086         (exitInternal): Use `finalizeOnExit'.
10087         (file_encoding, getpwuid_adaptor): New functions from
10088         natSystem.cc.
10089         (insertSystemProperties): New method, renamed from
10090         System::init_properties.  Don't set user.timezone.
10091         (_load): Don't call checkLink.
10092         (execInternal): New method.
10093         (availableProcessors): Likewise.
10094         (nativeGetLibname): Likewise.
10095
10096 2002-05-11  Mark Wielaard  <mark@klomp.org>
10097
10098         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10099         space characters.
10100         (previous_internal): Likewise.
10101
10102 2002-05-09  Tom Tromey  <tromey@redhat.com>
10103
10104         * jni.cc (_Jv_JNIFunctions): Fixed typo.
10105
10106         * java/util/ResourceBundle.java: New version from Classpath.
10107         * java/util/Locale.java: Likewise.
10108
10109 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
10110
10111         * testsuite/lib/libjava.exp (libjava_arguments): Append all
10112         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10113         LD_LIBRARY_PATH.
10114
10115 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
10116
10117         * libjava/Makefile.am (all_java_source_files): New variable.
10118         (all_java_class_files): Likewise.
10119         .java.class: New rule.
10120         (CLEANFILES): Remove tmp-list.
10121         * libjava/Makefile.in: Regenerated.
10122
10123 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
10124
10125         * testsuite/lib/libjava.exp (test_libjava_from_javac):
10126         Append .exe to executable names.  Fix for cygwin.
10127
10128 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
10129
10130         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10131         script entry, and set LD to it when configuring multilibs.
10132         * configure: Rebuilt.
10133
10134 2002-05-07  Tom Tromey  <tromey@redhat.com>
10135
10136         * java/lang/natString.cc (unintern): Fixed typo.
10137
10138 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10139
10140         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10141         with -no-install on *-*-cygwin*.
10142
10143 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10144
10145         * testsuite/lib/libjava.exp (test_libjava_from_source):
10146         Add comment explaining last patch
10147
10148 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
10149
10150         * testsuite/lib/libjava.exp (test_libjava_from_source):
10151         Append .exe to executable names.  If no suffix is present,
10152         then ".exe" is added by default on win32.  Harmless
10153         elsewhere so always do it.
10154
10155 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
10156             Tom Tromey  <tromey@redhat.com>
10157
10158         * java/lang/natSystem.cc (getSystemTimeZone): Use
10159         HAVE_UNDERSCORE_TIMEZONE.
10160         * include/config.h.in: Rebuilt.
10161         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10162         * aclocal.m4, configure: Rebuilt.
10163         * acinclude.m4: Run AC_EXEEXT.
10164         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10165         Add test for `_timezone'.
10166
10167 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
10168
10169         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10170         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10171         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10172         * Makefile.in: Rebuilt.
10173
10174 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
10175
10176         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10177         use sigaction instead of __libc_sigaction.
10178
10179 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10180
10181         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10182         (libjava_init): Use it to find libgcj.spec.
10183         (libjava_arguments): Likewise.
10184
10185 2002-05-02  David S. Miller  <davem@redhat.com>
10186
10187         PR bootstrap/6525
10188         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10189         __libc_sigaction on Sparc.
10190
10191 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
10192
10193         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10194         sys/filio.h, if present.
10195
10196 2002-04-30  Tom Tromey  <tromey@redhat.com>
10197
10198         * java/io/BufferedReader.java (fill): Handle case where markPos
10199         point to ignored \n.  Fixes PR libgcj/6301.
10200
10201 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
10202
10203         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10204
10205 2002-04-29  Adam King <aking@dreammechanics.com>
10206
10207         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10208         of file in APPEND mode.
10209
10210 2002-04-25  David S. Miller  <davem@redhat.com>
10211
10212         PR target/6422
10213         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10214         program counter to next program counter minus 8.  Update
10215         comments in this macro to explain why.
10216
10217 2002-04-26  Tom Tromey  <tromey@redhat.com>
10218
10219         * verify.cc (construct_primitive_array_type) [void_type]: New
10220         case.
10221         (branch_prepass): Added dummy entries for unused instruction
10222         values.
10223         (verify_instructions_0): Likewise.
10224         * interpret.cc (continue1): Comment fix.
10225         * include/java-insns.h (op_xxxunusedxxx1): Removed.
10226         * Makefile.in: Rebuilt.
10227         * Makefile.am: Added -Wswitch-enum.
10228
10229 2002-04-24  Tom Tromey  <tromey@redhat.com>
10230
10231         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10232         correct length of UTF-8 encoded name.  Strip leading `/'.
10233         (_Jv_RegisterResource): Use _Jv_Malloc.
10234
10235 2002-04-23  Adam Megacz <adam@xwt.org>
10236
10237         * win32.cc, include/win32.cc (backtrace): Added this function
10238         because Win32 does not supply it.
10239
10240 2002-04-21  David S. Miller  <davem@redhat.com>
10241
10242         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10243         magic instruction reading sequence.
10244
10245 2002-04-21  Mark Wielaard  <mark@klomp.org>
10246
10247         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10248
10249 2002-04-19  David S. Miller  <davem@redhat.com>
10250
10251         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10252         arg.
10253         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10254         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10255         on Sparc too.
10256         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10257         for 64-bit sparc.
10258         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10259         * sysdeps/sparc/locks.h: New file.
10260         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10261         on all sparc Solaris configurations.  Set to
10262         include/dwarf2-signal.h on sparc Linux.
10263         * configure: Regenerate
10264         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10265
10266 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
10267
10268         * configure: Rebuilt.
10269         * configure.in (backtrace): Function doesn't work on IA-64.
10270
10271 2002-04-17  Adam King <aking@dreammechanics.com>
10272
10273         * java/io/File.java (normalizePath): Add Win32 support for auto
10274         conversion of a '/' path separator to Win32's '\' separator.
10275
10276 2002-04-16  Tom Tromey  <tromey@redhat.com>
10277
10278         Fix for PR libgcj/6081:
10279         * Makefile.in: Rebuilt.
10280         * Makefile.am (install-data-local): Use GNU make trick to avoid
10281         shell limit.
10282
10283 2002-04-16  Adam King <aking@dreammechanics.com>
10284             Tom Tromey  <tromey@redhat.com>
10285
10286         * java/io/natFileWin32.cc (performList): Return the correct array
10287         type.  Don't duplicate the creation of a File since it's already
10288         done earlier in the method and the existing code would cause a
10289         ArrayStoreException.  Don't use fixed-size array.
10290         (_access, _stat, attr, getCanonicalPath, performMkdir,
10291         performRenameTo): Don't use fixed-size array.
10292         (getCanonicalPath): Use throw, not _Jv_Throw.
10293
10294 2002-04-15  DJ Delorie  <dj@redhat.com>
10295
10296         * configure.in: Allow building in $srcdir.
10297         * configure: Regenerated.
10298
10299 2002-04-14  Mark Wielaard <mark@klomp.org>
10300
10301         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10302         * java/net/natSocketImpl.cc (close): Likewise.
10303
10304 2002-04-14  Mark Wielaard <mark@klomp.org>
10305
10306         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10307
10308 2002-04-13  Adam King <aking@dreammechanics.com>
10309
10310         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10311         the f/F/d/D modifiers.
10312
10313 2002-04-12  Anthony Green  <green@redhat.com>
10314
10315         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10316         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10317         * Makefile.in: Rebuilt.
10318         * configure.in: Substitute gcc_version.
10319         * configure: Rebuilt.
10320
10321 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10322
10323         * configure.host: Set can_unwind_signal on hosts which support it.
10324         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10325         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10326         exceptions and can_unwind_signal isn't set.
10327         * configure: Rebuilt.
10328
10329 2002-04-11  Tom Tromey  <tromey@redhat.com>
10330
10331         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10332
10333 2002-04-11  Adam King <aking@dreammechanics.com>
10334             Tom Tromey  <tromey@redhat.com>
10335
10336         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10337         _Jv_ThrowNullPointerException): Mark as noreturn.
10338         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10339         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10340         fixes.
10341
10342 2002-04-10  Tom Tromey  <tromey@redhat.com>
10343
10344         * Makefile.in: Rebuilt.
10345         * Makefile.am (java/lang/Thread.h): Mark
10346         _Jv_AttachCurrentThreadAsDaemon as friend.
10347         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10348         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10349         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10350         function.
10351         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10352         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10353         (_Jv_JNI_InvokeFunctions): Added
10354         _Jv_JNI_AttachCurrentThreadAsDaemon.
10355         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10356         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10357         (JNI_CreateJavaVM): Likewise.
10358         (_Jv_JNI_AttachCurrentThread): Likewise.
10359         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10360         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10361         (_Jv_JNIFunctions): Initialize new fields.
10362         (_Jv_JNI_NewDirectByteBuffer): New function.
10363         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10364         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10365         * include/jni.h (JNI_VERSION_1_4): New macro.
10366         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10367         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10368         (JNINativeInterface::NewDirectByteBuffer): New field.
10369         (JNINativeInterface::GetDirectBufferAddress): New field.
10370         (JNINativeInterface::GetDirectBufferCapacity): New field.
10371         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10372         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10373         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10374
10375 2002-04-09  Tom Tromey  <tromey@redhat.com>
10376
10377         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10378
10379 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10380
10381         Fix for PR libgcj/6187:
10382         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10383         distance.
10384
10385 2002-04-07  Mark Wielaard <mark@klomp.org>
10386
10387         * java/util/AbstractMap.java (putAll): Use entrySet size.
10388         (toString): Explicitly use getKey() and getValue().
10389
10390 2002-04-07  Mark Wielaard <mark@klomp.org>
10391
10392         * java/util/Hashtable.java (contains): Remove NullPointer check.
10393         (containsValue): Add NullPointer check.
10394         (remove): Always throw NullPointerException when key
10395         is null.
10396
10397 2002-04-07  Adam King <aking@dreammechanics.com>
10398
10399         * java/lang/natSystem.cc (init_properties): Call new function
10400         _Jv_platform_initProperties.
10401         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10402         support for the System properties os.name, os.arch, os.version,
10403         user.name, user.home, and user.dir.
10404         * include/posix.h, include/win32.h, posix.cc: New function
10405         _Jv_platform_initProperties.
10406
10407 2002-04-06  Mark Wielaard <mark@klomp.org>
10408
10409         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10410
10411 2002-04-06  Mark Wielaard <mark@klomp.org>
10412
10413         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10414         all of the remaining elements.
10415         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10416         (removeRange): If toIndex == fromIndex do
10417         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10418         (removeAll): Always throw NullPointerException when collection is
10419         null.
10420         (retrainAll): Likewise.
10421
10422 2002-04-05  Mark Wielaard <mark@klomp.org>
10423
10424         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10425         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10426
10427 2002-04-05  Adam Megacz <adam@xwt.org>
10428
10429         * exception.cc (abort): added static modifier
10430
10431 2002-04-04  Adam Megacz <adam@xwt.org>
10432
10433         * include/win32.h (_Jv_platform_close_on_exec): added inline
10434         modifier.
10435
10436 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10437
10438         * configure.host: Add case statement to support generic port
10439         properties.  Add *-*-freebsd* section.
10440
10441 2002-04-04  Mark Wielaard  <mark@klomp.org>
10442
10443         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10444         test.
10445         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10446         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10447         that depend on awt code and BufferedByteOutputStream.interrupt.
10448
10449 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10450
10451         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10452         incorrect "hi" value when count > 40.
10453
10454 2002-04-03  Mark Wielaard  <mark@klomp.org>
10455
10456         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10457         ordering.
10458
10459 2002-04-02  Tom Tromey  <tromey@redhat.com>
10460
10461         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10462         not `0'.
10463
10464 2002-04-02  Mark Wielaard  <mark@klomp.org>
10465
10466         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10467         list of testsuite crashers.
10468
10469 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10470
10471         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10472         when resizing table.
10473
10474 2002-04-01  Mark Wielaard  <mark@klomp.org>
10475
10476         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10477         NegativeArraySizeException
10478         (clear(int)): Use sign extended shift.
10479         (flip(int)): Likewise.
10480         (get(int)): Likewise.
10481         (nextClearBit(int)): Likewise.
10482         (nextSetBit(int)): Likewise.
10483         (set(int)): Likewise.
10484
10485 2002-04-01  Mark Wielaard  <mark@klomp.org>
10486
10487         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10488         that can be compiled now and add testsuite crashers to ignore list.
10489
10490 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10491
10492         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10493
10494         * libgcj.spec.in: Override libgcc, not lib.
10495         * libgcj-test.spec.in: Likewise.
10496
10497 2002-03-29  Tom Tromey  <tromey@redhat.com>
10498
10499         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10500         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10501
10502 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10503
10504         * java/net/PlainDatagramSocketImpl.java
10505         (close): Use native implementation.
10506         (finalize): New method.
10507
10508         * java/net/PlainSocketImpl.java (finalize): New method.
10509
10510         * java/net/natPlainDatagramSocketImpl.cc
10511         (java/io/FileDescriptor.h): Don't include.
10512         (close): Implement method here.
10513         (create): Don't assign fd.
10514
10515         * java/net/natPlainSocketImpl.cc
10516         (java/io/FileDescriptor.h): Don't include.
10517         (create): Don't assign fd.
10518         (accept): Likewise.
10519         (close): Synchronize.
10520
10521 2002-03-27  Richard Henderson  <rth@redhat.com>
10522
10523         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10524
10525 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10526
10527         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10528         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10529         instead of syscall on IA-64.
10530         Add FIXME comment.
10531
10532 2002-03-27  Anthony Green  <green@redhat.com>
10533
10534         * libgcj.spec.in: Add CHECKREFSPEC.
10535         * configure.in: Ditto.
10536         * configure.host: Ditto.  Check references for xscale-elf.
10537         * configure: Rebuilt.
10538
10539 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10540
10541         * include/dwarf2-signal.h: Temporarily back out last change.
10542
10543 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10544
10545         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10546
10547 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10548
10549         * configure.in, configure: enable dwarf2-exception-style
10550         exception handling on IA-64.
10551         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10552         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10553         Add FIXME comment.
10554
10555 2002-03-25  Tom Tromey  <tromey@redhat.com>
10556
10557         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10558         (jv_convert_LDFLAGS): Likewise.
10559         (gij_LDFLAGS): Likewise.
10560         (rmic_LDFLAGS): Likewise.
10561         (rmiregistry_LDFLAGS): Likewise.
10562         * configure.in (THREADLDFLAGS): New subst; set correctly for
10563         *BSD.
10564
10565 2002-03-25  Tom Tromey  <tromey@redhat.com>
10566
10567         For PR libgcj/5303:
10568         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10569         and --version.
10570         (help): New method.
10571         (version): Likewise.
10572         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10573         "GNU".
10574         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10575         "GNU".
10576
10577 2002-03-25  Tom Tromey  <tromey@redhat.com>
10578
10579         * java/awt/Component.java (processEvent): Check ComponentEvent
10580         after KeyEvent.
10581
10582 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10583
10584         * java/io/PushbackReader.java: Reformat.
10585
10586         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10587         calculate correct number of bytes skipped.
10588
10589         Based on patch from Intel's ORP team:
10590         * java/io/PushbackInputStream.java (available): Calculate correct
10591         number of bytes in buffer.
10592         (read): Remove redundant bound check. Return bytes from both the
10593         buffer and the stream.
10594
10595 2002-03-24  Tom Tromey  <tromey@redhat.com>
10596
10597         * java/awt/TextComponent.java (TextComponent): Editable by
10598         default.
10599
10600         * java/awt/MenuItem.java (eventMask): No longer private.
10601         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10602         superclass if we didn't handle event.
10603         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10604         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10605         * java/awt/Choice.java (dispatchEventImpl): New method.
10606         * java/awt/List.java (dispatchEventImpl): New method.
10607         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10608         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10609         * java/awt/TextField.java (dispatchEventImpl): New method.
10610
10611 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10612
10613         * java/beans/IntrospectionException.java: Update to 1.4.
10614         * java/beans/PropertyVetoException.java: Ditto.
10615
10616 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10617
10618         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10619         Arrays.equals instead of ArrayHelper.equalsArray.
10620
10621 2002-03-24  C. Brian Jones <cbj@gnu.org>
10622
10623         * java/beans/Introspector.java: added new static final fields
10624         introduced in 1.2, lots of other updates remain to be done
10625
10626 2002-03-24  C. Brian Jones <cbj@gnu.org>
10627
10628         * java/beans/Introspector.java: reformatting
10629
10630 2002-03-24  C. Brian Jones <cbj@gnu.org>
10631
10632         * java/beans/Introspector.java: default beanInfoSearchPath will
10633         not include sun.beans.infos given we provide no such package and
10634         the API doesn't really require it; gnu.java.beans.info is the
10635         default.
10636
10637 2002-03-24  Mark Wielaard  <mark@klomp.org>
10638
10639         Thanks to Orp developers
10640         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10641         switch TRUE and FALSE return values.
10642
10643 2002-03-23  Tom Tromey  <tromey@redhat.com>
10644
10645         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10646         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10647
10648 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10649
10650         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10651         MONTH entry.  Fixes PR libgcj/6045.
10652
10653 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10654
10655         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10656
10657 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10658
10659         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10660         not release_set.
10661         * sysdep/powerpc/locks.h (write_barrier): New function.
10662         * sysdep/i386/locks.h (write_barrier): New function.
10663
10664 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10665
10666         * include/jni.h Use correct C comments.
10667
10668 2002-03-18  Tom Tromey  <tromey@redhat.com>
10669
10670         * include/jni.h (JNIIMPORT): New macro.
10671         (JNIEXPORT): Likewise.
10672         (JNICALL): Likewise.
10673
10674 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10675
10676         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10677         systems.
10678
10679 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10680
10681         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10682         INIT_SEGV: Use old_i386_kernel_sigaction.
10683         INIT_FP: Likewise.
10684
10685 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10686
10687         * java/lang/natSystem.cc (init_properties): Update VM version
10688         properties.
10689         * configure.in: Set GCJVERSION.
10690         * acconfig.h: Add GCJVERSION.
10691         * configure: Rebuilt.
10692         * include/config.h.in: Rebuilt.
10693
10694 2002-03-17  Anthony Green  <green@redhat.com>
10695
10696         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10697
10698 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10699
10700         Build a single libgcj.so, without separate gc and zlib libraries.
10701         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10702         SYS_ZLIBS if system zlib is used.
10703         * configure: Rebuilt.
10704         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10705         * Makefile.in: Rebuilt.
10706         * libtool-version: Increment .so version number.
10707
10708         * Makefile.am: Escape quotes in echo.
10709         * Makefile.in: Rebuilt.
10710
10711 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10712
10713         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10714         * Makefile.in: Rebuilt.
10715
10716 2002-03-15  Anthony Green  <green@redhat.com>
10717
10718         * configure.host (FILE): New macro for specifing File
10719         implementation.
10720         * configure: Rebuilt.
10721         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10722
10723 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10724
10725         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10726         already implicitly brought in from libgcj.la.
10727         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10728         * Makefile.in: Rebuilt.
10729
10730 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10731
10732         * THANKS: Fix punctuation, alphabetization.
10733
10734 2002-03-15  Tom Tromey  <tromey@redhat.com>
10735             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10736
10737         Fix for PR libgcj/5944.
10738         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10739
10740 2002-03-15  Anthony Green  <green@redhat.com>
10741
10742         * configure.in (tool_include_dir): Define.
10743         * configure: Rebuilt.
10744         * gcj/Makefile.am: Install libgcj-config.h relative to
10745         tool_include_dir.
10746         * gcj/Makefile: Rebuilt.
10747         * gcj/libgcj-config.h: Add warning comment.
10748
10749 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10750
10751         * configure.host (powerpc*-darwin*): Enable interpreter.
10752
10753 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10754
10755         * include/posix.h: Add multiple include header protection.
10756         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10757
10758 2002-03-10  Adam Megacz <adam@xwt.org>
10759
10760         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10761
10762 2002-03-10  Tom Tromey  <tromey@redhat.com>
10763
10764         * java/awt/GridLayout.java (layoutContainer): Handle case where
10765         there are no items in container.
10766
10767         * java/lang/Win32Process.java: Added comment.
10768         * include/posix.h (_Jv_platform_close_on_exec): New function.
10769         Include fcntl.h.
10770         * include/win32.h (_Jv_platform_close_on_exec): New function.
10771         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10772         flag.
10773         (accept): Likewise.
10774         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10775         close-on-exec flag.
10776         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10777         flag.
10778
10779 2002-03-09  Tom Tromey  <tromey@redhat.com>
10780
10781         * verify.cc (state::NO_STACK): New constant.
10782         (state::is_unmerged_ret_state): Handle case where stacktop is
10783         NO_STACK.
10784         (state::merge): Handle NO_STACK merges.
10785         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10786         for instruction following jsr.
10787         (stacktop, stackdepth): Removed unused variables.
10788         (pop_jump): Ignore case where all remaining states are skipped.
10789
10790 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10791
10792         * java/awt/ImageMediaEntry: Removed.
10793         * java/awt/MediaEntry: Removed.
10794
10795 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10796
10797         Hashtable synchronization for PowerPC.
10798         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10799         slow_pthread_self. Set up symlink for sysdeps directory.
10800         * configure: Rebuild.
10801         * configure.host: Document more shell variables. Set sysdeps_dir
10802         for most platforms. Set slow_pthread_self for i686. Set
10803         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10804         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10805         that memory barrier is emitted where required.
10806         * prims.cc: 64-bit align static primitive class instances.
10807         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10808         read_barrier() to enforce ordering of reads.
10809         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10810         primitives for PowerPC.
10811         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10812         moved from natObject.cc.
10813         * sysdep/alpha/locks.h: Likewise.
10814         * sysdep/ia64/locks.h: Likewise.
10815         * sysdep/generic/locks.h: Likewise.
10816         * java/lang/natObject.cc: Move thread synchronization primitives to
10817         system-dependent headers.
10818
10819 2002-03-09  Adam Megacz  <adam@xwt.org>
10820
10821         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10822         bytes read and no failure code returned.
10823
10824 2002-03-09  Adam Megacz  <adam@xwt.org>
10825
10826         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10827         definitions to simulate -mthreads.
10828
10829 2002-03-09  Adam Megacz  <adam@xwt.org>
10830
10831         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10832         avoid precision loss.
10833
10834 2002-03-09  Per Bothner  <per@bothner.com>
10835
10836         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10837         * gnu/gcj/xlib/XImage.java:  Likewise.
10838         * gnu/gcj/xlib/XColor.java:  Likewise.
10839
10840 2002-03-09  Adam Megacz  <adam@xwt.org>
10841
10842         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10843         IOException so that Throwable.printStackTrace fails correctly.
10844
10845 2002-03-08  Adam Megacz  <adam@xwt.org>
10846
10847         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10848         fixed.
10849
10850 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10851
10852         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10853         truncated to int.
10854
10855 2002-03-08  Tom Tromey  <tromey@redhat.com>
10856
10857         * include/jni.h: Include stdio.h.
10858
10859 2002-03-08  Tom Tromey  <tromey@redhat.com>
10860
10861         * posix.cc (internal_gettimeofday): New function.
10862         (_Jv_select): Use it.
10863
10864 2002-03-07  Adam Megacz  <adam@xwt.org>
10865
10866         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10867         WIN32, and added thunks for read(), write(), and close().
10868         * java/net/natPlainSocketImpl.cc (accept, read, read):
10869         Disabled timeouts on WIN32 pending discussion.
10870
10871 2002-03-07  Adam Megacz  <adam@xwt.org>
10872
10873         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10874         returns jlong. Added implementation
10875         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10876         returns jlong.
10877         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10878         returns jlong.
10879         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10880         returns jlong.
10881         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10882         _Jv_platform_gettimeofday signature.
10883
10884 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10885
10886         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10887         (read): Call recv() directly, not _Jv_recv().
10888
10889 2002-03-06  Tom Tromey  <tromey@redhat.com>
10890
10891         * java/io/natFileDescriptorEcos.cc (init): Don't use
10892         GetStdHandle.
10893         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10894         is negative.
10895         (init): Don't use GetStdHandle.
10896
10897         * include/config.h.in: Rebuilt.
10898         * configure: Rebuilt.
10899         * Makefile.in: Rebuilt.
10900
10901 2002-03-06  Adam Megacz  <adam@xwt.org>
10902
10903         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10904         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10905         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10906         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10907
10908 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10909
10910         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10911         the code for generating include/java-chartables.h.
10912         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10913         merge with Classpath.
10914         * scripts/unicode-muncher.pl: Copy from Classpath.
10915         * scritps/MakeCharTables.java: New file.
10916         * gnu/gcj/convert/Blocks-3.txt: New file.
10917         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10918         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10919         * gnu/java/lang/CharData.java: Copy from Classpath.
10920         * Makefile.am (ordinary_java_source_files): Add
10921         gnu/java/lang/CharData.java.
10922         * configure.in: Remove --enable-fast-character option.
10923         * java/lang/Character.java: Merge algorithms and Javadoc with
10924         Classpath.
10925         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10926         efficiently.
10927         * include/java-chardecomp.h: Regenerate.
10928         * include/java-chartables.h: Regenerate.
10929
10930 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10931
10932         * java/awt/MediaTracker.java: Implemented.
10933         * Makefile.am: Add MediaTracker.
10934         * Makefile.in: Rebuilt.
10935
10936 2002-03-05  Tom Tromey  <tromey@redhat.com>
10937
10938         * java/lang/natPosixProcess.cc (fail): Removed.
10939         (startProcess): Simplified error-handling.  Preserve
10940         LD_LIBRARY_PATH across exec.
10941
10942         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10943         AbstractMethodError.
10944
10945 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10946
10947         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10948         * Makefile.in: Rebuilt.
10949
10950 2002-03-03 Mark Wielaard <mark@klomp.org>
10951
10952         * java/util/Timer (TaskQueue.stop): set elements to zero.
10953
10954 2002-02-28  Anthony Green  <green@redhat.com>
10955
10956         * java/lang/reflect/natMethod.cc (result): Add void* element.
10957         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10958         constructor test.
10959
10960 2002-02-27  Adam Megacz <adam@xwt.org>
10961
10962         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10963         '#undef STRICT'.
10964
10965 2002-02-26  Tom Tromey  <tromey@redhat.com>
10966
10967         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10968         * gij.cc (version): Use __VERSION__.
10969         * include/config.h.in: Rebuilt.
10970         * acconfig.h (GCJVERSION): Removed.
10971         * configure: Rebuilt.
10972         * configure.in (GCJVERSION): Removed.
10973
10974 2002-02-26  Andreas Schwab  <schwab@suse.de>
10975
10976         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10977         glibcpp_CXX, since libjava uses even another CXX.
10978         * aclocal.m4, configure: Regenerated.
10979
10980 2002-02-26  Tom Tromey  <tromey@redhat.com>
10981
10982         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10983         `1'.
10984
10985 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10986
10987         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10988         dependency tracking for .java files.
10989         * Makefile.in: Rebuilt.
10990
10991 2002-02-24  Adam Megacz  <adam@xwt.org>
10992
10993         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10994         typo. Sorry.
10995
10996 2002-02-24  Adam Megacz  <adam@xwt.org>
10997
10998         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10999         for Win32, changed #ifdefs to check WIN32 instead of the
11000         (now-obsolete) USE_WINSOCK, and removed support for socket
11001         timeouts on Win32 pending further discussion.
11002
11003 2002-02-24  Adam Megacz  <adam@xwt.org>
11004
11005         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11006         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11007         delete
11008
11009 2002-02-24  Adam Megacz  <adam@xwt.org>
11010
11011         * java/lang/Win32Process.java: Created a dummy class to allow
11012         build process to run to completion.
11013
11014 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
11015
11016         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11017         Define ffi_result union for ffi_call result.  Cast
11018         ffi_result members to jvalue.
11019
11020 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
11021
11022         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11023         * testsuite/Makefile.in: Likewise.
11024
11025 2002-02-20  Per Bothner  <per@bothner.com>
11026
11027         * java/net/URL.java (getPath):  New JDK 1.3 method.
11028
11029         * java/net/URLStreamHandler.java (parseURL):
11030         It is wrong to prepend '/' to the file part of a relative url.
11031
11032         * java/net/URLStreamHandler.java (parseURL):
11033         Minor optizations - append '/' rather than "/".
11034
11035         * java/net/URLStreamHandler.java (parseURL):
11036         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11037         We probably should canonicalize for a context-relative url, though.
11038         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
11039         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
11040         (sameFile):  New method.  Uses canonicalizeFilename.
11041
11042 2002-02-22  Tom Tromey  <tromey@redhat.com>
11043
11044         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11045         java.vendor and java.vm.vendor.
11046         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11047         recent copyright date.
11048         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11049         * gij.cc (version): Print `Inc'.
11050
11051 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11052
11053         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11054         * aclocal.m4, configure: Rebuilt.
11055
11056 2002-02-20  Per Bothner  <per@bothner.com>
11057
11058         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
11059         and/or output streams immediately here, instead of using File.exists.
11060         (inputStream, outputStream):  New fields to save open streams.
11061         (getInputStream, getOutputStream):  Use already-opened streams.
11062
11063 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11064
11065         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11066         Use it.
11067         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11068         * aclocal.m4, configure, Makefile.in: Rebuilt.
11069
11070 2002-02-19  Tom Tromey  <tromey@redhat.com>
11071
11072         Fix for PR libgcj/5696:
11073         * verify.cc (is_assignable_from_slow): Never call
11074         _Jv_IsAssignableFrom.
11075         (verify_instructions_0): Added new debug statement.
11076         (state::print): Print information about whether local has
11077         changed.
11078         (state::merge): Don't call note_variable when merging locals.
11079         (state::set_exception): Removed old FIXME comment.
11080
11081 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11082
11083         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11084         enable SO_BROADCAST.
11085
11086 2002-02-18  Jason Merrill  <jason@redhat.com>
11087
11088         * name-finder.cc (toHex): Use word mode, not long long.
11089
11090         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11091
11092 2002-02-15  Tom Tromey  <tromey@redhat.com>
11093
11094         Fix for PR libgcj/5695:
11095         * verify.cc (is_assignable_from_slow): Check to see if target is
11096         an Object before checking to see if source is an interface.
11097         (verify_instructions_0) [op_invokeinterface]: Handle case where
11098         we're making an interface call on Object.
11099
11100 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11101
11102         * Makefile.in: Rebuilt with Eric's change below.
11103
11104         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11105         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11106         Removed functions which are now implemented in Math.java.
11107
11108 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11109
11110         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11111         * Makefile.am (core_java_source_files): Add
11112         java/lang/StrictMath.java.
11113         * java/lang/Math.java: Merge with Classpath.
11114         * java/lang/StrictMath.java: New file - merge with Classpath.
11115
11116 2002-02-14  Mark Wielaard  <mark@klomp.org>
11117
11118         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11119         package as a workaround for gcj 3.0.x
11120
11121 2002-02-14  Mark Wielaard <mark@klomp.org>
11122
11123         * java/security/BasicPermission.java: extends with fully qualified
11124         classname as workaround for gcj 3.0.4.
11125
11126 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11127
11128         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11129         around gcj bug of wrong emitted qualifier for inherited method.
11130         * java/net/SocketImpl.java (setOption, getOption): Ditto.
11131         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11132         constructor to reduce amount of emitted bytecode. While this
11133         happens to work around a jikes 1.15 bug, it is still a useful
11134         patch even for correct compilers.
11135         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11136         * gnu/java/rmi/server/UnicastRemoteCall.java
11137         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11138
11139 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11140
11141         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11142         * java/net/SocketImpl.java: Ditto.
11143         * java/rmi/server/RMIClassLoader.java: Ditto.
11144         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11145
11146 2002-02-14  Mark Wielaard <mark@klomp.org>
11147
11148         Thanks to Takashi Okamoto
11149         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11150         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11151         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11152
11153 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11154
11155         Fix for PR libgcj/5670:
11156         * verify.cc (is_assignable_from_slow): If `source' is interface,
11157         recursively look for merge with `target'.
11158
11159 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
11160
11161         * include/jni.h: Fix typo.
11162
11163 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
11164
11165         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11166         correctly.
11167
11168 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11169
11170         Fix for PR libgcj/5671:
11171         * verify.cc (state::merge): Handle case where we're merging
11172         against an interface.
11173
11174 2002-02-12  Tom Tromey  <tromey@redhat.com>
11175
11176         * exception.cc (std::abort): Mark as noreturn.
11177
11178 2002-02-12  Adam Megacz <adam@xwt.org>
11179
11180         * java/lang/Win32Process.java: Filled in a placeholder
11181         implementation so Win32 will build.
11182
11183 2002-02-12  Adam Megacz <adam@xwt.org>
11184
11185         * java/io/natFilePosix.cc: Copied this from natFile.cc.
11186         * java/io/natFile.cc: Removed from repository.
11187         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11188
11189 2002-02-12  Adam Megacz <adam@xwt.org>
11190
11191         * win32.cc: Added two #includes to make win32.cc compile.
11192
11193 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11194
11195         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11196         declarations.
11197         (_Jv_InitGC): Don't bother locking, as this is always called from a
11198         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11199
11200 2002-02-11  Adam Megacz <adam@xwt.org>
11201
11202         * include/win32.h: Added _Jv_platform_gettimeofday.
11203         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11204
11205 2002-02-11  Adam Megacz <adam@xwt.org>
11206
11207         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11208         Added #undef STRICT to make windows.h and
11209         java/lang/reflect/Modifier.h cooperate.
11210
11211 2002-02-11  Adam Megacz <adam@xwt.org>
11212
11213         * java/io/natFileWin32.cc: Created a placeholder class with lots
11214         of FIXMEs.
11215
11216 2002-02-11  Adam Megacz <adam@xwt.org>
11217
11218         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11219         std::abort() to simply abort(). Also added "fake" std::abort() so
11220         we can #include unwind-pe.h without having to link against
11221         libstdc++-v3.
11222
11223 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
11224
11225         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11226
11227 2002-02-08  Tom Tromey  <tromey@redhat.com>
11228
11229         * interpret.cc (convert): New function.
11230         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11231         convert.
11232         Include Long.h.
11233
11234 2002-02-08  Anthony Green  <green@redhat.com>
11235
11236         * configure.host: Add support for xscale-elf embedded target.
11237
11238 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
11239
11240         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11241         dereferenced.
11242         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11243         frame.
11244
11245 2002-02-07  Tom Tromey  <tromey@redhat.com>
11246
11247         * java/io/natFile.cc (_access): Use __builtin_alloca.
11248         (_stat): Likewise.
11249         (attr): Likewise.
11250         (getCanonicalPath): Likewise.
11251         (performList): Likewise.
11252         (performMkdir): Likewise.
11253         (performSetReadOnly): Likewise.
11254         (performRenameTo): Likewise.
11255         (performSetLastModified): Likewise.
11256         (performCreate): Likewise.
11257         (performDelete): Likewise.
11258
11259 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11260
11261         * HACKING: Fix URL for the automake-gcj.
11262
11263 2002-02-07  Tom Tromey  <tromey@redhat.com>
11264
11265         * java/lang/natThrowable.cc: Updated copyright.
11266         * java/io/natFileWin32.cc: Updated copyright.
11267         * java/io/natFileDescriptorWin32.cc: Updated copyright.
11268         * win32-threads.cc: Updated copyright.
11269         * name-finder.cc: Updated copyright.
11270         * include/name-finder.h: Updated copyright.
11271
11272         * include/name-finder.h: Conditionally include sys/wait.h.
11273         * include/config.h.in: Rebuilt.
11274
11275         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11276         Size buffer based on real size of string.
11277         (_stat): Likewise.
11278         (attr): Likewise.
11279         (getCanonicalPath): Likewise.
11280         (performList): Likewise.
11281         (performMkdir): Likewise.
11282         (performSetReadOnly): Likewise.
11283         (unixroot): Removed.
11284         (performRenameTo): Likewise.
11285         (performSetLastModified): Likewise.
11286         (performCreate): Likewise.
11287         (performDelete): Likewise.
11288         (performListRoots): Always return new array.
11289
11290         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11291         * win32.cc (win32_exception_handler): Now static.
11292         * include/win32.h (_Jv_platform_initialize): Declare.
11293         (win32_exception_handler): Don't declare.
11294         * java/lang/natSystem.cc (currentTimeMillis): Use
11295         _Jv_platform_gettimeofday.
11296         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11297         (_Jv_select): Use new name.
11298         (_Jv_platform_initialize): New function.
11299         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11300         _Jv_gettimeofday.
11301         (_Jv_platform_initialize): Declare.
11302
11303         * configure: Rebuilt.
11304         * configure.in: Removed unnecessary parens.
11305
11306 2002-02-06  Adam Megacz <adam@xwt.org>
11307
11308        * configure.in: Changed mingw) to *mingw*).
11309        * win32.cc: Created this file.
11310        * win32.h: Created this file.
11311        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11312        win32_exception_handler from prims.cc to win32.cc, added
11313        header in win32.h.
11314        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11315        longer needed now that we have platform.h
11316
11317 2002-02-06  Adam Megacz <adam@xwt.org>
11318
11319         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11320         use uint<n>_t instead of LONG and BYTE
11321
11322 2002-02-06  Adam Megacz <adam@xwt.org>
11323
11324         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11325
11326 2002-02-06  Anthony Green  <green@redhat.com>
11327
11328         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11329         Implement missing method stubs.
11330         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11331         targets.
11332         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11333         concept of timezones.
11334         (init_properties): Don't refer to _Jv_Environment_Properties
11335         when this feature is not available.
11336         * include/config.h.in: Rebuilt.
11337         * acconfig.h: Add DISABLE_MAIN_ARGS.
11338         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11339         * configure: Rebuilt.
11340         * configure.in: Add --disable-main-args option.  Test for
11341           opendir function.  Replace AC_CHECK_SIZEOF with
11342           AC_COMPILE_CHECK_SIZEOF.
11343         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11344         * aclocal.m4: Rebuilt.
11345         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11346
11347 2002-02-06  Tom Tromey  <tromey@redhat.com>
11348
11349         * verify.cc (require_array_type): If argument is a null array of
11350         references, return null as the element type.
11351
11352 2002-02-06  Mark Wielaard  <mark@klomp.org>
11353
11354         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11355         duplicate of a wide type.
11356
11357 2002-02-06  Tom Tromey  <tromey@redhat.com>
11358
11359         * verify.cc (type::isnull): New method.
11360         (require_array_type): Handle case where array is null.
11361         (verify_instructions_0) [op_arraylength]: Likewise.
11362
11363 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11364
11365         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11366         Symlink PLATFORMH to platform.h.
11367         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11368         PLATFORMOBJS.
11369         * java/lang/natSystem.cc: #include platform.h not posix.h.
11370         * Makefile.in: Rebuilt with libgcj automake.
11371         * configure: Rebuilt.
11372
11373 2002-02-05  Richard Henderson  <rth@redhat.com>
11374
11375         * Makefile.in: Undo munging last change.
11376
11377 2002-02-04  Adam Megacz <adam@xwt.org>
11378
11379         * win32.cc: Created it.
11380         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11381         which is set to posix.cc or win32.cc.
11382         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11383
11384 2002-02-04  Adam Megacz <adam@xwt.org>
11385
11386         * configure.in: Corrected mingw case branches; added * before
11387         and after.
11388
11389 2002-02-04  Adam Megacz <adam@xwt.org>
11390
11391         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11392         if compiling for win32
11393
11394 2002-02-04  Adam Megacz <adam@xwt.org>
11395
11396         * win32-threads.cc: #undef STRICT after gc.h inclusion
11397
11398 2002-02-02  Tom Tromey  <tromey@redhat.com>
11399
11400         * Makefile.in: Rebuilt.
11401
11402 2002-02-02  Jason Merrill  <jason@redhat.com>
11403
11404         * Makefile.am (clean-nat): New target.
11405
11406 2002-02-02  Tom Tromey  <tromey@redhat.com>
11407
11408         * java/io/natFile.cc: Removed old "FIXME" comments.
11409
11410 2002-02-01  Tom Tromey  <tromey@redhat.com>
11411
11412         * java/lang/natPosixProcess.cc (myclose): New function.
11413         (fail): Use it.
11414         (startProcess): Likewise.
11415
11416 2002-02-01  Adam Megacz <adam@xwt.org>
11417
11418         * prims.cc: Added #undef STRICT after #include<windows.h>.
11419
11420 2002-02-01  Adam Megacz <adam@xwt.org>
11421
11422         * prims.cc
11423         (_Jv_CreateJavaVM): We now use WIN32 instead of
11424         USE_WIN32_SIGNALLING and USE_WINSOCK.
11425         (win32_exception_handler): Now throws an exception out of
11426         the signal handler; assumes SJLJ.
11427
11428 2002-02-01  Adam Megacz <adam@xwt.org>
11429
11430         * win32-threads.cc:
11431         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11432         wait() algorithm to make it safe.
11433         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11434         Added lazy creation of Win32 Events for better performance
11435         (really_start): This now uses GC_CreateThread so boehm-gc
11436         knows about new threads even when statically linked.
11437
11438 2002-02-01  Adam Megacz <adam@xwt.org>
11439
11440         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11441         enable safer wait() algorithm.
11442         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11443         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11444         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11445         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11446         instead of mutex.
11447         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11448
11449 2002-02-01  Adam Megacz <adam@xwt.org>
11450
11451         * configure.in: Added support for mingw.
11452         * java/lang/Win32Process.java: Created as empty file.
11453         * java/lang/natWin32Process.cc: Created as empty file.
11454
11455 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11456
11457         PR java/4972
11458         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11459         for libiconv in LIBICONV variable.
11460         * configure: Regenerated.
11461
11462 2002-01-31  Tom Tromey  <tromey@redhat.com>
11463
11464         * verify.cc (state::enter_subroutine): New method.
11465         (handle_jsr_insn): Use it.
11466         (state::merge): When processing a `ret', correctly use
11467         subroutine's state to determine which local variables have
11468         changed.
11469         (push_exception_jump): Don't let stack overflow.
11470
11471 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11472
11473         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11474         --version output.
11475
11476 2002-01-30  Tom Tromey  <tromey@redhat.com>
11477
11478         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11479         parameter for `recv' return type.
11480
11481         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11482         (state::merge): ... not here.
11483         (subr_entry_info): New structure.
11484         (entry_points): New field.
11485         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11486         entry_points.
11487
11488 2002-01-29  Tom Tromey  <tromey@redhat.com>
11489
11490         * java/awt/List.java (addNotify): Correctly check to see if peer
11491         does not exist.
11492
11493         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11494         to compute height of each cell, and number of columns to compute
11495         width of each cell.
11496         * java/awt/Window.java (getOwnedWindows): Don't return null.
11497         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11498         of component.  Increment x using horizontal gap, not vertical
11499         gap.
11500
11501 2002-01-28  Tom Tromey  <tromey@redhat.com>
11502
11503         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11504         `nargs' byte is number of words, not number of arguments.
11505
11506 2002-01-27  Tom Tromey  <tromey@redhat.com>
11507
11508         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11509         (when): Likewise.
11510         * java/awt/event/InputEvent.java (modifiers, when): Now
11511         package-private.
11512
11513         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11514         and to-do list.
11515         (state::merge): Use current class' class loader.
11516         (state::print): Print subroutine.
11517         (state::merge): Don't look at subroutine of unmerged `ret'.
11518
11519 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11520
11521         * nogc.cc: Remove warnings.
11522         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11523         New functions.
11524
11525 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11526
11527         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11528         int, int):  Remove empty "if" statement to work around compiler bug.
11529         (newPixels(int[], ColorModel, int, int): Likewise.
11530
11531 2002-01-25  Per Bothner  <per@bothner.com>
11532
11533         * verify.cc (verify_fail):  Change from being a top-level function
11534         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11535         Pass the current verifier to type: and state: methods as needed,
11536         for better error messages, and for resolve.
11537         (resolve):  Pass current class's loader for Class.forName and
11538         _Jv_FindClassFromSignature, rather than using the default loader.
11539         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11540         (get_type_val_for_signature):  Make non-static.
11541         (various methods):  Pass start_PC implicitly, not explicitly.
11542
11543 2002-01-25  Tom Tromey  <tromey@redhat.com>
11544
11545         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11546         loop termination condition.
11547         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11548         width.
11549
11550 2002-01-24  Tom Tromey  <tromey@redhat.com>
11551
11552         * java/awt/Shape.java: Merged with Classpath.
11553         * java/awt/Scrollbar.java: Merged with Classpath.
11554
11555         * java/awt/Container.java (addNotify): Unconditionally call
11556         addNotifyContainerChildren and superclass addNotify.
11557
11558         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11559         getAlpha, not getBlue.
11560
11561 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11562
11563         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11564
11565         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11566         (grabPixels(long)): Wait to be notified that the ImageProducer has
11567         completed.
11568
11569 2002-01-24  Per Bothner  <per@bothner.com>
11570
11571         * verify.cc (is_assignable_from_slow): If target is an interface,
11572         we must still check the source's superclass before giving up.
11573
11574 2002-01-24  Tom Tromey  <tromey@redhat.com>
11575
11576         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11577
11578 2002-01-23  Tom Tromey  <tromey@redhat.com>
11579
11580         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11581         `else'.
11582
11583         * Makefile.in: Rebuilt.
11584         * Makefile.am (awt_java_source_files): Added new files.
11585         * java/awt/Toolkit.java: Merged with Classpath.
11586         * java/awt/PrintGraphics.java: New file from Classpath.
11587         * java/awt/PrintJob.java: New file from Classpath.
11588         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11589         * java/awt/datatransfer/ClipboardOwner.java: New file from
11590         Classpath.
11591         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11592         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11593         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11594         Classpath.
11595         * java/awt/datatransfer/StringSelection.java: New file from
11596         Classpath.
11597         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11598         Classpath.
11599         * java/awt/datatransfer/Transferable.java: New file from
11600         Classpath.
11601         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11602         from Classpath.
11603
11604         * Makefile.in: Rebuilt.
11605         * Makefile.am (awt_java_source_files): Added new files.
11606         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11607         Classpath.
11608         * java/awt/image/CropImageFilter.java: New file from Classpath.
11609         * java/awt/image/FilteredImageSource.java: New file from
11610         Classpath.
11611         * java/awt/image/ImageFilter.java: New file from Classpath.
11612         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11613         * java/awt/image/PixelGrabber.java: New file from Classpath.
11614         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11615         * java/awt/image/ReplicateScaleFilter.java: New file from
11616         Classpath.
11617         * java/awt/image/ImageProducer.java: Replaced with Classpath
11618         version.
11619         * java/awt/image/ImageObserver.java: Replaced with Classpath
11620         version.
11621         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11622         version.
11623         * java/awt/GridBagConstraints.java (clone): Catch
11624         CloneNotSupportedException.
11625
11626 2002-01-23  Per Bothner  <per@bothner.com>
11627
11628         * java/lang/reflect/natField.cc (setAddr):  New function.
11629         Calls getAddr and then checks that the field isn't final.
11630         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11631         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11632         (set):  Call setAddr before check that new value has right type,
11633         to better match specified semantics.
11634
11635 2002-01-22  Tom Tromey  <tromey@redhat.com>
11636
11637         * java/awt/TextField.java: Replaced with Classpath version.
11638         * java/awt/TextArea.java: Replaced with Classpath version.
11639         * java/awt/TextComponent.java: Replaced with Classpath version.
11640
11641         * java/awt/GridBagConstraints.java: Updated copyright.
11642
11643 2002-01-22  Mark Wielaard <mark@klomp.org>
11644
11645         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11646         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11647         java/awt/Dialog.java java/awt/FileDialog.java
11648         java/awt/Font.java java/awt/FontMetrics.java
11649         java/awt/Image.java java/awt/ImageMediaEntry.java
11650         java/awt/Insets.java java/awt/List.java
11651         java/awt/MediaEntry.java java/awt/MediaTracker.java
11652         java/awt/Menu.java java/awt/MenuBar.java
11653         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11654         java/awt/PaintContext.java java/awt/Panel.java
11655         java/awt/PopupMenu.java java/awt/SystemColor.java
11656         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11657         java/awt/peer/CheckboxMenuItemPeer.java
11658         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11659         java/awt/peer/ComponentPeer.java
11660         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11661         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11662         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11663         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11664         java/awt/peer/MenuBarPeer.java
11665         java/awt/peer/MenuComponentPeer.java
11666         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11667         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11668         java/awt/peer/ScrollPanePeer.java
11669         java/awt/peer/ScrollbarPeer.java
11670         java/awt/peer/TextAreaPeer.java
11671         java/awt/peer/TextComponentPeer.java
11672         java/awt/peer/TextFieldPeer.java
11673         java/awt/peer/WindowPeer.java: Add license clarification.
11674
11675 2002-01-22  Mark Wielaard <mark@klomp.org>
11676
11677         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11678         gnu/gcj/runtime/StringBuffer.java
11679         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11680         gnu/java/awt/ComponentDataBlitOp.java
11681         gnu/java/awt/GLightweightPeer.java
11682         gnu/java/beans/BeanInfoEmbryo.java
11683         gnu/java/beans/EmptyBeanInfo.java
11684         gnu/java/beans/ExplicitBeanInfo.java
11685         gnu/java/beans/IntrospectionIncubator.java
11686         gnu/java/beans/editors/ColorEditor.java
11687         gnu/java/beans/editors/FontEditor.java
11688         gnu/java/beans/editors/NativeBooleanEditor.java
11689         gnu/java/beans/editors/NativeByteEditor.java
11690         gnu/java/beans/editors/NativeDoubleEditor.java
11691         gnu/java/beans/editors/NativeFloatEditor.java
11692         gnu/java/beans/editors/NativeIntEditor.java
11693         gnu/java/beans/editors/NativeLongEditor.java
11694         gnu/java/beans/editors/NativeShortEditor.java
11695         gnu/java/beans/editors/StringEditor.java
11696         gnu/java/beans/info/ComponentBeanInfo.java
11697         gnu/java/io/ClassLoaderObjectInputStream.java
11698         gnu/java/io/NullOutputStream.java
11699         gnu/java/io/ObjectIdentityWrapper.java
11700         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11701         gnu/java/lang/reflect/TypeSignature.java
11702         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11703         gnu/java/locale/Calendar_en.java
11704         gnu/java/locale/Calendar_nl.java
11705         gnu/java/locale/LocaleInformation.java
11706         gnu/java/locale/LocaleInformation_de.java
11707         gnu/java/locale/LocaleInformation_en.java
11708         gnu/java/locale/LocaleInformation_nl.java
11709         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11710         gnu/java/rmi/registry/RegistryImpl.java
11711         gnu/java/rmi/rmic/Compile_gcj.java
11712         gnu/java/rmi/rmic/Compiler.java
11713         gnu/java/rmi/rmic/CompilerProcess.java
11714         gnu/java/rmi/rmic/RMIC.java
11715         gnu/java/rmi/rmic/TabbedWriter.java
11716         gnu/java/rmi/server/ProtocolConstants.java
11717         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11718         gnu/java/rmi/server/RMIHashes.java
11719         gnu/java/rmi/server/RMIObjectInputStream.java
11720         gnu/java/rmi/server/RMIObjectOutputStream.java
11721         gnu/java/rmi/server/UnicastConnection.java
11722         gnu/java/rmi/server/UnicastConnectionManager.java
11723         gnu/java/rmi/server/UnicastRef.java
11724         gnu/java/rmi/server/UnicastRemoteCall.java
11725         gnu/java/rmi/server/UnicastRemoteStub.java
11726         gnu/java/rmi/server/UnicastServer.java
11727         gnu/java/rmi/server/UnicastServerRef.java
11728         gnu/java/security/provider/DefaultPolicy.java
11729         gnu/java/security/provider/Gnu.java
11730         gnu/java/security/provider/SHA.java
11731         gnu/java/security/provider/SHA1PRNG.java
11732         gnu/java/text/BaseBreakIterator.java
11733         gnu/java/text/CharacterBreakIterator.java
11734         gnu/java/text/LineBreakIterator.java
11735         gnu/java/text/SentenceBreakIterator.java
11736         gnu/java/text/WordBreakIterator.java
11737         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11738         java/applet/AppletContext.java java/applet/AppletStub.java
11739         java/applet/AudioClip.java java/awt/AWTError.java
11740         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11741         java/awt/AWTException.java java/awt/AWTPermission.java
11742         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11743         java/awt/Button.java java/awt/Canvas.java
11744         java/awt/CardLayout.java java/awt/Checkbox.java
11745         java/awt/CheckboxGroup.java java/awt/Component.java
11746         java/awt/ComponentOrientation.java java/awt/Container.java
11747         java/awt/Dimension.java java/awt/Event.java
11748         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11749         java/awt/FlowLayout.java java/awt/Frame.java
11750         java/awt/Graphics.java java/awt/Graphics2D.java
11751         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11752         java/awt/IllegalComponentStateException.java
11753         java/awt/ItemSelectable.java java/awt/Label.java
11754         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11755         java/awt/MenuComponent.java java/awt/MenuItem.java
11756         java/awt/Paint.java java/awt/Point.java
11757         java/awt/Rectangle.java java/awt/RenderingHints.java
11758         java/awt/Transparency.java java/awt/Window.java
11759         java/awt/color/ColorSpace.java
11760         java/awt/color/ICC_ColorSpace.java
11761         java/awt/color/ICC_Profile.java
11762         java/awt/event/HierarchyBoundsAdapter.java
11763         java/awt/event/HierarchyBoundsListener.java
11764         java/awt/event/HierarchyEvent.java
11765         java/awt/event/HierarchyListener.java
11766         java/awt/geom/AffineTransform.java
11767         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11768         java/awt/geom/IllegalPathStateException.java
11769         java/awt/geom/Line2D.java
11770         java/awt/geom/NoninvertibleTransformException.java
11771         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11772         java/awt/geom/Rectangle2D.java
11773         java/awt/geom/RectangularShape.java
11774         java/awt/geom/RoundRectangle2D.java
11775         java/awt/image/BufferedImage.java
11776         java/awt/image/ColorModel.java
11777         java/awt/image/ComponentColorModel.java
11778         java/awt/image/ComponentSampleModel.java
11779         java/awt/image/DataBuffer.java
11780         java/awt/image/DataBufferByte.java
11781         java/awt/image/DataBufferInt.java
11782         java/awt/image/DataBufferUShort.java
11783         java/awt/image/DirectColorModel.java
11784         java/awt/image/PackedColorModel.java
11785         java/awt/image/Raster.java java/awt/image/RasterOp.java
11786         java/awt/image/SampleModel.java
11787         java/awt/image/SinglePixelPackedSampleModel.java
11788         java/awt/image/WritableRaster.java
11789         java/beans/AppletInitializer.java
11790         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11791         java/beans/Beans.java java/beans/Customizer.java
11792         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11793         java/beans/FeatureDescriptor.java
11794         java/beans/IndexedPropertyDescriptor.java
11795         java/beans/IntrospectionException.java
11796         java/beans/Introspector.java java/beans/MethodDescriptor.java
11797         java/beans/ParameterDescriptor.java
11798         java/beans/PropertyChangeEvent.java
11799         java/beans/PropertyChangeListener.java
11800         java/beans/PropertyChangeSupport.java
11801         java/beans/PropertyDescriptor.java
11802         java/beans/PropertyEditor.java
11803         java/beans/PropertyEditorManager.java
11804         java/beans/PropertyEditorSupport.java
11805         java/beans/PropertyVetoException.java
11806         java/beans/SimpleBeanInfo.java
11807         java/beans/VetoableChangeListener.java
11808         java/beans/VetoableChangeSupport.java
11809         java/beans/Visibility.java
11810         java/beans/beancontext/BeanContext.java
11811         java/beans/beancontext/BeanContextChild.java
11812         java/beans/beancontext/BeanContextChildComponentProxy.java
11813         java/beans/beancontext/BeanContextChildSupport.java
11814         java/beans/beancontext/BeanContextContainerProxy.java
11815         java/beans/beancontext/BeanContextEvent.java
11816         java/beans/beancontext/BeanContextMembershipEvent.java
11817         java/beans/beancontext/BeanContextMembershipListener.java
11818         java/beans/beancontext/BeanContextProxy.java
11819         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11820         java/beans/beancontext/BeanContextServiceProvider.java
11821         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11822         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11823         java/beans/beancontext/BeanContextServiceRevokedListener.java
11824         java/beans/beancontext/BeanContextServices.java
11825         java/beans/beancontext/BeanContextServicesListener.java
11826         java/io/BufferedInputStream.java
11827         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11828         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11829         java/io/ByteArrayOutputStream.java
11830         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11831         java/io/CharConversionException.java java/io/DataInput.java
11832         java/io/DataInputStream.java java/io/DataOutput.java
11833         java/io/EOFException.java java/io/Externalizable.java
11834         java/io/FileFilter.java java/io/FileNotFoundException.java
11835         java/io/FilePermission.java java/io/FileReader.java
11836         java/io/FileWriter.java java/io/FilenameFilter.java
11837         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11838         java/io/FilterReader.java java/io/FilterWriter.java
11839         java/io/IOException.java java/io/InputStream.java
11840         java/io/InterruptedIOException.java
11841         java/io/InvalidClassException.java
11842         java/io/InvalidObjectException.java
11843         java/io/NotActiveException.java
11844         java/io/NotSerializableException.java java/io/ObjectInput.java
11845         java/io/ObjectInputStream.java
11846         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11847         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11848         java/io/ObjectStreamConstants.java
11849         java/io/ObjectStreamException.java
11850         java/io/ObjectStreamField.java
11851         java/io/OptionalDataException.java java/io/OutputStream.java
11852         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11853         java/io/PipedReader.java java/io/PipedWriter.java
11854         java/io/PrintWriter.java java/io/PushbackInputStream.java
11855         java/io/PushbackReader.java java/io/Reader.java
11856         java/io/SequenceInputStream.java java/io/Serializable.java
11857         java/io/SerializablePermission.java
11858         java/io/StreamCorruptedException.java
11859         java/io/StreamTokenizer.java
11860         java/io/StringBufferInputStream.java java/io/StringReader.java
11861         java/io/StringWriter.java java/io/SyncFailedException.java
11862         java/io/UTFDataFormatException.java
11863         java/io/UnsupportedEncodingException.java
11864         java/io/WriteAbortedException.java java/io/Writer.java
11865         java/lang/AbstractMethodError.java
11866         java/lang/ArithmeticException.java
11867         java/lang/ArrayIndexOutOfBoundsException.java
11868         java/lang/ArrayStoreException.java java/lang/Boolean.java
11869         java/lang/Byte.java java/lang/CharSequence.java
11870         java/lang/ClassCastException.java
11871         java/lang/ClassCircularityError.java
11872         java/lang/ClassFormatError.java
11873         java/lang/ClassNotFoundException.java
11874         java/lang/CloneNotSupportedException.java
11875         java/lang/Cloneable.java java/lang/Comparable.java
11876         java/lang/Compiler.java java/lang/Double.java
11877         java/lang/Error.java java/lang/Exception.java
11878         java/lang/ExceptionInInitializerError.java
11879         java/lang/Float.java java/lang/IllegalAccessError.java
11880         java/lang/IllegalAccessException.java
11881         java/lang/IllegalArgumentException.java
11882         java/lang/IllegalMonitorStateException.java
11883         java/lang/IllegalStateException.java
11884         java/lang/IllegalThreadStateException.java
11885         java/lang/IncompatibleClassChangeError.java
11886         java/lang/IndexOutOfBoundsException.java
11887         java/lang/InheritableThreadLocal.java
11888         java/lang/InstantiationError.java
11889         java/lang/InstantiationException.java java/lang/Integer.java
11890         java/lang/InternalError.java
11891         java/lang/InterruptedException.java
11892         java/lang/LinkageError.java java/lang/Long.java
11893         java/lang/NegativeArraySizeException.java
11894         java/lang/NoClassDefFoundError.java
11895         java/lang/NoSuchFieldError.java
11896         java/lang/NoSuchFieldException.java
11897         java/lang/NoSuchMethodError.java
11898         java/lang/NoSuchMethodException.java
11899         java/lang/NullPointerException.java java/lang/Number.java
11900         java/lang/NumberFormatException.java
11901         java/lang/OutOfMemoryError.java java/lang/Package.java
11902         java/lang/Process.java java/lang/Runnable.java
11903         java/lang/RuntimeException.java
11904         java/lang/RuntimePermission.java
11905         java/lang/SecurityException.java
11906         java/lang/SecurityManager.java java/lang/Short.java
11907         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11908         java/lang/StringIndexOutOfBoundsException.java
11909         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11910         java/lang/ThreadLocal.java java/lang/UnknownError.java
11911         java/lang/UnsatisfiedLinkError.java
11912         java/lang/UnsupportedClassVersionError.java
11913         java/lang/UnsupportedOperationException.java
11914         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11915         java/lang/Void.java java/lang/ref/PhantomReference.java
11916         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11917         java/lang/ref/SoftReference.java
11918         java/lang/ref/WeakReference.java
11919         java/lang/reflect/AccessibleObject.java
11920         java/lang/reflect/InvocationTargetException.java
11921         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11922         java/lang/reflect/ReflectPermission.java
11923         java/math/BigDecimal.java java/math/BigInteger.java
11924         java/net/Authenticator.java java/net/BindException.java
11925         java/net/ConnectException.java java/net/ContentHandler.java
11926         java/net/ContentHandlerFactory.java
11927         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11928         java/net/FileNameMap.java java/net/MalformedURLException.java
11929         java/net/MulticastSocket.java java/net/NetPermission.java
11930         java/net/NoRouteToHostException.java
11931         java/net/PasswordAuthentication.java
11932         java/net/ProtocolException.java java/net/ServerSocket.java
11933         java/net/Socket.java java/net/SocketException.java
11934         java/net/SocketImpl.java java/net/SocketImplFactory.java
11935         java/net/SocketOptions.java java/net/SocketPermission.java
11936         java/net/URLDecoder.java java/net/URLEncoder.java
11937         java/net/URLStreamHandlerFactory.java
11938         java/net/UnknownHostException.java
11939         java/net/UnknownServiceException.java
11940         java/rmi/AccessException.java
11941         java/rmi/AlreadyBoundException.java
11942         java/rmi/ConnectException.java
11943         java/rmi/ConnectIOException.java
11944         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11945         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11946         java/rmi/NotBoundException.java
11947         java/rmi/RMISecurityException.java
11948         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11949         java/rmi/RemoteException.java java/rmi/ServerError.java
11950         java/rmi/ServerException.java
11951         java/rmi/ServerRuntimeException.java
11952         java/rmi/StubNotFoundException.java
11953         java/rmi/UnexpectedException.java
11954         java/rmi/UnknownHostException.java
11955         java/rmi/UnmarshalException.java
11956         java/rmi/activation/Activatable.java
11957         java/rmi/activation/ActivateFailedException.java
11958         java/rmi/activation/ActivationDesc.java
11959         java/rmi/activation/ActivationException.java
11960         java/rmi/activation/ActivationGroup.java
11961         java/rmi/activation/ActivationGroupDesc.java
11962         java/rmi/activation/ActivationGroupID.java
11963         java/rmi/activation/ActivationID.java
11964         java/rmi/activation/ActivationInstantiator.java
11965         java/rmi/activation/ActivationMonitor.java
11966         java/rmi/activation/ActivationSystem.java
11967         java/rmi/activation/Activator.java
11968         java/rmi/activation/UnknownGroupException.java
11969         java/rmi/activation/UnknownObjectException.java
11970         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11971         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11972         java/rmi/registry/Registry.java
11973         java/rmi/registry/RegistryHandler.java
11974         java/rmi/server/ExportException.java
11975         java/rmi/server/LoaderHandler.java
11976         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11977         java/rmi/server/Operation.java
11978         java/rmi/server/RMIClassLoader.java
11979         java/rmi/server/RMIClientSocketFactory.java
11980         java/rmi/server/RMIFailureHandler.java
11981         java/rmi/server/RMIServerSocketFactory.java
11982         java/rmi/server/RMISocketFactory.java
11983         java/rmi/server/RemoteCall.java
11984         java/rmi/server/RemoteObject.java
11985         java/rmi/server/RemoteRef.java
11986         java/rmi/server/RemoteServer.java
11987         java/rmi/server/RemoteStub.java
11988         java/rmi/server/ServerCloneException.java
11989         java/rmi/server/ServerNotActiveException.java
11990         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11991         java/rmi/server/SkeletonMismatchException.java
11992         java/rmi/server/SkeletonNotFoundException.java
11993         java/rmi/server/SocketSecurityException.java
11994         java/rmi/server/UID.java
11995         java/rmi/server/UnicastRemoteObject.java
11996         java/rmi/server/Unreferenced.java
11997         java/security/AccessControlContext.java
11998         java/security/AccessControlException.java
11999         java/security/AccessController.java
12000         java/security/AlgorithmParameterGenerator.java
12001         java/security/AlgorithmParameterGeneratorSpi.java
12002         java/security/AlgorithmParameters.java
12003         java/security/AlgorithmParametersSpi.java
12004         java/security/AllPermission.java
12005         java/security/BasicPermission.java
12006         java/security/Certificate.java java/security/CodeSource.java
12007         java/security/DigestException.java
12008         java/security/DigestInputStream.java
12009         java/security/DigestOutputStream.java
12010         java/security/DomainCombiner.java
12011         java/security/DummyKeyPairGenerator.java
12012         java/security/DummyMessageDigest.java
12013         java/security/DummySignature.java
12014         java/security/GeneralSecurityException.java
12015         java/security/Guard.java java/security/GuardedObject.java
12016         java/security/Identity.java java/security/IdentityScope.java
12017         java/security/InvalidAlgorithmParameterException.java
12018         java/security/InvalidKeyException.java
12019         java/security/InvalidParameterException.java
12020         java/security/Key.java java/security/KeyException.java
12021         java/security/KeyFactory.java java/security/KeyFactorySpi.java
12022         java/security/KeyManagementException.java
12023         java/security/KeyPair.java java/security/KeyPairGenerator.java
12024         java/security/KeyPairGeneratorSpi.java
12025         java/security/KeyStore.java
12026         java/security/KeyStoreException.java
12027         java/security/KeyStoreSpi.java
12028         java/security/MessageDigest.java
12029         java/security/MessageDigestSpi.java
12030         java/security/NoSuchAlgorithmException.java
12031         java/security/NoSuchProviderException.java
12032         java/security/Permission.java
12033         java/security/PermissionCollection.java
12034         java/security/Permissions.java java/security/Policy.java
12035         java/security/Principal.java java/security/PrivateKey.java
12036         java/security/PrivilegedAction.java
12037         java/security/PrivilegedActionException.java
12038         java/security/PrivilegedExceptionAction.java
12039         java/security/ProtectionDomain.java
12040         java/security/Provider.java
12041         java/security/ProviderException.java
12042         java/security/PublicKey.java
12043         java/security/SecureClassLoader.java
12044         java/security/SecureRandom.java
12045         java/security/SecureRandomSpi.java java/security/Security.java
12046         java/security/SecurityPermission.java
12047         java/security/Signature.java
12048         java/security/SignatureException.java
12049         java/security/SignatureSpi.java
12050         java/security/SignedObject.java java/security/Signer.java
12051         java/security/UnrecoverableKeyException.java
12052         java/security/UnresolvedPermission.java
12053         java/security/acl/Acl.java java/security/acl/AclEntry.java
12054         java/security/acl/AclNotFoundException.java
12055         java/security/acl/Group.java
12056         java/security/acl/LastOwnerException.java
12057         java/security/acl/NotOwnerException.java
12058         java/security/acl/Owner.java java/security/acl/Permission.java
12059         java/security/cert/CRL.java
12060         java/security/cert/CRLException.java
12061         java/security/cert/Certificate.java
12062         java/security/cert/CertificateEncodingException.java
12063         java/security/cert/CertificateException.java
12064         java/security/cert/CertificateExpiredException.java
12065         java/security/cert/CertificateFactory.java
12066         java/security/cert/CertificateFactorySpi.java
12067         java/security/cert/CertificateNotYetValidException.java
12068         java/security/cert/CertificateParsingException.java
12069         java/security/cert/X509CRL.java
12070         java/security/cert/X509CRLEntry.java
12071         java/security/cert/X509Certificate.java
12072         java/security/cert/X509Extension.java
12073         java/security/interfaces/DSAKey.java
12074         java/security/interfaces/DSAKeyPairGenerator.java
12075         java/security/interfaces/DSAParams.java
12076         java/security/interfaces/DSAPrivateKey.java
12077         java/security/interfaces/DSAPublicKey.java
12078         java/security/interfaces/RSAKey.java
12079         java/security/interfaces/RSAPrivateCrtKey.java
12080         java/security/interfaces/RSAPrivateKey.java
12081         java/security/interfaces/RSAPublicKey.java
12082         java/security/spec/AlgorithmParameterSpec.java
12083         java/security/spec/DSAParameterSpec.java
12084         java/security/spec/DSAPrivateKeySpec.java
12085         java/security/spec/DSAPublicKeySpec.java
12086         java/security/spec/EncodedKeySpec.java
12087         java/security/spec/InvalidKeySpecException.java
12088         java/security/spec/InvalidParameterSpecException.java
12089         java/security/spec/KeySpec.java
12090         java/security/spec/PKCS8EncodedKeySpec.java
12091         java/security/spec/RSAKeyGenParameterSpec.java
12092         java/security/spec/RSAPrivateCrtKeySpec.java
12093         java/security/spec/RSAPrivateKeySpec.java
12094         java/security/spec/RSAPublicKeySpec.java
12095         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12096         java/sql/BatchUpdateException.java java/sql/Blob.java
12097         java/sql/CallableStatement.java java/sql/Clob.java
12098         java/sql/Connection.java java/sql/DataTruncation.java
12099         java/sql/DatabaseMetaData.java java/sql/Date.java
12100         java/sql/Driver.java java/sql/DriverManager.java
12101         java/sql/DriverPropertyInfo.java
12102         java/sql/PreparedStatement.java java/sql/Ref.java
12103         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12104         java/sql/SQLData.java java/sql/SQLException.java
12105         java/sql/SQLInput.java java/sql/SQLOutput.java
12106         java/sql/SQLWarning.java java/sql/Statement.java
12107         java/sql/Struct.java java/sql/Time.java
12108         java/sql/Timestamp.java java/sql/Types.java
12109         java/text/Annotation.java
12110         java/text/AttributedCharacterIterator.java
12111         java/text/AttributedString.java
12112         java/text/AttributedStringIterator.java
12113         java/text/BreakIterator.java java/text/CharacterIterator.java
12114         java/text/ChoiceFormat.java java/text/Collator.java
12115         java/text/DateFormat.java java/text/DateFormatSymbols.java
12116         java/text/DecimalFormat.java
12117         java/text/DecimalFormatSymbols.java
12118         java/text/FieldPosition.java java/text/Format.java
12119         java/text/MessageFormat.java java/text/NumberFormat.java
12120         java/text/ParseException.java java/text/ParsePosition.java
12121         java/text/SimpleDateFormat.java
12122         java/text/StringCharacterIterator.java
12123         java/util/AbstractCollection.java java/util/AbstractList.java
12124         java/util/AbstractMap.java
12125         java/util/AbstractSequentialList.java
12126         java/util/AbstractSet.java java/util/ArrayList.java
12127         java/util/Arrays.java java/util/BasicMapEntry.java
12128         java/util/BitSet.java java/util/Calendar.java
12129         java/util/Collection.java java/util/Collections.java
12130         java/util/Comparator.java
12131         java/util/ConcurrentModificationException.java
12132         java/util/Date.java java/util/Dictionary.java
12133         java/util/EmptyStackException.java java/util/Enumeration.java
12134         java/util/EventListener.java java/util/EventObject.java
12135         java/util/GregorianCalendar.java java/util/HashMap.java
12136         java/util/HashSet.java java/util/Hashtable.java
12137         java/util/IdentityHashMap.java java/util/Iterator.java
12138         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12139         java/util/LinkedList.java java/util/List.java
12140         java/util/ListIterator.java java/util/ListResourceBundle.java
12141         java/util/Locale.java java/util/Map.java
12142         java/util/MissingResourceException.java
12143         java/util/NoSuchElementException.java
12144         java/util/Observable.java java/util/Observer.java
12145         java/util/Properties.java java/util/PropertyPermission.java
12146         java/util/PropertyResourceBundle.java java/util/Random.java
12147         java/util/RandomAccess.java java/util/ResourceBundle.java
12148         java/util/Set.java java/util/SimpleTimeZone.java
12149         java/util/SortedMap.java java/util/SortedSet.java
12150         java/util/Stack.java java/util/StringTokenizer.java
12151         java/util/TimeZone.java java/util/Timer.java
12152         java/util/TimerTask.java
12153         java/util/TooManyListenersException.java
12154         java/util/TreeMap.java java/util/TreeSet.java
12155         java/util/Vector.java java/util/WeakHashMap.java
12156         java/util/jar/Attributes.java java/util/jar/JarEntry.java
12157         java/util/jar/JarException.java java/util/jar/JarFile.java
12158         java/util/jar/JarInputStream.java
12159         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12160         java/util/zip/Adler32.java java/util/zip/CRC32.java
12161         java/util/zip/CheckedInputStream.java
12162         java/util/zip/CheckedOutputStream.java
12163         java/util/zip/Checksum.java
12164         java/util/zip/DataFormatException.java
12165         java/util/zip/Deflater.java
12166         java/util/zip/DeflaterOutputStream.java
12167         java/util/zip/GZIPInputStream.java
12168         java/util/zip/GZIPOutputStream.java
12169         java/util/zip/Inflater.java
12170         java/util/zip/InflaterInputStream.java
12171         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12172         java/util/zip/ZipException.java java/util/zip/ZipFile.java
12173         java/util/zip/ZipInputStream.java
12174         java/util/zip/ZipOutputStream.java
12175         javax/naming/BinaryRefAddr.java
12176         javax/naming/InvalidNameException.java javax/naming/Name.java
12177         javax/naming/NamingException.java javax/naming/RefAddr.java
12178         javax/naming/StringRefAddr.java: Add license clarification.
12179
12180 2002-01-22  Tom Tromey  <tromey@redhat.com>
12181
12182         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12183         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12184         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12185         version.
12186         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12187         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12188         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12189         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12190         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12191         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12192         * java/awt/peer/FontPeer.java: Replace with Classpath version.
12193         * java/awt/peer/FramePeer.java: Replace with Classpath version.
12194         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12195         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12196         * java/awt/peer/ListPeer.java: Replace with Classpath version.
12197         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12198         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12199         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12200         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12201         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12202         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12203         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12204         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12205         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12206         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12207         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12208         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12209         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12210         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12211         (minimumSize, preferredSize, reshape): Likewise.
12212         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12213         getColorModel): New methods.
12214         * java/awt/PopupMenu.java: Merged with Classpath.
12215         * java/awt/MenuBar.java: Merged with Classpath.
12216         * java/awt/SystemColor.java: Replace with Classpath version.
12217         * java/awt/Panel.java: Merged with Classpath.
12218         * java/awt/PaintContext.java: Updated copyright.
12219         * java/awt/MenuShortcut.java: Merged with Classpath.
12220         * java/awt/MenuContainer.java: Merged with Classpath.
12221         * java/awt/Menu.java: Merged with Classpath.
12222         * java/awt/MediaEntry.java: New file from Classpath.
12223         * java/awt/MediaTracker.java: New file from Classpath.
12224         * java/awt/List.java: Merged with Classpath version.
12225         * java/awt/Insets.java: Merged with Classpath version.
12226         * java/awt/ImageMediaEntry.java: New file from Classpath.
12227         * java/awt/Image.java: Replaced with Classpath version.
12228         * java/awt/FontMetrics.java: Merged with Classpath version.
12229         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12230         constant.
12231         * java/awt/Font.java: Merged with Classpath version.
12232         * java/awt/Dialog.java: Merged with Classpath version.
12233         * java/awt/Color.java: Merged with Classpath version.
12234         * java/awt/Choice.java: Merged with Classpath version.
12235         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12236         * java/awt/Adjustable.java: Replace with Classpath version.
12237         * java/awt/MenuItem.java (paramString): Don't include class name
12238         or brackets.  Call superclass paramString.
12239         * java/awt/MenuComponent.java (toString): Call paramString.
12240         (paramString): Compute string; don't call toString.
12241         * java/awt/Label.java (paramString): Don't include class name
12242         or brackets.  Call superclass paramString.
12243         * java/awt/Checkbox.java (paramString): Don't include class name
12244         or brackets.  Call superclass paramString.
12245         * java/awt/Button.java (paramString): Don't include class name or
12246         brackets.  Call superclass paramString.
12247         * java/awt/MenuComponent.java (getTreeLock): Now protected.
12248
12249 2002-01-20  Andreas Schwab  <schwab@suse.de>
12250
12251         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12252         function and of parameter recv_func to ssize_t, as specified by
12253         POSIX.
12254
12255 2002-01-19  Per Bothner  <per@bothner.com>
12256
12257         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
12258         uncompressed_size in readiness for next entry.
12259
12260 2002-01-18  Tom Tromey  <tromey@redhat.com>
12261
12262         * java/net/natPlainSocketImpl.cc: Include
12263         IllegalArgumentException.h.
12264         (_Jv_recv): New template function.
12265         (BooleanClass): Removed.
12266         (read): Use _Jv_recv.
12267         (setOption): Use Boolean::class$.  Throw exception if object is
12268         not Boolean or Integer.
12269
12270 2002-01-17  Tom Tromey  <tromey@redhat.com>
12271
12272         * java/awt/MenuComponent.java: Merged with Classpath.
12273         * java/awt/MenuItem.java: Merged with Classpath.
12274         * java/awt/Button.java: Merged with Classpath.
12275
12276         * java/awt/ActiveEvent.java: Updated copyright.
12277
12278         * java/awt/AWTError.java: Replaced with Classpath version.
12279         * java/awt/AWTException.java: Replaced with Classpath version.
12280         * java/awt/IllegalComponentStateException.java: Replaced with
12281         Classpath version.
12282
12283 2002-01-16  Tom Tromey  <tromey@redhat.com>
12284
12285         * java/awt/Canvas.java (serialVersionUID): New constant.
12286         Updated copyright.  Added javadoc from Classpath.
12287         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12288
12289         * java/awt/CheckboxGroup.java: Merged with Classpath.
12290         * java/awt/Checkbox.java: Merged with Classpath.
12291
12292         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12293         Classpath.
12294         * java/awt/Point.java: Updated copyright.
12295
12296         * java/awt/Point.java (toString): Use getClass().getName().
12297         Added javadoc.
12298
12299         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12300         commented code.
12301         (hash): Correctly compute initial value for `h'.
12302
12303         * java/awt/Label.java: Merged with Classpath.
12304
12305 2002-01-15  Tom Tromey  <tromey@redhat.com>
12306
12307         * java/awt/AWTPermission.java: Updated copyright.
12308
12309         * java/awt/LayoutManager2.java: Merged with Classpath.
12310         * java/awt/LayoutManager.java: Merged with Classpath.
12311         * java/awt/GridLayout.java: Updated copyright and javadoc.
12312         (getSize): Use `parent.ncomponents'.  Handle insets.
12313         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12314         there are fewer children than columns.  Correctly compute size of
12315         each cell in the grid.  Handle case where there isn't enough
12316         space.
12317         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12318         all users.
12319         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12320         before calling setVisible() on it.  Last item is `num - 1', not
12321         `num'.
12322         (layoutContainer): Hoist invariants out of loop.
12323
12324         Start of AWT merge with Classpath:
12325         * Makefile.in: Rebuilt.
12326         * Makefile.am (awt_java_source_files): Reference files in
12327         gnu/java/awt, not gnu/gcj/awt.
12328         * java/awt/image/BufferedImage.java: Updated copyright.
12329         * java/awt/image/ComponentColorModel.java: Updated copyright.
12330         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12331         * java/awt/image/DataBuffer.java: Updated copyright.
12332         * java/awt/image/DataBufferByte.java: Updated copyright.
12333         * java/awt/image/DataBufferInt.java: Updated copyright.
12334         * java/awt/image/DataBufferUShort.java: Updated copyright.
12335         * java/awt/image/IndexColorModel.java: Updated copyright.
12336         * java/awt/image/PackedColorModel.java: Updated copyright.
12337         * java/awt/image/Raster.java: Updated copyright.
12338         * java/awt/image/RasterOp.java: Updated copyright.
12339         * java/awt/image/SampleModel.java: Updated copyright.
12340         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12341         * java/awt/image/WritableRaster.java: Updated copyright.
12342         * java/awt/color/ColorSpace.java: Updated copyright.
12343         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12344         * java/awt/color/ICC_Profile.java: Updated copyright.
12345         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12346         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12347         * java/awt/event/HierarchyEvent.java: Updated copyright.
12348         * java/awt/event/HierarchyListener.java: Updated copyright.
12349         * java/awt/geom/AffineTransform.java: Updated copyright.
12350         * java/awt/geom/Dimension2D.java: Updated copyright.
12351         * java/awt/geom/Ellipse2D.java: Updated copyright.
12352         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12353         * java/awt/geom/Line2D.java: Updated copyright.
12354         * java/awt/geom/NoninvertibleTransformException.java: Updated
12355         copyright.
12356         * java/awt/geom/PathIterator.java: Updated copyright.
12357         * java/awt/geom/Point2D.java: Updated copyright.
12358         * java/awt/geom/Rectangle2D.java: Updated copyright.
12359         * java/awt/geom/RectangularShape.java: Updated copyright.
12360         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12361         * java/awt/Toolkit.java: Updated import for file moves.
12362         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12363         Classpath.
12364         (hashCode): New method from Classpath.
12365         * java/awt/Graphics2D.java: Updated copyright.
12366         * java/awt/Transparency.java: Updated copyright.
12367         * java/awt/Paint.java: Updated copyright.
12368         * java/awt/Graphics.java: New version from Classpath.
12369         * java/awt/EventDispatchThread.java: Updated copyright.
12370         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12371         children.
12372         (gotoComponent): Wrap around on next/previous.
12373         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12374         * gnu/gcj/awt/Buffers.java: Removed.
12375         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12376         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12377         * gnu/java/awt/BitMaskExtent.java: Added.
12378         * gnu/java/awt/Buffers.java: Added.
12379         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12380         * gnu/java/awt/GLightweightPeer.java: Added.
12381         * java/awt/geom/Line2D.java (clone): Ignore
12382         CloneNotSupportedException.
12383         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12384         * java/awt/Frame.java: Merged with Classpath.
12385         * java/awt/RenderingHints.java: Copyright update.
12386         * java/awt/Paint.java: Copyright update.
12387         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12388         * java/awt/image/ColorModel.java: Merged with Classpath.
12389         * java/awt/Window.java (show): New Implementation from Classpath.
12390         (isShowing): Use super.isShowing().
12391         * java/awt/EventQueue.java: Merged with Classpath.
12392         * java/awt/AWTEventMulticaster.java (save): Throw
12393         RuntimeException.
12394         (saveInternal): Likewise.
12395         * java/awt/AWTEvent.java: Now implements Serializable.
12396         * java/awt/Event.java: Copyright update.
12397         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12398         * java/awt/image/BufferedImage.java: Copyright update.
12399         * java/awt/GraphicsConfiguration.java: Copyright update.
12400         * java/awt/Component.java: (addNotify): Don't call
12401         addNotifyContainerChildren().
12402         (addNotifyContainerChildren): Removed.
12403         (setPeer): New method from Classpath.
12404         (setTreeLock): Likewise.
12405         (setVisible): Rewrote.
12406         (show): Use it.
12407         (hide): Likewise.
12408         (validate): Set `valid'.
12409         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12410         (createImage(ImageProducer)): Likewise.
12411         (prepareImage): Likewise.
12412         * java/awt/Container.java (addImpl): Handle case where constraint
12413         is not a String.  Post event via system event queue.
12414         (remove): Post event via system event queue.
12415         (validateTree): Only validate child if it is invalid.
12416         (getAlignmentX): Call super method as default.
12417         (getAlignmentY): Likewise.
12418         (addContainerListener): Now synchronized.
12419         (removeContainerListener): Likewise.
12420         (addNotifyContainerChildren): Now private.
12421         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12422         @author.
12423         * java/awt/FlowLayout.java (serialVersionUID): New field.
12424         (setAlignment): Better exception message.
12425         (layoutContainer): Don't compute component's preferred size unless
12426         we're going to use it.
12427         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12428         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12429         (firstLine, lastLine, firstItem, lastItem): New fields.
12430         (addLayoutComponent): Handle case where constraints is null.
12431         Also, handle relative locations.
12432         (removeLayoutComponent): Handle relative locations.
12433         (MIN, MAX, PREF): New constants.
12434         (calcCompSize): New method.
12435         (calcSize): New method.
12436         (minimumLayoutSize): Use it.
12437         (preferredLayoutSize): Likewise.
12438         (maximumLayoutSize): Likewise.
12439         (toString): Include more information.
12440         (setBounds): New method.
12441         (layoutContainer): Use libgcj implementation; extended to handle
12442         relative locations.
12443
12444 2002-01-15  Tom Tromey  <tromey@redhat.com>
12445
12446         * java/lang/Float.java (equals): Preserve old code.
12447         * java/lang/Double.java (equals): Preserve old code.
12448
12449 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12450
12451         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12452         * java/lang/Float.java (equals, compare): Ditto.
12453
12454 2002-01-13  Mark Wielaard  <mark@klomp.org>
12455
12456         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12457         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12458         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12459         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12460
12461 2002-01-11  Mark Wielaard  <mark@klomp.org>
12462
12463         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12464         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12465         InetAddress.
12466         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12467         * java/net/Socket.java: Merge with Classpath.
12468         * java/net/ServerSocket.java: Likewise.
12469
12470 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12471
12472         * interpret.cc (NULLARRAYCHECK): New macro.
12473         (SAVE_PC): Just store `pc'.
12474         (find_exception): Subtract one from `pc' here.
12475         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12476         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12477         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12478         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12479         don't call SAVE_PC.
12480         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12481         call SAVE_PC.
12482
12483 2002-01-11  Tom Tromey  <tromey@redhat.com>
12484
12485         * java/lang/natSystem.cc (init_properties): Only look for default
12486         locale if LC_MESSAGES is defined.
12487         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12488         * configure.in: Call AM_LC_MESSAGES.
12489         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12490
12491 2002-01-10  Tom Tromey  <tromey@redhat.com>
12492
12493         For PR libgcj/5303:
12494         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12495         --version.  Recognize GNU-style long options.  Print GNU-style
12496         error messages.
12497         (usage): Print GNU-style help.  Exit with status 0.
12498         (error): New method.
12499         (run): Print error message if no class names found.
12500         (main): Don't print usage on error.
12501
12502 2002-01-09  Tom Tromey  <tromey@redhat.com>
12503
12504         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12505         property.
12506         (help, version): Use println(), not println("").
12507
12508         For PR libgcj/5303:
12509         * gnu/gcj/convert/Convert.java (error): Program is called
12510         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12511         -1.
12512         (main): Handle --help and --version.
12513         (help): New method.
12514         (version): Likewise.
12515
12516 2002-01-08  Tom Tromey  <tromey@redhat.com>
12517
12518         * Makefile.in: Rebuilt.
12519         * Makefile.am (ordinary_java_source_files): Added new files.
12520         * gnu/java/locale/LocaleInformation.java: Extend
12521         LocaleInformation_en.
12522         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12523         and time/date formats.
12524         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12525         generated.
12526         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12527         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12528         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12529         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12530         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12531         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12532         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12533         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12534         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12535         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12536         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12537         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12538         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12539         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12540         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12541         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12542         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12543         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12544         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12545         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12546         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12547         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12548         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12549         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12550         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12551         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12552         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12553         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12554         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12555         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12556         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12557         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12558         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12559         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12560         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12561         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12562         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12563         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12564         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12565         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12566         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12567         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12568         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12569         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12570         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12571         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12572         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12573         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12574         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12575         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12576         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12577         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12578         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12579         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12580         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12581         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12582         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12583         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12584         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12585         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12586         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12587         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12588         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12589         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12590         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12591         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12592         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12593         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12594         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12595         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12596         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12597         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12598         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12599         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12600         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12601         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12602         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12603         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12604         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12605         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12606         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12607         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12608         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12609         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12610         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12611         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12612         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12613         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12614         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12615         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12616         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12617         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12618         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12619         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12620         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12621         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12622         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12623         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12624         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12625         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12626         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12627         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12628         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12629         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12630         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12631         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12632         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12633         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12634         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12635         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12636         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12637         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12638         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12639         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12640         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12641         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12642         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12643         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12644         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12645         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12646         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12647         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12648         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12649         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12650         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12651         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12652         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12653         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12654         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12655         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12656
12657         For PR libgcj/5031:
12658         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12659         choose default locale.
12660
12661         * Makefile.in: Rebuilt.
12662         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12663
12664 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12665
12666         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12667         sockets.
12668         (close): New function closes the socket.
12669         (write): New functions for output to socket.
12670         (read): New functions for reading from socket.
12671         * java/net/PlainSocketImpl.java: Glue for new timeout
12672         implementation.
12673         (write): Call the native impl.
12674         (read): Likewise.
12675         (getInputStream): Get a stream to read from the socket.
12676         (getOutputStream): Get a stream to write to the socket.
12677
12678 2002-01-08  Tom Tromey  <tromey@redhat.com>
12679
12680         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12681
12682 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12683
12684         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12685         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12686
12687 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12688
12689         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12690         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12691         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12692         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12693         insn_bastore, insn_castore, insn_sastore]: Use it.
12694         (continue1) [insn_arraylength]: Check for null array.
12695
12696 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12697
12698         * configure, include/config.h.in: Rebuilt.
12699         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12700         * configure.in: Call AC_STRUCT_TIMEZONE.
12701
12702 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12703
12704         * configure.host: Disable the interpreter for Darwin.
12705
12706 2002-01-04  Tom Tromey  <tromey@redhat.com>
12707
12708         * java/lang/Thread.java (stop): No longer synchronized.
12709         (start): Likewise.
12710
12711 2002-01-02  Tom Tromey  <tromey@redhat.com>
12712
12713         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12714         patch.
12715
12716 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12717
12718         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12719         PPC Darwin, not for all of Darwin.