OSDN Git Service

2003-10-11 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-10-11  Michael Koch  <konqueror@gmx.de>
2
3         * java/awt/print/Pageable.java,
4         * java/awt/print/Printable.java,
5         java/awt/print/PrinterGraphics.java:
6         Removed redundant modifiers.
7
8 2003-10-11  Michael Koch  <konqueror@gmx.de>
9
10         * java/awt/peer/ButtonPeer.java,
11         java/awt/peer/CheckboxMenuItemPeer.java,
12         java/awt/peer/CheckboxPeer.java,
13         java/awt/peer/ChoicePeer.java,
14         java/awt/peer/ComponentPeer.java,
15         java/awt/peer/ContainerPeer.java,
16         java/awt/peer/DialogPeer.java,
17         java/awt/peer/FileDialogPeer.java,
18         java/awt/peer/FramePeer.java,
19         java/awt/peer/LabelPeer.java,
20         java/awt/peer/ListPeer.java,
21         java/awt/peer/MenuBarPeer.java,
22         java/awt/peer/MenuComponentPeer.java,
23         java/awt/peer/MenuItemPeer.java,
24         java/awt/peer/MenuPeer.java,
25         java/awt/peer/PopupMenuPeer.java,
26         java/awt/peer/RobotPeer.java,
27         java/awt/peer/ScrollPanePeer.java,
28         java/awt/peer/ScrollbarPeer.java,
29         java/awt/peer/TextAreaPeer.java,
30         java/awt/peer/TextComponentPeer.java,
31         java/awt/peer/TextFieldPeer.java,
32         java/awt/peer/WindowPeer.java:
33         Removed redundant modifiers.
34
35 2003-10-11  Michael Koch  <konqueror@gmx.de>
36
37         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
38         * gnu/java/nio/ServerSocketChannelImpl.java
39         (serverSocket): Made it a NIOServerSocket.
40         (impl): Removed.
41         (ServerSocketChannelImpl): Initialize only serverSocket.
42         (initServerSocket): Removed.
43         (getNativeFD): Rewritten.
44         (implConfigureBlocking): Set socket timeout and removed comment.
45         (accept): Rewritten.
46         * gnu/java/nio/SocketChannelImpl.java
47         (impl): New variable.
48         (connected): Removed.
49         (SocketChannelImpl): Initialize impl too.
50         (getImpl): New method.
51         (isConnected): Rewritten.
52         (read): Rewritten, set position in buffer correctly.
53         (write): Set position in buffer correctly.
54         * java/net/ServerSocket.java (getImpl): New method.
55         * gnu/java/nio/NIOServerSocket.java,
56         gnu/java/nio/natNIOServerSocket.cc: New files.
57         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
58         * Makefile.am
59         (ordinary_java_source_files):
60         Added gnu/java/nio/NIOServerSocket.java.
61         (nat_source_files):
62         Removed gnu/java/nio/natServerSocketChannelImpl.cc
63         and added gnu/java/nio/natNIOServerSocket.cc.
64         * Makefile.in: Regenerated.
65
66 2003-10-11  Michael Koch  <konqueror@gmx.de>
67
68         * java/awt/ActiveEvent.java,
69         java/awt/datatransfer/ClipboardOwner.java,
70         java/awt/datatransfer/FlavorMap.java,
71         java/awt/datatransfer/Transferable.java,
72         java/awt/dnd/Autoscroll.java,
73         java/awt/dnd/peer/DragSourceContextPeer.java,
74         java/awt/dnd/peer/DropTargetContextPeer.java,
75         java/awt/dnd/peer/DropTargetPeer.java,
76         java/awt/font/MultipleMaster.java,
77         java/awt/font/OpenType.java,
78         java/awt/im/spi/InputMethodDescriptor.java,
79         java/awt/image/ImageObserver.java,
80         java/awt/image/ImageConsumer.java,
81         java/awt/image/ImageProducer.java,
82         java/awt/image/RGBImageFilter.java,
83         java/awt/image/RasterOp.java,
84         java/awt/image/renderable/RenderableImage.java:
85         Removed redundant modifiers.
86
87 2003-10-11  Michael Koch  <konqueror@gmx.de>
88
89         * gnu/awt/j2d/DirectRasterGraphics.java,
90         gnu/java/awt/EmbeddedWindowSupport.java:
91         Removed redundant modifiers.
92
93 2003-10-09  Michael Koch  <konqueror@gmx.de>
94
95         * gnu/java/nio/SelectorImpl.java (register):
96         Use ServerSocketChannelSelectionKey for server socket channels,
97         removed unneeded comments.
98         * gnu/java/nio/ServerSocketChannelImpl.java
99         (ServerSocketChannelImpl): Made class public final.
100         (impl): New member variable.
101         (ServerSocketChannelImpl): Initialize member variables correctly.
102         (initServerSocket): New method.
103         (getNativeFD): Likewise.
104         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
105         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
106         * Makefile.am (ordinary_java_source_files):
107         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
108         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
109         * Makefile.in: Regenrated.
110
111 2003-10-09  Michael Koch  <konqueror@gmx.de>
112
113         * java/nio/channels/spi/AbstractSelectableChannel.java
114         (registered): Made private.
115         (blocking): Likewise.
116         (LOCK): Likewise.
117         (provider): Likewise.
118         (keys): Made it a private LinkedList.
119         (AbstractSelectableChannel): Initialize keys.
120         (isRegistered): New implementation.
121         (locate): Rewritten.
122         (register): Rewritten.
123         * java/nio/channels/spi/AbstractSelectionKey.java
124         (ok): Removed.
125         (cancelled): New member variable.
126         (cancel): Rewritten.
127         (isValid): Rewritten.
128         * java/nio/channels/spi/AbstractSelector.java:
129         Some methods moved.
130         (closed): Make private.
131         (provider): Likewise.
132         (cancelledKeys): New member variable.
133         (AbstractSelector): Initialize cancelledKeys.
134         (cancelKey): New method.
135
136 2003-10-09  Tom Tromey  <tromey@redhat.com>
137
138         * java/lang/ClassLoader.java (setSigners): Implemented.
139         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
140         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
141         Initialize new fields.
142         * java/lang/Class.java (getSigners): Now native.
143         (setSigners): Declare.
144         * java/lang/natClass.cc (getSigners): New method.
145         (getSigners): Likewise.
146         * java/lang/Class.h (Class::signers): New field.
147         (Class::setSigners): New method.
148
149 2003-10-09  Michael Koch  <konqueror@gmx.de>
150
151         * java/rmi/server/RMIClassLoader.java:
152         Removed unused imports, little reformatings.
153         (getClassLoader): New method, implementation was part of old loadCLass
154         method.
155         (loadClass): Simplified by moving functionality to new method and
156         reworking the code a bit.
157         (getClassAnnotation): Merged documentation from classpath.
158
159 2003-10-09  Michael Koch  <konqueror@gmx.de>
160
161         * java/math/BigInteger.java
162         (add): Removed unused local variable len.
163
164 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
165
166         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
167         modality check.
168         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
169         Initialize insets to use latest insets.
170         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
171         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
172         field.
173         (postConfigureEvent): Update latestInsets field when insets
174         change.  Remove call to setSize.  Move validate call outside of
175         if blocks.
176         (setVisible): Call setBounds before showing window.
177         (nativeSetVisible): New native method.
178         * java/awt/Window.java (show): Show visible owned windows.
179         (hide): Hide visible owned windows.
180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
181         (awt_event_handler): Implement modality using GTK grabs.
182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
183         (global_gtk_window_group): New global variable.
184         (gtkInit): Initialize global_gtk_window_group.
185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
186         Clamp width and height values to at least 1.  Add this window to
187         the global GTK window group.
188         (setVisible): Rename to nativeSetVisible.
189         (setup_window): Remove function.
190         (setSize): Clamp width and height values to at least 1.
191         (nativeSetBounds): Likewise.
192         (gdk_window_get_root_geometry): Remove function.
193         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
194         and setup_window declarations.  Declare global_gtk_window_group.
195
196         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
197         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
198         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
199         (gtkWidgetSetForeground): New method.
200         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
201         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
202         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
203         (setBackground, setForeground): Implement.
204         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
205         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
206         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
207         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
208         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
210         Position PangoLayout relative to text's baseline.
211         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
212
213         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
214         for CENTER and RIGHT alignments.
215
216 2003-10-08  Michael Koch  <konqueror@gmx.de>
217
218         * java/security/Security.java: Reformated.
219
220 2003-10-08  Michael Koch  <konqueror@gmx.de>
221
222         * java/text/SimpleDateFormat.java
223         (compileFormat): Replace Character.isLetter() test with
224         Character.isLowerCase() || Character.isUpperCase().
225
226 2003-10-08  Tom Tromey  <tromey@redhat.com>
227
228         * java/lang/StrictMath.java (toDegrees): Multiply before
229         dividing.
230         (toRadians): Likewise.
231
232 2003-10-08  C. Brian Jones  <cbj@gnu.org>
233
234         * java/lang/Math.java
235         (toRadians): multiply before dividing to reduce decimal error
236         (toDegrees): ditto
237
238 2003-10-08  Michael Koch  <konqueror@gmx.de>
239
240         * gnu/gcj/protocol/core/Connection.java,
241         gnu/gcj/protocol/core/CoreInputStream.java,
242         gnu/gcj/protocol/core/Handler.java,
243         gnu/gcj/protocol/core/natCoreInputStream.cc,
244         gnu/gcj/protocol/file/Connection.java,
245         gnu/gcj/protocol/file/Handler.java,
246         gnu/gcj/protocol/gcjlib/Connection.java,
247         gnu/gcj/protocol/gcjlib/Handler.java,
248         gnu/gcj/protocol/http/Connection.java,
249         gnu/gcj/protocol/http/Handler.java,
250         gnu/gcj/protocol/jar/Connection.java,
251         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
252         * gnu/java/net/protocol/core/Connection.java,
253         gnu/java/net/protocol/core/CoreInputStream.java,
254         gnu/java/net/protocol/core/Handler.java,
255         gnu/java/net/protocol/core/natCoreInputStream.cc,
256         gnu/java/net/protocol/file/Connection.java,
257         gnu/java/net/protocol/file/Handler.java,
258         gnu/java/net/protocol/gcjlib/Connection.java,
259         gnu/java/net/protocol/gcjlib/Handler.java,
260         gnu/java/net/protocol/http/Connection.java,
261         gnu/java/net/protocol/http/Handler.java,
262         gnu/java/net/protocol/jar/Connection.java,
263         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
264         * gnu/gcj/runtime/FirstThread.java,
265         java/net/URL.java: Use moved protocol handlers.
266         * Makefile.am
267         (ordinary_java_source_files): Moved files.
268         (nat_source_files): Likewise.
269         * Makefile.in: Regenerated.
270
271 2003-10-08  Michael Koch  <konqueror@gmx.de>
272
273         * gnu/java/nio/SocketChannelImpl.java
274         (read): Write only read data to buffer.
275
276 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
277
278         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
279         out.
280         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
281         (JCL_free): Attach "unused" attribute to env parameter.
282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
283         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
284         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
285         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
286         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
287         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
288         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
289         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
290         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
291         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
292         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
293         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
294         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
295         parameters.
296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
297         (initNativeState): Pass 0 as info argument to
298         gtk_selection_add_target.
299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
300         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
301         unused method implementations.
302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
303         (awt_event_handler): Add break statement after default label.
304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
305         (drawPixels): Remove unused variable i.
306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
307         (setEnabled): Remove method implementation.
308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
309         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
310         argument.
311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
312         unused function.
313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
314         (menu_pos): Assign TRUE to push_in.
315         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
316         argument.
317         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
318         (create): Remove unused variable layout.
319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
320         Pass window_widget, rather than window, to
321         gtk_widget_set_size_request.
322         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
323         structure initialization with NULL values.
324         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
325
326 2003-10-08  Michael Koch  <konqueror@gmx.de>
327
328         * java/util/LinkedList.java:
329         Removed whitespace to match classpath's version again.
330
331 2003-10-08  Michael Koch  <konqueror@gmx.de>
332
333         * java/util/prefs/Preferences.java
334         (defaultFactoryClass): Fixed class name.
335         (getFactory): Create instance of class returned by Class.forName(),
336         reformated code.
337
338 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
339
340         * javax/swing/table/AbstractTableModel.java
341         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
342         helped stop pulling my hair on this +1 then -1 tricky thing!
343
344 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
345
346         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
347         Remove unused parameters.
348         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
349         Likewise.
350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
351         (keyevent_state_to_awt_mods): Export function.
352         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
353         (getCaretPosition): Fix TextArea case.
354         (textcomponent_commit_cb): Get exact event time and modifier
355         state.
356         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
357
358 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
359
360         * java/net/InetSocketAddress.java
361         (InetSocketAddress): Made exception more clear.
362         (equals): Handle case when addr is null.
363         (toString): Likewise.
364         * java/net/NetworkInterface.java
365         (static): Load native library.
366         (getNetworkInterfaces): Rewritten.
367
368 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
369
370         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
371         field.
372         (initializeInsets): New method.
373         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
374         setBounds unconditionally.
375         (setBounds): Convert coordinates if parent is a Window.
376         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
377         field to GtkComponentPeer.
378         (GtkContainerPeer): Don't initialize insets.
379         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
380         New method.
381         (create): Call new GtkWindowPeer create method.
382         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
383         New method.
384         (create): Call new GtkWindowPeer create method.
385         (setBounds): Remove method.
386         (postConfigureEvent): Likewise.
387         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
388         type constants with GDK window type constants.
389         (create(int,boolean,int,int,GtkWindowPeer)): New method.
390         (create(int,boolean)): Likewise.
391         (create()): Call create(int,boolean).
392         (nativeSetBounds): New native method declaration.
393         (setBounds): Call native method declaration.
394         (setSize): New native method declaration.
395         (setBoundsCallback): Likewise.
396         (postConfigureEvent): Handle change in insets.  Call setSize and
397         setBoundsCallback methods.
398         * java/awt/Window.java (Window): Set visible to false.
399         (setBoundsCallback): New method.
400         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
401         (gtkWidgetGetLocationOnScreen): If this component is not a
402         container, adjust the location returned based on the peer's
403         allocation.
404         (set(String,boolean)): Revert change from 2003-09-19.
405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
406         (awt_event_handler): Fix inset calculation.
407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
408         glue for Window.setBoundsCallback.
409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
410         Set up stacking order, window decorations and window manager
411         hints.
412         (setBoundsCallback): New method.
413         (setSize): New method.
414         (nativeSetBounds): New method.
415         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
416
417 2003-10-02  Tom Tromey  <tromey@redhat.com>
418
419         * java/lang/VMClassLoader.java (loadClass): Now native.
420         * java/lang/natClassLoader.cc (loadClass): Implement.
421         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
422
423 2003-10-02  Michael Koch  <konqueror@gmx.de>
424
425         * java/net/InetAddress.java
426         (zeros): Removed.
427         (ANY_IF): Initalizie in static block.
428         (static): Load library with native methods here and initialize ANY_IF.
429         (isAnyLocalAddress): Check if equal to ANY_IF.
430         (equals): Use addr directly instead of addr1. Simplify for loop.
431         (toString): Rename "result" to "host" and add IP address allways.
432         (getLocalHost): Merged documentation from classpath.
433         * java/net/ServerSocket.java
434         (ServerSocket): New package-private constructor used by java.nio.
435         * java/net/URLConnection.java
436         (getRequestProperties): Check if already connected.
437
438 2003-10-02  Michael Koch  <konqueror@gmx.de>
439
440         * java/nio/ByteBufferHelper.java:
441         Rewrote all methods by suggestions from Eric Blake.
442
443 2003-10-02  Michael Koch  <konqueror@gmx.de>
444
445         * java/net/URL.java
446         (DEFAULT_SEARCH_PATH): New static variable.
447         (ph_cache): Made it a HashMap.
448         (getURLStreamHandler): Rename propVal to ph_search_path and use
449         DEFAULT_SEARCH_PATH.
450
451 2003-10-02  Michael Koch  <konqueror@gmx.de>
452
453         * javax/swing/table/AbstractTableModel.java
454         (findColumnName): Prevent from NullPointerException if argument
455         columnName is null.
456
457 2003-10-02  Michael Koch  <konqueror@gmx.de>
458
459         * javax/swing/table/AbstractTableModel.java:
460         This patch is based on a patch done by Arnaud Vandyck
461         <arnaud.vandyck@ulg.ac.be>.
462         (getColumnName): Fixed method documentation.
463         (findColumn): Likewise.
464         (getColumnClass): Likewise.
465         (isCellEditable): Likewise.
466         (setValueAt): Likewise.
467         (addTableModelListener): Likewise.
468         (removeTableModelListener): Likewise.
469         (getTableModelListeners): New method.
470
471 2003-10-02  Michael Koch  <konqueror@gmx.de>
472
473         * javax/swing/table/AbstractTableModel.java:
474         Reformated.
475
476 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
477
478         Fix PR libgcj/12475
479         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
480         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
481
482 2003-10-01  Tom Tromey  <tromey@redhat.com>
483
484         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
485
486 2003-10-01  Andrew Haley  <aph@redhat.com>
487
488         * java/lang/natClass.cc (initializeClass): Check for otable and
489         atable.
490         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
491         loops using for().  Search superinterfaces.  Check for fields as
492         well as methods.  Initialize atable as well as otable: check for
493         static methods as well as virtual methods.
494         * java/lang/Class.h (struct _Jv_AddressTable): New.
495         (atable): New.
496         (atable_syms): New.
497         * include/jvm.h (_Jv_equalUtf8Consts): constify.
498         * prims.cc (_Jv_equalUtf8Consts): constify.
499
500 2003-09-29  Tom Tromey  <tromey@redhat.com>
501
502         PR libgcj/10596:
503         * include/jvm.h (_Jv_FinalizeString,
504         _Jv_RegisterStringFinalizer): Declare.
505         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
506         unintern.
507         (intern): Updated.
508         (_Jv_NewStringUtf8Const): Likewise.
509         * java/lang/ref/natReference.cc (finalize_referred_to_object):
510         Add special case when finalizing a String.
511         (in_hash): New function.
512         (_Jv_RegisterStringFinalizer): Likewise.
513         (maybe_add_finalize): Likewise.
514
515 2003-09-29  Michael Koch  <konqueror@gmx.de>
516
517         * java/net/InetAddress.java:
518         (isMulticastAddress): Dont use local variable to store address length.
519         Let the compiler optimize this.
520         (getHostName): Merged dcoumentation from classpath.
521         (getAddress): Likewise.
522         (getHostAddress): Likewise.
523         (hashCode): Likewise.
524         (equals): Likewise.
525         (toString): Likewise.
526         (getByName): Likewise.
527         (getAllByName): Likewise.
528
529 2003-09-29  Michael Koch  <konqueror@gmx.de>
530
531         * java/awt/image/IndexColorModel.java: Reformated.
532
533 2003-09-29  Michael Koch  <konqueror@gmx.de>
534
535         * java/net/InetAddress.java,
536         java/net/URL.java: Reformated.
537
538 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
539
540         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
541         significant bit of descriptor. Include the vtable and sync_info 
542         fields.
543
544 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
545
546         * java/text/DateFormat.java (format): Throw IllegalArgumentException
547         if `obj' is not a Number or Date instance.
548         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
549         instead of Vector.
550
551 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
552
553         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
554         Don't call setTimeZone on calendar.
555
556 2003-09-27  Michael Koch  <konqueror@gmx.de>
557
558         * java/net/URL.java (getURLStreamHandler): Compile fixes.
559
560 2003-09-27  Michael Koch  <konqueror@gmx.de>
561
562         * java/net/URL.java (getURLStreamHandler):
563         Check if we have to use cache before trying to retrieve handler from
564         cache. Rename facName to clsName to match classpath more. Reformated
565         some little pieces.
566
567 2003-09-27  Michael Koch  <konqueror@gmx.de>
568
569         * gnu/java/nio/SelectionKeyImpl.java
570         (ch): Make package-private again. Jikes found this bug.
571         Jeff Sturm submitted PR12426 for this to bugzilla
572         to fix this bug in gcj.
573
574 2003-09-26  Michael Koch  <konqueror@gmx.de>
575
576         * java/rmi/server/RMIClassLoader.java:
577         Reformatted file, no functional code changes.
578
579 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
580
581         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
582         Save space for some pixels at the buffer end.  Added Javadoc.
583
584 2003-09-26  Tom Tromey  <tromey@redhat.com>
585
586         * java/io/ObjectOutputStream.java (writeFields): Fixed
587         indentation.
588         (putFields): Likewise.
589
590 2003-09-26  Michael Koch  <konqueror@gmx.de>
591
592         * java/nio/ByteBufferHelper.java:
593         Totally reworked with help from Eric Blake.
594
595 2003-09-26  Tom Tromey  <tromey@redhat.com>
596
597         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
598         * java/awt/geom/PathIterator.java: Documentation fixes.
599
600 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
601
602         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
603         (select): Likewise.
604         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
605
606 2003-09-25  Michael Koch  <konqueror@gmx.de>
607
608         * gnu/java/nio/DatagramChannelImpl.java
609         (getNativeFD): New method.
610         * gnu/java/nio/SelectionKeyImpl.java
611         (SelectionKeyImpl): Class made abstract.
612         (fd): Removed.
613         (SelectionKeyImpl): Remove fd argument.
614         (getNativeFD): New method.
615         * gnu/java/nio/SocketChannelImpl.java
616         (getNativeFD): New method.
617         gnu/java/nio/DatagramChannelSelectionKey.java,
618         * gnu/java/nio/SocketChannelSelectionKey.java:
619         New files.
620         * Makefile.am (ordinary_java_source_files):
621         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
622         gnu/java/nio/SocketChannelSelectionKey.java.
623         * Makefile.in: Regenerated.
624
625 2003-09-25  Michael Koch  <konqueror@gmx.de>
626
627         * java/lang/reflect/Proxy.java
628         (getProxyClass): Remove workaround for gcj 3.0.x.
629
630 2003-09-25  Michael Koch  <konqueror@gmx.de>
631
632         * gnu/java/net/PlainDatagramSocketImpl.java
633         (finalize): Moved to directly after constructor.
634         (getNativeFD): New method.
635         * gnu/java/net/PlainSocketImpl.java
636         (getNativeFD): New method.
637
638 2003-09-25  Ingo Proetel  <proetel@aicas.com>
639
640         * java/io/ObjectOutputStream.java:
641         Allow putFields be called more than once.
642
643 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
644
645         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
646         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
647         * java/awt/image/BufferedImage.java (toString): Implement.
648
649 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
650
651         * aclocal.m4: Rebuilt.
652         * configure: Rebuilt.
653
654 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
655
656         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
657         field.
658
659 2003-09-25  Michael Koch  <konqueror@gmx.de>
660
661         * gnu/java/nio/SelectorImpl.java
662         (implSelect): Renamed from java_do_select.
663         (select): Call native implSelect() and add support for Thread
664         interruption.
665         * gnu/java/nio/natSelectorImpl.cc
666         (implSelect): Renamed from java_do_select.
667
668 2003-09-25  Michael Koch  <konqueror@gmx.de>
669
670         * gnu/java/nio/SelectorImpl.java
671         (selectNow): Made final, throws IOException.
672         (select): Likewise.
673         (getFDsAsArray): Made final.
674         (selectedKeys): Likewise.
675         (wakeup): Likewise.
676         (deregisterCancelledKeys): Likewise.
677         (register): Likewise.
678         (ass): Removed.
679         (add_selected): Removed.
680         * gnu/java/nio/natSelectorImpl.cc:
681         No need to include bstring.h or gcj/cni.h.
682         (helper_put_filedescriptors): Rewritten.
683         (helper_get_filedescriptors): Rewritten.
684
685 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
686
687         * java/awt/font/FontRenderContext.java (getTransform): Return
688         copy of internal transform object. Add Javadoc.
689         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
690         winding rule as Sun J2SE.
691         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
692
693 2003-09-25  Ingo Proetel  <proetel@aicas.com>
694
695         * java/rmi/Naming.java:
696         Added comments, now accepts pseudo protocol "rmi".
697
698 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
699
700         * java/text/DecimalFormat.java (format): Don't immediatly round
701         baseNumber to long.
702         (setMinimumIntegerDigits): Call super.
703         (setMinimumFractionDigits): Likewise.
704         (setMaximumIntegerDigits): Likewise.
705         (setMaximumFractionDigits): Likewise.
706
707 2003-09-25  Michael Koch  <konqueror@gmx.de>
708
709         * gnu/java/nio/DatagramChannelImpl.java
710         (DatagramChannelImpl): Made class final.
711         (blocking): Made private.
712         (socket): Made it a NIODatagramSocket and private.
713         (DatagramChannelImpl): create NIODatagramSocket instead of
714         DatagramSocket.
715         (implConfigureBlocking): Set socket timeout.
716         (connect): Check that channel is not closed.
717         (write): Implemented.
718         (write): Rewritten.
719         (read): Implemented.
720         (read): Rewritten.
721         (receive): Implemented.
722         (send): Implemented.
723         * gnu/java/nio/SelectionKeyImpl.java
724         (readyOps): Made private.
725         (interestOps): Made private.
726         (impl): Made private.
727         (ch): Made private.
728         (readyOps): Check if selection key is valid.
729         (interestOps): Likewise.
730         * gnu/java/nio/SelectorImpl.java
731         (closed): Removed.
732         (keys): Made private.
733         (selected): Made private.
734         (finalize): New method.
735         (implCloseSelector): Rewritten.
736         (keys): Return unmodifiable Set.
737         (deregisterCancelledKeys): Fixed typo in method name.
738         * gnu/java/nio/SocketChannelImpl.java
739         (SocketChannelImpl): Made class final.
740         (socket): Made it a NIOSocket and private.
741         (blocking): Made private.
742         (connected): Made private.
743         (connectionPending): New member variable.
744         (SocketChannelImpl): New implementation.
745         (finalizer): Use isConnected().
746         (connect): Rewritten.
747         (finishConnect): Throws IOException, implemented.
748         (isConnectionPending): Return connectionPending.
749         (read): Rewritten.
750         (write): Rewritten.
751         * gnu/java/nio/NIOConstants.java: New file.
752         * Makefile.am (ordinary_java_source_files):
753         Added gnu/java/nio/NIOConstants.java.
754         * Makefile.in: Regenerated.
755
756 2003-09-25  Michael Koch  <konqueror@gmx.de>
757
758         * java/net/InetAddress.java:
759         Reorder imports, remove implementation comment.
760         (isMulticastAddress): Merged documentation from classpath.
761         * java/net/URLConnection.java
762         (setRequestProperty): Check key for null, fix documentation.
763         (adREquestProperty): Check key for null, remove wrong implementation
764         and replace it with comment to overwrite this method in subclasses,
765         fix documentation.
766
767 2003-09-25  Tom Tromey  <tromey@redhat.com>
768
769         * java/lang/reflect/Proxy.java (generate): Uncomment protection
770         domain code.
771         * java/lang/natClassLoader.cc (defineClass): Added `loader'
772         argument.
773         (linkClass0): Now in VMClassLoader.
774         (markClassErrorState0): Likewise.
775         (getSystemClassLoaderInternal): New method.
776         * java/lang/natClass.cc (initializeClass): Use
777         VMClassLoader::resolveClass.
778         * java/lang/ClassLoader.java: New version, from Classpath.
779         * java/lang/Class.java (getProtectionDomain):
780         protectionDomainPermission and unknownProtectionDomain now in
781         VMClassLoader.
782         * java/lang/Class.h: VMClassLoader now a friend class.
783         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
784         package-private.
785         * gcj/javaprims.h: Regenerated class list.
786         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
787         * java/lang/VMClassLoader.java: New version from Classpath;
788         modified for libgcj use.
789
790 2003-09-25  Michael Koch  <konqueror@gmx.de>
791
792         * java/nio/ByteBufferHelper.java:
793         New file.
794         * java/nio/ByteBufferImpl.java,
795         java/nio/DirectByteBufferImpl.java,
796         java/nio/MappedByteBufferImpl.java
797         (getType,putType): Use new helper class ByteBufferHelper.
798         * Makefile.am (ordinary_java_source_files):
799         Added java/nio/ByteBufferHelper.java.
800         * Makefile.in: Regenerated.
801
802 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
803
804         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
805         PR libgcj/12388.
806
807 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
808
809         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
810         Strings, even if buffer is already shared.
811
812 2003-09-24  Michael Koch  <konqueror@gmx.de>
813
814         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
815
816 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
817
818         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
819         (write): Likewise.
820         (SocketInputStream): Declare `read' and `write' methods native.
821         Remove implementations which called back into PlainSocketImpl.
822         Remove unneccessary overridden methods.
823         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
824         to inner class PlainSocketImpl.SocketInputStream.
825         (write): Likewise.
826         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
827         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
828         * gnu/java/net/SocketInputStream.java: Remove unused file.
829         * gnu/java/net/SocketOutputStream.java: Likewise.
830         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
831         and SocketOutputStream.
832         * Makefile.in: Rebuilt.
833
834 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
835
836         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
837
838         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
839         markers.
840
841 2003-09-22  Anthony Green  <green@redhat.com>
842
843         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
844         * configure: Rebuilt.
845
846 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
847
848         PR java/12350:
849         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
850
851 2003-09-22  Michael Koch  <konqueror@gmx.de>
852
853         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
854         compiler warning but produces a different one now.
855
856 2003-09-22  Michael Koch  <konqueror@gmx.de>
857
858         * java/net/InetAddress.java:
859         Moves around some code, reformats and adds documentation.
860         No functional changes.
861
862 2003-09-22  Michael Koch  <konqueror@gmx.de>
863
864         * java/net/JarURLConnection.java
865         (JarURLConnection): Modifed code to match classpath more, fixed comment.
866         (getCertificates): Made it more error prone.
867         (getMainAttributes): Likewise.
868         (getAttributes): Implemented.
869         (getManifest): Reformatted code.
870
871 2003-09-20  Tom Tromey  <tromey@redhat.com>
872
873         * java/awt/Component.java: Indentation cleanup from Classpath.
874
875 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
876
877        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
878        checking to follow 1.4.2 spec.
879
880 2003-08-11  Ingo Proetel  <proetel@aicas.com>
881
882         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
883         is compatible in case client and server are running in the same VM
884         (remerged from Classpath on 2003-09-20)
885
886 2003-09-19  David Daney <ddaney@avtrex.com>
887
888         * java/lang/ref/Reference.java (clear): Set referent to null and
889         synchronize.
890
891 2003-09-19  Michael Koch  <konqueror@gmx.de>
892
893         * gnu/java/nio/NIODatagramSocket.java,
894         gnu/java/nio/NIOSocket.java: New files.
895         * Makefile.am (ordinary_java_source_files):
896         Added gnu/java/nio/NIODatagramSocket.java and
897         gnu/java/nio/NIOSocket.java.
898         * Makefile.in: Regenerated.
899
900 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
901
902         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
903         top-level GTK window.
904         (getArgs): Add "title" property.
905         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
906         "allow_shrink" and "allow_grow" properties.
907         * java/awt/Dialog.java: Initialize resizable to true and change
908         comments accordingly.  Initialize visible to false in
909         constructors.
910         * java/awt/Frame.java (dispose): Remove method.
911         * java/awt/Window.java (ownedWindows): New field.
912         (Window(Window,GraphicsConfiguration)): Add a weak reference to
913         owner's ownedWindows vector.
914         (finalize): Remove method.
915         (hide): Hide owned windows.
916         (dispose): Dispose of owned windows.
917         (getOwnedWindows): Implement.
918         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
919         unused GtkArg code.
920         (set(String,boolean)): Clamp gboolean parameter to g_object_set
921         to TRUE or FALSE.
922         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
923         (create): Set window's size requisition.
924         (connectHooks): Fix indentation.
925         (setResizable): Remove function.
926         (static setBounds): Likewise.
927         (setBounds): Replace call to setBounds with GTK size requisition
928         and resize calls.
929
930 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
931
932         * win32-threads.cc: (ensure_interrupt_event_initialized) New
933         function for lazy initialization of an auto-reset event.
934         (_Jv_CondWait) Added thread interrupt support.
935         (_Jv_ThreadInitData) Added initialization of interrupt support
936         members.
937         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
938         (_Jv_ThreadStart) Removed unused code.
939         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
940         to an external caller.
941         (_Jv_ThreadInterrupt) Implemented.
942         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
943         event for interrupt support as well as a mutex which regulates
944         access to this.
945         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
946         event to an external caller.
947         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
948         process.
949         (waitFor) Added interrupt support.
950
951 2003-09-19  Michael Koch  <konqueror@gmx.de>
952
953         * java/net/DatagramSocket.java (getLocalAddress):
954         Renamed result variable to localAddr.
955         * java/net/MulticastSocket.java:
956         No need to import gnu.java.net.PlainDatagramSocketImpl.
957
958 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
959
960         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
961         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
962
963 2003-09-18  Tom Tromey  <tromey@redhat.com>
964
965         * javax/naming/InitialContext.java: Reindented.
966
967 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
968             Helmer Kraemer <hkraemer@freenet.de>
969
970         * javax/naming/spi/NamingManager.java (getURLContext,
971         getObjectInstance, getStateToBind): Always use current thread's
972         context class loader when calling Class.forName.
973
974 2003-09-18  Michael Koch  <konqueror@gmx.de>
975
976         * java/util/Timer.java (finalize): Added "throws Throwable".
977
978 2003-09-18  Michael Koch  <konqueror@gmx.de>
979
980         * java/net/DatagramSocket.java
981         (ch): Removed.
982         (receive): Use getChannel() instead of ch.
983         (send): Likewise.
984         (getChannel): Return null.
985         * java/net/ServerSocket.java
986         (ch): Removed.
987         (setChannel): Removed.
988         (implAccept): Use getChannel() instead of ch.
989         (close): Likewise.
990         (getChannel): Return null.
991         * java/net/Socket.java
992         (ch): Removed.
993         (connect): Use getChannel() instead of ch.
994         (setChannel): Removed.
995         (getChannel): Return null.
996
997 2003-09-18  Mark Wielaard  <mark@klomp.org>
998
999         Reported by Guilhem Lavaux and Julian Dolby
1000         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
1001         field "serialPersistentFields", not "getSerialPersistentFields".
1002
1003 2003-09-18  Ingo Proetel  <proetel@aicas.com>
1004
1005         * java/util/TimeZone.java: Initialize lazily.
1006         * java/util/Locale.java (readManifest): Fix check for country.
1007         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
1008         traceable 
1009         * java/util/Calendar.java: Make use of ResourceBundle better
1010         traceable.
1011
1012 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
1013
1014         * java/sql/Timestamp.java
1015         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
1016
1017 2003-09-18  David P Grove  <groved@us.ibm.com>
1018
1019         * java/io/LineNumberReader (read): Don't reset pos & limit when
1020         markPos is 0.
1021
1022 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
1023
1024         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
1025         constant.
1026         (computeArguments): use computeTypicalArguments.
1027
1028         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
1029         Compile_jikes.java and RMICException.java.
1030         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
1031         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
1032         * gnu/java/rmi/rmic/RMICException.java: Likewise.
1033  
1034         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
1035  
1036         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
1037         (computeTypicalArguments): New method.
1038         (compile): Print compiler output to System.out. Collect compiler
1039         error output and use it in exception message.
1040  
1041         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
1042         (destination): Initialize to null.
1043         (run): Replace file separator with '.' when processing class.
1044         (processClass): Replace '.' with file separator when compiling
1045         classes.
1046         (findClass): Use SystemClassLoader to load class.
1047         (generateStub): Use full class name for generated stub, that puts
1048         it in right path.  Replace '.' with file separator when generating
1049         stub file name. Write just the stub class name without package
1050         information as class name, and constructor name. Write only
1051         interface names for interfaces extending java.rmi.Remote as
1052         implemented.
1053         (generateSkel): Use full class name for generated skel, that puts
1054         it in right path.  Replace '.' with file separator when generating
1055         stub file name. Write just the stub class name without package
1056         information as class name.
1057
1058 2003-09-18  Michael Koch  <konqueror@gmx.de>
1059
1060         * Makefile.am (rmi_java_source_files):
1061         Added gnu/java/rmi/rmic/Compile_kjc.java,
1062         gnu/java/rmi/rmic/Compile_jikes.java and
1063         gnu/java/rmi/rmic/RMICException.java
1064         * Makefile.in: Regenerated.
1065
1066 2003-09-17  Graydon Hoare  <graydon@redhat.com>
1067
1068         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1069         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1070         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1071         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
1072         New files.
1073
1074 2003-09-16  Graydon Hoare  <graydon@redhat.com>
1075
1076         * java/awt/BufferedImage.java (setData): Support non-component
1077         sample models.
1078         (getData): Same.
1079
1080 2003-09-10  Graydon Hoare  <graydon@redhat.com>
1081
1082         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
1083         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
1084
1085 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
1086
1087         * configure.in: Standardized help text case of
1088         --enable-hash-synchronization
1089         New configure switch --enable-libgcj-multifile and corresponding
1090         automake conditional ONESTEP.
1091         * configure: Rebuilt.
1092         * Makefile.am: Use automake conditional ONESTEP to determine
1093         whether classfiles should be compiled individually or all
1094         at once.
1095         * Makefile.in: Rebuilt.
1096
1097 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
1098
1099         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
1100         Remove method declaration.
1101         (create()): Call native create.
1102         (create(int)): New method.
1103         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1104         (create): Add window_id parameter.  Call gtk_plug_new with
1105         window_id parameter.
1106         (construct): Remove method implementation.
1107
1108 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
1109
1110         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1111         (mostlyclean-local): New target patterned after clean-local
1112         which recursively deletes all libtool objects using 'libtool rm'.
1113         (clean-local): Slightly modified comment to alleviate monotony.
1114         (distclean-local): New target patterned after clean-local
1115         which recursively deletes all .d files.
1116         * Makefile.in: Rebuilt.
1117
1118 2003-09-11  Tom Tromey  <tromey@redhat.com>
1119
1120         * java/net/URLStreamHandler.java (parseURL): If original file
1121         ends with "/", so must canonical result.
1122         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1123         with nul-termination and finding previous "/".
1124
1125 2003-09-11  Michael Koch  <konqueror@gmx.de>
1126
1127         * acconfig.h: Removed most items.
1128         * configure.in: Added descriptions to AC_DEFINE macros that where in
1129         acconfig.h before.
1130         * include/config.h.in: Regenerated.
1131
1132 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
1133
1134         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1135         if one is installed. Improve Javadoc.
1136         (getSystemEventQueueImpl): Improve Javadoc.
1137
1138 2003-09-11  Tom Tromey  <tromey@redhat.com>
1139
1140         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1141         file does not exist.
1142
1143 2003-09-10  Anthony Green  <green@redhat.com>
1144
1145         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1146         Specify full name when referencing ::java::net::InetAddress.
1147         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1148         Fix argument type.
1149
1150 2003-09-10  Michael Koch  <konqueror@gmx.de>
1151
1152         * acconfig.h (__NO_MATH_INLINES): Removed.
1153         * configure.in: Removed check for g++ math inlining bug from 2000.
1154         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1155         libgcj_cxxflags.
1156         * configure: Regenerated.
1157
1158 2003-09-10  David Daney <ddaney@avtrex.com>
1159
1160         * java/util/Arrays.java (equals(all variants)): Quit using
1161         NullPointerException catching to detect null valued parameters.
1162
1163 2003-09-10  Michael Koch  <konqueror@gmx.de>
1164
1165         * java/net/DatagramSocket.java,
1166         java/net/MulticastSocket.java,
1167         java/net/ServerSocket.java,
1168         java/net/Socket.java:
1169         Use gnu.java.net.Plain*SocketImpl instead of
1170         java.net.PlainSocketImpl.
1171         * java/net/PlainDatagramSocketImpl.java,
1172         java/net/PlainSocketImpl.java,
1173         java/net/SocketInputStream.java,
1174         java/net/SocketOutputStream.java,
1175         java/net/natPlainDatagramSocketImplNoNet.cc,
1176         java/net/natPlainDatagramSocketImplPosix.cc,
1177         java/net/natPlainDatagramSocketImplWin32.cc,
1178         java/net/natPlainSocketImplNoNet.cc,
1179         java/net/natPlainSocketImplPosix.cc,
1180         java/net/natPlainSocketImplWin32.cc:
1181         Removed.
1182         * gnu/java/net/PlainDatagramSocketImpl.java,
1183         gnu/java/net/PlainSocketImpl.java,
1184         gnu/java/net/SocketInputStream.java,
1185         gnu/java/net/SocketOutputStream.java,
1186         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1187         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1188         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1189         gnu/java/net/natPlainSocketImplNoNet.cc,
1190         gnu/java/net/natPlainSocketImplPosix.cc,
1191         gnu/java/net/natPlainSocketImplWin32.cc:
1192         New files (moved from java/net).
1193         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
1194         instead of java/net/natPlain*SocketImpl.cc.
1195         * configure: Regenerated.
1196         * Makefile.am: Moved files from java/net to gnu/java/net.
1197         * Makefile.in: Regenerated.
1198
1199 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
1200
1201         * configure: Regenerate.
1202
1203 2003-09-04  Tom Tromey  <tromey@redhat.com>
1204
1205         * configure.host: Removed erroneous comment.
1206
1207         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
1208         lvalue cast; use correct rvalue cast.
1209
1210 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1211
1212         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
1213         and height arguments to GtkWindowPeer.create method call.
1214         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1215         (create(int,int,int)): New method.
1216         (create(int)): Add call to new create method.
1217         (create()): Add width and height arguments to create method
1218         call.
1219         (GtkWindowPeer): Remove call to setBounds.
1220         * java/awt/Frame.java (Frame(String)): Initialize visible field
1221         to false.
1222         (Frame(GraphicsConfiguration)): Likewise.
1223         (Frame(String,GraphicsConfiguration)): Likewise.
1224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1225         Add width and height parameters.  Call
1226         gtk_window_set_default_size.
1227         (connectHooks): Remove unused name variable.
1228         (static setBounds): Call gtk_window_resize not
1229         gtk_widget_set_usize.
1230         (setBounds): Remove unused nchildren variable.
1231
1232 2003-08-31  Ingo Proetel  <proetel@aicas.com>
1233
1234         * java/util/logging/Logger.java: provide class and method information
1235         * java/util/logging/LogManager.java: create handlers
1236         * java/util/logging/SimpleFormatter.java: print souceClassName and
1237         sourceMethodName
1238
1239 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1240
1241         * win32.cc: fixed tab, indentation and whitespace
1242         inconsistencies
1243         removed jvm.h include
1244         added includes java/lang/UnsupportedOperationException.h,
1245         java/io/IOException.h, java/net/SocketException.h
1246         (WSAEventWrapper): class implementation
1247         (_Jv_WinStrError): implemented both overloads
1248         (_Jv_ThrowIOException): implemented both overloads
1249         (_Jv_ThrowSocketException): implemented both overloads
1250         (_Jv_select): implemented
1251         * include/win32.h: fixed tab, indentation and whitespace
1252         inconsistencies
1253         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
1254         added jvm.h include
1255         (WSAEventWrapper): added class declaration
1256         (_Jv_WinStrError): added both overload declarations
1257         (_Jv_ThrowIOException): added both overload declarations
1258         (_Jv_ThrowSocketException): added both overload declarations
1259         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
1260         (_Jv_select): added declaration
1261         (_Jv_socket): removed
1262         (_Jv_connect): removed
1263         (_Jv_close): removed
1264         (_Jv_bind): removed
1265         (_Jv_accept): removed
1266         (_Jv_listen): removed
1267         (_Jv_write): removed
1268         (_Jv_read): removed
1269         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
1270         whitespace inconsistencies
1271         replaced <windows.h> #include with <platform.h>
1272         removed jvm.h include
1273         (testCanUseGetHandleInfo): new function which tests whether Win32
1274         GetHandleInformation() call can be used with console buffer handles
1275         (only supported on >=WinNT 5.0)
1276         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
1277         (valid): rewrote implementation using GetHandleInformation()
1278         (sync):         changed exception throwing to use error string and exception
1279         helper methods declared in include/win32.h
1280         (open): likewise
1281         (write): likewise
1282         (setLength): likewise
1283         (close): likewise
1284         (seek): likewise
1285         (getFilePointer): likewise
1286         (read): likewise
1287         * java/io/natFileWin32.cc: fixed tab, indentation and
1288         whitespace inconsistencies
1289         replaced <windows.h> #include with <platform.h>
1290         removed jvm.h include
1291         (_access): use JV_TEMP_UTF_STRING
1292         (_stat): likewise
1293         (performMkDir): use JV_TEMP_UTF_STRING
1294         (performRenameTo): likewise
1295         (performDelete): likewise
1296         (performCreate): likewise
1297         (performSetReadOnly): likewise
1298         (performSetLastModified): likewise
1299         * java/lang/natWin32Process.cc: fixed tab, indentation and
1300         whitespace inconsistencies
1301         replaced <windows.h> #include with <platform.h>
1302         removed includes gcj/cni.h, jvm.h
1303         (new_string): removed
1304         (startProcess): use JV_TEMP_UTF_STRING,
1305         changed exception throwing to use error string and exception
1306         helper methods declared in include/win32.h
1307         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
1308         whitespace inconsistencies
1309         replaced <windows.h> #include with <platform.h>
1310         removed jvm.h include
1311         removed DISABLE_JAVA_NET conditional code
1312         removed POSIX conditional code not relevant to Win32
1313         (aton): use JV_TEMP_UTF_STRING
1314         removed POSIX conditional code not relevant to Win32
1315         (lookup): likewise
1316         (getLocalHostName): likewise
1317         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
1318         whitespace inconsistencies
1319         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
1320         removed DISABLE_JAVA_NET conditional code
1321         removed POSIX conditional code not relevant to Win32
1322         (winsock2GetRealNetworkInterfaces): new function to compute network
1323         interfaces via Winsock2 API
1324         (determineGetRealNetworkInterfacesFN): new function for returning
1325         a function pointer to the function used to compute network interfaces.
1326         (getRealNetworkInterfaces): implemented
1327         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
1328         whitespace inconsistencies
1329         removed gcj/cni.h include
1330         removed DISABLE_JAVA_NET conditional code
1331         removed POSIX conditional code not relevant to Win32
1332         changed net POSIXisms to Win32isms
1333         replaced _Jv socket-related calls with their real Win32 equivalents
1334         changed exception throwing to use error string and exception
1335         helper methods declared in include/win32.h
1336         (peekData): implemented timeout support
1337         (receive): likewise
1338         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
1339         whitespace inconsistencies
1340         removed gcj/cni.h and gcj/javaprims.h includes
1341         removed DISABLE_JAVA_NET conditional code
1342         removed POSIX conditional code not relevant to Win32
1343         changed net POSIXisms to Win32isms
1344         replaced _Jv socket-related calls with their real Win32
1345         equivalents
1346         changed exception throwing to use error string and exception
1347         helper methods declared in include/win32.h
1348         (throwConnectException): helper function for connect()
1349         (connect): implemented timeout support
1350         (accept): likewise
1351         (doRead): new helper function common to both read() method overloads,
1352         includes timeout support
1353         (read): implemented both overloads in terms of doRead()
1354         (available): implemented using ioctlsocket()
1355
1356 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1357
1358         * java/net/natInetAddressWin32.cc,
1359         java/net/natNetworkInterfaceWin32.cc,
1360         java/net/natPlainDatagramSocketImplWin32.cc,
1361         java/net/natPlainSocketImplWin32.cc:
1362         Readded code enclosed in DISABLE_JAVA_NET defines
1363         in preparation for MinGW cleanup / networking
1364         patch
1365
1366 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1367
1368         * Makefile.am: Fixed problems with parallel makes.
1369         (all_java_class_files): Readded definition.
1370         (all_java_class_files): New target which depends on
1371         libgcj-@gcc_version@.jar
1372         * Makefile.in: Rebuilt
1373
1374 2003-08-28  Tom Tromey  <tromey@redhat.com>
1375
1376         * Makefile.in: Rebuilt.
1377         * Makefile.am (ordinary_java_source_files): Added new files.
1378         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1379         friend.
1380         * java/net/URLClassLoader.java (findClass): Don't use
1381         findURLResource.  Use loader's getClass method.
1382         (URLLoader.getClass): New method.
1383         (addURL): Handle `gcjlib' URLs.
1384         (SoURLLoader): New class.
1385         (SoResource): Likewise.
1386         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1387         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1388         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1389         (_Jv_RegisterCoreHook): Declare.
1390         (_Jv_FindCore): Declare.
1391         * gnu/gcj/runtime/SharedLibHelper.java: New file.
1392         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1393         typedef.
1394         (core_hook): New function.
1395         (struct SharedLibDummy) [saved_core]: New field.
1396         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
1397         (register_hook): Set protection domain and class loader on new
1398         class.
1399         (finalize): Free core chain.
1400         * gnu/gcj/Core.java (Core): New constructor.
1401         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1402         SharedLibHelper.
1403         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1404         (_Jv_create_core): New function.
1405         (create): Use it.
1406         (default_register_resource): New function.
1407         (_Jv_RegisterCoreHook): New global.
1408         (_Jv_RegisterResource): Use it.
1409         (core_chain_struct): Removed.
1410         (_Jv_FindCore): New function.
1411         (_Jv_FreeCoreChain): New function.
1412
1413 2003-08-29  Michael Koch  <konqueror@gmx.de>
1414
1415         * java/net/natInetAddressWin32.cc,
1416         java/net/natNetworkInterfaceWin32.cc,
1417         java/net/natPlainDatagramSocketImplWin32.cc,
1418         java/net/natPlainSocketImplWin32.cc:
1419         Removed code enclosed in DISABLE_JAVA_NET defines.
1420
1421 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
1422
1423         * Makefile.am: (write_entries_to_file) New parameterized
1424         function for writing entries to a file one line at a time.
1425         (all_java_class_files): Removed definition.
1426         (.java.class) Removed.target.
1427         (libgcj-@gcc_version@.jar): Changed dependency to
1428         $(all_java_source_files); added compilation step which compiles
1429         all changed source files in one pass.
1430         (libgcj.la) Refactored to use write_entries_to_file.
1431         (lib-gnu-awt-xlib.la) Likewise.
1432         (install-data-local) Likewise.
1433         (write-entries-to-file-check) New target which tests write_entries_to_file.
1434         (all-recursive): Changed dependency from $(all_java_class_files)
1435         to libgcj-@gcc_version@.jar
1436         * Makefile.in: Rebuilt.
1437
1438 2003-08-26  Tom Tromey  <tromey@redhat.com>
1439
1440         * java/lang/StrictMath.java: Typo fix.
1441         * java/lang/Math.java: Typo fix.
1442
1443 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
1444
1445         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1446         of the removed Thread.
1447
1448 2003-08-26  Mark Wielaard  <mark@klomp.org>
1449
1450         Reported by David Holmes <dholmes@dltech.com.au>.
1451         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1452         Collections.synchronizedMap.
1453         * java/lang/ThreadLocal.java (valueMap): Likewise.
1454
1455 2003-08-26  Mark Wielaard  <mark@klomp.org>
1456
1457         * java/security/acl/Acl.java: Fix broken p tag.
1458         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
1459         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
1460         * javax/swing/plaf/TreeUI.java: Likewise.
1461         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1462         * java/util/Properties.java: Use the word umlaut, not &auml; in api
1463         documentation.
1464         * java/util/PropertyResourceBundle.java: Likewise and add closing code
1465         tag.
1466
1467 2003-08-26  Tom Tromey  <tromey@redhat.com>
1468
1469         * Makefile.in: Rebuilt.
1470         * Makefile.am: Removed all GNU-make-specific FIXME comments.
1471
1472         * java/lang/ref/Reference.java (get): Indentation fix.
1473         (clear): Comment fix.
1474         (enqueue): Likewise.
1475         (lock): Likewise.
1476         (referent): Likewise.
1477
1478 2003-08-26  Tom Tromey  <tromey@redhat.com>
1479
1480         PR java/12058:
1481         * java/lang/reflect/natArray.cc (set): Allow null as argument.
1482
1483         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
1484         (ProxyData.getPackage): New method.
1485         (ProxyData.getProxyData): Use package name, not Package.
1486         (ClassFactory.ClassFactory): Updated.
1487
1488 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
1489         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
1490         * Makefile.in: re-generated.
1491         * gnu/awt/j2d/IntegerGraphicsState.java
1492         (ScreenCoupledImage): new interface.
1493         (drawImage): detect ScreenCoupledImage instances.
1494         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
1495         * gnu/awt/xlib/XEventLoop.java
1496         (createEvent): re-formatted, and rearranged to avoid null pointer.
1497         * gnu/awt/xlib/XGraphics.java
1498         (drawImage): added XOffScreenImage handling.
1499         * gnu/awt/xlib/XOffScreenImage.java: new file.
1500         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
1501         * gnu/gcj/xlib/GC.java (copyArea): new native method.
1502         * gnu/gcj/xlib/XAnyEvent.java
1503         (TYPE_KEY_PRESS): new constant.
1504         (TYPE_KEY_RELEASE): new constant.
1505         (TYPE_MOTION_NOTIFY): new constant.
1506         (TYPE_ENTER_NOTIFY): new constant.
1507         (TYPE_LEAVE_NOTIFY): new constant.
1508         (TYPE_FOCUS_IN): new constant.
1509         (TYPE_FOCUS_OUT): new constant.
1510         (TYPE_KEYMAP_NOTIFY): new constant.
1511         (TYPE_GRAPHICS_EXPOSE): new constant.
1512         (TYPE_NO_EXPOSE): new constant.
1513         (TYPE_VISIBILITY_NOTIFY): new constant.
1514         (TYPE_CREATE_NOTIFY): new constant.
1515         (TYPE_DESTROY_NOTIFY): new constant.
1516         (TYPE_MAP_REQUEST): new constant.
1517         (TYPE_CONFIGURE_REQUEST): new constant.
1518         (TYPE_GRAVITY_NOTIFY): new constant.
1519         (TYPE_RESIZE_REQUEST): new constant.
1520         (TYPE_CIRCULATE_NOTIFY): new constant.
1521         (TYPE_CIRCULATE_REQUEST): new constant.
1522         (TYPE_PROPERTY_NOTIFY): new constant.
1523         (TYPE_SELECTION_CLEAR): new constant.
1524         (TYPE_SELECTION_REQUEST): new constant.
1525         (TYPE_SELECTION_NOTIFY): new constant.
1526         (TYPE_COLORMAP_NOTIFY): new constant.
1527         (TYPE_MAPPING_NOTIFY): new constant.
1528         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
1529         * gnu/gcj/xlib/natGC.cc (copyArea): new method
1530         * java/awt/Component.java (createImage): changed to use peer method.
1531
1532 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1533
1534         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
1535         name, not XLFD, to native drawString.
1536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1537         Replace XLFD-based implementation with Pango-based
1538         implementation.
1539
1540 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1541
1542         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
1543         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
1544
1545 2003-08-21  David Daney  <ddaney@avtrex.com>
1546
1547         Fix for PR libgcj/12013:
1548         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1549         Check `cleared' field.
1550         * java/lang/ref/Reference.java (copy): Updated comments.
1551         (cleared): New field.
1552         (clear): Rewrote.
1553
1554 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
1555             Thomas Fitzsimmons  <fitzsim@redhat.com>
1556
1557         * Makefile.am (gtk_awt_peer_sources): Add
1558         gnu/java/awt/peer/GLightweightPeer.java.  Remove
1559         gnu/java/awt/GLightweightPeer.java.
1560         * gnu/java/awt/GLightweightPeer.java: Remove file.
1561         * gnu/java/awt/peer/GLightweightPeer.java: New file.
1562         * java/awt/Component.java (getToolkit): Add comment about
1563         lightweight components.
1564         * java/awt/Toolkit.java (createComponent): Return
1565         gnu.java.awt.peer.GLightweightPeer.
1566
1567 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
1568
1569         * configure.in: Fix detection of gcj when building with newlib.
1570         * configure: Regenerated.
1571
1572 2003-08-20  Graydon Hoare  <graydon@redhat.com>
1573
1574         * jni.cc: Replace "cheating" pointer-casting code with
1575         extract_from_jvalue<> template.
1576
1577 2003-08-20  Andrew Haley  <aph@redhat.com>
1578
1579         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
1580         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
1581         (classAt): Break out class lookup function into getClass().
1582         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
1583         handlers when using -fno-assume-compiled.
1584
1585 2003-08-20  Tom Tromey  <tromey@redhat.com>
1586
1587         Fix for PR libgcj/9125:
1588         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
1589         object outside of loop.  Respect lib_control setting.
1590         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
1591         field.
1592         (lib_control): New field.
1593         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
1594         (VMClassLoader): Initialize new field.
1595
1596         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1597         Set `list->reference' to DELETED_REFERENCE when removing dead
1598         object.
1599         (find_slot): Added an assert.
1600         (DELETED_REFERENCE): New define.
1601         (add_to_hash): Check for DELETED_REFERENCE.
1602         (remove_from_hash): Just return if found slot isn't ours.
1603
1604 2003-08-19  Andrew Haley  <aph@redhat.com>
1605
1606         * prims.cc (unblock_signal): New function.
1607         (catch_segv): Use it.
1608         (catch_fpe): Likewise.
1609
1610 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
1611
1612         PR libgcj/11575
1613         * java/io/natFileDescriptorWin32.cc (open): Set create
1614         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
1615         Honor EXCL when openning with WRITE flag. 
1616
1617 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
1618
1619         * include/jvm.h: New class _Jv_TempUTFString (helper class for
1620         getting a temporary C string from a jstring)
1621         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
1622         but uses a stack buffer if the string length is less than 256
1623         bytes.
1624
1625 2003-08-18  Tom Tromey  <tromey@redhat.com>
1626
1627         PR libgcj/11951:
1628         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
1629         void.  Throw VirtualMachineError if ffi fails.  Initialize return
1630         value.  Added is_jni_call argument; only wrap exception if not a
1631         JNI call.  Use descriptive message if operation not supported.
1632         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
1633         array class.
1634         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
1635         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
1636         _Jv_CallAnyMethodA.
1637         (_Jv_JNI_CallAnyMethodA): Likewise.
1638         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
1639         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
1640
1641 2003-08-13  Tom Tromey  <tromey@redhat.com>
1642
1643         * gij.cc (help): Document -? and -X.
1644
1645 2003-08-12  Graydon Hoare  <graydon@redhat.com>
1646
1647         * java/awt/Font.java: 
1648         Stub out more recent API. 
1649
1650 2003-08-12  Graydon Hoare  <graydon@redhat.com>
1651
1652         * java/awt/Color.java (getAlpha): 
1653         Prevent sign-extended alpha values.
1654
1655 2003-08-12  Tom Tromey  <tromey@redhat.com>
1656
1657         * gij.cc (main): Handle -? and -X.
1658
1659 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
1660
1661         * java/awt/Container.java
1662         (getPreferredSize): Call preferredSize.
1663         (preferredSize): Moved body of getPreferredSize here.
1664         (getMinimumSize): Call minimumSize.
1665         (minimumSize): Moved body of getMinimumSize here.
1666
1667 2003-08-11  Tom Tromey  <tromey@redhat.com>
1668
1669         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
1670         (postEvent): Removed FIXME comment.
1671         (isDispatchThread): Documented.
1672         (getCurrentEvent): New method.
1673         (dispatchEvent): Set currentEvent and lastWhen.
1674         (getMostRecentEventTime): Rewrote.
1675         (invokeLater): Documented.
1676
1677 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
1678
1679         * java/io/PrintStream.java (print): Always flush if auto_flush is
1680         set. Don't check for newline characters.
1681         (write (int)): Implement without using a temporary array.
1682         (write (byte[], int, int): Always flush if auto_flush is set. Don't
1683         check for newline characters.
1684         Fixes PR libgcj/11778.
1685
1686 2003-08-08  Andrew Haley  <aph@redhat.com>
1687
1688         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
1689         * Makefile.in: Rebuild.
1690         * java/lang/natRuntime.cc (insertSystemProperties): Add
1691         "sun.boot.class.path".
1692
1693 2003-08-07  Andrew Haley  <aph@redhat.com>
1694
1695         * java/io/PrintStream.java: Don't crash on a null string.
1696         
1697 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1698
1699         * configure.in: Don't initialize GCINCS to boehm-gc/include.
1700         * configure: Regenerate.
1701
1702 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
1703
1704         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
1705         SocketImpl. Update Javadoc.
1706         (bind): Call close() not impl.close() in event of exception.
1707         (connect): Likewise.
1708         Remove superfluous null checks throughout.
1709         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
1710         Don't create an extra socket. Fix for PR libgcj/10868.
1711         (bind): Clean up exception handling.
1712         Remove superfluous null checks throughout.
1713
1714 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
1715             Bryce McKinlay  <bryce@mckinlay.net.nz>
1716
1717         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
1718         ready-to-write argument to _Jv_Select. Reset the socket back to 
1719         non-blocking state after connecting.
1720         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
1721         Throw SocketTimeoutException not InterruptedIOException.
1722         (read): Throw SocketTimeoutException not InterruptedIOException.
1723
1724 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
1725
1726         * java/lang/Thread.java (Thread): Check for null "name" from
1727         start of private constructor, not after calling the private
1728         constructor.
1729
1730 2003-08-06  Tom Tromey  <tromey@redhat.com>
1731
1732         * java/io/FilePermission.java (equals): Use correct index for
1733         last character of path.
1734
1735 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
1736
1737         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
1738         * configure.in: Compare with_cross_host to build_alias, not build.
1739         * aclocal.m4: Regenerate.
1740         * configure: Regenerate.
1741
1742 2003-08-05  Tom Tromey  <tromey@redhat.com>
1743
1744         Fix for PR libgcj/11779:
1745         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
1746         class.
1747
1748         * java/lang/reflect/Method.java: Updated status comment.
1749         Imported javadoc from Classpath and re-ordered methods.
1750         * java/lang/reflect/Constructor.java: Reindented.  Updated
1751         status comment.  Imported javadoc from Classpath and re-ordered
1752         methods.
1753
1754 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
1755
1756         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
1757         Add keyLocation parameter.
1758         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
1759         string.
1760         (paramString): Generate keyChar string according to keyChar, not
1761         keyCode.
1762         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1763         (state_to_awt_mods): Handle ALT key.
1764         (keyevent_state_to_awt_mods): New function.
1765         (get_first_keyval_from_keymap): New function.
1766         (keysym_to_awt_keycode): Get virtual key code from keymap.
1767         Handle missing VK_ values.
1768         (keysym_to_awt_keylocation): New function.
1769         (keyevent_to_awt_keychar): New function.
1770         (generates_key_typed_event): Handle non-text-component case.
1771         Handle GDK_KP_Delete and GDK_KP_Enter.
1772         (awt_event_handler): Call new functions to get postKeyEvent
1773         parameters.
1774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
1775         Update postKeyEvent method signature.
1776         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
1777         VK_ defines.
1778
1779 2003-08-05  Matthias Klose  <doko@debian.org>
1780
1781         * aclocal.m4: check for libart-config binary
1782           under the name libart2-config as well.
1783         * configure: regenerated.
1784
1785 2003-08-04  David P Grove  <groved@us.ibm.com>
1786
1787         * java/text/DecimalFormat.java (format): avoid ArithmeticException
1788         when groupingSize is 0.
1789         (parse): Likewise.
1790
1791 2003-08-04  Matthias Klose  <doko@debian.org>
1792
1793         * libart.m4: check for libart-config binary
1794           under the name libart2-config as well.
1795         * configure, aclocal.m4: regenerated.
1796
1797 2003-08-02  Michael Koch  <konqueror@gmx.de>
1798
1799         * java/nio/ByteBufferImpl.java
1800         (getChar): Check remaining bytes, fixed comment about endianess.
1801         (putChar): Likewise.
1802         (getShort): Likewise.
1803         (putShort): Likewise.
1804         (getInt): Check remaining bytes, fixed conversion, fixed comment about
1805         endianess.
1806         (putInt): Likewise.
1807         (getLong): Likewise.
1808         (putLong): Likewise.
1809         (getFloat): Likewise.
1810         (putFloat): Likewise.
1811         (getDouble): Likewise.
1812         (putDouble): Likewise.
1813         * java/nio/DirectByteBufferImpl.java
1814         (getChar): Wrapped code, fixed comment about endianess.
1815         (putchar): Likewise.
1816         (getShort): Likewise.
1817         (putShort): Likewise.
1818         (getInt): Fixed conversion, fixed comment about endianess.
1819         (putInt): Likewise.
1820         (getLong): Likewise.
1821         (putLong): Likewise.
1822         (getFloat): Likewise.
1823         (putFloat): Likewise.
1824         (getDouble): Likewise.
1825         (putDouble): Likewise.
1826         * java/nio/MappedByteBufferImpl.java
1827         (compact): Implemented.
1828         (getChar): Implemented.
1829         (putChar): Implemented.
1830         (getDouble): Implemented.
1831         (putdouble): Implemented.
1832         (getFloat): Implemented.
1833         (putFloat): Implemented.
1834         (getInt): Implemented.
1835         (putInt): Implemented.
1836         (getLong): Implemented.
1837         (putLong): Implemented.
1838         (getShort): Implemented.
1839         (putShort): Implemented.
1840         * java/nio/channels/FileChannelImpl.java
1841         (read): Set position where to access file.
1842         (write): Likewise.
1843         (transferTo): Flip buffer after read and before write.
1844         (transferFrom): Likewise.
1845
1846 2003-08-02  Michael Koch  <konqueror@gmx.de>
1847
1848         * gnu/java/lang/ArrayHelper.java
1849         (equalsArray): Reformated, added method documentation.
1850
1851 2003-08-02  Michael Koch  <konqueror@gmx.de>
1852
1853         * java/net/URL.java
1854         (URL): Added paragraph about the
1855         gnu.java.net.nocache_protocol_handlers property.
1856         (ph_cache): Renamed from handlers to match classpath's implementation.
1857         Reordered it with factory and serialVersionUID member variables.
1858         (cache_handlers): New member variable.
1859         (static): New static initializer to initialize cache_handlers from
1860         gnu.java.net.nocache_protocol_handlers property.
1861         (URL): Use ph_cache instead of handlers, reformatted some code to
1862         match classpath's implementation.
1863
1864 2003-08-01  Tom Tromey  <tromey@redhat.com>
1865
1866         Fix for PR libgcj/11241:
1867         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1868         initialCapacity is 0, set it to 1.
1869
1870 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
1871
1872         * java/net/SocketImpl.java (toString): Display the remote address
1873         of an unconnected server socket as "0.0.0.0/0.0.0.0".
1874
1875 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
1876
1877         * javax/swing/border/BevelBorder.java,
1878         javax/swing/border/EtchedBorder.java,
1879         javax/swing/border/LineBorder.java,
1880         javax/swing/border/MatteBorder.java,
1881         javax/swing/border/SoftBevelBorder.java,
1882         javax/swing/plaf/BorderUIResource.java,
1883         javax/swing/plaf/ComponentUI.java,
1884         javax/swing/plaf/TreeUI.java,
1885         javax/swing/plaf/basic/BasicBorders.java,
1886         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1887         javax/swing/plaf/basic/BasicTreeUI.java:
1888         Prepend "doc-files" to all paths to embedded Javadoc images, so
1889         that the generated documentation contains the correct URL.
1890
1891 2003-08-01  Tom Tromey  <tromey@redhat.com>
1892
1893         * configure: Rebuilt.
1894         * configure.in (tool_include_dir): Redefine to match gcc.
1895
1896 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
1897             Mark Wielaard  <mark@klomp.org>
1898             
1899         * java/math/BigDecimal (divide): Correctly handle
1900         ROUND_HALF_EVEN when amount is greater than 0.5.
1901         Simplify and optimize code.
1902
1903 2003-07-31  Tom Tromey  <tromey@redhat.com>
1904
1905         More for PR libgcj/11737:
1906         * java/io/ObjectInputStream.java (processResolution): Use
1907         getMethod.
1908         (getMethod): Make method accessible.
1909         (getField): Make field accessible.
1910         (setBooleanField): Don't call setAccessible here.
1911         (setByteField, setCharField, setDoubleField, setFloatField,
1912         setIntField, setLongField, setShortField, setObjectField):
1913         Likewise.
1914         (callReadMethod): Don't check whether method is null.  Catch
1915         NoSuchMethodException.
1916         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
1917         cause on thrown exceptions.
1918
1919 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
1920
1921         Fix for PR libgcj/11728:
1922         * java/util/HashMap.java (readObject): Set size.
1923
1924 2003-07-31  Tom Tromey  <tromey@redhat.com>
1925
1926         Fix for PR libgcj/11737:
1927         * java/io/ObjectOutputStream.java (getMethod): Make method
1928         accessible.
1929         (getField): Likewise.
1930         (writeObject): Use getMethod.
1931         Import PrivilegedAction and AccessController.
1932         (callWriteMethod): Don't check whether m is null.  Catch
1933         NoSuchMethodException.
1934
1935         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
1936         (containsAngle): Likewise.
1937         (getStartPoint): Rewrote.
1938         (getEndPoint): Likewise.
1939         (setAngleStart(Point2D)): Likewise.
1940
1941 2003-07-31  Roger Sayle  <roger@eyesopen.com>
1942             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1943
1944         * configure.in: Add new THREADCXXFLAGS variable.
1945         Handle POSIX threads on alpha*-dec-osf*.
1946         * configure: Regenerate.
1947         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
1948         * Makefile.in: Regenerate.
1949
1950 2003-07-08  Andrew Haley  <aph@redhat.com>
1951
1952         * include/i386-signal.h (RESTORE): New.
1953         (INIT_SEGV): Set restorer.
1954         (INIT_FPE): Likewise.
1955
1956 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1957
1958         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
1959         than getXLFD.
1960         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1961         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
1962         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1963         (gtkSetFont): Scale size parameter by PANGO_SCALE.
1964         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
1965         Likewise.
1966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
1967         Likewise.
1968
1969 2003-07-29  Tom Tromey  <tromey@redhat.com>
1970
1971         * defineclass.cc (handleField): Throw exception if field name is
1972         duplicated.
1973         (handleMethod): Throw exception for duplicate method.
1974
1975 2003-07-29  Tom Tromey  <tromey@redhat.com>
1976
1977         * gnu/gcj/convert/natIconv.cc (write): Handle case where
1978         output buffer is too small.
1979
1980 2003-07-28  Tom Tromey  <tromey@redhat.com>
1981
1982         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
1983         New method.
1984         Include gnu/gcj/runtime/StringBuffer.h.
1985         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
1986         native method.
1987         (String(gnu.gcj.runtime.StringBuffer)): Use it.
1988
1989 2003-07-27  Anthony Green  <green@redhat.com>
1990
1991         * configure.in: Fix newlib check.
1992         * configure: Rebuilt.
1993
1994 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1995
1996         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1997         Create vbox and layout for GtkPlug.
1998
1999 2003-07-27  Michael Koch  <konqueror@gmx.de>
2000
2001         * java/awt/Window.java
2002         (Window): Removed now unused constructor. It became oboslete with the
2003         new embedded window patch.
2004
2005 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
2006             Michael Koch  <konqueror@gmx.de>
2007
2008         * gnu/java/awt/EmbeddedWindow.java
2009         (EmbeddedWindow): Extends Frame instead of Window.
2010         (window_id): New member variable to store the native window handle.
2011         (create): Removed.
2012         (EmbeddedWindow): New constructor.
2013         (addNotify): New method.
2014         (getHandler): Likewise.
2015         (setWindowPeer): New native method.
2016         * gnu/java/awt/EmbeddedWindowSupport.java
2017         (EmbeddedWindowSupport): Fixed documentation.
2018         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
2019         WindowPeer, give it an EmbeddedWindow instance instead of the raw
2020         window data.
2021         * gnu/java/awt/natEmbeddedWindow.cc
2022         (create): Removed.
2023         (setWindowPeer): New method.
2024         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
2025         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
2026         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2027         New files
2028         * gnu/java/awt/peer/gtk/GtkToolkit.java
2029         (GtkToolkit): Implements EmbeddedWindowSupport.
2030         (createEmbeddedWindow): New method.
2031         * java/awt/Window.java
2032         (Window): Removed.
2033         * Makefile.am
2034         (java_source_files): Added EmbeddedWindowPeer.java.
2035         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
2036         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
2037         * Makefile.in: Regenerated.
2038
2039 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
2040
2041         * java/lang/Win32Process.java (ConcreteProcess): Surround
2042         a command line element with quotes if it contains an
2043         embedded space or tab.
2044         * java/lang/natWin32Process.cc (startProcess): Do not
2045         surround command line elements with quotes here.
2046
2047         * configure.host: Use -fcheck-references and 
2048         -fuse-divide-subroutine for MinGW until we fix
2049         win32_exception_handler( ) in win32.cc w.r.t. Win32 
2050         Structured Exception Handling (SEH).
2051
2052         * win32.cc (_Jv_platform_initProperties): Use generic names
2053         like "x86" for the "os.arch" property to be consistent with
2054         what Sun's JDK produces. Use the wProcessorArchitecture
2055         member of the Win32 SYSTEM_INFO structure, filled in a call 
2056         to GetSystemInfo( ), instead of dwProcessorType.
2057
2058 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
2059             Ranjit Mathew  <rmathew@hotmail.com>
2060
2061         * Makefile.am: Use cross-compiling gcjh from the path for
2062         a crossed-native build.
2063         * Makefile.in: Rebuilt.
2064         * configure.in: Include libltdl in non-newlib builds.
2065         Moved determination of gcj used to build libraries to
2066         its own section. Fixed cross-compilation issues for
2067         non-newlib builds.
2068         * configure: Rebuilt.
2069
2070 2003-07-25  Tom Tromey  <tromey@redhat.com>
2071
2072         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
2073         (write): Likewise.
2074         (read): Likewise.
2075         (read): Likewise.
2076
2077 2003-07-25  Mark Wielaard  <mark@klomp.org>
2078
2079         * java/lang/natRuntime.cc (_load): Add library name to
2080         UnsatisfiedLinkError when thrown.
2081
2082 2003-07-25  Mark Wielaard  <mark@klomp.org>
2083
2084         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
2085         added.
2086         * Makefile.in: Likewise.
2087
2088 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
2089
2090         * java/awt/Component.java
2091         (getPreferredSize): Call preferredSize.
2092         (preferredSize): Moved body of getPreferredSize here.
2093         (getMinimumSize): Call minimumSize.
2094         (minimumSize): Moved body of getMinimumSize here.
2095         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
2096         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
2097         pass -1
2098         * java/awt/Container.java
2099         (validate): Don't validate if there is no peer.
2100         (update): Clear background before calling paint.
2101         * java/awt/GridBagLayout.java
2102         Completed the implementation and fixed several bugs.
2103         * java/awt/MediaTracker.java
2104         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
2105         combine flags.
2106         * java/awt/Window.java
2107         (Window): Don't call setVisible(false). Windows are invisible by
2108         default and calling virtual methods from constructor causes
2109         compatibility problems (e.g. subclasses may assume that the peer
2110         already exists).
2111
2112 2003-07-25  Michael Koch  <konqueror@gmx.de>
2113
2114         * java/awt/GridBagLayout.java:
2115         Totally reworked and partly implemented.
2116         * java/awt/GridBagLayoutInfo.java:
2117         New file.
2118
2119 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2120
2121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2122         Don't pack label in an event box.
2123
2124 2003-07-24  Tom Tromey  <tromey@redhat.com>
2125
2126         For PR libgcj/7482:
2127         * verify.cc (ref_intersection): New class.
2128         (type_val): Removed unresolved_reference_type,
2129         uninitialized_unresolved_reference_type.
2130         (is_assignable_from_slow): Rewrote.
2131         (type::data): Removed.
2132         (type::klass): New field.
2133         (type::type): Added verifier argument.
2134         (type::resolve): Removed.
2135         (type::set_uninitialized): Updated for change to type_val.
2136         (type::set_initialized): Likewise.
2137         (type::isinitialized): Likewise.
2138         (type::print): Likewise.
2139         (construct_primitive_array_type): Likewise.
2140         (type::compatible): Updated for change to type_val and to use
2141         ref_intersection.
2142         (type::isarray): Updated to use ref_intersection.
2143         (type::isinterface): Likewise.
2144         (type::element_type): Likewise.
2145         (type::to_array): Likewise.
2146         (type::verify_dimensions): Rewrote.
2147         (type::merge): Likewise.
2148         (check_class_constant): Updated for type constructor change.
2149         (check_constant): Likewise.
2150         (check_field_constant): Likewise.
2151         (get_one_type): Likewise.
2152         (initialize_stack): Likewise.
2153         (verify_instructions_0): Likewise.
2154         (verify_instructions_0) [op_invokeinterface]: Removed special
2155         case.
2156         (isect_list): New field.
2157         (_Jv_BytecodeVerifier): Initialize it.
2158         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
2159
2160 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
2161
2162         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2163         unless field size is 2.
2164
2165 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2166
2167         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2168         (connectHooks): New method.
2169         (handleEvent): Remove.
2170         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2171         (createHooks): Remove declaration.
2172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2173         (generates_key_typed_event): Change to handle only certain
2174         keyvals.
2175         (awt_event_handler): Add special handling for GtkTextView.
2176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2177         (textcomponent_commit_cb): New function.
2178         (textcomponent_changed_cb): Likewise.
2179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2180         (connectHooks): Remove.
2181
2182 2003-07-23  Tom Tromey  <tromey@redhat.com>
2183
2184         * java/lang/natSystem.cc (arraycopy): Check for overflow.
2185
2186         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
2187
2188 2003-07-22  Tom Tromey  <tromey@redhat.com>
2189
2190         * boehm.cc (_Jv_BuildGCDescr): Wrote.
2191         Include limits.h.
2192
2193 2003-07-22  Tom Tromey  <tromey@redhat.com>
2194
2195         * java/awt/Window.java (getWarningString): Just return the
2196         string.
2197         (Window): Set warningString; check with security manager.
2198
2199 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
2200
2201         * gnu/awt/xlib/XGraphicsConfiguration.java
2202         (FontMetricsCache): Made static.
2203  
2204 2003-07-22  Tom Tromey  <tromey@redhat.com>
2205
2206         * java/net/URLEncoder.java (encode(String)): Use platform default
2207         encoding.
2208         (encode(String,String)): Convert to 2-digit upper-case hex
2209         number.
2210         (hex): New field.
2211
2212 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2213
2214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2215         (create): Remove unused method implementation.
2216         (connectHooks): Remove debug messages.
2217
2218 2003-07-20  Anthony Green  <green@redhat.com>
2219
2220         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
2221         CloneNotSupportedException.
2222         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
2223         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
2224         * gnu/gcj/xlib/GC.java (clone): Ditto.
2225         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
2226         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
2227
2228         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
2229         handler.
2230         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
2231
2232 2003-07-20  Steve Pribyl <steve@netfuel.com.>
2233
2234         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
2235         String.  Put dlerror() message into exception.
2236         Include UnsatisfiedLinkError.
2237         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
2238         String.  Now native.
2239
2240 2003-07-20  Tom Tromey  <tromey@redhat.com>
2241
2242         * java/lang/Runtime.java: Comment fix.
2243         * java/lang/ClassLoader.java (isAncestorOf): New method.
2244         (getParent): Uncommented security check.  Use isAncestorOf.
2245         * include/jvm.h (_Jv_CheckAccess): Declare.
2246         * java/lang/reflect/natConstructor.cc (newInstance): Perform
2247         access check.
2248         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
2249         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
2250         class loader to _Jv_GetArrayClass.
2251         Include ArrayIndexOutOfBoundsException.h.
2252         * java/lang/reflect/Field.java: Update comment to reflect status.
2253         (equals): Fixed indentation.
2254         * java/lang/Class.h (Class): Declare memberAccessCheck, not
2255         checkMemberAccess.  Make _Jv_CheckAccess a friend.
2256         * java/lang/Class.java (memberAccessCheck): New method from
2257         Classpath.
2258         (checkMemberAccess): Removed.
2259         (getDeclaredMethod): Use memberAccessCheck.
2260         (getField): Likewise.
2261         (getMethod): Likewise.
2262         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
2263         (_Jv_SearchMethodInClass): Likewise.
2264         * prims.cc (_Jv_CheckAccess): New function.
2265         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
2266         (_Jv_JNI_GetAnyFieldID): Likewise.
2267         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
2268         (getClassLoader): Added security check.
2269         (getConstructor): Call memberAccessCheck.
2270         (getDeclaredClasses): Likewise.
2271         (getDeclaredField): Likewise.
2272         (getDeclaredFields): Likewise.
2273         (_getConstructors): Likewise.
2274         (getDeclaredConstructor): Likewise.
2275         (getDeclaredMethods): Likewise.
2276         (getFields): Likewise.
2277         (getMethods): Likewise.
2278         (newInstance): Likewise.
2279         (_Jv_MakeVTable): Put method name in exception.
2280         * java/lang/reflect/natMethod.cc (getType): Use
2281         getClassLoaderInternal.
2282         (_Jv_GetTypesFromSignature): Likewise.
2283         (invoke): Perform access check.
2284         (_Jv_CallAnyMethodA): Removed old FIXME comments.
2285         Include ArrayIndexOutOfBoundsException.h.
2286         * java/lang/reflect/natField.cc (getType): Use
2287         getClassLoaderInternal.
2288         (_Jv_CheckFieldAccessibility): Removed.
2289         (getAddr): Use _Jv_CheckAccess; find caller.
2290         Include ArrayIndexOutOfBoundsException.h.
2291
2292 2003-07-20  Michael Koch  <konqueror@gmx.de>
2293
2294         * java/net/URL.java
2295         (URL): Fixed documentation to name an argument correcty, Reformatted
2296         one method declaration.
2297         (getURLStreamHandler): Added documentation from classpath.
2298
2299 2003-07-19  Tom Tromey  <tromey@redhat.com>
2300
2301         * mauve-libgcj: Don't run CollationElementIterator tests.
2302
2303 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
2304
2305         * java/net/URLClassLoader.java (addURL): Moved implementation to
2306         private addURLImpl() to avoid calling addURL from the constructor.
2307         (addURLImpl): Contains the code that was previously in addURL.
2308         (addURLs): Call addURLImpl(), not addURL().
2309
2310 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2311
2312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
2313         Handle missing event cases, connect to "value-changed" signal.
2314
2315 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2316
2317         * java/awt/geom/CubicCurve2D.java,
2318         java/awt/geom/Line2D.java,
2319         java/awt/geom/QuadCurve2D.java,
2320         java/awt/geom/Rectangle2D.java: 
2321         Fix path some calculations, make path iterators follow
2322         a consistent style.
2323
2324 2003-07-18  Mark Wielaard  <mark@klomp.org>
2325
2326         * java/util/logging/Handler.java (isLoggable): Check record level
2327         smaller or equal.
2328
2329 2003-07-17  Michael Koch  <konqueror@gmx.de>
2330
2331         * gnu/java/awt/peer/gtk/GtkToolkit.java:
2332         Reworked imports.
2333
2334 2003-07-14  Michael Koch  <konqueror@gmx.de>
2335
2336         * gnu/java/rmi/server/UnicastServerRef.java:
2337         New version from classpath.
2338
2339 2003-07-14  Michael Koch  <konqueror@gmx.de>
2340
2341         * java/awt/image/MemoryImageSource.java,
2342         java/beans/PropertyEditorManager.java,
2343         javax/naming/CompoundName.java,
2344         javax/naming/spi/NamingManager.java,
2345         javax/swing/AbstractButton.java,
2346         javax/swing/ButtonModel.java,
2347         javax/swing/SwingUtilities.java,
2348         javax/swing/UIManager.java,
2349         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2350         javax/swing/event/AncestorEvent.java,
2351         javax/swing/event/InternalFrameEvent.java,
2352         java/util/zip/ZipFile.java:
2353         New versions from classpath.
2354
2355 2003-07-13  Michael Koch  <konqueror@gmx.de>
2356
2357         * gnu/java/nio/FileChannelImpl.java,
2358         gnu/java/nio/natFileChannelImpl.cc: Removed.
2359         * java/io/FileInputStream.java,
2360         java/io/FileOutputStream.java,
2361         java/io/RandomAccessFile.java,
2362         java/nio/MappedByteBufferImpl.java:
2363         Import java.nio.channels.FileChannelImpl instead of
2364         gnu.java.nio.FileChannelImpl.
2365         * java/nio/channels/FileChannelImpl.java,
2366         java/nio/channels/natFileChannelImpl.cc:
2367         New files.
2368         * Makefile.am
2369         (ordinary_java_source_files):
2370         Removed gnu/java/nio/FileChannelImpl.java and added
2371         java/nio/channels/FileChannelImpl.java.
2372         (nat source_files):
2373         Removed gnu/java/nio/natFileChannelImpl.cc and added
2374         java/nio/channels/natFileChannelImpl.cc.
2375         * Makefile.in: Regenerated.
2376
2377 2003-07-13  Michael Koch  <konqueror@gmx.de>
2378
2379         * javax/swing/plaf/basic/BasicBorders.java,
2380         javax/swing/plaf/basic/BasicLabelUI.java,
2381         javax/swing/plaf/basic/BasicLookAndFeel.java,
2382         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2383         javax/swing/plaf/basic/BasicTextUI.java,
2384         javax/swing/plaf/metal/MetalLookAndFeel.java:
2385         New versions from classpath.
2386
2387 2003-07-13  Michael Koch  <konqueror@gmx.de>
2388
2389         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2390         * gnu/java/awt/peer/gtk/GdkGraphics.java
2391         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2392         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2393         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2394         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2395         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2396         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2397         * gnu/java/awt/peer/gtk/GtkClipboard.java
2398         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2399         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2400         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2401         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2402         * gnu/java/awt/peer/gtk/GtkImage.java
2403         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2404         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2405         * gnu/java/awt/peer/gtk/GtkListPeer.java
2406         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2407         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2408         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2409         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2410         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2411         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2412         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2413         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2414         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2415         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2416         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2417         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2418
2419 2003-07-13  Michael Koch  <konqueror@gmx.de>
2420
2421         * gnu/java/locale/LocaleInformation_de.java
2422         * gnu/java/locale/LocaleInformation_en.java
2423         * gnu/java/locale/LocaleInformation_nl.java
2424
2425 2003-07-13  Michael Koch  <konqueror@gmx.de>
2426
2427         * gnu/java/awt/EmbeddedWindow.java,
2428         gnu/java/awt/EmbeddedWindowSupport.java,
2429         gnu/java/awt/natEmbeddedWindow.cc:
2430         New files.
2431         * java/awt/Window.java
2432         (Window): New constructor to support embedded windows.
2433         * Makefile.am
2434         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2435         gnu/java/awt/EmbeddedWindowSupport.java.
2436         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2437         * Makefile.in: Regenerated.
2438
2439 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
2440
2441         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2442         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2443         * java/awt/im/InputContext.java: Remove a redundant
2444         partial line.
2445
2446 2003-07-09  Tom Tromey  <tromey@redhat.com>
2447
2448         * Makefile.in: Rebuilt.
2449         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2450
2451 2003-07-09  Mark Wielaard  <mark@klomp.org>
2452
2453         * java/io/ObjectOutputStream.java (writeObject): break after
2454         calling writeClassDescriptor().
2455
2456 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
2457
2458         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
2459
2460 2003-07-09  Michael Koch  <konqueror@gmx.de>
2461
2462         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2463         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2464         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2465         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2466         Explicitly import used classes.
2467         * java/awt/Container.java: New version from classpath.
2468
2469 2003-07-09  Michael Koch  <konqueror@gmx.de>
2470
2471         * libgcj.pc.in: New file.
2472         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
2473         * Makefile.in: Regenerated.
2474         * configure: Regenrated.
2475         * configure.in: Create libgcj.pc from libgcj.pc.in.
2476
2477 2003-07-08  Mark Wielaard <mark@klomp.org>
2478
2479         * gcj/cni.h: CNI now expands to Compiled Native Interface.
2480
2481         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
2482         * java/lang/fdlibm.h: Likewise.
2483
2484 2003-07-07  Adam Megacz <adam@xwt.org>
2485
2486         * posix.cc: added #include<stdio.h>
2487                 
2488 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2489
2490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
2491         formatting.
2492
2493         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2494         (setCaretPosition, setEditable): Rely entirely on native
2495         implementation.
2496         (getArgs): Remove.
2497         (postTextEvent): New method.
2498         (handleEvent): New method.
2499         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
2500         method.
2501         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
2502         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2503         (keysym_to_awt_keycode): Fix range checks.
2504         (generates_key_typed_event): New function.
2505         (awt_event_handler): Post AWT_KEY_RELEASED events to event
2506         queue.
2507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2508         (gtkInit): Store TextComponent's postTextEvent method ID.
2509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2510         (setText): Post TEXT_VALUE_CHANGED event to event queue.
2511
2512 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2513
2514         * configure.in: Check for usleep declaration.
2515         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
2516         * configure: Regenerate.
2517         * include/config.h.in: Likewise.
2518         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
2519
2520 2003-07-01  Michael Koch  <konqueror@gmx.de>
2521
2522         * gnu/gcj/convert/natIconv.cc
2523         (iconv_init): Fixed possible memory leak by releasing allocated iconv
2524         handle.
2525
2526 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2527
2528         * glib-2.0.m4: New file.
2529         * gtk-2.0.m4: New file.
2530         * glib.m4: Remove.
2531         * gtk.m4: Remove.
2532         * configure.in: Update AM_PATH_GTK macro call to
2533         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
2534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
2535         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2536         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2537         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
2538         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2539         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2540         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
2541         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2542         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2543         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2544         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2545         jni/gtk-peer/gthread-jni.c,
2546         jni/gtk-peer/gthread-jni.h:
2547         New versions from classpath.
2548         * aclocal.m4: Regenerate.
2549         * configure: Regenerate.
2550         * Makefile.in: Regenerate.
2551         * gcj/Makefile.in: Regenerate.
2552         * include/Makefile.in: Regenerate.
2553         * testsuite/Makefile.in: Regenerate.
2554
2555 2003-06-30  Gary Benson  <gbenson@redhat.com>
2556
2557         For PR libgcj/11349:
2558         * javax/naming/spi/NamingManager.java (getURLContext): Use
2559         correct name for factory class.
2560
2561 2003-06-28  Michael Koch  <konqueror@gmx.de>
2562
2563         * java/io/PrintStream.java
2564         (checkError): Call flush() instead of direct flushing of the Writer
2565         object.
2566         (print): Call print(String) instead of direct print method of the
2567         Writer Object.
2568         (println): Call println(String) instead of direct println method of the
2569         Writer Object.
2570         (write): Simplified.
2571
2572 2003-06-28  Michael Koch  <konqueror@gmx.de>
2573
2574         * java/net/ServerSocket.java
2575         (setChannel): New method.
2576         * java/net/Socket.java
2577         (setChannel): New method.
2578
2579 2003-06-27  Michael Koch  <konqueror@gmx.de>
2580
2581         * java/beans/beancontext/BeanContextSupport.java:
2582         New version from classpath.
2583
2584 2003-06-27  Michael Koch  <konqueror@gmx.de>
2585
2586         * java/awt/Window.java,
2587         java/awt/font/GraphicAttribute.java,
2588         java/awt/font/ImageGraphicAttribute.java,
2589         java/awt/image/DataBufferByte.java,
2590         java/awt/image/DataBufferInt.java,
2591         java/awt/image/DataBufferUShort.java,
2592         java/awt/image/DirectColorModel.java,
2593         java/awt/image/PixelGrabber.java:
2594         New versions from classpath.
2595
2596 2003-06-27  Michael Koch  <konqueror@gmx.de>
2597
2598         * java/security/Certificate.java
2599         (getGuarantor): Removed wrong @deprecated tag.
2600         (getPrincipal): Likewise.
2601         (getPublicKey): Likewise.
2602         (encode): Likewise.
2603         (decode): Likewise.
2604         (getFormat): Likewise.
2605         (toString): Likewise.
2606         * java/security/cert/PolicyQualifierInfo.java
2607         (PolicyQualifierInfo): Made final.
2608         * javax/security/auth/x500/X500Principal.java
2609         (serialVersionUID): New member variable.
2610
2611 2003-06-27  Michael Koch  <konqueror@gmx.de>
2612
2613         * java/text/Format.java
2614         (serialVersionUID): Fixed value.
2615
2616 2003-06-27  Michael Koch  <konqueror@gmx.de>
2617
2618         * java/net/Inet4Address.java
2619         (Inet4Address): Made package-private.
2620         * java/net/Inet6Address.java
2621         (Inet4Address): Made package-private.
2622
2623 2003-06-27  Michael Koch  <konqueror@gmx.de>
2624
2625         * java/io/RandomAccessFile.java
2626         (readLine): Removed wrong @deprecated tag.
2627         (getChannel): Made final.
2628
2629 2003-06-27  Michael Koch  <konqueror@gmx.de>
2630
2631         * gnu/java/nio/FileChannelImpl.java
2632         (write): Removed.
2633
2634 2003-06-27  Michael Koch  <konqueror@gmx.de>
2635
2636         * java/nio/ByteBufferImpl.java
2637         (ByteBufferImpl): Made it a package-private class
2638         * java/nio/CharBufferImpl.java
2639         (CharBufferImpl): Made it a package-private class
2640         * java/nio/DirectByteBufferImpl.java
2641         (DirectByteBufferImpl): Made it a package-private class
2642         * java/nio/DoubleBufferImpl.java
2643         (DoubleBufferImpl): Made it a package-private class
2644         * java/nio/FloatBufferImpl.java
2645         (FloatBufferImpl): Made it a package-private class
2646         * java/nio/IntBufferImpl.java
2647         (IntBufferImpl): Made it a package-private class
2648         * java/nio/LongBufferImpl.java
2649         (LongBufferImpl): Made it a package-private class
2650         * java/nio/ShortBufferImpl.java
2651         (ShortBufferImpl): Made it a package-private class
2652         * java/nio/channels/FileChannel.java
2653         (write): Made final.
2654         * java/nio/channels/ServerSocketChannel.java
2655         (ServerSocketChanne): Made protected.
2656
2657 2003-06-27  Michael Koch  <konqueror@gmx.de>
2658
2659         * javax/naming/CompositeName.java
2660         (serialVersionUID): New member variable.
2661         * javax/naming/CompoundName.java
2662         (serialVersionUID): New member variable.
2663         * javax/naming/InitialContext.java
2664         (InitialContext): Throws NamingException.
2665         (init): Likewise.
2666         * javax/naming/LinkRef.java
2667         (serialVersionUID): New member variable.
2668         (gteLinkName): Throws NamingException.
2669         * javax/naming/NamingException.java
2670         (serialVersionUID): New member variable.
2671         * javax/naming/NamingSecurityException.java
2672         (NamingSecurityException): Made abstract.
2673         (serialVersionUID): New member variable.
2674         * javax/naming/ReferralException.java
2675         (serialVersionUID): New member variable.
2676         * javax/naming/StringRefAddr.java
2677         (serialVersionUID): New member variable.
2678         * javax/naming/directory/BasicAttribute.java:
2679         Reworked imports.
2680         (serialVersionUID): New member variable.
2681         (get): Throws NamingException.
2682         (getAll): Throws NamingException.
2683         * javax/naming/directory/BasicAttributes.java:
2684         Reworked imports.
2685         (serialVersionUID): New member variable.
2686         * javax/naming/ldap/UnsolicitedNotificationEvent.java
2687         (serialVersionUID): New member variable.
2688
2689 2003-06-27  Michael Koch  <konqueror@gmx.de>
2690
2691         * Makefile.am
2692         (awt_java_source_files): Added new files:
2693         javax/swing/Popup.java,
2694         javax/swing/PopupFactory.java
2695         * Makefile.in: Regenerated.
2696
2697 2003-06-27  Michael Koch  <konqueror@gmx.de>
2698
2699         * javax/swing/JWindow.java,
2700         javax/swing/event/AncestorEvent.java,
2701         javax/swing/event/HyperlinkEvent.java,
2702         javax/swing/event/InternalFrameEvent.java,
2703         javax/swing/event/ListDataEvent.java,
2704         javax/swing/event/TableModelEvent.java,
2705         javax/swing/plaf/PopupMenuUI.java,
2706         javax/swing/plaf/SplitPaneUI.java,
2707         javax/swing/plaf/TabbedPaneUI.java,
2708         javax/swing/plaf/TextUI.java,
2709         javax/swing/plaf/TreeUI.java,
2710         javax/swing/plaf/basic/BasicTextUI.java,
2711         javax/swing/plaf/basic/BasicTreeUI.java:
2712         New versions from classpath.
2713         * javax/swing/Popup.java,
2714         javax/swing/PopupFactory.jav:
2715         New source files from classpath.
2716         * javax/swing/plaf/doc-files/TreeUI-1.png:
2717         New binary files from classpath.
2718
2719 2003-06-25  Michael Koch  <konqueror@gmx.de>
2720
2721         * Makefile.am
2722         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
2723         * Makefile.in: Regenerated.
2724
2725 2003-06-25  Michael Koch  <konqueror@gmx.de>
2726
2727         * javax/swing/plaf/ActionMapUIResource.java,
2728         javax/swing/plaf/BorderUIResource.java,
2729         javax/swing/plaf/ButtonUI.java,
2730         javax/swing/plaf/ColorChooserUI.java,
2731         javax/swing/plaf/ColorUIResource.java,
2732         javax/swing/plaf/ComboBoxUI.java,
2733         javax/swing/plaf/ComponentInputMapUIResource.java,
2734         javax/swing/plaf/ComponentUI.java,
2735         javax/swing/plaf/DesktopIconUI.java,
2736         javax/swing/plaf/DesktopPaneUI.java,
2737         javax/swing/plaf/DimensionUIResource.java,
2738         javax/swing/plaf/FileChooserUI.java,
2739         javax/swing/plaf/FontUIResource.java,
2740         javax/swing/plaf/IconUIResource.java,
2741         javax/swing/plaf/InputMapUIResource.java,
2742         javax/swing/plaf/InsetsUIResource.java,
2743         javax/swing/plaf/InternalFrameUI.java,
2744         javax/swing/plaf/LabelUI.java,
2745         javax/swing/plaf/ListUI.java,
2746         javax/swing/plaf/MenuBarUI.java,
2747         javax/swing/plaf/MenuItemUI.java,
2748         javax/swing/plaf/OptionPaneUI.java,
2749         javax/swing/plaf/PanelUI.java,
2750         javax/swing/plaf/ProgressBarUI.java,
2751         javax/swing/plaf/RootPaneUI.java,
2752         javax/swing/plaf/ScrollBarUI.java,
2753         javax/swing/plaf/ScrollPaneUI.java,
2754         javax/swing/plaf/SeparatorUI.java,
2755         javax/swing/plaf/SliderUI.java,
2756         javax/swing/plaf/TableHeaderUI.java,
2757         javax/swing/plaf/TableUI.java,
2758         javax/swing/plaf/ToolBarUI.java,
2759         javax/swing/plaf/ToolTipUI.java,
2760         javax/swing/plaf/ViewportUI.java:
2761         New versions from classpath.
2762         * javax/swing/plaf/SpinnerUI.java: 
2763         New file from classpath
2764
2765 2003-06-25  Michael Koch  <konqueror@gmx.de>
2766
2767         * java/awt/image/ColorModel.java:
2768         New version from classpath.
2769
2770 2003-06-25  Michael Koch  <konqueror@gmx.de>
2771
2772         * java/net/PlainDatagramSocketImpl.java:
2773         Partly merged with classpath, this mainly adds documentation.
2774
2775 2003-06-25  Michael Koch  <konqueror@gmx.de>
2776
2777         * java/io/ObjectInputStream.java
2778         (readClassDescriptor): New method.
2779         (readObject): Moved functionality to readClassDescriptor().
2780         * java/io/ObjectOutputStream.java
2781         (writeClassDescriptor): New method.
2782         (writeObject): Moved functionality to writeClassDescriptor().
2783
2784 2003-06-25  Michael Koch  <konqueror@gmx.de>
2785
2786         * javax/swing/plaf/basic/BasicListUI.java,
2787         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2788         Added missing methods.
2789
2790 2003-06-25  Michael Koch  <konqueror@gmx.de>
2791
2792         * javax/swing/event/AncestorEvent.java
2793         javax/swing/event/HyperlinkEvent.java
2794         javax/swing/event/InternalFrameEvent.java
2795         javax/swing/event/ListDataEvent.java
2796         javax/swing/event/TableModelEvent.java:
2797         Compile fixes.
2798
2799 2003-06-24  Michael Koch  <konqueror@gmx.de>
2800
2801         * java/net/URL.java:
2802         Renamed "handler" to "ph" in the whole file to match classpaths
2803         version.
2804         * java/net/URLStreamHandler.java:
2805         (equals): Renamed "handler" to "ph".
2806
2807 2003-06-24  Michael Koch  <konqueror@gmx.de>
2808
2809         * javax/swing/event/AncestorEvent.java,
2810         javax/swing/event/HyperlinkEvent.java,
2811         javax/swing/event/InternalFrameEvent.java,
2812         javax/swing/event/ListDataEvent.java,
2813         javax/swing/event/TableModelEvent.java,
2814         javax/swing/event/TreeWillExpandListener.java,
2815         javax/swing/plaf/ComponentUI.java,
2816         javax/swing/plaf/DesktopIconUI.java,
2817         javax/swing/plaf/DesktopPaneUI.java,
2818         javax/swing/plaf/DimensionUIResource.java,
2819         javax/swing/plaf/FileChooserUI.java,
2820         javax/swing/plaf/FontUIResource.java,
2821         javax/swing/plaf/IconUIResource.java,
2822         javax/swing/plaf/InputMapUIResource.java,
2823         javax/swing/plaf/InsetsUIResource.java,
2824         javax/swing/plaf/InternalFrameUI.java,
2825         javax/swing/plaf/LabelUI.java,
2826         javax/swing/plaf/ListUI.java,
2827         javax/swing/plaf/MenuBarUI.java,
2828         javax/swing/plaf/MenuItemUI.java,
2829         javax/swing/plaf/OptionPaneUI.java,
2830         javax/swing/plaf/PanelUI.java,
2831         javax/swing/plaf/ProgressBarUI.java,
2832         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2833         javax/swing/plaf/doc-files/ComponentUI-1.png:
2834         New versions from classpath.
2835
2836 2003-06-24  Michael Koch  <konqueror@gmx.de>
2837
2838         * java/nio/Buffer.java
2839         (cap): Made package-private.
2840         (pos): Likewise.
2841         (limit): Likewise.
2842         (mark): Likewise.
2843
2844 2003-06-24  Michael Koch  <konqueror@gmx.de>
2845
2846         * java/net/SocketImpl.java
2847         (shutdownInput): Made it non-abstract method throwing an exception
2848         like in SUNs JRE.
2849         (shutdownOutput): Likewise.
2850         * java/net/SocketInputStream.java,
2851         java/net/SocketOutputStream.java:
2852         New files from classpath.
2853
2854 2003-06-24  Michael Koch  <konqueror@gmx.de>
2855
2856         * java/awt/Font.java,
2857         java/awt/Window.java,
2858         java/awt/color/ColorSpace.java,
2859         java/awt/datatransfer/StringSelection.java,
2860         java/awt/image/ColorModel.java:
2861         New versions from classpath.
2862
2863 2003-06-24  Michael Koch  <konqueror@gmx.de>
2864
2865         * Makefile.am
2866         (awt_java_source_files): Added new files:
2867         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2868         javax/swing/plaf/basic/BasicSplitPaneUI.java
2869         * Makefile.in: Regenerated.
2870
2871 2003-06-24  Michael Koch  <konqueror@gmx.de>
2872
2873         * javax/swing/text/JTextComponent.java:
2874         New version from classpath.
2875
2876 2003-06-24  Michael Koch  <konqueror@gmx.de>
2877
2878         * javax/swing/Timer.java,
2879         javax/swing/plaf/ActionMapUIResource.java,
2880         javax/swing/plaf/ButtonUI.java,
2881         javax/swing/plaf/ColorChooserUI.java,
2882         javax/swing/plaf/ColorUIResource.java,
2883         javax/swing/plaf/ComboBoxUI.java,
2884         javax/swing/plaf/ComponentInputMapUIResource.java,
2885         javax/swing/plaf/basic/BasicBorders.java:
2886         New versions from classpath.
2887         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
2888         javax/swing/plaf/basic/BasicSplitPaneUI.java:
2889         New file from classpath.
2890         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2891         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2892         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2893         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2894         javax/swing/plaf/doc-files/ComponentUI-1.png:
2895         New binary files from classpath.
2896
2897 2003-06-24  Michael Koch  <konqueror@gmx.de>
2898
2899         * java/io/LineNumberReader.java
2900         (skip): Dont do line number accounting here as this is already done in
2901         read(), simplified.
2902
2903 2003-06-21  Michael Koch  <konqueror@gmx.de>
2904
2905         * java/io/File.java
2906         (static): Load javaio lib if existing (only in classpath).
2907         (File): Revised documentation to show the correct argument name.
2908         (createTempFile): Partly merged with classpath.
2909         (compareTo): Simplified.
2910         (lastModified): Throw exception if time < 0.
2911         (deleteOnExit): Revised documentation.
2912
2913 2003-06-21  Michael Koch  <konqueror@gmx.de>
2914
2915         * java/net/PlainSocketImpl.java:
2916         Reformatted.
2917         (PlainSocketImpl): Merged class documentaion with classpath.
2918         (in): Moved.
2919         (out): Moved.
2920         (PlainSocketImpl): New empty constructor.
2921         (finalize): Moved.
2922         (setOption): Merged documentation from classpath.
2923         (getOption): Likewise.
2924         (create): Likewise.
2925         (connect): Likewise.
2926         (bind): Likewise.
2927         (listen): Likewise.
2928         (accept): Likewise.
2929         (available): Likewise.
2930         (close): Likewise.
2931         (read): Likewise.
2932         (write): Likewise.
2933         (getInputStream): Made synchronozed to get sure that only one stream
2934         object can be created for this socket, merged documentation from
2935         classpath.
2936         (getOutputStream): Likewise.
2937
2938 2003-06-21  Michael Koch  <konqueror@gmx.de>
2939
2940         * java/net/PlainSocketImpl.java:
2941         Reformatting.
2942         (static): New implicit method.
2943         (read): Made package private.
2944         (write): Likewise.
2945
2946 2003-06-21  Michael Koch  <konqueror@gmx.de>
2947
2948         * java/util/SimpleTimeZone.java:
2949         Removed unneeded import, reformatting.
2950
2951 2003-06-21  Michael Koch  <konqueror@gmx.de>
2952
2953         * java/text/DateFormat.java,
2954         java/text/SimpleDateFormat.java,
2955         java/util/Locale.java:
2956         New versions from classpath.
2957
2958 2003-06-21  Michael Koch  <konqueror@gmx.de>
2959
2960         * javax/swing/SpinnerModel.java:
2961         New file from classpath.
2962         * javax/swing/border/LineBorder.java,
2963         javax/swing/border/SoftBevelBorder.java,
2964         javax/swing/plaf/BorderUIResource.java,
2965         javax/swing/plaf/basic/BasicBorders.java:
2966         New versions from classpath.
2967         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2968         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2969         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2970         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2971         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2972         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
2973         New binary files from classpath.
2974
2975 2003-06-21  Michael Koch  <konqueror@gmx.de>
2976
2977         * java/util/logging/LogRecord.java,
2978         java/util/logging/Logger.java,
2979         java/util/logging/SocketHandler.java,
2980         java/util/logging/SimpleFormatter.java,
2981         java/util/logging/Formatter.java,
2982         java/util/logging/ErrorManager.java,
2983         java/util/logging/Handler.java,
2984         java/util/logging/FileHandler.java,
2985         java/util/logging/LogManager.java,
2986         java/util/logging/Level.java,
2987         java/util/logging/ConsoleHandler.java,
2988         java/util/logging/StreamHandler.java,
2989         java/util/logging/LoggingPermission.java,
2990         java/util/logging/Filter.java,
2991         java/util/logging/MemoryHandler.java,
2992         java/util/logging/XMLFormatter.java:
2993         New files from classpath.
2994
2995 2003-06-20  Michael Koch  <konqueror@gmx.de>
2996
2997         * java/io/ObjectStreamField.java
2998         (unshared): new member variable.
2999         (ObjectStreamField): New constructor.
3000         (isUnshared): New method.
3001
3002 2003-06-20  Michael Koch  <konqueror@gmx.de>
3003
3004         * java/net/URLStreamHandler.java
3005         (hostsEqual): Rewritten.
3006
3007 2003-06-20  Michael Koch  <konqueror@gmx.de>
3008
3009         * gnu/java/nio/MappedByteFileBuffer.java,
3010         gnu/java/nio/natMappedByteFileBuffer.cc:
3011         Removed
3012         * java/nio/MappedByteBufferImpl.java:
3013         New file.
3014         * gnu/java/nio/FileChannelImpl.java:
3015         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
3016         * Makefile.am
3017         (ordinary_java_source_files): Removed
3018         gnu/java/nio/MappedByteFileBuffer.java and added
3019         java/nio/MappedByteBufferImpl.java.
3020         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
3021         * Makefile.in: Regenerated.
3022
3023 2003-06-19  Michael Koch  <konqueror@gmx.de>
3024
3025         * gnu/java/nio/DatagramChannelImpl.java
3026         (fd): Removed.
3027         (blocking): New member variable.
3028         (socket): Likewise.
3029         (DatagramChannelImpl): Throws IOException, initialize socket.
3030         (socket):Implemented.
3031         (implCloseSelectableChannel): Throws IOException, implemented.
3032         (implConfigureBlocking): Likewise.
3033         (connect): Likewise.
3034         (disconnect): Likewise.
3035         (isConnected): Likewise.
3036         (write): Likewise.
3037         (read): Likewise.
3038         (receive): Throws IOException.
3039         (send): Likewise.
3040         * gnu/java/nio/SocketChannelImpl.java
3041         (read): Implemented.
3042         (write): Implemented.
3043
3044 2003-06-19  Michael Koch  <konqueror@gmx.de>
3045
3046         * javax/swing/JComponent.java,
3047         javax/swing/JInternalFrame.java,
3048         javax/swing/MenuSelectionManager.java,
3049         javax/swing/SwingUtilities.java,
3050         javax/swing/ToggleButtonModel.java:
3051         New versions from classpath.
3052
3053 2003-06-19  Michael Koch  <konqueror@gmx.de>
3054
3055         * java/text/CollationElementIterator.java
3056         (NULLORDER): Initialize with -1 as JDK documentation says.
3057
3058 2003-06-19  Michael Koch  <konqueror@gmx.de>
3059
3060         * java/net/HttpURLConnection.java,
3061         java/net/Inet4Address.java,
3062         java/net/Inet6Address.java,
3063         java/net/SocketImpl.java,
3064         java/net/URLClassLoader.java:
3065         Reworked import statements.
3066         * java/net/InetAddress.java
3067         (getByAddress): Simplified.
3068         * java/net/ServerSocket.java
3069         (ServerSocket): Moved special handling during bind operation to
3070         bind().
3071         (bind): Handle different cases when trying to bind a socket.
3072         * java/net/URLConnection.java
3073         (getHeaderFieldDate): Merged with classpath.
3074         (getHeaderFieldInt): Likewise.
3075
3076 2003-06-19  Michael Koch  <konqueror@gmx.de>
3077
3078         * java/util/zip/InflaterInputStream.java
3079         (InflaterInputStream): Throw NullPointerException if in is null (as
3080         JDK does).
3081
3082 2003-06-19  Michael Koch  <konqueror@gmx.de>
3083
3084         * java/awt/Font.java
3085         javax/swing/UIManager.java
3086         javax/swing/border/AbstractBorder.java
3087         javax/swing/border/BevelBorder.java
3088         javax/swing/border/Border.java
3089         javax/swing/border/CompoundBorder.java
3090         javax/swing/border/EmptyBorder.java
3091         javax/swing/border/EtchedBorder.java
3092         javax/swing/border/LineBorder.java
3093         javax/swing/border/MatteBorder.java
3094         javax/swing/border/TitledBorder.java
3095         javax/swing/plaf/BorderUIResource.java
3096         javax/swing/plaf/basic/BasicBorders.java
3097         javax/swing/plaf/basic/BasicButtonUI.java
3098         javax/swing/plaf/basic/BasicCheckBoxUI.java
3099         javax/swing/plaf/basic/BasicGraphicsUtils.java
3100         javax/swing/plaf/basic/BasicLabelUI.java
3101         javax/swing/plaf/basic/BasicRadioButtonUI.java
3102         javax/swing/plaf/basic/BasicToggleButtonUI.java:
3103         New versions from classpath.
3104         * javax/swing/border/SoftBevelBorder.java:
3105         New file from classpath.
3106         * javax/swing/border/doc-files/LineBorder-1.png,
3107         javax/swing/border/doc-files/BevelBorder-1.png,
3108         javax/swing/border/doc-files/BevelBorder-2.png,
3109         javax/swing/border/doc-files/BevelBorder-3.png,
3110         javax/swing/border/doc-files/EmptyBorder-1.png,
3111         javax/swing/border/doc-files/EtchedBorder-1.png,
3112         javax/swing/border/doc-files/EtchedBorder-2.png,
3113         javax/swing/border/doc-files/MatteBorder-1.png,
3114         javax/swing/border/doc-files/MatteBorder-2.png,
3115         javax/swing/border/doc-files/MatteBorder-3.png,
3116         javax/swing/border/doc-files/MatteBorder-4.png,
3117         javax/swing/border/doc-files/MatteBorder-5.png,
3118         javax/swing/border/doc-files/MatteBorder-6.png,
3119         javax/swing/border/doc-files/SoftBevelBorder-1.png,
3120         javax/swing/border/doc-files/SoftBevelBorder-2.png,
3121         javax/swing/border/doc-files/SoftBevelBorder-3.png,
3122         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3123         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3124         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3125         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3126         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3127         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3128         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3129         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3130         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3131         New binary files from classpath.
3132         * Makefile.am
3133         (awt_java_source_files): Added
3134         javax/swing/border/SoftBevelBorder.java.
3135         * Makefile.in: Regenerated.
3136
3137 2003-06-19  Michael Koch  <konqueror@gmx.de>
3138
3139         * gnu/java/security/x509/X509Certificate.java
3140         (writeReplace): Merged from classpath.
3141
3142 2003-06-19  Michael Koch  <konqueror@gmx.de>
3143
3144         * gnu/java/nio/FileChannelImpl.java
3145         (map_address): Made public.
3146         (FileChannelImpl): Merged with classpath.
3147         * gnu/java/nio/natFileChannelImpl.cc
3148         (nio_mmap_file): Commented out unused arguments.
3149         (nio_unmmap_file): Likewise.
3150         (niu_msync): Likewise.
3151
3152 2003-06-19  Michael Koch  <konqueror@gmx.de>
3153
3154         * java/awt/image/IndexColorModel.java:
3155         New version from classpath.
3156
3157 2003-06-18  Tom Tromey  <tromey@redhat.com>
3158
3159         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3160         on arrays.
3161         (isLoopbackAddress): Likewise.
3162         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3163         on arrays.
3164
3165 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
3166
3167         * java/lang/natVMSecurityManager.cc (getClassContext):
3168         Use maxlen instead of len for loop bound.
3169
3170 2003-06-18  Michael Koch  <konqueror@gmx.de>
3171
3172         * gnu/java/nio/SelectorImpl.java
3173         (register): Use fd with value 0 for now, will be fixed later.
3174         * gnu/java/nio/ServerSocketChannelImpl.java
3175         (fd): Removed.
3176         (local_port): Removed.
3177         (InetSocketAddress): Removed.
3178         (ServerSocketChannelImpl): Just initialize internal socket object.
3179         (implCloseSelectableChannel): Close internal socket object.
3180         (implConfigureBlocking): Added comment.
3181         (accept): Use jaba.net stuff to accept socket.
3182         * gnu/java/nio/SocketChannelImpl.java
3183         (fd): Removed.
3184         (local_port): Removed.
3185         (InetSocketAddress): Removed.
3186         (SocketCreate): Removed.
3187         (SocketConnect): Removed.
3188         (SocketBind): Removed.
3189         (SocketListen): Removed.
3190         (SocketAvailable): Removed.
3191         (SocketClose): Removed.
3192         (SocketRead): Removed.
3193         (SocketWrite): Removed.
3194         (SocketChannelImpl): Just initialize internal socket object.
3195         (implCloseSelectableChannel): Close internal socket object.
3196         (implConfigureBlocking): Fixed implementation, added comment.
3197         (connect): Use internal socket object to connect.
3198         (socket): No need for sanity checks.
3199         (read): Comment out some stuff, this will be reimplemented in the next
3200         commit.
3201         (write): Likewise.
3202         * gnu/java/nio/natFileChannelImpl.cc
3203         (nio_mmap_file): Line wrapped.
3204         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
3205         * Makefile.am
3206         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
3207         * Makefile.in: Regenerated.
3208
3209 2003-06-18  Michael Koch  <konqueror@gmx.de>
3210
3211         * java/util/Locale.java
3212         (equals): Merged from classpath.
3213
3214 2003-06-18  Michael Koch  <konqueror@gmx.de>
3215
3216         * java/net/InetAddress.java:
3217         Reformatted to better match classpath's version.
3218         * java/net/URL.java
3219         (equals): Simplified.
3220         * java/net/URLConnection.java
3221         (setDoInput): Revised documentation.
3222         (getDefaultUseCaches): Likewise.
3223         (setRequestProperty): Added @since tag.
3224
3225 2003-06-17  Michael Koch  <konqueror@gmx.de>
3226
3227         * java/net/InetSocketAddress.java
3228         (InetSocketAddress): Use wildcard address if addr is null.
3229         (InetSocketAddress): Dont duplicate implementation.
3230         (InetSocketAddress): Throw exception when hostname is null.
3231         * java/net/Socket.java:
3232         Reworked imports.
3233         (Socket): Throw exception when raddr is null, handle case when laddr
3234         is null.
3235
3236 2003-06-17  Michael Koch  <konqueror@gmx.de>
3237
3238         * java/nio/DirectByteBufferImpl.java
3239         (address): Made package private.
3240         (DirectByteBufferImpl): New constructor.
3241         * java/nio/natDirectByteBufferImpl.cc
3242         (allocateImpl): Moved to java.nio namespace, implemented.
3243         (freeImpl): Likewise.
3244         (getImpl): Likewise.
3245         (putImpl): Likewise.
3246         * jni.cc
3247         (_Jv_JNI_NewDirectByteBuffer): Implemented.
3248         (_Jv_JNI_GetDirectBufferAddress): Implemented.
3249         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
3250
3251 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3252
3253         * include/powerpc-signal.h: New File.
3254         * configure.in: Use it.
3255         * configure: Regenerated.
3256
3257 2003-06-17  Michael Koch  <konqueror@gmx.de>
3258
3259         * java/util/Locale.java
3260         (getDisplayLanguage): Made it final.
3261         (getDisplayCountry): Likewise.
3262         (getDisplayVariant): Likewise.
3263         (getDisplayName): Likewise.
3264
3265 2003-06-17  Michael Koch  <konqueror@gmx.de>
3266
3267         * java/util/PropertyResourceBundle.java:
3268         Removed unneeded import.
3269
3270 2003-06-17  Michael Koch  <konqueror@gmx.de>
3271
3272         * java/util/prefs/AbstractPreferences.java,
3273         java/util/prefs/PreferencesFactory.java:
3274         Reworked imports, removed unused imports.
3275         * java/util/prefs/Preferences.java
3276         (systemNodeForPackage): Method takes a Class not an Object.
3277         (userNodeForPackage): Likewise.
3278         (nodeForPackage): Likewise.
3279
3280 2003-06-17  Michael Koch  <konqueror@gmx.de>
3281
3282         * gnu/java/security/x509/X509Certificate.java:
3283         Explicitely import used classes.
3284
3285 2003-06-17  Michael Koch  <konqueror@gmx.de>
3286
3287         * java/util/zip/ZipEntry.java,
3288         java/util/zip/ZipFile.java,
3289         java/util/zip/ZipInputStream.java,
3290         java/util/zip/ZipOutputStream.java:
3291         Reworked imports, only import used classes.
3292
3293 2003-06-17  Michael Koch  <konqueror@gmx.de>
3294
3295         * gnu/java/lang/ArrayHelper.java,
3296         gnu/java/lang/ClassHelper.java:
3297         Reformatted to match classpath's versions.
3298
3299 2003-06-14  Michael Koch  <konqueror@gmx.de>
3300
3301         * gnu/java/nio/FileChannelImpl.java
3302         (map_address): Removed incorrect comment.        
3303         * gnu/java/nio/SelectorImpl.java
3304         (register): Remove code duplication and code for file channel handling.        
3305         * gnu/java/nio/ServerSocketChannelImpl.java
3306         (serverSocket): Renamed from sock_object.
3307         (ServerSocketChannel): Initialize serverSocket.
3308         (socket): Return serverSocket.
3309         * gnu/java/nio/SocketChannelImpl.java
3310         (socket): Renamed from sock_object.
3311         (isConnectionPenging): Simplified.
3312         (socket): Return socket.
3313 2003-06-14  Michael Koch  <konqueror@gmx.de>
3314
3315         * java/security/BasicPermission.java:
3316         New version from classpath.
3317
3318 2003-06-14  Michael Koch  <konqueror@gmx.de>
3319
3320         * javax/naming/directory/Attribute.java:
3321         New version from classpath.
3322
3323 2003-06-14  Michael Koch  <konqueror@gmx.de>
3324
3325         * java/io/BufferedReader.java,
3326         java/io/FileOutputStream.java:
3327         New versions from classpath.
3328
3329 2003-06-12  Andrew Haley  <aph@redhat.com>
3330
3331         * prims.cc (catch_segv): Create exception in handler.
3332         (catch_fpe): Likewise.  
3333         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
3334         (_Jv_ThrowSignal): Remove.
3335
3336         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
3337         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
3338         to nullp and arithexception.
3339         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3340         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3341         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3342         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3343         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3344
3345 2003-06-11  Andrew Haley  <aph@redhat.com>
3346
3347         * jni.cc (_Jv_JNI_check_types): New.
3348         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
3349         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
3350         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
3351         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
3352         
3353         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
3354         infinite loop.
3355
3356 2003-06-11  Tom Tromey  <tromey@redhat.com>
3357
3358         * java/lang/ClassLoader.java (loadClass): Not deprecated.
3359         * java/io/PrintStream.java: Not deprecated.
3360
3361 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
3362
3363         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3364         (fillOval): implemented
3365         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3366         (fillArc): implemented.
3367         * gnu/gcj/xlib/GC.java (drawArc): added native method.
3368         (fillArc): added native method.
3369         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3370         (fillArc): added native method.
3371
3372 2003-06-11  Michael Koch  <konqueror@gmx.de>
3373
3374         * java/awt/im/InputSubset.java:
3375         New version from classpath.
3376
3377 2003-06-11  Michael Koch  <konqueror@gmx.de>
3378
3379         * javax/swing/AbstractAction.java,
3380         javax/swing/AbstractButton.java,
3381         javax/swing/AbstractCellEditor.java,
3382         javax/swing/AbstractListModel.java,
3383         javax/swing/BorderFactory.java,
3384         javax/swing/Box.java,
3385         javax/swing/BoxLayout.java,
3386         javax/swing/ButtonGroup.java,
3387         javax/swing/DefaultButtonModel.java,
3388         javax/swing/DefaultListModel.java,
3389         javax/swing/DefaultListSelectionModel.java,
3390         javax/swing/FocusManager.java,
3391         javax/swing/ImageIcon.java,
3392         javax/swing/InputMap.java,
3393         javax/swing/JApplet.java,
3394         javax/swing/JButton.java,
3395         javax/swing/JCheckBox.java,
3396         javax/swing/JCheckBoxMenuItem.java,
3397         javax/swing/JColorChooser.java,
3398         javax/swing/JComboBox.java,
3399         javax/swing/JComponent.java,
3400         javax/swing/JDesktopPane.java,
3401         javax/swing/JDialog.java,
3402         javax/swing/JEditorPane.java,
3403         javax/swing/JFileChooser.java,
3404         javax/swing/JFormattedTextField.java,
3405         javax/swing/JFrame.java,
3406         javax/swing/JLabel.java,
3407         javax/swing/JLayeredPane.java,
3408         javax/swing/JList.java,
3409         javax/swing/JMenuBar.java,
3410         javax/swing/JMenuItem.java,
3411         javax/swing/JOptionPane.java,
3412         javax/swing/JPanel.java,
3413         javax/swing/JPasswordField.java,
3414         javax/swing/JPopupMenu.java,
3415         javax/swing/JProgressBar.java,
3416         javax/swing/JRadioButton.java,
3417         javax/swing/JRadioButtonMenuItem.java,
3418         javax/swing/JRootPane.java,
3419         javax/swing/JScrollBar.java,
3420         javax/swing/JScrollPane.java,
3421         javax/swing/JSeparator.java,
3422         javax/swing/JSlider.java,
3423         javax/swing/JTabbedPane.java,
3424         javax/swing/JTable.java,
3425         javax/swing/JTextField.java,
3426         javax/swing/JToggleButton.java,
3427         javax/swing/JToolBar.java,
3428         javax/swing/JToolTip.java,
3429         javax/swing/JTree.java,
3430         javax/swing/JViewport.java,
3431         javax/swing/JWindow.java,
3432         javax/swing/KeyStroke.java,
3433         javax/swing/ListSelectionModel.java,
3434         javax/swing/LookAndFeel.java,
3435         javax/swing/RepaintManager.java,
3436         javax/swing/ScrollPaneLayout.java,
3437         javax/swing/SizeRequirements.java,
3438         javax/swing/SwingConstants.java,
3439         javax/swing/Timer.java,
3440         javax/swing/UIDefaults.java,
3441         javax/swing/UIManager.java,
3442         javax/swing/border/AbstractBorder.java,
3443         javax/swing/border/CompoundBorder.java,
3444         javax/swing/colorchooser/AbstractColorChooserPanel.java,
3445         javax/swing/colorchooser/ColorChooserComponentFactory.java,
3446         javax/swing/colorchooser/ColorSelectionModel.java,
3447         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3448         javax/swing/event/AncestorEvent.java,
3449         javax/swing/event/HyperlinkEvent.java,
3450         javax/swing/event/InternalFrameAdapter.java,
3451         javax/swing/event/InternalFrameEvent.java,
3452         javax/swing/event/ListDataEvent.java,
3453         javax/swing/event/MouseInputAdapter.java,
3454         javax/swing/event/SwingPropertyChangeSupport.java,
3455         javax/swing/event/TableModelEvent.java,
3456         javax/swing/event/TreeWillExpandListener.java,
3457         javax/swing/event/UndoableEditEvent.java,
3458         javax/swing/filechooser/FileFilter.java,
3459         javax/swing/filechooser/FileSystemView.java,
3460         javax/swing/filechooser/FileView.java,
3461         javax/swing/plaf/BorderUIResource.java,
3462         javax/swing/plaf/basic/BasicDefaults.java,
3463         javax/swing/table/AbstractTableModel.java,
3464         javax/swing/table/DefaultTableCellRenderer.java,
3465         javax/swing/table/DefaultTableColumnModel.java,
3466         javax/swing/table/DefaultTableModel.java,
3467         javax/swing/table/TableColumn.java,
3468         javax/swing/text/JTextComponent.java,
3469         javax/swing/tree/AbstractLayoutCache.java,
3470         javax/swing/tree/DefaultMutableTreeNode.java,
3471         javax/swing/tree/DefaultTreeCellEditor.java,
3472         javax/swing/tree/DefaultTreeCellRenderer.java,
3473         javax/swing/tree/DefaultTreeModel.java,
3474         javax/swing/tree/DefaultTreeSelectionModel.java,
3475         javax/swing/tree/FixedHeightLayoutCache.java,
3476         javax/swing/tree/TreeCellEditor.java,
3477         javax/swing/tree/TreeModel.java,
3478         javax/swing/tree/TreeNode.java,
3479         javax/swing/tree/TreePath.java,
3480         javax/swing/tree/TreeSelectionModel.java,
3481         javax/swing/tree/VariableHeightLayoutCache.java,
3482         javax/swing/undo/AbstractUndoableEdit.java,
3483         javax/swing/undo/CompoundEdit.java,
3484         javax/swing/undo/StateEdit.java,
3485         javax/swing/undo/UndoManager.java,
3486         javax/swing/undo/UndoableEditSupport.java:
3487         New versions from classpath.
3488         * javax/swing/table/JTableHeader.java:
3489         New file from classpath.
3490         * Makefile.am
3491         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
3492         * Makefile.in: Regenerated.
3493
3494 2003-06-11  Michael Koch  <konqueror@gmx.de>
3495
3496         * java/nio/MappedByteBuffer.java,
3497         java/nio/channels/Channels.java,
3498         java/nio/channels/ServerSocketChannel.java,
3499         java/nio/channels/spi/AbstractSelector.java:
3500         Removed unneeded imports.
3501
3502 2003-06-11  Michael Koch  <konqueror@gmx.de>
3503
3504         * java/net/DatagramSocket.java:
3505         Partly merged with classpath.
3506
3507 2003-06-11  Michael Koch  <konqueror@gmx.de>
3508
3509         * java/awt/Frame.java,
3510         java/awt/Graphics.java,
3511         java/awt/Menu.java,
3512         java/awt/Robot.java,
3513         java/awt/image/ColorModel.java:
3514         New versions from classpath.
3515
3516 2003-06-10  Michael Koch  <konqueror@gmx.de>
3517
3518         * java/io/PrintStream.java:
3519         Merged version from classpath.
3520         (close): Removed sychronized keyword. This class is not garantied to
3521         be thread-safe.
3522         (write): Likewise.
3523
3524 2003-06-09  Tom Tromey  <tromey@redhat.com>
3525
3526         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
3527         field.
3528         (getDescent): Likewise, for "descent".
3529
3530 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
3531
3532         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
3533         (getMaxDescent): adjusted return value.
3534         (getAscent): modified to use metrics for 'O'.
3535         (getDescent): modified to use metrics for 'y'.
3536
3537 2003-06-08  Anthony Green  <green@redhat.com>
3538
3539         * java/net/URLStreamHandler.java (sameFile): Fix port value
3540         comparison.
3541         * java/net/URL.java (handler): Make package private.
3542         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
3543
3544 2003-06-07  Tom Tromey  <tromey@redhat.com>
3545
3546         For PR libgcj/11085:
3547         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
3548         Limit number of characters in numeric field when required.
3549         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
3550         Respect maximumIntegerDigits.
3551
3552 2003-06-08  Michael Koch  <konqueror@gmx.de>
3553
3554         * java/net/Socket.java
3555         (Socket): Dont initialize inputShutdown and outputShutdown twice,
3556         call bind() and connect() to actually do the bind and connect tasks.
3557         (bind): Connect to canonical address if bindpoint is null, create
3558         socket and bind it to bindpoint.
3559         (connect): Check for exceptions.
3560
3561 2003-06-08  Michael Koch  <konqueror@gmx.de>
3562
3563         * java/net/DatagramSocket.java
3564         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
3565         into the Multicast constructors.
3566         * java/net/DatagramSocketImpl.java
3567         (getOption): Removed.
3568         (setOption): Removed.
3569         * java/net/MulticastSocket.java
3570         (MulticastSocket): Call setReuseAddress (true).
3571         * java/net/SocketImpl.java
3572         (getOption): Removed.
3573         (setOption): Removed.
3574
3575 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
3576
3577         PR libgcj/10886:
3578         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
3579         Test for empty vector.
3580
3581 2003-06-06  Mark Wielaard  <mark@klomp.org>
3582
3583         * java/security/Security.java (secprops): Initialize.
3584         (loadProviders): Return boolean.
3585         (static): Check result of loadProvider calls. If necessary
3586         display WARNING and fallback to Gnu provider.
3587
3588 2002-06-06  James Clark  <jjc@jclark.com>
3589
3590         Fix for PR libgcj/8738:
3591         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
3592         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
3593         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
3594         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
3595         (write): Always decrease avail when count is increased.
3596         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
3597         and whether output buffer is full before increasing size.
3598
3599 2002-06-06  Mark Wielaard  <mark@klomp dot org>
3600
3601         * java/io/PrintStream.java (writeChars(char[],int, int)):
3602         Check converter.havePendingBytes().
3603         (writeChars(String,int,int)): Likewise.
3604         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
3605         Check converter.havePendingBytes() and flush buffer when stalled.
3606
3607 2003-06-07  Michael Koch  <konqueror@gmx.de>
3608
3609         * include/posix.h
3610         (O_DSYNC): Define O_DSYNC on platforms not
3611         supporting O_FSYNC (newlib).
3612
3613 2003-06-06  Mark Wielaard  <mark@klomp.org>
3614
3615         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
3616         AWTError.
3617
3618 2003-06-06  Michael Koch  <konqueror@gmx.de>
3619
3620         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3621         More compile fixes from my stupid work yesterday.
3622
3623 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
3624
3625         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
3626         if _IEEE_LIBM is undefined.
3627
3628 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
3629
3630         * libjava/include/posix.h (O_SYNC): Define if not available
3631         and a reasonable, perhaps more conservative, replacement exists.
3632         (O_DSYNC): Likewise.
3633         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
3634
3635 2003-06-05  Michael Koch  <konqueror@gmx.de>
3636
3637         * javax/swing/plaf/BorderUIResource.java,
3638         javax/swing/plaf/basic/BasicDefaults.java,
3639         javax/swing/plaf/basic/BasicOptionPaneUI.java:
3640         More compile fixes for latest Border commit. I should not commit
3641         something in this heat here ...
3642
3643 2003-06-05  Michael Koch  <konqueror@gmx.de>
3644
3645         * javax/swing/border/BevelBorder.java
3646         (BevelBorder): Removed.
3647         * javax/swing/border/EmptyBorder.java:
3648         Reformatted.
3649         (EmptyBorder): Removed.
3650         (getBorderInsets): Dont use l, r, t and b.
3651         * javax/swing/border/EtchedBorder.java
3652         (EtchedBorder): Removed.
3653         * javax/swing/border/LineBorder.java
3654         (LineBorder): Removed.
3655         * javax/swing/border/MatteBorder.java
3656         (MatteBorder): Removed.
3657         * javax/swing/border/TitledBorder.java
3658         (defaultBorder): Use other default for now.
3659         (defaultFont): Likewise.
3660         (defaultColor): Likewise.
3661
3662 2003-06-05  Michael Koch  <konqueror@gmx.de>
3663
3664         * javax/swing/border/Border.java:
3665         New version from classpath.
3666
3667 2003-06-05  Michael Koch  <konqueror@gmx.de>
3668
3669         * javax/swing/border/AbstractBorder.java,
3670         javax/swing/border/BevelBorder.java,
3671         javax/swing/border/CompoundBorder.java,
3672         javax/swing/border/EmptyBorder.java,
3673         javax/swing/border/EtchedBorder.java,
3674         javax/swing/border/LineBorder.java,
3675         javax/swing/border/MatteBorder.java,
3676         javax/swing/border/TitledBorder.java:
3677         New versions from Classpath.
3678
3679 2003-06-05  Michael Koch  <konqueror@gmx.de>
3680
3681         * java/awt/Button.java,
3682         java/awt/Checkbox.java,
3683         java/awt/CheckboxMenuItem.java,
3684         java/awt/Choice.java,
3685         java/awt/Container.java,
3686         java/awt/Dialog.java,
3687         java/awt/EventQueue.java,
3688         java/awt/FileDialog.java,
3689         java/awt/Frame.java,
3690         java/awt/Label.java,
3691         java/awt/List.java,
3692         java/awt/Menu.java,
3693         java/awt/MenuItem.java,
3694         java/awt/Panel.java,
3695         java/awt/PopupMenu.java,
3696         java/awt/Rectangle.java,
3697         java/awt/ScrollPane.java,
3698         java/awt/Scrollbar.java,
3699         java/awt/TextArea.java,
3700         java/awt/TextField.java,
3701         java/awt/Window.java,
3702         java/awt/datatransfer/DataFlavor.java,
3703         java/awt/dnd/DragSource.java,
3704         java/awt/dnd/DragSourceContext.java,
3705         java/awt/event/HierarchyEvent.java,
3706         java/awt/event/MouseWheelEvent.java,
3707         java/awt/im/InputContext.java,
3708         java/awt/image/BufferedImage.java,
3709         java/awt/image/ComponentColorModel.java,
3710         java/awt/image/Raster.java,
3711         java/awt/image/WritableRaster.java,
3712         java/awt/peer/ComponentPeer.java,
3713         java/awt/print/PageFormat.java,
3714         java/awt/print/PrinterJob.java:
3715         New versions from Classpath.
3716
3717 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
3718
3719         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
3720         numberFormat.setParseIntegerOnly(true).
3721
3722 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
3723
3724         * include/posix-threads.h: Include <machine/pal.h> on OSF.
3725
3726 2003-06-03  Andrew Haley  <aph@redhat.com>
3727
3728         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
3729         stack volatile to prevent optimization from removing it.
3730
3731 2003-05-27  Michael Koch  <konqueror@gmx.de>
3732
3733         * java/util/zip/Deflater.java
3734         (FILTERED): Merged documentation from classpath.
3735         * java/util/zip/DeflaterOutputStream.java
3736         (DeflaterOutputStream): Merged documentation and argument validity
3737         check from classpath.
3738         (deflate): Merged documentation from classpath.
3739         (finish): Likewise.
3740         * java/util/zip/Inflater.java
3741         (Inflater): Merged class documentation from classpath.
3742         (zstream): Reordered.
3743         (is_finished): Reordered.
3744         (dict_needed): Reordered.
3745         (Inflater): Reordered, merged documentation from classpath.
3746         (end): Likewise.
3747         (finalize): Merged documentation from classpath.
3748         (finished): Likewise.
3749         (getAdler): Likewise.
3750         (getRemaining): Likewise.
3751         (getTotalIn): Likewise.
3752         (getTotalOut): Likewise.
3753         (inflate): Likewise.
3754         (needsDictionary): Likewise.
3755         (needsInput): Likewise.
3756         (reset): Likewise.
3757         (setDictionary): Likewise.
3758         (setInput): Likewise.
3759
3760 2003-05-27  Michael Koch  <konqueror@gmx.de>
3761
3762         * java/net/URLConnection.java
3763         (getHeaderFieldInt): Merged with classpath.
3764
3765 2003-05-27  Michael Koch  <konqueror@gmx.de>
3766
3767         * java/io/PrintStream.java
3768         (PrintStream): Reformatted.
3769         (PrintStream): New method, merged from classpath.
3770         (write): Reformatted.
3771
3772 2003-05-27  Michael Koch  <konqueror@gmx.de>
3773
3774         * java/lang/System.java:
3775         Explicitely import needed classes.
3776
3777 2003-05-26  Michael Koch  <konqueror@gmx.de>
3778
3779         * java/net/NetPermission.java,
3780         java/net/NetworkInterface.java,
3781         java/net/PasswordAuthentication.java,
3782         java/net/SocketPermission.java:
3783         New versions from classpath.
3784
3785 2003-05-25  Michael Koch  <konqueror@gmx.de>
3786
3787         * java/io/PushbackInputStream.java,
3788         java/net/Authenticator.java,
3789         java/net/ContentHandler.java,
3790         java/net/ContentHandlerFactory.java,
3791         java/net/DatagramSocket.java,
3792         java/net/DatagramSocketImpl.java,
3793         java/net/DatagramSocketImplFactory.java,
3794         java/net/FileNameMap.java,
3795         java/net/SocketImplFactory.java,
3796         java/net/SocketOptions.java,
3797         java/net/URLStreamHandlerFactory.java:
3798         Merged new versions from classpath.
3799
3800 2003-05-25  Michael Koch  <konqueror@gmx.de>
3801
3802         * java/awt/Checkbox.java,
3803         java/awt/Dialog.java,
3804         java/awt/Font.java,
3805         java/awt/Frame.java,
3806         java/awt/ScrollPaneAdjustable.java,
3807         java/awt/Scrollbar.java,
3808         java/awt/Window.java:
3809         New versions from classpath.
3810
3811 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
3812
3813         PR libgcj/10838:
3814         * java/io/ObjectInputStream (enableResolveObject):
3815         Fixed spelling of permission name.
3816
3817 2003-05-20  Michael Koch  <konqueror@gmx.de>
3818
3819         * java/io/DataInputStream.java
3820         (convertFromUTF): Merged comment from classpath.
3821         * java/io/PrintStream.java
3822         (error_occured): Renamed from error, merged comment from classpath.
3823         (PrintStream): No need to initialized error.
3824         (checkError): Replace error with error_occurred.
3825         (setError): Likewise.
3826
3827 2003-05-20  Michael Koch  <konqueror@gmx.de>
3828
3829         * java/io/DataInputStream.java:
3830         Reformatted, Replaced < and & with html entitites in documentation.
3831         * java/io/File.java:
3832         Reformatted.
3833         * java/io/PrintWriter.java:
3834         Moved class documentation.
3835
3836 2003-05-20  Michael Koch  <konqueror@gmx.de>
3837
3838         * gnu/java/nio/ByteBufferImpl.java,
3839         gnu/java/nio/CharBufferImpl.java,
3840         gnu/java/nio/CharViewBufferImpl.java,
3841         gnu/java/nio/DirectByteBufferImpl.java,
3842         gnu/java/nio/DoubleBufferImpl.java,
3843         gnu/java/nio/DoubleViewBufferImpl.java,
3844         gnu/java/nio/FloatBufferImpl.java,
3845         gnu/java/nio/FloatViewBufferImpl.java,
3846         gnu/java/nio/IntBufferImpl.java,
3847         gnu/java/nio/IntViewBufferImpl.java,
3848         gnu/java/nio/LongBufferImpl.java,
3849         gnu/java/nio/LongViewBufferImpl.java,
3850         gnu/java/nio/natDirectByteBufferImpl.cc,
3851         gnu/java/nio/ShortBufferImpl.java,
3852         gnu/java/nio/ShortViewBufferImpl.java:
3853         Moved files to java/nio.
3854         * gnu/java/nio/SocketChannelImpl.java
3855         
3856         * java/nio/ByteBuffer.java,
3857         java/nio/CharBuffer.java,
3858         java/nio/DoubleBuffer.java,
3859         java/nio/FloatBuffer.java,
3860         java/nio/IntBuffer.java,
3861         java/nio/LongBuffer.java,
3862         java/nio/ShortBuffer.java:
3863         Dont import anything.
3864         * java/nio/ByteBufferImpl.java,
3865         java/nio/CharBufferImpl.java,
3866         java/nio/CharViewBufferImpl.java,
3867         java/nio/DirectByteBufferImpl.java,
3868         java/nio/DoubleBufferImpl.java,
3869         java/nio/DoubleViewBufferImpl.java,
3870         java/nio/FloatBufferImpl.java,
3871         java/nio/FloatViewBufferImpl.java,
3872         java/nio/IntBufferImpl.java,
3873         java/nio/IntViewBufferImpl.java,
3874         java/nio/LongBufferImpl.java,
3875         java/nio/LongViewBufferImpl.java,
3876         java/nio/natDirectByteBufferImpl.cc,
3877         java/nio/ShortBufferImpl.java,
3878         java/nio/ShortViewBufferImpl.java:
3879         Moved from gnu/java/nio.
3880         * Makefile.am
3881         (ordinary_java_source_files): Moved files from gnu/java/nio to
3882         java/nio.
3883         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
3884         to java/nio.
3885         * Makefile.in: Regenerated.
3886
3887 2003-05-19  Michael Koch  <konqueror@gmx.de>
3888
3889         * java/util/Calendar.java
3890         (get): Not final anymore since JDK 1.4
3891         (set): Likewise.
3892
3893 2003-05-19  Michael Koch  <konqueror@gmx.de>
3894
3895         * java/text/CollationKey.java:
3896         Merged copyright and dat from classpath.
3897         * java/text/RuleBasedCollator.java:
3898         Merged class documentation from classpath.
3899
3900 2003-05-19  Michael Koch  <konqueror@gmx.de>
3901
3902         * java/nio/CharBuffer.java
3903         (toString): Compile fix.
3904
3905 2003-05-19  Michael Koch  <konqueror@gmx.de>
3906
3907         * gnu/java/nio/ByteBufferImpl.java
3908         (putLong): Fixed conversion to bytes.
3909         (putDouble): Fixed conversion to bytes.
3910         * gnu/java/nio/DirectByteBufferImpl.java
3911         (putLong): Fixed conversion to bytes.
3912         (putDouble): Fixed conversion to bytes.
3913         * gnu/java/nio/FileLockImpl.java
3914         (isValid): Reformatted.
3915         * java/nio/Buffer.java
3916         (Buffer): Fixed off-by-one bug in handling mark.
3917         * java/nio/ByteBuffer.java:
3918         Added newline.
3919         * java/nio/CharBuffer.java
3920         (toString): Don't use relative get to get string data.
3921
3922 2003-05-16  Michael Koch  <konqueror@gmx.de>
3923
3924         * java/io/natFileDescriptorPosix.cc
3925         (open): Commented out the O_SYNC and O_DSYNC usage until its better
3926         tested.
3927
3928 2003-05-14  Michael Koch  <konqueror@gmx.de>
3929
3930         * gnu/java/nio/FileLockImpl.java
3931         (released): New member variable.
3932         (FileLockImpl): Initialize released.
3933         (releaseImpl): New native method.
3934         (release): Implemented.
3935         * gnu/java/nio/SelectorImpl.java: Reformatted.
3936         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
3937         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
3938         (accept): Throws IOException.
3939         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
3940         (implConfigureBlocking): Throws IOException.
3941         (connect): Likewise.
3942         (read): Likewise.
3943         (write): Likewise.
3944         * gnu/java/nio/natFileLockImpl.cc: New file.
3945         * java/nio/channels/FileLock.java: Reformatted.
3946         * Makefile.am:
3947         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
3948         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
3949         * Makefile.in: Regenerated.
3950
3951 2003-05-13  Michael Koch  <konqueror@gmx.de>
3952
3953         * gnu/java/nio/CharViewBufferImpl.java
3954         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
3955         (get): Shift bits to the right direction.
3956         (put): Likewise.
3957         * gnu/java/nio/DoubleViewBufferImpl.java
3958         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
3959         (get): Shift bits to the right direction.
3960         (put): Likewise.
3961         * gnu/java/nio/FloatViewBufferImpl.java
3962         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
3963         (get): Shift bits to the right direction.
3964         (put): Likewise.
3965         * gnu/java/nio/IntViewBufferImpl.java
3966         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
3967         (get): Shift bits to the right direction.
3968         (put): Likewise.
3969         * gnu/java/nio/LongViewBufferImpl.java
3970         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
3971         (get): Shift bits to the right direction.
3972         (put): Likewise.
3973         * gnu/java/nio/ShortViewBufferImpl.java
3974         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
3975         (get): Shift bits to the right direction.
3976         (put): Likewise.
3977
3978 2003-05-13  Michael Koch  <konqueror@gmx.de>
3979
3980         * gnu/java/nio/natDirectByteBufferImpl.cc
3981         (allocateImpl): jlong -> RawData*.
3982         (freeImpl): Likewise.
3983
3984 2003-05-13  Michael Koch  <konqueror@gmx.de>
3985
3986         * java/nio/channels/FileChannel.java
3987         (MapMode.m): Made it package-private to match JDK 1.4.
3988         * java/nio/charset/Charset.java
3989         (decode): Made it final to match JDK 1.4.
3990
3991 2003-05-13  Michael Koch  <konqueror@gmx.de>
3992
3993        * java/io/FileDescriptor.java
3994        (SYNC): New constant.
3995        (DSYNC): Likewise.
3996        (getLength): Renamed from lenght() to match classpath's
3997        FileDescriptor.java.
3998        * java/io/RandomAccessFile.java
3999        (RandomAccessFile): Removed unneeded mode check, implemented mode
4000        "rws" and "rwd", merged documentation from classpath.
4001        (setLength): Reformatted.
4002        (length): Use new getLength() of FileDescriptor.
4003        * java/io/natFileDescriptorEcos.cc
4004        (getLength): Renamed from length().
4005        * java/io/natFileDescriptorPosix.cc
4006        (open): Implemented support for SYNC and DSYNC.
4007        (seek): Use getLength() instead of length().
4008        (getLength): Renamed from length().
4009        * java/io/natFileDescriptorWin32.cc
4010        (getLength): Renamed from length().
4011        (seek): Use getLength() instead of length().
4012        (available): Likewise.
4013        * gnu/java/nio/natFileChannelImpl.cc
4014        (size): Use getLength() instead of length().
4015
4016 2003-05-13  Michael Koch  <konqueror@gmx.de>
4017
4018         * gnu/java/nio/ByteBufferImpl.java
4019         (ByteBufferImpl): All constructors revised.
4020         (slice): Reimplemented.
4021         (duplicate): Reimplemented.
4022         (asReadOnlyBuffer): Reimplemented.
4023         * java/nio/ByteBuffer.java:
4024         Reformatted.
4025         (array_offset): Renamed from "offset" to match all other buffer
4026         classes.
4027         (ByteBuffer): All constructors revised.
4028         (allocateDirect): Implemented.
4029         (allocate): New implementation, documentation reworked.
4030         (wrap): Likewise.
4031         (get): Documentation reworked.
4032         (put): New implementation, documentation reworked.
4033         (hasArray): Documentation reworked.
4034         (arrayOffset): Likewise.
4035         (hashCode): Likewise.
4036         (equals): Likewise.
4037         (compareTo): Likewise.
4038         (order): Likewise.
4039         (compact): Likewise.
4040         (isDirect): Likewise.
4041         (slice): Likewise.
4042         (duplicate): Likewise.
4043         (asReadOnlyBuffer): Likewise.
4044         * Makefile.am
4045         (ordinary_java_source_files):
4046         Added gnu/java/nio/DirectByteBufferImpl.java.
4047         (nat_source_files):
4048         Added gnu/java/nio/natDirectByteBufferImpl.cc.
4049         * Makefile.in: Regenerated.
4050
4051 2003-05-12  Michael Koch  <konqueror@gmx.de>
4052
4053         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
4054         (nio_get_*): Removed.
4055         (nio_put_*): Removed.
4056         (as*Buffer): Implemented.
4057         (compact): Implemented.
4058         (get): Documentation added.
4059         (put): Documentation added.
4060         (get*): Newly implemented.
4061         (put*): Newly implemented.
4062         * gnu/java/nio/CharBufferImpl.java: Reformatted.
4063         (CharBufferImpl): Revised.
4064         (slice): New implementation.
4065         (duplicate): New implementation.
4066         (compact): New implementation.
4067         (asReadOnlyBuffer): New implementation.
4068         (get): Documentation revised.
4069         (order): Return native byte order.
4070         * gnu/java/nio/DirectByteBufferImpl.java
4071         (allocateDirect): objects can be null not 0.
4072         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
4073         (DoubleBufferImpl): Revised.
4074         (slice): New implementation.
4075         (duplicate): New implementation.
4076         (compact): New implementation.
4077         (asReadOnlyBuffer): New implementation.
4078         (get): Documentation revised.
4079         (order): Return native byte order.
4080         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
4081         (FloatBufferImpl): Revised.
4082         (slice): New implementation.
4083         (duplicate): New implementation.
4084         (compact): New implementation.
4085         (asReadOnlyBuffer): New implementation.
4086         (get): Documentation revised.
4087         (order): Return native byte order.
4088         * gnu/java/nio/IntBufferImpl.java: Reformatted.
4089         (IntBufferImpl): Revised.
4090         (slice): New implementation.
4091         (duplicate): New implementation.
4092         (compact): New implementation.
4093         (asReadOnlyBuffer): New implementation.
4094         (get): Documentation revised.
4095         (order): Return native byte order.
4096         * gnu/java/nio/LongBufferImpl.java: Reformatted.
4097         (LongBufferImpl): Revised.
4098         (slice): New implementation.
4099         (duplicate): New implementation.
4100         (compact): New implementation.
4101         (asReadOnlyBuffer): New implementation.
4102         (get): Documentation revised.
4103         (order): Return native byte order.
4104         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
4105         (ShortBufferImpl): Revised.
4106         (slice): New implementation.
4107         (duplicate): New implementation.
4108         (compact): New implementation.
4109         (asReadOnlyBuffer): New implementation.
4110         (get): Documentation revised.
4111         (order): Return native byte order.
4112         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4113         (CharBuffer): Revised.
4114         (order): Removed.
4115         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4116         (DoubleBuffer): Revised.
4117         (allocateDirect): Removed.
4118         (order): Removed.
4119         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4120         (FloatBuffer): Revised.
4121         (allocateDirect): Removed.
4122         (order): Removed.
4123         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4124         (IntBuffer): Revised.
4125         (allocateDirect): Removed.
4126         (order): Removed.
4127         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4128         (LongBuffer): Revised.
4129         (allocateDirect): Removed.
4130         (order): Removed.
4131         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4132         (ShortBuffer): Revised.
4133         (allocateDirect): Removed.
4134         (order): Removed.
4135         * gnu/java/nio/natByteBufferImpl.cc: Removed.
4136         * gnu/java/nio/natCharBufferImpl.cc: Removed.
4137         * Makefile.am
4138         (ordinary_java_source_files): Added the following files:
4139         gnu/java/nio/CharViewBufferImpl.java,
4140         gnu/java/nio/DoubleViewBufferImpl.java,
4141         gnu/java/nio/FloatViewBufferImpl.java,
4142         gnu/java/nio/IntViewBufferImpl.java,
4143         gnu/java/nio/LongViewBufferImpl.java,
4144         gnu/java/nio/ShortViewBufferImpl.java
4145         (nat_source_files): Removed the following files:
4146         gnu/java/nio/natByteBufferImpl.cc,
4147         gnu/java/nio/natCharBufferImpl.cc
4148         * Makefile.in: Regenerated.
4149
4150 2003-05-12  Michael Koch  <konqueror@gmx.de>
4151
4152         * gnu/java/nio/CharViewBufferImpl.java,
4153         gnu/java/nio/DirectByteBufferImpl.java,
4154         gnu/java/nio/DoubleViewBufferImpl.java,
4155         gnu/java/nio/FloatViewBufferImpl.java,
4156         gnu/java/nio/IntViewBufferImpl.java,
4157         gnu/java/nio/LongViewBufferImpl.java,
4158         gnu/java/nio/ShortViewBufferImpl.java,
4159         gnu/java/nio/natDirectByteBufferImpl.cc:
4160         New files, not yet to be compiled.
4161
4162 2003-05-10  Michael Koch  <konqueror@gmx.de>
4163
4164         * javax/swing/plaf/ButtonUI.java,
4165         javax/swing/plaf/ColorUIResource.java,
4166         javax/swing/plaf/ComponentUI.java,
4167         javax/swing/plaf/DimensionUIResource.java,
4168         javax/swing/plaf/FontUIResource.java,
4169         javax/swing/plaf/IconUIResource.java,
4170         javax/swing/plaf/InsetsUIResource.java,
4171         javax/swing/plaf/LabelUI.java,
4172         javax/swing/plaf/ListUI.java,
4173         javax/swing/plaf/OptionPaneUI.java,
4174         javax/swing/plaf/PanelUI.java,
4175         javax/swing/plaf/TabbedPaneUI.java,
4176         javax/swing/plaf/TextUI.java,
4177         javax/swing/plaf/TreeUI.java,
4178         javax/swing/plaf/ViewportUI.java,
4179         javax/swing/plaf/basic/BasicBorders.java,
4180         javax/swing/plaf/basic/BasicButtonUI.java,
4181         javax/swing/plaf/basic/BasicCheckBoxUI.java,
4182         javax/swing/plaf/basic/BasicDefaults.java,
4183         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4184         javax/swing/plaf/basic/BasicIconFactory.java,
4185         javax/swing/plaf/basic/BasicLabelUI.java,
4186         javax/swing/plaf/basic/BasicListUI.java,
4187         javax/swing/plaf/basic/BasicOptionPaneUI.java,
4188         javax/swing/plaf/basic/BasicPanelUI.java,
4189         javax/swing/plaf/basic/BasicRadioButtonUI.java,
4190         javax/swing/plaf/basic/BasicScrollPaneUI.java,
4191         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4192         javax/swing/plaf/basic/BasicTextUI.java,
4193         javax/swing/plaf/basic/BasicToggleButtonUI.java,
4194         javax/swing/plaf/basic/BasicTreeUI.java,
4195         javax/swing/plaf/basic/BasicViewportUI.java,
4196         javax/swing/plaf/metal/MetalLookAndFeel.java:
4197         New versions from classpath. This adds copyrights to all files and
4198         some serialVersionUIDs.
4199
4200 2003-05-10  Michael Koch  <konqueror@gmx.de>
4201
4202         * java/nio/CharBuffer.java
4203         (offset): Make it package-private.
4204         (backing_buffer): Likewise.
4205         * java/nio/DoubleBuffer.java
4206         (offset): Make it package-private.
4207         (backing_buffer): Likewise.
4208         (put): Reformatted.
4209         * java/nio/FloatBuffer.java
4210         (offset): Make it package-private.
4211         (backing_buffer): Likewise.
4212         * java/nio/IntBuffer.java
4213         (offset): Make it package-private.
4214         (backing_buffer): Likewise.
4215         * java/nio/LongBuffer.java
4216         (offset): Make it package-private.
4217         (backing_buffer): Likewise.
4218         * java/nio/ShortBuffer.java
4219         (offset): Make it package-private.
4220         (backing_buffer): Likewise.
4221
4222 2003-05-10  Michael Koch  <konqueror@gmx.de>
4223
4224         * java/nio/CharBuffer.java
4225         (put): Fixed precondtion check.
4226         (toString): Make it work without backing array.
4227         (put): Skip one level of method calling.
4228
4229 2003-05-10  Michael Koch  <konqueror@gmx.de>
4230
4231         * java/security/Identity.java,
4232         java/security/IdentityScope.java,
4233         java/security/Key.java,
4234         java/security/KeyPair.java,
4235         java/security/PrivateKey.java,
4236         java/security/Provider.java,
4237         java/security/PublicKey.java,
4238         java/security/SecureRandom.java,
4239         java/security/SecureRandomSpi.java,
4240         java/security/SignedObject.java,
4241         java/security/Signer.java,
4242         java/security/cert/Certificate.java,
4243         java/security/cert/PKIXCertPathBuilderResult.java,
4244         java/security/cert/X509Certificate.java:
4245         New versions from classpath.
4246
4247 2003-05-09  Tom Tromey  <tromey@redhat.com>
4248
4249         * Makefile.in: Rebuilt.
4250         * Makefile.am (nat_source_files): Removed old files.
4251         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
4252         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
4253         * gnu/java/nio/natIntBufferImpl.cc: Removed.
4254         * gnu/java/nio/natLongBufferImpl.cc: Removed.
4255         * gnu/java/nio/natShortBufferImpl.cc: Removed.
4256
4257 2003-05-09  Michael Koch  <konqueror@gmx.de>
4258
4259         * gnu/java/nio/ByteBufferImpl.java
4260         (nio_cast): Removed.
4261         (ByteBufferImpl): Removed.
4262         (nio_get_Byte): Removed.
4263         (nio_put_Byte): Removed.
4264         (asByteBuffer): Removed.
4265         (asCharBuffer): Removed implementation and throw exception.
4266         (asShortBuffer): Likewise.
4267         (asIntBuffer): Likewise.
4268         (asLongBuffer): Likewise.
4269         (asFloatBuffer): Likewise.
4270         (asDoubleBuffer): Likewise.
4271         * gnu/java/nio/CharBufferImpl.java
4272         (CharBufferImpl): Removed.
4273         (nio_get_Byte): Removed.
4274         (nio_put_Byte): Removed.
4275         (asByteBuffer): Removed.
4276         * gnu/java/nio/DoubleBufferImpl.java
4277         (DoubleBufferImpl): Removed.
4278         (nio_get_Byte): Removed.
4279         (nio_put_Byte): Removed.
4280         (asByteBuffer): Removed.
4281         * gnu/java/nio/FloatBufferImpl.java
4282         (FloatBufferImpl): Removed.
4283         (nio_get_Byte): Removed.
4284         (nio_put_Byte): Removed.
4285         (asByteBuffer): Removed.
4286         * gnu/java/nio/IntBufferImpl.java
4287         (IntBufferImpl): Removed.
4288         (nio_get_Byte): Removed.
4289         (nio_put_Byte): Removed.
4290         (asByteBuffer): Removed.
4291         * gnu/java/nio/LongBufferImpl.java
4292         (LongBufferImpl): Removed.
4293         (nio_get_Byte): Removed.
4294         (nio_put_Byte): Removed.
4295         (asByteBuffer): Removed.
4296         * gnu/java/nio/ShortBufferImpl.java
4297         (ShortBufferImpl): Removed.
4298         (nio_get_Byte): Removed.
4299         (nio_put_Byte): Removed.
4300         (asByteBuffer): Removed.
4301         * gnu/java/nio/natByteBufferImpl.cc
4302         (nio_cast): Removed.
4303         (nio_get_Byte): Removed.
4304         (nio_put_Byte): Removed.
4305         * gnu/java/nio/natCharBufferImpl.cc
4306         (nio_get_Byte): Removed.
4307         (nio_put_Byte): Removed.
4308
4309 2003-05-09  Michael Koch  <konqueror@gmx.de>
4310
4311         * java/net/JarURLConnection.java
4312         (getJarEntry): Merged documentation from classpath.
4313         (getJarFile): Likewise.
4314         (getMainAttributes): Likewise.
4315         (getAttributes): Likewise.
4316         (getManifest): Likewise.
4317         (getCertificates): Reformatted.
4318         * java/net/URLConnection.java:
4319         Little classpath merge.
4320
4321 2003-05-09  Michael Koch  <konqueror@gmx.de>
4322
4323         * java/io/DataOutputStream.java
4324         (writeShort): Made it synchronized.
4325         (writeChar): Likewise.
4326         (writeInt): Likewise.
4327         (writeLong): Liekwise.
4328         (writeUTF): Made it synchronized, renamed argument to match classpath.
4329         * java/io/InputStreamReader.java
4330         (converter): Added documentation.
4331         (read): Merged documentation from classpath.
4332         * java/io/OutputStreamWriter.java
4333         (OutputStreamWriter): Merged documentation from classpath.
4334         (close): Reformatted.
4335         (getEncoding): Likewise.
4336         (flush): Likewise.
4337         (write): Merged documentation from classpath, reformatted.
4338
4339 2003-05-08  Tom Tromey  <tromey@redhat.com>
4340
4341         * configure.host <powerpc64*-*>: Set with_libffi_default and
4342         libgcj_interpreter to "yes".
4343
4344 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
4345
4346         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
4347         
4348 2003-05-06  Tom Tromey  <tromey@redhat.com>
4349
4350         * verify.cc: Reverted previous patch.
4351
4352 2003-05-06  Michael Koch  <konqueror@gmx.de>
4353
4354         * java/io/DataOutputStream.java
4355         (write): Renamed argument to "value", merged documentation from
4356         classpath.
4357         (writeBoolean): Likewise.
4358         (writeByte): Likewise.
4359         (writeShort): Likewise.
4360         (writeChar): Likewise.
4361         (writeInt): Likewise.
4362         (writeLong): Likewise.
4363         (writeFloat): Likewise.
4364         (writeDouble): Likewise.
4365         (writeBytes): Likewise.
4366         (writeChars): Likewise.
4367         (writeUTF): Likewise.
4368         * java/io/File.java
4369         (performDelete): Added documentation.
4370         (performList): Likewise.
4371         (performMkdir): Likewise.
4372         (performSetReadOnly): Likewise.
4373         (performRenameTo): Likewise.
4374         (performSetLastModified): Likewise.
4375         (delete): Made it sychronized.
4376         (renameTo): Made it sychronized.
4377         (equals): Reformatted.
4378         (isHidden): Likewise.
4379         (listFiles): Likewise.
4380         (setReadOnly): Likewise.
4381         (listRoots): Likewise.
4382         (setLastModified): Likewise.
4383         (checkRead): Likewise.
4384         (checkWrite): Likewise.
4385         * java/io/FileInputStream.java
4386         (skip): Made it sychronized, merged from classpath.
4387         * java/io/FileOutputStream.java
4388         (write): Merged from classpath.
4389         * java/io/InputStreamReader.java:
4390         (InputStreamReader): Merged documentation from classpath.
4391
4392 2003-05-05  Michael Koch  <konqueror@gmx.de>
4393
4394         * java/net/NetworkInterface.java
4395         (networkInterfaces): Removed.
4396         (getByName): Use getRealNetworkInterfaces() instead of
4397         networkInterfaces.
4398         (getByInetAddress): Likewise.
4399         (getNetworkInterfaces): Likewise.
4400         (toString): Fix output of addresses of an interface.
4401
4402 2003-05-05  Michael Koch  <konqueror@gmx.de>
4403
4404         * java/io/DataInputStream.java:
4405         Merged new documentation from classpath.
4406
4407 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
4408
4409         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4410         "version".
4411         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4412         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4413         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4414         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4415         * gnu/awt/gtk/GtkMainThread.java: Likewise.
4416         * gnu/awt/gtk/GtkToolkit.java: Likewise.
4417         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4418         * java/security/Key.java: Likewise.
4419         * java/security/PrivateKey.java: Likewise.
4420         * java/security/Provider.java: Likewise.
4421         * java/security/PublicKey.java: Likewise.
4422
4423 2003-05-02  Michael Koch  <konqueror@gmx.de>
4424
4425         * java/net/URI.java
4426         (create): Doesnt throws any exceptions.
4427         * java/net/URLConnection.java
4428         (URLConnection): Commend added.
4429         (getExpiration): The header field is called "expires" not
4430         "expiration".
4431         (getHeaderField): Merged documentation with classpath.
4432         (getHeaderFieldInt): Likewise.
4433         (getHeaderFieldDate): Likewise.
4434         (getHeaderFieldKey): Likewise.
4435         (getPermission): Likewise.
4436         (setDefaultUseCaches): Likewise.
4437         (setRequestProperty): Likewise.
4438         (addRequestProperty): Likewise.
4439         (getRequestProperty): Likewise.
4440         (getRequestProperties): Likewise.
4441         (setDefaultRequestProperty): Likewise.
4442         (getDefaultRequestProperty): Likewise.
4443         (guessContentTypeFromStream): Likewise.
4444         (getFileNameMap): Likewise.
4445         (setFileNameMap): Likewise.
4446         (setDoInput): Merged implementation and documentation with classpath.
4447         (setDoOutput): Likewise.
4448         (setAllowUserInteraction): Likewise.
4449         (setDefaultAllowUserInteraction): Likewise.
4450         (setContentHandlerFactory): Made it synchronized, merged documentation
4451         with classpath.
4452         (guessContentTypeFromName): Renamed argument fname to filename to
4453         match classpath, merged documentation with classpath.
4454
4455 2003-05-02  Michael Koch  <konqueror@gmx.de>
4456
4457         * java/net/JarURLConnection.java
4458         (JarURLConnection): Class documentation merged with classpath.
4459         (getJarFileURL): Moved and documentation merged with classpath.
4460         (getEntryName): Likewise.
4461         (JarURLConnection): Documentation merged with classpath.
4462         (getJarEntry): Likewise.
4463         (getJarFile): Likewise.
4464         * java/net/PlainDatagramSocketImpl.java:
4465         Class documentation moved.
4466         * java/net/URLConnection.java
4467         (fileNameMap): Moved and documentation merged with classpath.
4468         (factory): Likewise.
4469         (defaultAllowUserInteraction): Likewis.
4470         (defaultUseCaches): Likewise.
4471         (allowUserInteraction): Likewise.
4472         (connected): Likewise.
4473         (url): Likewise.
4474         (connect): Documentation merged with classpath.
4475         (getURL): Likewise.
4476         (getContentLength): Likewise.
4477         (getContentType): Likewise.
4478         (getContentEncoding): Likewise.
4479         (getExpiration): Likewise.
4480         (getDate): Likewise.
4481         (getLastModified): Likewise.
4482         (getHeaderField): Likewise.
4483         (getContent): Likewise.
4484         (getPermission): Likewise.
4485         (getInputStream): Likewise.
4486         (getOutputStream): Likewise.
4487         (toString): Likewise.
4488         (getDoInput): Likewise.
4489         (getDoOutput): Likewise.
4490         (setAllowUserInteraction): Likewise.
4491         (getAllowUserInteraction): Likewise.
4492         (setDefaultAllowUserInteraction): Likewise.
4493         (getDefaultAllowUserInteraction): Likewise.
4494         (setUseCaches): Likewise.
4495         (getUseCaches): Likewise.
4496         (setIfModifiedSince): Likewise.
4497         (getIfModifiedSince): Likewise.
4498         (setDefaultRequestProperty): Likewise.
4499         (getDefaultRequestProperty): Likewise.
4500         (setContentHandlerFactory): Likewise.
4501         (setFileNameMap): Likewise.
4502
4503 2003-05-02  Michael Koch  <konqueror@gmx.de>
4504
4505         * java/net/InetAddress.java:
4506         Merged class documentation with classpath.
4507         * java/net/JarURLConnection.java:
4508         Explicitely import all used classes.
4509         * java/net/URL.java:
4510         Reformatting.
4511         * java/net/ServerSocket.java,
4512         java/net/Socket.java:
4513         New versions from classpath.
4514
4515 2003-05-02  Michael Koch  <konqueror@gmx.de>
4516
4517         * gnu/java/nio/FileChannelImpl.java
4518         (read): New implementation.
4519         (implRead): New methods.
4520         (write): New implementation, call other write insteal of read method.
4521         (implWrite): New methods.
4522         (map): Added comment.
4523         (transferFrom): Implemented.
4524         (transferTo): Implemented.
4525         (lock): Added checks to throw exceptions.
4526         (truncate): Added check to throw exception.
4527         * gnu/java/nio/natFileChannelImpl.cc
4528         (implRead): New method.
4529         (implWrite): New method.
4530         * java/nio/ByteBuffer.java
4531         (hashCode): Fixed comment.
4532         (get): Fixed exception documentation.
4533         (put): Fixed exception documentation.
4534         * java/nio/CharBuffer.java:
4535         Added comment for later optimizations.
4536
4537 2003-04-30  Tom Tromey  <tromey@redhat.com>
4538
4539         PR libgcj/10582:
4540         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
4541         Removed.
4542         (type::compatible): Use _Jv_IsAssignableFrom.
4543         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
4544         (_Jv_IsAssignableFrom): Work even when source or target class is
4545         not prepared.
4546
4547 2003-04-30  Michael Koch  <konqueror@gmx.de>
4548
4549         * java/text/BreakIterator.java
4550         (clone): New method.
4551
4552 2003-04-30  Michael Koch  <konqueror@gmx.de>
4553
4554         * java/text/CollationElementIterator.java,
4555         java/text/CollationKey.java,
4556         java/text/RuleBasedCollator.java:
4557         Merged copyright and documentation from classpath and
4558         rearranged some code. No code changes done.
4559
4560 2003-04-30  Michael Koch  <konqueror@gmx.de>
4561
4562         * java/util/regex/Matcher.java
4563         (pattern): New member variable.
4564         (appendReplacement): New method.
4565         (appendTail): New method.
4566         (end): New method.
4567         (find): New method.
4568         (group): New method.
4569         (replaceFirst): Added documentation.
4570         (replaceAll): Added documentation.
4571         (groupCount): New method.
4572         (lookingAt): New method.
4573         (matches): New method.
4574         (reset): New method.
4575         (start): New method.
4576         * java/util/regex/Pattern.java
4577         (serialVersionUID): New constant.
4578         (CANON_EQ): New constant.
4579         (CASE_INSENSITIVE): New constant.
4580         (COMMENTS): New constant.
4581         (DOTALL): New constant.
4582         (MULTILINE): New constant.
4583         (UNICODE_CASE): New constant.
4584         (UNIX_LINES): New constant.
4585         (regex): New member variable.
4586         (flags): New member variable.
4587         (Pattern): New method.
4588         (compile): Documentation added.
4589         (flags): New method.
4590         (matches): Documentation added.
4591         (matcher): Documentation added.
4592         (split): Documentation added.
4593         (pattern): New method.
4594
4595 2003-04-30  Michael Koch  <konqueror@gmx.de>
4596
4597         * gnu/java/security/Engine.java,
4598         gnu/java/security/OID.java,
4599         gnu/java/security/der/BitString.java,
4600         gnu/java/security/der/DER.java,
4601         gnu/java/security/der/DERReader.java,
4602         gnu/java/security/der/DERValue.java,
4603         gnu/java/security/der/DERWriter.java,
4604         gnu/java/security/provider/DSAKeyFactory.java,
4605         gnu/java/security/provider/X509CertificateFactory.java,
4606         gnu/java/security/x509/X500DistinguishedName.java,
4607         gnu/java/security/x509/X509CRL.java,
4608         gnu/java/security/x509/X509CRLEntry.java,
4609         gnu/java/security/x509/X509Certificate.java,
4610         java/security/cert/CRLSelector.java,
4611         java/security/cert/CertPathBuilder.java,
4612         java/security/cert/CertPathBuilderResult.java,
4613         java/security/cert/CertPathBuilderSpi.java,
4614         java/security/cert/CertPathParameters.java,
4615         java/security/cert/CertPathValidator.java,
4616         java/security/cert/CertPathValidatorResult.java,
4617         java/security/cert/CertPathValidatorSpi.java,
4618         java/security/cert/CertSelector.java,
4619         java/security/cert/CertStore.java,
4620         java/security/cert/CertStoreParameters.java,
4621         java/security/cert/CertStoreSpi.java,
4622         java/security/cert/CollectionCertStoreParameters.java,
4623         java/security/cert/LDAPCertStoreParameters.java,
4624         java/security/cert/PKIXBuilderParameters.java,
4625         java/security/cert/PKIXCertPathBuilderResult.java,
4626         java/security/cert/PKIXCertPathChecker.java,
4627         java/security/cert/PKIXCertPathValidatorResult.java,
4628         java/security/cert/PKIXParameters.java,
4629         java/security/cert/PolicyNode.java,
4630         java/security/cert/PolicyQualifierInfo.java,
4631         java/security/cert/TrustAnchor.java,
4632         javax/security/auth/x500/X500Principal.java:
4633         New files from classpath.
4634         * gnu/java/io/ASN1ParsingException.java,
4635         gnu/java/io/Base64InputStream.java,
4636         gnu/java/security/der/DEREncodingException.java,
4637         gnu/java/security/provider/DSAParameters.java,
4638         gnu/java/security/provider/DSASignature.java,
4639         gnu/java/security/provider/Gnu.java,
4640         gnu/java/security/provider/GnuDSAPrivateKey.java,
4641         gnu/java/security/provider/GnuDSAPublicKey.java,
4642         java/security/AlgorithmParameterGenerator.java,
4643         java/security/AlgorithmParameters.java,
4644         java/security/KeyFactory.java,
4645         java/security/KeyPairGenerator.java,
4646         java/security/KeyStore.java,
4647         java/security/MessageDigest.java,
4648         java/security/SecureClassLoader.java,
4649         java/security/SecureRandom.java,
4650         java/security/Security.java,
4651         java/security/Signature.java,
4652         java/security/cert/Certificate.java,
4653         java/security/cert/CertificateFactory.java,
4654         java/security/cert/CertificateFactorySpi.java,
4655         java/security/cert/X509CRL.java,
4656         java/security/cert/X509Certificate.java,
4657         java/security/spec/DSAPublicKeySpec.java:
4658         New versions from classpath.
4659         * gnu/java/security/provider/DERReader.java,
4660         gnu/java/security/provider/DERWriter.java,
4661         java/security/Engine.java: Removed.
4662         * Makefile.am
4663         (java_source_files, javax_source_files): Added new files.
4664         * Makefile.in: Regenerated.
4665
4666 2003-04-29  Michael Koch  <konqueror@gmx.de>
4667
4668         * javax/swing/JTable.java
4669         (AUTO_RESIZE_ALL_COLUMNS): New constant.
4670         (AUTO_RESIZE_LAST_COLUMN): New constant.
4671         (AUTO_RESIZE_NEXT_COLUMN): New constant.
4672         (AUTO_RESIZE_OFF): New constant.
4673         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
4674         (JTable): New method.
4675         (columnAdded): New method.
4676         (columnMarginChanged): New method.
4677         (columnMoved): New method.
4678         (columnRemoved): New method.
4679         (columnSelectionChanged): New method.
4680         (editingCanceled): New method.
4681         (editingStopped): New method.
4682         (getColumnModel): New method.
4683         (getPreferredScrollableViewportSize): New method.
4684         (getScrollableBlockIncrement): New method.
4685         (getScrollableTracksViewportHeight): New method.
4686         (getScrollableTracksViewportWidth): New method.
4687         (getScrollableUnitIncrement): New method.
4688         (getSelectedRow): New method.
4689         (getSelectionModel): New method.
4690         (tableChanged): New method.
4691         (setModel): New method.
4692         (setSelectionMode): New method.
4693         (setSelectionModel): New method.
4694         (setShowGrid): New method.
4695         (valueChanged): New method.
4696         * javax/swing/text/DefaultEditorKit.java
4697         (backwardAction): New constant.
4698         (beepAction): New constant.
4699         (beginAction): New constant.
4700         (beginLineAction): New constant.
4701         (beginParagraphAction): New constant.
4702         (beginWordAction): New constant.
4703         (copyAction): New constant.
4704         (cutAction): New constant.
4705         (defaultKeyTypedAction): New constant.
4706         (deleteNextCharAction): New constant.
4707         (deletePrevCharAction): New constant.
4708         (downAction): New constant.
4709         (endAction): New constant.
4710         (endLineAction): New constant.
4711         (endOfLineStringProperty): New constant.
4712         (endParagraphAction): New constant.
4713         (endWordAction): New constant.
4714         (forwardAction): New constant.
4715         (insertBreakAction): New constant.
4716         (insertContentAction): New constant.
4717         (insertTabAction): New constant.
4718         (nextWordAction): New constant.
4719         (pageDownAction): New constant.
4720         (pageUpAction): New constant.
4721         (pasteAction): New constant.
4722         (previousWordAction): New constant.
4723         (readOnlyAction): New constant.
4724         (selectAllAction): New constant.
4725         (selectionBackwardAction): New constant.
4726         (selectionBeginAction): New constant.
4727         (selectionBeginLineAction): New constant.
4728         (selectionBeginParagraphAction): New constant.
4729         (selectionBeginWordAction): New constant.
4730         (selectionDownAction): New constant.
4731         (selectionEndAction): New constant.
4732         (selectionEndLineAction): New constant.
4733         (selectionEndParagraphAction): New constant.
4734         (selectionEndWordAction): New constant.
4735         (selectionForwardAction): New constant.
4736         (selectionNextWordAction): New constant.
4737         (selectionPreviousWordAction): New constant.
4738         (selectionUpAction): New constant.
4739         (selectLineAction): New constant.
4740         (selectParagraphAction): New constant.
4741         (selectWordAction): New constant.
4742         (upAction): New constant.
4743         (writableAction): New constant.
4744
4745 2003-04-29  Michael Koch  <konqueror@gmx.de>
4746
4747         * java/util/PropertyPermission.java:
4748         New version from classpath
4749         * java/util/ResourceBundle.java:
4750         Partly merged from classpath
4751         (getObject): Reformated.
4752         (tryBundle): Set foundBundle = null if no bundle found.
4753
4754 2003-04-29  Michael Koch  <konqueror@gmx.de>
4755
4756         * javax/swing/AbstractListModel.java,
4757         javax/swing/DefaultBoundedRangeModel.java,
4758         javax/swing/DefaultSingleSelectionModel.java:
4759         New Versions from classpath.
4760
4761 2003-04-29  Michael Koch  <konqueror@gmx.de>
4762
4763         * java/awt/Window.java
4764         (show): Call super.show() instead of setVisible() to avoid endless
4765         loop.
4766         (hide): Call super.hide() instead of setVisible() to avoid endless
4767         loop.
4768
4769 2003-04-29  Michael Koch  <konqueror@gmx.de>
4770
4771         * java/util/zip/Deflater.java,
4772         java/util/zip/DeflaterOutputStream.java:
4773         Partly merged with classpath.
4774
4775 2003-04-27  Tom Tromey  <tromey@redhat.com>
4776
4777         * java/lang/natString.cc (_Jv_AllocString): Initialize
4778         cachedHashCode.
4779         (init): Likewise.
4780         (_Jv_NewStringUtf8Const): Likewise.
4781
4782 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
4783
4784         * include/jvm.h: (_Jv_GetNbArgs) added
4785         (_Jv_GetSafeArg) added
4786         (_Jv_SetArgs) added
4787         * prims.cc: (_Jv_GetNbArgs) implemented
4788         (_Jv_GetSafeArg) implemented
4789         (_Jv_SetArgs) implemented
4790         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
4791         setting _Jv_argc and _Jv_argv
4792         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
4793         instead of _Jv_argv
4794         * java/lang/natRuntime.cc: (insertSystemProperties) use
4795         _Jv_GetSafeArg() instead of _Jv_argv
4796
4797 2003-04-23  Tom Tromey  <tromey@redhat.com>
4798
4799         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
4800         required by this object.  Search superclasses to find required
4801         alignment.
4802         (get_alignment_from_class): Use alignment of type as it appears
4803         in a struct.
4804         (ALIGNOF): New macro.
4805         (struct aligner): New helper structure.
4806
4807 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
4808
4809         * java/awt/Container.java (addImpl): Enable paint events if adding
4810         a lightweight to a heavyweight.
4811         (addNotify): Ensure that peer is created before
4812         addNotifyContainerChildren.
4813         (addNotifyContainerChildren): Enable paint events if a heavyweight
4814         container contains a lightweight.
4815
4816 2003-04-20  Tom Tromey  <tromey@redhat.com>
4817
4818         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
4819         java/io/DataInput.java, java/io/DataOutput.java: Imports from
4820         Classpath.
4821
4822 2003-04-19  Tom Tromey  <tromey@redhat.com>
4823
4824         * java/sql/Date.java, java/sql/DriverManager.java,
4825         java/sql/Time.java, java/sql/Timestamp.java: New versions from
4826         Classpath.
4827
4828         * Makefile.in: Rebuilt.
4829         * Makefile.am (ordinary_java_source_files): Added new files.
4830         * java/security/AlgorithmParameterGenerator.java,
4831         java/security/AlgorithmParameters.java, java/security/Engine.java,
4832         java/security/Identity.java, java/security/IdentityScope.java,
4833         java/security/KeyFactory.java,
4834         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
4835         java/security/MessageDigest.java, java/security/Policy.java,
4836         java/security/ProtectionDomain.java,
4837         java/security/SecureRandom.java, java/security/Security.java,
4838         java/security/Signature.java, java/security/SignatureSpi.java,
4839         java/security/SignedObject.java, java/security/Signer.java,
4840         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4841         java/security/spec/PSSParameterSpec.java,
4842         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
4843         java/security/spec/RSAOtherPrimeInfo.java: New versions from
4844         Classpath.
4845
4846 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4847
4848         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
4849         (dispose): Null metrics.
4850         * gnu/awt/xlib/XToolkit.java (sync): Implement.
4851         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
4852         finalize.
4853         (finalize): Call dispose.
4854         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
4855         (gcCachedCount): New field.
4856         (finalize): New method.
4857         (putGCInCache): New method.
4858         (getGCFromCache): New method.
4859         * gnu/gcj/xlib/GC.java (GC): Make protected.
4860         (clone): Get new GC from cache if possible.
4861         (create): New static method.
4862         (dispose): Save old GC in cache.
4863         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
4864         deleting.
4865         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
4866         is null.
4867         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
4868         * java/awt/Container.java (visitChild): Dispose gfx2 when
4869         finished.
4870
4871 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
4872
4873         * java/math/BigInteger.java (probablePrime): New.
4874         * java/math/BigDecimal.java (unscaledValue): New.
4875
4876 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
4877
4878         * java/io/File.java (getAbsolutePath): On Windows, take care
4879         of paths like "C:", "G:foo\bar", etc.
4880         (getName): Make it work correctly on Windows.
4881         (getParent): Make it work correctly on Windows. For UNIX,
4882         fix bug that causes "/" to be returned as the parent of "/",
4883         instead of null as returned by Sun's JRE.
4884
4885         * java/io/natFileWin32.cc: Change copyright owner to FSF.
4886
4887 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4888
4889         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
4890         inner class.
4891         (CACHE_SIZE_PER_DISPLAY): New field
4892         (fontMetricsCache): New field
4893         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
4894         loading ISO10646-1 fonts.
4895
4896 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4897
4898         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
4899         characters.
4900         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
4901         characters.
4902
4903 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
4904
4905         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
4906         floating point.
4907
4908 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
4909
4910         * configure.host (*-linux*): Don't set slow_pthread_self if primary
4911         installed libpthread is either linuxthreads with floating stacks or
4912         NPTL.
4913
4914 2003-04-14  Tom Tromey  <tromey@redhat.com>
4915
4916         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
4917         of alignment.
4918
4919 2003-04-10  Tom Tromey  <tromey@redhat.com>
4920
4921         * verify.cc (pop64): Removed.
4922         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
4923         exception if top-of-stack is narrow.
4924         (initialize_stack): Check to ensure that <init> is not static and
4925         <clinit> is.
4926
4927 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
4928
4929         * java/io/ObjectStreamException
4930         * java/io/FileFilter
4931         * java/io/FilenameFilter
4932         * java/io/ObjectInput
4933         * java/io/ObjectOutput
4934         * java/io/ObjectStreamConstants
4935         Minor doc fixes, format fixes, spelling corrections, etc.
4936         * java/io/DataInput
4937         Corrected code samples in Javadocs to match reality
4938         * java/io/DataOutput
4939         * java/io/ObjectInputValidation
4940         Major documentation fixes - all Javadocs re-written or updated
4941
4942 2003-04-06  Michael Koch  <konqueror@gmx.de>
4943
4944         * java/net/URLConnection.java:
4945         Import classes directly.
4946         (URLConnection): Merged class documentation with classpath.
4947         (url): Moved, documentation from classpath added.
4948         (doInput): Moved, documentation from classpath added.
4949         (doOutput): Moved, documentation from classpath added.
4950         (allowUserInteraction): Moved.
4951         (useCaches): Moved, documentation from classpath added.
4952         (ifModifiedSince): Moved, documentation from classpath added.
4953         (connected): Moved, documentation from classpath added.
4954
4955 2003-04-06  Michael Koch  <konqueror@gmx.de>
4956
4957         * java/io/FileInputStream.java
4958         (skip): Renamed some variables to match classpath, added
4959         checks from classpath.
4960
4961 2003-03-31  Michael Koch  <konqueror@gmx.de>
4962
4963         * javax/swing/AbstractAction.java
4964         (AbstractAction): Reformatted.
4965         (serialVersionUID): New private member variable.
4966         * javax/swing/plaf/BorderUIResource.java
4967         (serialVersionUID): New private member variable.
4968         * javax/swing/plaf/basic/BasicLookAndFeel.java
4969         (serialVersionUID): New private member variable.
4970
4971 2003-03-31  Michael Koch  <konqueror@gmx.de>
4972
4973         * java/sql/Date.java
4974         (valueOf): Deprecated, reformatted.
4975         (toString): Deprecated, reformatted.
4976         * java/sql/Time.java
4977         (valueOf): Deprecated, reformatted.
4978         (toString): Deprecated, reformatted.
4979
4980 2003-03-31  Michael Koch  <konqueror@gmx.de>
4981
4982         * java/rmi/dgc/VMID.java
4983         (isUnique): Deprecated.
4984
4985 2003-03-31  Michael Koch  <konqueror@gmx.de>
4986
4987         * java/io/File.java
4988         (separator): Merged documentation from classpath.
4989         (separatorChar): Merged documentation from classpath.
4990         (pathSeparator): Merged documentation from classpath.
4991         (pathSeparatorChar): Merged documentation from classpath.
4992         (path): Merged documentation from classpath.
4993         (canRead): Merged documentation from classpath.
4994         (canWrite): Merged documentation from classpath.
4995         (createNewFile): Merged documentation from classpath.
4996         (delete): Merged documentation from classpath.
4997         (equals): Merged documentation from classpath.
4998         (exists): Merged documentation from classpath.
4999         (File): Renamed p to name to match classpath, merged documentation
5000         from classpath.
5001         (getAbsolutePath): Merged documentation from classpath.
5002         (getCanonicalPath): Merged documentation from classpath.
5003         (getCanonicalFile): Merged documentation from classpath.
5004         (getName): Merged documentation from classpath.
5005         (getParent): Merged documentation from classpath.
5006         (getParentFile): Merged documentation from classpath.
5007         (getPath): Merged documentation from classpath.
5008         (hashCode): Merged documentation from classpath.
5009         (isAbsolute): Merged documentation from classpath.
5010         (isDirectory): Merged documentation from classpath.
5011         (isFile): Merged documentation from classpath.
5012         (isHidden): Merged documentation from classpath.
5013         (lastModified): Merged documentation from classpath.
5014         (length): Merged documentation from classpath.
5015         (list): Merged documentation from classpath.
5016         (listFiles): Merged documentation from classpath.
5017         (toString): Merged documentation from classpath.
5018         (toURL): Merged documentation from classpath.
5019         (mkdir): Merged documentation from classpath.
5020         (mkdirs): Merged documentation from classpath.
5021         (createTempFile): Merged documentation from classpath.
5022         (setReadOnly): Merged documentation from classpath.
5023         (listRoots): Merged documentation from classpath.
5024         (compareTo): Merged documentation from classpath.
5025         (renameTo): Merged documentation from classpath.
5026         (setLastModified): Merged documentation from classpath.
5027         * java/io/PrintStream.java
5028         (auto_flush): Merged documentation from classpath.
5029         (PrintStream): Merged documentation from classpath.
5030         (checkError): Merged documentation from classpath.
5031         (setError): Merged documentation from classpath.
5032         (close): Merged documentation from classpath.
5033         (flush): Merged documentation from classpath.
5034         (print): Merged documentation from classpath.
5035         (println):  Merged documentation from classpath.
5036         (write): Renamed count to len to match classpath,
5037         merged documentation from classpath.
5038         * java/io/RandomAccessFile.java
5039         (readShort): Merged documentation from classpath.
5040         (readUnsignedByte): Merged documentation from classpath.
5041         (readUnsignedShort): Merged documentation from classpath.
5042         (readUTF): Merged documentation from classpath.
5043         (seek): Reformatted, merged documentation from classpath.
5044         (skipBytes): Renamed some variables to match classpath, reformatted,
5045         merged documentation from classpath.
5046         (write): Merged documentation from classpath.
5047         (writeBoolean): Merged documentation from classpath.
5048         (writeByte): Merged documentation from classpath.
5049         (writeShort): Merged documentation from classpath.
5050         (writeChar): Merged documentation from classpath.
5051         (writeInt): Merged documentation from classpath.
5052         (writeLong): Merged documentation from classpath.
5053         (writeFloat): Merged documentation from classpath.
5054         (writeDouble): Merged documentation from classpath.
5055         (writeBytes): Merged documentation from classpath.
5056         (writeChars): Merged documentation from classpath.
5057         (writeUTF): Reformatted.
5058         (getChannel): Reformatted.
5059
5060 2003-03-31  Michael Koch  <konqueror@gmx.de>
5061
5062         * java/awt/font/TextAttribute.java
5063         (readResolve): Throws java.io.InvalidObjectException.
5064
5065 2003-03-31  Michael Koch  <konqueror@gmx.de>
5066
5067         * java/rmi/server/LoaderHandler.java
5068         (loadClass): Deprecated.
5069         (getSecurityContext): Deprecated.
5070         * java/rmi/server/LogStream.java
5071         (getDefaultStream): Deprecated.
5072         (setDefaultStream): Deprecated.
5073         (getOutputStream): Deprecated.
5074         (setOutputStream): Deprecated.
5075         (write): Deprecated.
5076         (toString): Deprecated.
5077         (parseLevel): Deprecated.
5078         * java/rmi/server/Operation.java
5079         (Operation): Deprecated.
5080         (getOperation): Deprecated.
5081         (toString): Deprecated.
5082         * java/rmi/server/RemoteCall.java
5083         (getOutputStream): Deprecated.
5084         (releaseOutputStream): Deprecated.
5085         (getInputStream): Deprecated.
5086         (releaseInputStream): Deprecated.
5087         (getResultStream): Deprecated.
5088         (executeCall): Deprecated.
5089         (done): Deprecated.
5090         * java/rmi/server/RemoteRef.java
5091         (invoke): Deprecated.
5092         (newCall): Deprecated.
5093         (done): Deprecated.
5094         * java/rmi/server/RemoteStub.java
5095         (setRef): Deprecated.
5096         * java/rmi/server/Skeleton.java:
5097         No need to import java.lang.Exception explicitly.
5098         (dispatch): Deprecated.
5099         (getOperations): Deprecated.
5100
5101 2003-03-31  Michael Koch  <konqueror@gmx.de>
5102
5103         * java/rmi/dgc/VMID.java,
5104         java/rmi/registry/RegistryHandler.java,
5105         java/rmi/server/LogStream.java,
5106         java/rmi/server/Operation.java,
5107         java/rmi/server/RemoteCall.java,
5108         java/rmi/server/RemoteRef.java,
5109         java/rmi/server/RemoteStub.java:
5110         Reformatted.
5111
5112 2003-03-31  Michael Koch  <konqueror@gmx.de>
5113
5114         * javax/swing/AbstractCellEditor.java,
5115         javax/swing/AbstractListModel.java,
5116         javax/swing/ActionMap.java,
5117         javax/swing/BorderFactory.java,
5118         javax/swing/ButtonGroup.java,
5119         javax/swing/DefaultBoundedRangeModel.java,
5120         javax/swing/DefaultButtonModel.java,
5121         javax/swing/DefaultCellEditor.java,
5122         javax/swing/DefaultComboBoxModel.java,
5123         javax/swing/DefaultDesktopManager.java,
5124         javax/swing/DefaultListCellRenderer.java,
5125         javax/swing/DefaultSingleSelectionModel.java,
5126         javax/swing/InputMap.java,
5127         javax/swing/JComponent.java,
5128         javax/swing/JMenu.java,
5129         javax/swing/JSlider.java,
5130         javax/swing/KeyStroke.java,
5131         javax/swing/OverlayLayout.java,
5132         javax/swing/ScrollPaneLayout.java,
5133         javax/swing/SizeRequirements.java,
5134         javax/swing/UIManager.java,
5135         javax/swing/ViewportLayout.java,
5136         javax/swing/border/AbstractBorder.java,
5137         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5138         javax/swing/event/EventListenerList.java,
5139         javax/swing/table/AbstractTableModel.java,
5140         javax/swing/table/DefaultTableCellRenderer.java,
5141         javax/swing/table/DefaultTableColumnModel.java,
5142         javax/swing/table/DefaultTableModel.java,
5143         javax/swing/table/TableColumn.java,
5144         javax/swing/text/StyledEditorKit.java,
5145         javax/swing/tree/DefaultMutableTreeNode.java,
5146         javax/swing/tree/DefaultTreeModel.java,
5147         javax/swing/tree/DefaultTreeSelectionModel.java,
5148         javax/swing/tree/TreePath.java,
5149         javax/swing/undo/AbstractUndoableEdit.java,
5150         javax/swing/undo/StateEdit.java,
5151         javax/swing/undo/StateEditable.java,
5152         javax/swing/undo/UndoableEditSupport.java:
5153         Merges from classpath.
5154
5155 2003-03-30  Tom Tromey  <tromey@redhat.com>
5156
5157         * java/lang/String.java (data, boffset, count): Documented.
5158         (String(byte[],String)): Reformatted.
5159         (String(byte[])): Likewise.
5160         (lastIndexOf(int)): Likewise.
5161         (lastIndexOf(String)): Likewise.
5162         (substring(int)): Renamed argument to match Classpath.
5163         (String(StringBuffer)): Don't share buffer if it is nearly empty.
5164
5165         * java/lang/String.java: Miscellaneous minor formatting changes
5166         to match Classpath more closely.
5167
5168 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
5169             Tom Tromey  <tromey@redhat.com>
5170
5171         * java/lang/natString.cc (hashCode): Use cachedHashCode.
5172         (init()): Removed.
5173         (charAt): Put index in exception.
5174         (contentEquals): New method.
5175         Include StringBuffer.h.
5176         * java/lang/String.java (cachedHashCode): New field.
5177         (String()): Follow classpath implementation.
5178         (init()): Removed.
5179         (contentEquals): Declare.
5180         (subSequence): Don't declare IndexOutIfBoundsException in throws
5181         clause.
5182         (matches, replaceFirst, replaceAll, split): New methods from
5183         Classpath.
5184
5185 2003-03-29  Tom Tromey  <tromey@redhat.com>
5186
5187         * java/lang/String.java: Reordered to follow Classpath; merged in
5188         javadoc.
5189
5190         * java/text/MessageFormat.java: Removed some whitespace.
5191
5192         * Makefile.in: Rebuilt.
5193         * Makefile.am (awt_java_source_files): Added new files.
5194         * gnu/javax/rmi/PortableServer.java,
5195         gnu/javax/rmi/CORBA/DelegateFactory.java,
5196         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5197         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5198         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5199         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5200         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5201         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
5202         javax/rmi/PortableRemoteObject.java,
5203         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
5204         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5205         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
5206         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
5207         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
5208         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
5209
5210         * java/lang/natClass.cc (newInstance): Put method name in
5211         exception.
5212         (getConstructor): Likewise.
5213         (getDeclaredConstructor): Likewise.
5214         (getPrivateMethod): Likewise.
5215
5216 2003-03-28  Tom Tromey  <tromey@redhat.com>
5217
5218         * java/lang/reflect/Proxy.java: New version from Classpath.
5219         * java/lang/Package.java: New version from Classpath.
5220
5221 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
5222
5223         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
5224         * configure: Regenerate.
5225
5226 2003-03-28  Michael Koch  <konqueror@gmx.de>
5227
5228         * java/io/File.java:
5229         Import needed classes instead of whole packages, merged class
5230         documentation with classpath, moved constants and variables to top of
5231         class.
5232         * java/io/PrintStream.java:
5233         Merged class documentation with classpath, moved constants and
5234         variables to top of class.
5235         * java/io/RandomAccessFile.java
5236         (RandomAccessFile): Merged with classpath.
5237         (read): Merged with classpath).
5238         (read*): Reformatted.
5239
5240 2003-03-28  Michael Koch  <konqueror@gmx.de>
5241
5242         * java/io/FileDescriptor.java
5243         (finalize): Throws Throwable, not IOException.
5244         * java/io/ObjectOutputStream.java
5245         (PutField.put): Doesnt throws anything.
5246
5247 2003­03-28  Michael Koch  <konqueror@gmx.de>
5248
5249         * java/io/FileOutputStream.java:
5250         Merged class documentation and authors with classpath.
5251         (FileOutputStream): Partly merged with classpath.
5252         (write): Merged with classpath.
5253         (getChannel): Make it synchronized instead of explicit block in this
5254         method.
5255         * java/io/RandomAccessFile.java:
5256         Merged class documentation and authors with classpath.
5257
5258 2003-03-26  Tom Tromey  <tromey@redhat.com>
5259
5260         * java/lang/natRuntime.cc (insertSystemProperties): Set
5261         gnu.classpath.home.url.
5262         * Makefile.in: Rebuilt.
5263         * Makefile.am: Define LIBDIR.
5264
5265 2003-03-25  Michael Koch  <konqueror@gmx.de>
5266
5267         * java/io/FileInputStream.java
5268         (read): Renamed b to buf and off to offset.
5269         * java/io/FileOutputStream.java
5270         (ch): Documentation added.
5271         (FileOutputStream): Documentation added.
5272         (getFD): Documentation added.
5273         (write): Documentation added.
5274         (close): Documentation added.
5275         (getChannel): Documentation added.
5276
5277 2003-03-24  Michael Koch  <konqueror@gmx.de>
5278
5279         * java/io/DataOutputStream.java
5280         (write): Merged from classpath.
5281         * java/io/File.java:
5282         Merged copyrigth with classpath.
5283         * java/io/FileInputStream.java
5284         (getChannel): Made it synchronized instead of using a synchronized
5285         block.
5286         * java/io/FileOutputStream.java: Reformatted.
5287         * java/io/InputStreamReader.java
5288         (InputStreamReader): Renamed enc to encoding_name.
5289         (close): Merged documentation from classpath.
5290         (getEncoding): Merged documentation from classpath.
5291         (ready): Merged documentation from classpath.
5292         (read): Merged documentation from classpath.
5293         * java/io/LineNumberReader.java
5294         (lineNumber): Made it private.
5295         (LineNumberReader): Use Constant instead of a direct value.
5296         * java/io/OutputStreamWriter.java
5297         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
5298         documentation from classpath.
5299         (close): Merged documentation from classpath.
5300         (flush): Merged documentation from classpath.
5301         (write): Merged documentation from classpath.
5302         * java/io/PrintStream.java: Reformatted.
5303
5304 2003-03-24  Michael Koch  <konqueror@gmx.de>
5305
5306         * javax/swing/text/ComponentView.java
5307         (getComponent): Must be final.
5308         * javax/swing/tree/DefaultTreeCellRenderer.java:
5309         Reformatted.
5310         * javax/swing/undo/StateEditable.java:
5311         Reformatted.
5312
5313 2003-03-24  Michael Koch  <konqueror@gmx.de>
5314
5315         * java/rmi/activation/ActivationInstantiator.java:
5316         Reformatted.
5317         * java/rmi/activation/Activator.java:
5318         Reformatted.
5319         * java/rmi/registry/RegistryHandler.java:
5320         Remerged from classpath.
5321
5322 2003-03-24  Michael Koch  <konqueror@gmx.de>
5323
5324         * java/util/Date.java:
5325         Fixed documentation starting tag to make javadoc happy.
5326         * java/util/regex/Pattern.java
5327         (Pattern): Implements Serializable.
5328         * java/util/PatternSyntaxException.java
5329         (serialVersionUID): New member variable.
5330
5331 2003-03-24  Michael Koch  <koqnueror@gmx.de>
5332
5333         * java/awt/ContainerOrderFocusTraversalPolicy.java
5334         (getFirstComponent): Implemented.
5335         (getLastComponent): Implemented.
5336         (getDefaultComponent): Implemented.
5337         (setImplicitDownCycleTraversal): Fixed implementation.
5338         * java/awt/Robot.java
5339         (Robot): Added documentation.
5340         * java/awt/Toolkit.java
5341         (getFontList): Deprecated.
5342         (getFontMetrics): Deprecated.
5343         (getPrintJob): Added documentation.
5344         (getSystemSelection): Added documentation.
5345         (getLockingKeyState): Added documentation.
5346         (setLockingKeyState): Added documentation.
5347         (createCustomCursor): Added documentation.
5348         (getBestCursorSize): Added documentation.
5349         (getMaximumCursorColors): Added documentation.
5350         (isFrameStateSupported): Added documentation.
5351
5352 2003-03-24  Michael Koch  <konqueror@gmx.de>
5353
5354         * java/io/RandomAccessFile.java:
5355         More little merges with classpath. No code changes.
5356
5357 2003-03-24  Michael Koch  <konqueror@gmx.de>
5358
5359         * java/net/natInetAddressNoNet.cc:
5360         Include stddef.h.
5361         * java/net/natPlainDatagramSocketImplNoNet.cc:
5362         Fixed inlcude of java/net/DatagramPacket.h.
5363         * java/net/natPlainSocketImplNoNet.cc:
5364         Include some missing classes.
5365
5366 2003-03-24  Michael Koch  <konqueror@gmx.de>
5367
5368         * java/awt/dnd/DropTarget.java
5369         (DropTargetAutoScroller): According to the online documentation, this
5370         is protected, but in reality it is public.
5371         * java/awt/dnd/DropTargetContext.java
5372         (TransferableProxy): According to the online documentation, this
5373         is protected, but in reality it is public.
5374
5375 2003-03-24  Michael Koch  <konqueror@gmx.de>
5376
5377         * java/io/DataInputStream.java
5378         (): Wrapped documentation line.
5379         (): Fixed @return tag.
5380         * java/io/DataOutputStream.java
5381         (written): Moved to top of class.
5382         (all methods): Merged documentation from classpath.
5383         * java/io/File.java:
5384         Merged copyright year with classpath.
5385         * java/io/FileInputStream.java
5386         (all methods): Merged documentation from classpath.
5387         * java/io/LineNumberReader.java
5388         (getLineNumber): Fixed @return tag.
5389         * java/io/ObjectInputStream.java.
5390         Reformatted.
5391         * java/io/ObjectOutputStream.java:
5392         Reformatted, fixed some @see tags.
5393         * java/io/OutputStreamWriter.java:
5394         Deleted empty line.
5395         * java/io/Writer.java:
5396         Reformatted.
5397
5398 2003-03-24  Michael Koch  <konqueror@gmx.de>
5399
5400         * java/awt/Frame.java
5401         (DEFAULT_CURSOR): Fixed @deprecated tag.
5402         (setCursor): Fixed @deprecated tag.
5403
5404 2003-03-24  Michael Koch  <konqueror@gmx.de>
5405
5406         * java/beans/beancontext/BeanContextEvent.java:
5407         Reformated.
5408
5409 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
5410
5411         * java/lang/natStringBuffer.cc (regionMatches): New function.
5412         * java/lang/String.java (count): Now package-private.
5413         * java/lang/StringBuffer.java: Merged with Classpath.
5414
5415 2003-03-23  Michael Koch  <konqueror@gmx.de>
5416
5417         * java/io/BufferedOutputStream.java:
5418         Reformated.
5419         * java/io/BufferedReader.java:
5420         Reformated.
5421         * java/io/ByteArrayOutputStream.java
5422         (size): Fixed @see tag.
5423         * java/io/CharArrayWriter.java
5424         (size): Fixed @see tag.
5425         * java/io/DataInput.java:
5426         Reformated.
5427         * java/io/DataOutput.java:
5428         Reformated.
5429         * java/io/DataOutputStream.java:
5430         Merged copyright years with classpath.
5431         * java/io/Externalizable.java:
5432         Reformated.
5433         * java/io/FileFilter.java:
5434         Reformated.
5435         * java/io/FileInputStream.java:
5436         Merged copyright years with classpath.
5437         * java/io/FileOutputStream.java:
5438         Merged copyright years with classpath.
5439         * java/io/FilePermission.java
5440         (FilePermission): Replaced @XXX with FIXME:.
5441         * java/io/FileWriter.java:
5442         Reformated.
5443         * java/io/FilenameFilter.java:
5444         Reformated.
5445         * java/io/FilterInputStream.java:
5446         Reformated.
5447         * java/io/FilterOutputStream.java:
5448         Reformated.
5449         * java/io/FilterReader.java:
5450         Reformated.
5451         * java/io/FilterWriter.java:
5452         Reformated.
5453         * java/io/LineNumberInputStream.java
5454         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
5455         happy.
5456         (getLineNumber): Fixed @return tag.
5457         * java/io/ObjectInput.java:
5458         Reformated.
5459         * java/io/ObjectOutput.java:
5460         Reformated.
5461         * java/io/ObjectStreamClass.java:
5462         Reformated.
5463         * java/io/PrintStream.java:
5464         Merged copyright years with classpath.
5465         * java/io/PushbackReader.java
5466         (PushbackReader): Replaced @code with @param.
5467         * java/io/SerializablePermission.java:
5468         Reformated.
5469         * java/io/StreamTokenizer.java
5470         (resetSyntax): Fixed @see tag.
5471
5472 2003-03-22  Richard Henderson  <rth@redhat.com>
5473
5474         * sysdep/ia64/locks.h: Include ia64intrin.h.
5475         (compare_and_swap): Use __sync_bool_compare_and_swap.
5476         (compare_and_swap_release): Expose ar.ccv assignment.
5477
5478 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
5479
5480         * include/posix.h: Add suffix for darwin dynamic libraries.
5481
5482 2003-03-21  Michael Koch  <konqueror@gmx.de>
5483
5484         * javax/swing/Action.java
5485         (ACCELERATOR_KEY): New constant.
5486         (ACTION_COMMAND_KEY): Likewise.
5487         (MNEMONIC_KEY): Likewise.
5488         * javax/swing/UnsupportedLookAndFeelException.java
5489         (UnsupportedLookAndFeelException): Must be public.
5490         * javax/swing/WindowConstants.java
5491         (EXIT_ON_CLOSE): New constant.
5492         * javax/swing/text/BadLocationException.java
5493         (offset): New member variable.
5494         (BadLocationException): New implementation, documentation added.
5495         (offsetRequested): New method.
5496         * javax/swing/text/Caret.java:
5497         Reformated.
5498         * javax/swing/text/Document.java:
5499         Reformated.
5500
5501 2003-03-21  Michael Koch  <konqueror@gmx.de>
5502
5503         * java/rmi/activation/Activatable.java
5504         (serialVersionUID): New member variable.
5505         * java/rmi/activation/ActivationGroup.java
5506         (serialVersionUID): New member variable.
5507         * java/rmi/activation/ActivationGroupDesc.java
5508         (serialVersionUID): New member variable.
5509         * java/rmi/registry/Registry.java:
5510         Reformated.
5511         (Registry): Deprecated.
5512         * java/rmi/server/LoaderHandler.java
5513         Reformated.
5514         (LoaderHandler): Deprecated.
5515         * java/rmi/server/LogStream.java
5516         Reformated.
5517         (LogStream): Deprecated.
5518         * java/rmi/server/Operation.java
5519         (Operation): Deprecated.
5520         * java/rmi/server/RMIFailureHandler.java:
5521         Reformated.
5522         * java/rmi/server/RMISocketFactory.java:
5523         Reformated.
5524         * java/rmi/server/RemoteCall.java
5525         (RemoteCall): Deprecated.
5526         * java/rmi/server/RemoteStub.java:
5527         Reformated.
5528         * java/rmi/server/Skeleton.java
5529         Reformated.
5530         (Skeleton): Deprecated.
5531
5532 2003-03-21  Michael Koch  <konqueror@gmx.de>
5533
5534         * java/io/LineNumberReader.java
5535         (LineNumberReader): Merged documentation with classpath.
5536         (getLineNumber): Likewise.
5537         (setLineNumber): Likewise.
5538         (mark): Likewise.
5539         (reset): Likewise.
5540         (read): Likewise.
5541         (readLine): Likewise.
5542         (skip): Likewise.
5543
5544 2003-03-21  Michael Koch  <konqueror@gmx.de>
5545
5546         * java/rmi/RMISecurityManager.java
5547         (checkAccept): Removed.
5548         (checkAccess): Likewise.
5549         (checkAccess): Likewise.
5550         (checkAwtEventQueueAccess): Likewise.
5551         (checkConnect): Likewise.
5552         (checkCreateClassLoader): Likewise.
5553         (checkDelete): Likewise.
5554         (checkExec): Likewise.
5555         (checkExit): Likewise.
5556         (checkLink): Likewise.
5557         (checkListen): Likewise.
5558         (checkMemberAccess): Likewise.
5559         (checkMulticast): Likewise.
5560         (checkPackageAccess): Likewise.
5561         (checkPackageDefinition): Likewise.
5562         (checkPermission): Likewise.
5563         (checkPrintJobAccess): Likewise.
5564         (checkPropertiesAccess): Likewise.
5565         (checkPropertyAccess): Likewise.
5566         (checkRead): Likewise.
5567         (checkSecurityAccess): Likewise.
5568         (checkSetFactory): Likewise.
5569         (checkSystemClipboardAccess): Likewise.
5570         (checkTopLevelWindow): Likewise.
5571         (checkWrite): Likewise.
5572
5573 2003-03-20  Michael Koch  <konqueror@gmx.de>
5574
5575         * gnu/java/nio/FileChannelImpl.java
5576         (address): Removed.
5577         (map_address): New member variable.
5578         (length): Make it package private.
5579         (fd): Make it package private.
5580         (buf): Make it package private.
5581         (file_obj): Make it package private.
5582         (FileChannelImpl): New constructor.
5583         (nio_mmap_file): Use RawData instead of long.
5584         (nio_munmap_file): Use RawData instead of long.
5585         (nio_msync): Use RawData instead of long.
5586         (implCloseChannel): New implementation using map_address.
5587         (read): Reformated.
5588         (map): Implemented.
5589         (create_direct_mapped_buffer): Implemented, use RawData, throws
5590         IOException.
5591         (force): Use map_address instead of address.
5592         * gnu/java/nio/MappedByteFileBuffer.java
5593         (address): Removed.
5594         (map_address): New member variable.
5595         (MappedByteFileBuffer): Use map_address instead of address, reformated.
5596         (several methods): Use map_address instead of address, replaced long
5597         with RawData where appropriate.
5598         * gnu/java/nio/natFileChannelImpl.cc
5599         (nio_mmap_file): Replaced long with RawData.
5600         (nio_munmap_file): Replaced long with RawData.
5601         (nio_msync): Replaced long with RawData.
5602         * gnu/java/nio/natMappedByteFileBuffer.cc
5603         (several methods): Replaced long with RawData where appropriate.
5604
5605 2003-03-20  Michael Koch  <konqueror@gmx.de>
5606
5607         * java/net/InetAddress.java,
5608         java/net/JarURLConnection.java,
5609         java/net/PlainDatagramSocketImpl.java,
5610         java/net/PlainSocketImpl.java,
5611         java/net/URLConnection.java:
5612         Merged copyright statements with classpath for easier merging.
5613
5614 2003-03-20  Michael Koch  <konqueror@gmx.de>
5615
5616         * java/io/FileInputStream.java
5617         (getChannel): New implementation.
5618         * java/io/FileOutputStream.java
5619         (ch): New member variable.
5620         (getChannel): Implemented.
5621         * java/io/RandomAccessFile.java
5622         (RandomAccessFile): Throws FileNotFoundException instead of
5623         IOException.
5624         (getChannel): New method.
5625         (ch): New member variable.
5626
5627 2003-03-20  Michael Koch  <konqueror@gmx.de>
5628
5629         * java/io/DataOutputStream.java,
5630         java/io/File.java,
5631         java/io/FileInputStream.java,
5632         java/io/FileOutputStream.java,
5633         java/io/InputStreamReader.java,
5634         java/io/LineNumberReader.java,
5635         java/io/OutputStreamWriter.java,
5636         java/io/PrintStream.java,
5637         java/io/RandomAccessFile.java:
5638         Merged copyright statements with classpath for easier merging.
5639
5640 2003-03-19  Michael Koch  <konqueror@gmx.de>
5641
5642         * java/lang/Process.java:
5643         Merged from classpath.
5644
5645 2003-03-19  Michael Koch  <konqueror@gmx.de>
5646
5647         * java/io/FileOutputStream.java
5648         (FileOutputStream): New constructor, merged from classpath.
5649         * java/io/FileWriter.java
5650         (FileWriter): New constructor, merged from classpath.
5651
5652 2003-03-18  Michael Koch  <konqueror@gmx.de>
5653
5654         * java/awt/ScrollPane.java
5655         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
5656         (getViewportSize): Likewise.
5657         (addNotify): Likewise.
5658         (removeNotify): Likewise.
5659         * java/awt/ScrollPaneAdjustable.java
5660         (ScrollPaneAdjustable): No longer extends Scrollbar.
5661         * java/beans/beancontext/BeanContextServices.java:
5662         Reformated.
5663         (getService): Added throws TooManyListenersException;
5664         * java/beans/beancontext/BeanContextServicesSupport.java:
5665         Reformated.
5666
5667 2003-03-18  Michael Koch  <konqueror@gmx.de>
5668
5669         * java/io/BufferedOutputStream.java,
5670         java/io/DataInput.java,
5671         java/io/DataInputStream.java,
5672         java/io/DataOutput.java,
5673         java/io/Externalizable.java:
5674         More merges from classpath.
5675
5676 2003-03-18  Michael Koch  <konqueror@gmx.de>
5677
5678         * configure.in: Fixed links to platform dependant java.net files.
5679         * configure: Regenerated.
5680         * java/net/natInetAddress.cc,
5681         java/net/natNetworkInterface.cc,
5682         java/net/natPlainDatagramSocketImpl.cc,
5683         java/net/natPlainSocketImpl.cc:
5684         Removed.
5685
5686 2003-03-18  Michael Koch  <konqueror@gmx.de>
5687
5688         * configure.in: Create links to architecture dependent files,
5689         introduced PLATFORMNET variable (set to NoNet for newlib usage).
5690         * configure: Regenerated.
5691         * java/net/natInetAddressNoNet.cc,
5692         java/net/natInetAddressPosix.cc,
5693         java/net/natInetAddressWin32.cc,
5694         java/net/natNetworkInterfaceNoNet.cc,
5695         java/net/natNetworkInterfacePosix.cc,
5696         java/net/natNetworkInterfaceWin32.cc,
5697         java/net/natPlainDatagramSocketImplNoNet.cc,
5698         java/net/natPlainDatagramSocketImplPosix.cc,
5699         java/net/natPlainDatagramSocketImplWin32.cc,
5700         java/net/natPlainSocketImplNoNet.cc,
5701         java/net/natPlainSocketImplPosix.cc,
5702         java/net/natPlainSocketImplWin32.cc: New files.
5703
5704 2003-03-18  Michael Koch  <konqueror@gmx.de>
5705
5706         * java/io/BufferedReader.java,
5707         java/io/BufferedWriter.java,
5708         java/io/ByteArrayOutputStream.java,
5709         java/io/FileFilter.java,
5710         java/io/FilePermission.java,
5711         java/io/FileReader.java,
5712         java/io/FileWriter.java,
5713         java/io/FilenameFilter.java,
5714         java/io/FilterInputStream.java,
5715         java/io/FilterOutputStream.java,
5716         java/io/FilterReader.java,
5717         java/io/FilterWriter.java,
5718         java/io/ObjectInput.java,
5719         java/io/ObjectInputValidation.java,
5720         java/io/ObjectOutput.java,
5721         java/io/ObjectStreamField.java,
5722         java/io/PipedInputStream.java,
5723         java/io/PipedReader.java,
5724         java/io/PrintWriter.java,
5725         java/io/PushbackReader.java,
5726         java/io/Reader.java,
5727         java/io/SerializablePermission.java,
5728         java/io/StringReader.java,
5729         java/io/Writer.java:
5730         Merged from classpath.
5731
5732 2003-03-17  Michael Koch  <konqueror@gmx.de>
5733
5734         * java/awt/ScrollPaneAdjustable.java:
5735         Compile fixes.
5736         
5737 2003-03-17  Michael Koch  <konqueror@gmx.de>
5738
5739         * java/net/DatagramSocket.java
5740         (connect): Fixed comment.
5741         * java/nio/ByteBuffer.java
5742         (hasArray): Fixed comment.
5743
5744 2003-03-17  Michael Koch  <konqueror@gmx.de>
5745
5746         * java/beans/Beans.java:
5747         Explicitely import classes not packages.
5748         * java/beans/FeatureDescriptor.java
5749         (preferred): New member variable.
5750         (isPreferred): New method.
5751         (setPreferred): New method.
5752         * java/beans/PropertyEditorManager.java:
5753         Explicitely import used classes.
5754         * java/beans/beancontext/BeanContextChild.java:
5755         Added line wrapping.
5756         * java/beans/beancontext/BeanContextChildSupport.java:
5757         Reindented.
5758         * java/beans/beancontext/BeanContextEvent.java:
5759         Reindented.
5760
5761 2003-03-17  Michael Koch  <konqueror@gmx.de>
5762
5763         * java/awt/Dialog.java
5764         (Dialog): New constructor, changed implementations, added
5765         documentation.
5766         * java/awt/ScrollPaneAdjustable.java
5767         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
5768         Serializable.
5769         (serialVersionUID): New member variable.
5770         (sp): New member variable.
5771         (orientation): New member variable.
5772         (value): New member variable.
5773         (minimum): New member variable.
5774         (maximum): New member variable.
5775         (visibleAmount): New member variable.
5776         (unitIncrement): New member variable.
5777         (blockIncrement): New member variable.
5778         (AdjustmentListener): New member variable.
5779         (ScrollPaneAdjustable): New implementation.
5780         (addAdjustmentListener): New method.
5781         (removeAdjustmentListener): New method.
5782         (getAdjustmentListeners): New method.
5783         (getBlockIncrement): New method.
5784         (getMaximum): New method.
5785         (getMinimum): New method.
5786         (getOrientation): New method.
5787         (getUnitIncrement): New method.
5788         (getValue): New method.
5789         (getVisibleAmount): New method.
5790         (setBlockIncrement): New method.
5791         (setMaximum): Implemented.
5792         (setMinimum): Implemented.
5793         (setUnitIncrement): New method.
5794         (setValue): New method.
5795         (setVisibleAmount): Implemented. 
5796         (paramString): New stubbed method.
5797         * java/awt/Window.java
5798         (show): Call setVisible().
5799         (hide): Call setVisible().
5800         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
5801         and WINDOW_STATE_CHANGED.
5802         (processWindowFocusEvent): New method.
5803         (processWindowStateEvent): New method.
5804         (postEvent): Deprecated.
5805         (applyResourceBundle): Deprecated.
5806         * java/awt/datatransfer/DataFlavor.java
5807         (DataFlavor): Doesn't thow ClassNotFoundException.
5808
5809 2003-03-17  Michael Koch
5810
5811         * javax/print/attribute/Attribute.java,
5812         javax/print/attribute/AttributeSet.java,
5813         javax/print/attribute/PrintRequestAttributeSet.java:
5814         New files.
5815         * Makefile.am
5816         (javax_source_files): Added new files:
5817         javax/print/attribute/Attribute.java
5818         javax/print/attribute/AttributeSet.java
5819         javax/print/attribute/PrintRequestAttributeSet.java
5820         * Makefile.in: Regenerated.
5821
5822 2003-03-17  Michael Koch
5823
5824         * javax/print/attribute/Attribute.java,
5825         javax/print/attribute/AttributeSet.java,
5826         javax/print/attribute/PrintRequestAttributeSet.java:
5827         New files.
5828         * Makefile.am
5829         (awt_java_source_files): Added new files:
5830         javax/print/attribute/Attribute.java
5831         javax/print/attribute/AttributeSet.java
5832         javax/print/attribute/PrintRequestAttributeSet.java
5833         * Makefile.in: Regenerated.
5834
5835 2003-03-16  Tom Tromey  <tromey@redhat.com>
5836
5837         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
5838         Include platform.h.
5839         * java/lang/natRuntime.cc (insertSystemProperties): Use
5840         _Jv_platform_path_separator.
5841         (nativeGetLibname): Use _Jv_platform_file_separator.
5842         (_load): Use _Jv_platform_onload_names.
5843         (onload_names): New global.
5844         * include/win32.h (_Jv_platform_file_separator): New define.
5845         (_Jv_platform_path_separator): Likewise.
5846         (_Jv_platform_onload_names): Likewise.
5847         (_Jv_platform_ffi_abi): Likewise.
5848         * include/posix.h (_Jv_platform_file_separator): New define.
5849         (_Jv_platform_path_separator): Likewise.
5850         (_Jv_platform_onload_names): Likewise.
5851         (_Jv_platform_ffi_abi): Likewise.
5852
5853 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
5854
5855         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
5856
5857 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
5858
5859         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
5860         hierarchy loop.
5861         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
5862         list to Object,ObjectStreamClass, moved callReadMethod code up into
5863         readObject and added Class argument to all setXxxField calls.
5864         (callReadMethod): Changed Class argument to ObjectStreamClass to be
5865         consistent with ObjectOutputStream and to facilitate caching the
5866         Method in the future.
5867         (setBooleanField): Added Class argument.
5868         (setByteField): Likewise.
5869         (setCharField): Likewise.
5870         (setDoubleField): Likewise.
5871         (setFloatField): Likewise.
5872         (setIntField): Likewise.
5873         (setLongField): Likewise.
5874         (setShortField): Likewise.
5875         (setObjectField): Likewise.
5876         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
5877         class hierarchy loop.
5878         (defaultWriteObject): Call writeFields with new argument list.
5879         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
5880         list to Object,ObjectStreamClass, moved callWriteMethod up into
5881         writeObject and added Class argument to all getXxxField calls.
5882         (callWriteMethod): Added ObjectStreamClass argument to be able to
5883         get the proper class to call getMethod on (each class can have (or
5884         not have) its own writeObject method).
5885         (getBooleanField): Added Class argument.
5886         (getByteField): Likewise.
5887         (getCharField): Likewise.
5888         (getDoubleField): Likewise.
5889         (getFloatField): Likewise.
5890         (getIntField): Likewise.
5891         (getLongField): Likewise.
5892         (getShortField): Likewise.
5893         (getObjectField): Likewise.
5894         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
5895         facilitate caching the Method object in the future.
5896
5897 2003-03-12  Andreas Schwab  <schwab@suse.de>
5898
5899         * configure.in: Avoid trailing /. in toolexeclibdir.
5900         * configure: Rebuilt.
5901
5902 2003-03-11  Michael Koch  <konqueror@gmx.de>
5903
5904         * gnu/java/nio/ByteBufferImpl.java
5905         (putInt): Use limit() instead of limit.
5906         * gnu/java/nio/CharBufferImpl.java
5907         (slice): Fixed implementation.
5908         (subSequence): Better bounds checking.
5909         * gnu/java/nio/MappedByteFileBuffer.java:
5910         Import all needed classes directly.
5911         * java/nio/ByteBuffer.java
5912         (hashCode): New dummy method.
5913         * java/nio/CharBuffer.java
5914         (array_offset): New member variable.
5915         (hasArray): Fixed documentation.
5916         (arrayOffset): Return array_offset.
5917
5918 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
5919
5920         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
5921         setter; made return value of getter const char* instead of char*
5922         * prims.cc: removed all references to _Jv_ThisExecutable().
5923         These are in the platform-specific sections now.
5924         * posix.cc: define platform-specific _Jv_ThisExecutable().
5925         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
5926         * win32.cc: define platform-specific _Jv_ThisExecutable()
5927         using GetModuleFilename()
5928         * java/lang/natRuntime.cc: set gnu.gcj.progname property
5929         to argv[0] instead of _Jv_ThisExecutable()
5930
5931 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
5932
5933         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
5934         that is set if we are using addr2name.awk instead of addr2line.
5935         (NameFinder): Set usingAddr2name if using addr2name.awk.
5936         (getExternalLabel): New native method to convert a method 
5937         name to an external label.
5938         (lookup): Convert name given by addr2line to an external label
5939         before demangling.
5940
5941         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
5942         constant representing the prefix attached to method names to
5943         convert them to an external label.
5944         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
5945         using LABEL_PREFIX.
5946
5947 2003-03-10  Tom Tromey  <tromey@redhat.com>
5948
5949         * Makefile.in: Rebuilt.
5950         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
5951         (JC1FLAGS): Removed -Wno-deprecated.
5952
5953 2003-03-10  Michael Koch  <konqueror@gmx.de>
5954
5955         * java/nio/ByteOrder.java
5956         (nativeOrder): Working implementation, added documentation.
5957         (toString): Added documentation.
5958
5959 2003-03-10  Michael Koch  <konqueror@gmx.de>
5960
5961         * java/net/DatagramSocket.java,
5962         java/net/MulticastSocket.java,
5963         java/net/Socket.java,
5964         java/net/URL.java,
5965         java/net/URLConnection.java:
5966         Fixed some documentation tags to make javadoc and friends happy.
5967
5968 2003-03-10  Michael Koch  <koqnueror@gmx.de>
5969
5970         * java/beans/beancontext/BeanContextServicesSupport.java,
5971         java/beans/beancontext/BeanContextSupport.java: New files.
5972         * Makefile.am
5973         (awt_source_files): Added new files.
5974         * Makefile.in: Regenerated.
5975
5976 2003-03-10  Michael Koch  <konqueror@gmx.de>
5977
5978         * java/awt/FocusTraversalPolicy.java
5979         (FocusTraversalPolicy): Documentation added.
5980         (getComponentAfter): Documentation added.
5981         (getComponentBefore): Documentation added.
5982         (getFirstComponent): Documentation added.
5983         (getLastComponent): Documentation added.
5984         (getDefaultComponent): Documentation added.
5985         (getInitialComponent): Documentation added.
5986         * java/awt/ScrollPaneAdjustable.java
5987         (sp): New member variable.
5988         (orientation): New member variable.
5989         (value): New member variable.
5990         (minimum): New member variable.
5991         (maximum): New member variable.
5992         (visibleAmount): New member variable.
5993         (unitIncrement): New member variable.
5994         (blockIncrement): New member variable.
5995         (adjustmentListener): New member variable.
5996         (ScrollPaneAdjustable): Rewrote.
5997         (addAdjustmentListener): New method.
5998         (removeAdjustmentListener): New method.
5999         (getAdjustmentListeners): New method.
6000         (getBlockIncrement): New method.
6001         (getMaximum): New method.
6002         (getMinimum): New method.
6003         (getOrientation): New method.
6004         (getUnitIncrement): New method.
6005         (getValue): New method.
6006         (getVisibleAmount): New method.
6007         (setBlockIncrement): New method.
6008         (setUnitIncrement): New method.
6009         (setMaximum): Implemented.
6010         (setMinimum): Implemented.
6011         (setValue): New method.
6012         (setVisibleAmount): Implemented.
6013         (paramString): New method.
6014         * java/awt/Window.java
6015         (show): Use setVisible(true) instead of super.show().
6016         (hide): Use sevVisible(false) instead of super.hide().
6017         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
6018         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
6019         (postEvent): Deprecated.
6020         (applyResourceBundle): Deprecated.
6021         (processWindowFocusEvent): New method.
6022         (processWindowStateEvent): New method.
6023         * java/awt/datatransfer/DataFlavor.java: Reindented.
6024         * java/awt/font/TextHitInfo.java
6025         (charIndex): New member variable.
6026         (leadingEdge): New member variable.
6027         (TextHitInfo): New constructor.
6028         (getCharIndex): Implemented.
6029         (isLeadingEdge): Implemented.
6030         (getInsertionIndex): Implemented.
6031         (hashCode): Access charIndex directly.
6032         (equals): Reformated.
6033         (leading): Implemented.
6034         (trailing): Implemented.
6035         (beforeOffset): Implemented.
6036         (afterOffset): Implemented.
6037         (getOtherHit): Implemented.
6038         (getOffsetHit): Implemented.
6039         (toString): Implemented.
6040         * java/awt/image/BufferedImage.java
6041         (BufferedImage): Implements WritableRenderedImage.
6042         (observers): New member variable.
6043         (addTileObserver): New method.
6044         (removeTileObserver): New method.
6045
6046 2003-03-09  Tom Tromey  <tromey@redhat.com>
6047
6048         PR libgcj/9934:
6049         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
6050         to lseek.  Return 0 if we can't compute the value.
6051
6052 2003-03-03  Michael Koch  <konqueror@gmx.de>
6053
6054         * java/net/NetworkInterface.java: Merged with classpath.
6055
6056 2003-03-03  Tom Tromey  <tromey@redhat.com>
6057
6058         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
6059         of bytecode.
6060         (handle_ret_insn): Fail if returning to jsr that appears at end of
6061         bytecode.
6062
6063 2003-03-03  Michael Koch  <konqueror@gmx.de>
6064
6065         * Makefile.am
6066         (ordinary_java_source_files):
6067         Added gnu/java/nio/MappedByteFileBuffer.java.
6068         (nat_source_files):
6069         Added gnu/java/nio/natMappedByteFileBuffer.cc.
6070         * Makefile.in: Regenerated.
6071
6072 2003-03-03  Michael Koch  <konqueror@gmx.de>
6073
6074         * java/net/DatagramSocket.java
6075         (connect): Merged comment from classpath.
6076         (receive): Merged documentation from classpath.
6077         * java/net/Socket.java
6078         (setSoTimeout): Clarified documentation.
6079         * java/net/URL.java
6080         (getPath): Merged from classpath.
6081         (getUserInfo): Merged from classpath.
6082         (getQuery): Merged from classpath.
6083         * java/net/URLStreamHandler.java
6084         (toExternalForm): Merged from classpath.
6085
6086 2003-03-02  Mark Wielaard  <mark@klomp.org>
6087
6088         * java/util/Properties.java (load): Only skip line if the first
6089         character is a comment, whitespaces don't count.
6090
6091 2003-03-02  Michael Koch  <konqueror@gmx.de>
6092
6093         * java/net/NetPermission.java:
6094         Merged copyright with classpath.
6095
6096 2003-03-02  Michael Koch  <konqueror@gmx.de>
6097
6098         * java/lang/Package.java:
6099         Remerged from classpath.
6100
6101 2003-03-02  Michael Koch  <konqueror@gmx.de>
6102
6103         * java/net/HttpURLConnection.java
6104         (HTTP_SERVER_ERROR): Deprecated.
6105         * java/net/MulticastSocket.java
6106         (send): Replaced checkMulticast with appropriate checkPermission call,
6107         deprecated.
6108         * java/net/URLDecoder.java
6109         (decode): Deprecated.
6110         * java/net/URLEncoder.java
6111         (encode): Deprecated.
6112
6113 2003-03-02  Michael Koch  <konqueror@gmx.de>
6114
6115         * javax/swing/text/Caret.java
6116         (getMagicCaretPosition): Fixed typo in method name.
6117         * javax/swing/text/DefaultCaret.java
6118         (getMagicCaretPosition): Fixed typo in method name.
6119
6120 2003-03-02  Michael Koch  <konqueror@gmx.de>
6121
6122         * java/awt/List.java
6123         (setMultipleSelections): Deprecated.
6124         (delItem): Deprecated.
6125         * java/awt/MenuComponent.java
6126         (getPeer): Deprecated.
6127         * java/awt/ScrollPane.java
6128         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6129         * java/awt/dnd/MouseDragGestureRecognizer.java
6130         (mouseClicked): Added comment.
6131         (mousePressed): Added comment.
6132         (mouseReleased): Added comment.
6133         (mouseEntered): Added comment.
6134         (mouseExited): Added comment.
6135         (mouseDragged): Added comment.
6136         (mouseMoved): Added comment.
6137         * java/awt/event/KeyEvent.java
6138         (KeyEvent): Deprecated.
6139         (setModifiers): Deprecated.
6140         
6141 2003-03-02  Michael Koch  <konqueror@gmx.de>
6142
6143         * gnu/java/nio/FileChannelImpl.java
6144         (fd): Type FileDescriptor instead of int.
6145         (lengthInternal): Removed.
6146         (FileChannelImpl): Fixed arguments, check type of file object.
6147         (size): Made it native.
6148         (implPosition): New native method.
6149         (implTruncate): New native method.
6150         (position): Implemented.
6151         (truncate): Implemented.
6152         (nio_mmap_file): Changed arguments.
6153         (nio_munmap_file): Changed arguments.
6154         (nio_msync): Changed arguments.
6155         * gnu/java/nio/natFileChannelImpl.cc
6156         (lengthInternal): Removed.
6157         (size): New method.
6158         (implPosition): New method.
6159         (implTruncate): New method.
6160         (nio_mmap_file): Changed arguments.
6161         (nio_munmap_file): Changed arguments.
6162         (nio_msync): Changed arguments.
6163
6164 2003-03-02  Michael Koch  <konqueror@gmx.de>
6165
6166         * java/awt/dnd/DropTargetContext.java:
6167         Compile fix: Forgot to commit import.
6168         
6169 2003-03-02  Michael Koch  <konqueror@gmx.de>
6170
6171         * java/awt/Component.java,
6172         java/awt/ScrollPane.java:
6173         Fixed typos.
6174
6175 2003-03-02  Michael Koch  <konqueror@gmx.de>
6176
6177         * java/awt/dnd/DnDEventMulticaster.java: New file.
6178         * java/awt/dnd/DragSource.java
6179         (flavorMap): New member variable.
6180         (dragSourceListener): New member variable.
6181         (dragSourceMotionListener): New member variable.
6182         (getFlavorMap): Implemented.
6183         (createDragGestureRecognizer): Implemented.
6184         (addDragSourceListener): Implemented.
6185         (removeDragSourceListener): Implemented.
6186         (getDragSourceListeners): Implemented.
6187         (addDragSourceMotionListener): Implemented.
6188         (removeDragSourceMotionListener): Implemented.
6189         (getDragSourceMotionListeners): Implemented.
6190         (getListeners): Implemented.
6191         * java/awt/dnd/DragSourceContext.java
6192         (peer): New member variable.
6193         (cursor): New member variable.
6194         (transferable): New member variable.
6195         (trigger): New member variable.
6196         (dragSourceListener): New member variable.
6197         (image): New member variable.
6198         (offset): New member variable.
6199         (DragSourceContext): Implemented.
6200         (getDragSource): Implemented.
6201         (getComponent): Implemented.
6202         (getTrigger): Implemented.
6203         (getSourceActions): Implemented.
6204         (setCursor): Implemented.
6205         (getCursor): Implemented.
6206         (addDragSourceListener): Implemented.
6207         (removeDragSourceListener): Implemented.
6208         (getTransferable): Implemented.
6209         * java/awt/dnd/DropTarget.java
6210         (DropTargetAutoScroller.component): New member variable.
6211         (DropTargetAutoScroller.point): New member variable.
6212         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
6213         (DropTargetAutoScroller.updateLocation): Implemented.
6214         (active): Renamed from isActive, defaults to true now.
6215         (component): New member variable.
6216         (flavorMap): New member variable.
6217         (actions): New member variable.
6218         (dropTargetContext): New member variable.
6219         (dropTargetListener): New member variable.
6220         (DropTarget): Implemented.
6221         (getComponent): Implemented.
6222         (setComponent): Implemented.
6223         (setDefaultActions): Implemented.
6224         (getDefaultActions): Implemented.
6225         (setActive): Use active instead of isActive.
6226         (isActive): Use active instead of isActive.
6227         (addDropTargetListener): Implemented.
6228         (removeDropTargetListener): Implemented.
6229         (getFlavorMap): Implemented.
6230         (setFlavorMap): Implemented.
6231         (getDropTargetContext): Implemented.
6232         (createDropTargetContext): Implemented.
6233         (createDropTargetAutoScroller): Implemented.
6234         * java/awt/dnd/DropTargetContext.java
6235         (TransferableProxy.getTransferDataFlavors): Implemented.
6236         (TransferableProxy.isDataFlavorSupported): Implemented.
6237         (TransferableProxy.getTransferData): Implemented.
6238         (dropTarget):  New member variable.
6239         (dtcp): New member variable.
6240         (DropTargetContext): New package private constructor.
6241         (getDropTarget): Implemented.
6242         (getComponent): Implemented.
6243         (addNotify): Implemented.
6244         (removeNotify): Implemented.
6245         (getCurrentDataFlavorsAsList): Implemented.
6246         (isDataFlavorSupported): Implemented.
6247         * java/awt/dnd/MouseDragGestureRecognizer.java
6248         (registerListeners): Implemented.
6249         (unregisterListeners): Implemented.
6250         * Makefile.am
6251         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
6252         * Makefile.in: Regenerated.
6253
6254 2003-03-02  Michael Koch  <konqueror@gmx.de>
6255
6256         * java/awt/Component.java
6257         (eventTypeEnabled): New method.
6258         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
6259         * java/awt/Container.java
6260         (changeSupport): New member variable.
6261         (addPropertyChangeListener): New methods.
6262         * java/awt/ContainerOrderFocusTraversalPolicy.java
6263         (ContainerOrderFocusTraversalPolicy): Added comment.
6264         (getComponentAfter): Throw exception, documentation added.
6265         (getComponentBefore): Throw exception, documentation added.
6266         (getFirstComponent): Throw exception, documentation added.
6267         (getLastComponent): Throw exception, documentation added.
6268         (getDefaultComponent): Throw exception, documentation added.
6269         * java/awt/EventQueue.java: Reindented.
6270         * java/awt/FocusTraversalPolicy.java:
6271         (FocusTraversalPolicy): Added comment.
6272         (getComponentAfter): Documentation added.
6273         (getComponentBefore): Documentation added.
6274         (getFirstComponent): Documentation added.
6275         (getLastComponent): Documentation added.
6276         (getDefaultComponent): Documentation added.
6277         (getInitialComponent): Documentation added.
6278         * java/awt/ScrollPane.java
6279         (wheelScrollingEnabled): New member variable.
6280         (ScrollPane): Initialize wheelScollingEnabled.
6281         (eventTypeEnabled): New method.
6282         (isWheelScrollingEnabled): New method.
6283         (setWheelScrollingEnabled): New method.
6284
6285 2003-03-02  Michael Koch  <konqueror@gmx.de>
6286
6287         * java/net/DatagramSocket.java
6288         (closed): New member variable.
6289         (close): Use closed variable.
6290         (getInetAddress): No need to call isConnected().
6291         (getPort): No need to call isConnected().
6292         (disconnect): Reset remoteAddress and remotePort, fixed typo.
6293         (isClosed): Reimplemented.
6294         
6295 2003-03-02  Michael Koch  <konqueror@gmx.de>
6296
6297         * configure.in: Added check for memory mapping of files.
6298         * configure: Regenerated.
6299         * config.h.in: Regenerated.
6300
6301 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
6302
6303         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
6304         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
6305
6306 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6307
6308         * java/io/File.java (normalizePath): Remove trailing separator
6309         on Windows only if path is not of the form "x:\".
6310
6311         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
6312         (java::io::File::attr): Change formatting a bit and use
6313         WIN32_EPOCH_MILLIS instead of magic numbers.
6314         (java::io::File::isAbsolute): Path must have at least 3 
6315         characters for a UNC network path.
6316         (java::io::File::init_native): Define.
6317         (java::io::File::performCreate): Likewise.
6318         (java::io::File::performSetReadOnly): Likewise.
6319         (java::io::File::performSetLastModified): Likewise.
6320         (java::io::File::performListRoots): Likewise.
6321
6322 2003-03-01  Tom Tromey  <tromey@redhat.com>
6323
6324         * java/lang/natObject.cc: Don't include assert.h.
6325         (heavy_lock_obj_finalization_proc): Use JvAssert.
6326         (remove_all_heavy): Likewise.
6327         (_Jv_MonitorEnter): Likewise.
6328         (_Jv_MonitorExit): Likewise.
6329         (wait): Likewise.
6330
6331 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6332
6333         * java/io/File (getAbsolutePath): Prefix drive specifier on
6334         Windows for paths starting with a '\'.
6335         (toURL): Make URL more consistent with what Sun's JDK returns.
6336
6337         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
6338         true only if the path is a UNC network path or it starts with a
6339         drive specifier.
6340
6341         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
6342         Be prepared to handle either '/' or '\\' in the file path for
6343         Windows if using the "file" protocol.
6344         Canonicalise the file path if using a relative path in the given
6345         context and the "file" protocol.
6346
6347 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
6348
6349         * java/lang/natWin32Process.cc (startProcess): Double-quote each
6350         program array element passed to CreateProcess.
6351
6352 2003-03-01  Tom Tromey  <tromey@redhat.com>
6353
6354         * java/rmi/registry/RegistryHandler.java: Deprecate.
6355
6356 2003-03-01  Tom Tromey  <tromey@redhat.com>
6357
6358         * javax/accessibility/AccessibleEditableText.java,
6359         javax/accessibility/AccessibleHyperlink.java: New versions from
6360         Classpath.
6361
6362         * gnu/java/locale/LocaleInformation_af_ZA.java,
6363         gnu/java/locale/LocaleInformation_ar_AE.java,
6364         gnu/java/locale/LocaleInformation_ar_BH.java,
6365         gnu/java/locale/LocaleInformation_ar_DZ.java,
6366         gnu/java/locale/LocaleInformation_ar_EG.java,
6367         gnu/java/locale/LocaleInformation_ar_IN.java,
6368         gnu/java/locale/LocaleInformation_ar_IQ.java,
6369         gnu/java/locale/LocaleInformation_ar_JO.java,
6370         gnu/java/locale/LocaleInformation_ar_KW.java,
6371         gnu/java/locale/LocaleInformation_ar_LB.java,
6372         gnu/java/locale/LocaleInformation_ar_LY.java,
6373         gnu/java/locale/LocaleInformation_ar_MA.java,
6374         gnu/java/locale/LocaleInformation_ar_OM.java,
6375         gnu/java/locale/LocaleInformation_ar_QA.java,
6376         gnu/java/locale/LocaleInformation_ar_SD.java,
6377         gnu/java/locale/LocaleInformation_ar_SY.java,
6378         gnu/java/locale/LocaleInformation_ar_TN.java,
6379         gnu/java/locale/LocaleInformation_ar_YE.java,
6380         gnu/java/locale/LocaleInformation_be_BY.java,
6381         gnu/java/locale/LocaleInformation_bn_IN.java,
6382         gnu/java/locale/LocaleInformation_br_FR.java,
6383         gnu/java/locale/LocaleInformation_bs_BA.java,
6384         gnu/java/locale/LocaleInformation_ca_ES.java,
6385         gnu/java/locale/LocaleInformation_cs_CZ.java,
6386         gnu/java/locale/LocaleInformation_cy_GB.java,
6387         gnu/java/locale/LocaleInformation_da_DK.java,
6388         gnu/java/locale/LocaleInformation_de_AT.java,
6389         gnu/java/locale/LocaleInformation_de_BE.java,
6390         gnu/java/locale/LocaleInformation_de_CH.java,
6391         gnu/java/locale/LocaleInformation_de_DE.java,
6392         gnu/java/locale/LocaleInformation_de_LU.java,
6393         gnu/java/locale/LocaleInformation_el_GR.java,
6394         gnu/java/locale/LocaleInformation_en_AU.java,
6395         gnu/java/locale/LocaleInformation_en_BW.java,
6396         gnu/java/locale/LocaleInformation_en_CA.java,
6397         gnu/java/locale/LocaleInformation_en_DK.java,
6398         gnu/java/locale/LocaleInformation_en_GB.java,
6399         gnu/java/locale/LocaleInformation_en_HK.java,
6400         gnu/java/locale/LocaleInformation_en_IE.java,
6401         gnu/java/locale/LocaleInformation_en_IN.java,
6402         gnu/java/locale/LocaleInformation_en_NZ.java,
6403         gnu/java/locale/LocaleInformation_en_PH.java,
6404         gnu/java/locale/LocaleInformation_en_SG.java,
6405         gnu/java/locale/LocaleInformation_en_US.java,
6406         gnu/java/locale/LocaleInformation_en_ZA.java,
6407         gnu/java/locale/LocaleInformation_en_ZW.java,
6408         gnu/java/locale/LocaleInformation_es_AR.java,
6409         gnu/java/locale/LocaleInformation_es_BO.java,
6410         gnu/java/locale/LocaleInformation_es_CL.java,
6411         gnu/java/locale/LocaleInformation_es_CO.java,
6412         gnu/java/locale/LocaleInformation_es_CR.java,
6413         gnu/java/locale/LocaleInformation_es_DO.java,
6414         gnu/java/locale/LocaleInformation_es_EC.java,
6415         gnu/java/locale/LocaleInformation_es_ES.java,
6416         gnu/java/locale/LocaleInformation_es_GT.java,
6417         gnu/java/locale/LocaleInformation_es_HN.java,
6418         gnu/java/locale/LocaleInformation_es_MX.java,
6419         gnu/java/locale/LocaleInformation_es_NI.java,
6420         gnu/java/locale/LocaleInformation_es_PA.java,
6421         gnu/java/locale/LocaleInformation_es_PE.java,
6422         gnu/java/locale/LocaleInformation_es_PR.java,
6423         gnu/java/locale/LocaleInformation_es_PY.java,
6424         gnu/java/locale/LocaleInformation_es_SV.java,
6425         gnu/java/locale/LocaleInformation_es_US.java,
6426         gnu/java/locale/LocaleInformation_es_UY.java,
6427         gnu/java/locale/LocaleInformation_es_VE.java,
6428         gnu/java/locale/LocaleInformation_et_EE.java,
6429         gnu/java/locale/LocaleInformation_eu_ES.java,
6430         gnu/java/locale/LocaleInformation_fa_IR.java,
6431         gnu/java/locale/LocaleInformation_fi_FI.java,
6432         gnu/java/locale/LocaleInformation_fo_FO.java,
6433         gnu/java/locale/LocaleInformation_fr_BE.java,
6434         gnu/java/locale/LocaleInformation_fr_CA.java,
6435         gnu/java/locale/LocaleInformation_fr_CH.java,
6436         gnu/java/locale/LocaleInformation_fr_FR.java,
6437         gnu/java/locale/LocaleInformation_fr_LU.java,
6438         gnu/java/locale/LocaleInformation_ga_IE.java,
6439         gnu/java/locale/LocaleInformation_gd_GB.java,
6440         gnu/java/locale/LocaleInformation_gl_ES.java,
6441         gnu/java/locale/LocaleInformation_gv_GB.java,
6442         gnu/java/locale/LocaleInformation_he_IL.java,
6443         gnu/java/locale/LocaleInformation_hi_IN.java,
6444         gnu/java/locale/LocaleInformation_hr_HR.java,
6445         gnu/java/locale/LocaleInformation_hu_HU.java,
6446         gnu/java/locale/LocaleInformation_id_ID.java,
6447         gnu/java/locale/LocaleInformation_it_CH.java,
6448         gnu/java/locale/LocaleInformation_it_IT.java,
6449         gnu/java/locale/LocaleInformation_iw_IL.java,
6450         gnu/java/locale/LocaleInformation_ja_JP.java,
6451         gnu/java/locale/LocaleInformation_ka_GE.java,
6452         gnu/java/locale/LocaleInformation_kl_GL.java,
6453         gnu/java/locale/LocaleInformation_ko_KR.java,
6454         gnu/java/locale/LocaleInformation_kw_GB.java,
6455         gnu/java/locale/LocaleInformation_lt_LT.java,
6456         gnu/java/locale/LocaleInformation_lv_LV.java,
6457         gnu/java/locale/LocaleInformation_mi_NZ.java,
6458         gnu/java/locale/LocaleInformation_mk_MK.java,
6459         gnu/java/locale/LocaleInformation_mr_IN.java,
6460         gnu/java/locale/LocaleInformation_mt_MT.java,
6461         gnu/java/locale/LocaleInformation_nl_BE.java,
6462         gnu/java/locale/LocaleInformation_nl_NL.java,
6463         gnu/java/locale/LocaleInformation_nn_NO.java,
6464         gnu/java/locale/LocaleInformation_no_NO.java,
6465         gnu/java/locale/LocaleInformation_oc_FR.java,
6466         gnu/java/locale/LocaleInformation_pl_PL.java,
6467         gnu/java/locale/LocaleInformation_pt_BR.java,
6468         gnu/java/locale/LocaleInformation_pt_PT.java,
6469         gnu/java/locale/LocaleInformation_ro_RO.java,
6470         gnu/java/locale/LocaleInformation_ru_RU.java,
6471         gnu/java/locale/LocaleInformation_ru_UA.java,
6472         gnu/java/locale/LocaleInformation_se_NO.java,
6473         gnu/java/locale/LocaleInformation_sk_SK.java,
6474         gnu/java/locale/LocaleInformation_sl_SI.java,
6475         gnu/java/locale/LocaleInformation_sq_AL.java,
6476         gnu/java/locale/LocaleInformation_sr_YU.java,
6477         gnu/java/locale/LocaleInformation_sv_FI.java,
6478         gnu/java/locale/LocaleInformation_sv_SE.java,
6479         gnu/java/locale/LocaleInformation_ta_IN.java,
6480         gnu/java/locale/LocaleInformation_te_IN.java,
6481         gnu/java/locale/LocaleInformation_tg_TJ.java,
6482         gnu/java/locale/LocaleInformation_tl_PH.java,
6483         gnu/java/locale/LocaleInformation_tr_TR.java,
6484         gnu/java/locale/LocaleInformation_uk_UA.java,
6485         gnu/java/locale/LocaleInformation_ur_PK.java,
6486         gnu/java/locale/LocaleInformation_uz_UZ.java,
6487         gnu/java/locale/LocaleInformation_vi_VN.java,
6488         gnu/java/locale/LocaleInformation_yi_US.java,
6489         gnu/java/locale/LocaleInformation_zh_CN.java,
6490         gnu/java/locale/LocaleInformation_zh_HK.java,
6491         gnu/java/locale/LocaleInformation_zh_SG.java,
6492         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
6493         info; from Classpath.
6494
6495         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
6496         isPaintPending): New methods.
6497         * gnu/awt/xlib/XFramePeer.java (getState, setState,
6498         setMaximizedBounds): New methods.
6499         (beginLayout, endLayout, isPaintPending): Likewise.
6500         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
6501         (requestFocus): Likewise.
6502         (isObscured): Likewise.
6503         (canDetermineObscurity): Likewise.
6504         (coalescePaintEvent): Likewise.
6505         (updateCursorImmediately): Likewise.
6506         (createVolatileImage): Likewise.
6507         (handlesWheelScrolling): Likewise.
6508         (createBuffers): Likewise.
6509         (getBackBuffer): Likewise.
6510         (flip): Likewise.
6511         (destroyBuffers): Likewise.
6512
6513         * Makefile.in: Rebuilt.
6514         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
6515         RobotPeer.java.
6516         * gnu/java/awt/GLightweightPeer.java,
6517         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6518         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6519         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6520         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6521         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6522         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6523         java/awt/dnd/peer/DragSourceContextPeer.java,
6524         java/awt/dnd/peer/DropTargetContextPeer.java,
6525         java/awt/peer/ButtonPeer.java,
6526         java/awt/peer/CheckboxMenuItemPeer.java,
6527         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
6528         java/awt/peer/ComponentPeer.java,
6529         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
6530         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
6531         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
6532         java/awt/peer/MenuBarPeer.java,
6533         java/awt/peer/MenuComponentPeer.java,
6534         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
6535         java/awt/peer/PopupMenuPeer.java,
6536         java/awt/peer/ScrollPanePeer.java,
6537         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
6538         java/awt/peer/TextComponentPeer.java,
6539         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
6540         New versions from Classpath.
6541         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
6542         * java/awt/peer/RobotPeer.java: Likewise.
6543
6544 2003-03-01  Mark Wielaard  <mark@klomp.org>
6545
6546         * java/io/ObjectInputStream.java: Reindent.
6547         * java/io/ObjectOutputStream.java: Likewise.
6548
6549 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
6550
6551         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
6552         jvalue for each argument. Simplify.
6553         * testsuite/libjava.jni/calls.c (docall),
6554         testsuite/libjava.jni/calls.java (longpb_f): check for argument
6555         misalignment.
6556
6557 2003-02-28  Mark Wielaard  <mark@klomp.org>
6558
6559         * Makefile.am (nat_source_files): Remove
6560         java/io/natObjectOutputStream.cc.
6561         * Makefile.in: Regenerated.
6562         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
6563         * java/io/ObjectStreamField.java (typename): New field.
6564         (ObjectStreamField(String, Class)): Initialize new field.
6565         (ObjectStreamField(String, String)): New Constructor.
6566         (getTypeCode): Use new field.
6567         (getTypeString): Use new field.
6568         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
6569         ObjectStreamExceptions. Remember and reset old BlockDataMode.
6570         Handle reading of Proxy classes. Never drain(), just write
6571         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
6572         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
6573         (flush): Call flush(), not just drain().
6574         (writeBoolean): Always use blockDataOutput.
6575         (writeByte): Likewise.
6576         (writeShort): Likewise.
6577         (writeChar): Likewise.
6578         (writeInt): Likewise.
6579         (writeLong): Likewise.
6580         (writeFloat): Likewise.
6581         (writeDouble): Likewise.
6582         (writeBytes): Likewise.
6583         (putfield (put(String,Object))): Throw IllegalArgumentException if
6584         field cannot be found.
6585         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
6586         (writeArraySizeAndElements): Write byte[] in one go.
6587         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
6588         set BlockDataMode to false.
6589         (annotateProxyClass): New method.
6590         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
6591         (getField): No longer native.
6592         (getMethod): Likewise.
6593         (setBlockDataMode): Always drain() on switch, return old mode.
6594         (static): New static code block.
6595         * java/io/natObjectOutputStream.cc: Removed.
6596         * java/io/ObjectInputStream.java (getField): No longer native.
6597         (getMethod): Likewise.
6598         (readObject): Remember and reset old BlockDataMode. Track whether
6599         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
6600         TC_LONGSTRING.
6601         (defaultReadObject): Set BlockDataMode to false during readFields.
6602         (resolveClass): Create new SecurityManager if necessary.
6603         Use Class.forName() if null ClassLoader found.
6604         (read(byte[],int,int): Copy remaining bytes to data before calling
6605         readNextBlock().
6606         (readFields): Set and reset BlockDataMode on call_read_method.
6607         Catch NoSuchFieldErrors.
6608         (setBlockDataMode): Return old mode.
6609         (static): New static code block.
6610         * java/io/natObjectInputStream.cc (getField): Removed.
6611         (getMethod): Likewise.
6612
6613 2003-02-27  Michael Koch  <konqueror@gmx.de>
6614
6615         * java/beans/Beans.java,
6616         java/beans/FeatureDescriptor.java
6617         java/beans/PropertyEditorManager.java:
6618         Reformated to GNU style.
6619
6620 2003-02-25  Michael Koch  <konqueror@gmx.de>
6621
6622         * gnu/java/nio/MappedByteFileBuffer.java,
6623         gnu/java/nio/natMappedByteFileBuffer.cc:
6624         New files, both are not compiled yet to get not noncompiling CVS.
6625
6626 2003-02-24  Tom Tromey  <tromey@redhat.com>
6627
6628         * java/util/prefs/AbstractPreferences.java (isUserNode):
6629         Implemented.
6630
6631 2003-02-24  Tom Tromey  <tromey@redhat.com>
6632
6633         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
6634         Deprecate.
6635         * java/lang/Thread.java (resume): Deprecate.
6636         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
6637         in @deprecated.
6638
6639 2003-02-23  Tom Tromey  <tromey@redhat.com>
6640
6641         * Makefile.in: Rebuilt.
6642         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
6643
6644 2003-02-23  Tom Tromey  <tromey@redhat.com>
6645
6646         * java/lang/natRuntime.cc (libraries_size, libraries_count,
6647         libraries): Removed.
6648         (add_library): Removed.
6649         (_load): Don't call add_library.
6650         (loadLibraryInternal): Likewise.
6651         (init): Likewise.
6652         (lookup_data): New struct.
6653         (find_symbol): New function.
6654         (_Jv_FindSymbolInExecutable): Use it.
6655
6656 2002-02-21  Anthony Green  <green@redhat.com>
6657
6658         * java/lang/Thread.java (Thread): New constructor taking stack
6659         size parameter (ignored for now).
6660         * Many methods: Merged GNU Classpath documentation.
6661
6662         * java/lang/Class.java (finalize): throws a Throwable.
6663
6664 2003-02-21  Mark Wielaard  <mark@klomp.org>
6665
6666         * java/util/zip/ZipEntry.java (setComment): Don't check length when
6667         argument is null.
6668
6669 2003-02-21  Mark Wielaard  <mark@klomp.org>
6670
6671         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
6672         then 65535 chars throw IllegalArgumentException.
6673
6674 2003-02-21  Mark Wielaard  <mark@klomp.org>
6675
6676         * java/util/zip/ZipFile.java (finalize): New method.
6677
6678 2003-02-21  Michael Koch  <konqueror@gmx.de>
6679
6680         * gnu/java/nio/natSocketChannelImpl.cc:
6681         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
6682         <cato@df.lth.se> for pointing to it.
6683
6684 2003-02-20  Raif S. Naffah <raif@fl.net.au>
6685
6686         * java/math/BigInteger.java (euclidInv): Take result array as an
6687         argument.  Updated all callers.
6688         (modInverse): Removed unused variables.
6689
6690 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
6691
6692         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6693         config.status.
6694         * configure: Rebuilt.
6695
6696 2003-02-19  Michael Koch  <konqueror@gmx.de>
6697
6698         * gnu/java/nio/natSocketChannelImpl.cc:
6699         Added support for platforms without network support.
6700
6701 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6702
6703         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
6704         after config.h.  Use <> for consistency.
6705         * java/lang/natObject.cc: Likewise.
6706         * java/lang/natRuntime.cc: Likewise.
6707         * java/lang/natSystem.cc: Likewise.
6708         * java/util/natTimeZone.cc: Likewise.
6709         * win32.cc: Likewise.
6710         * include/posix.h (fcntl, socket, connect, close, bind, accept,
6711         listen, write, read): Undef to avoid interference from OS macros.
6712
6713 2003-02-19  Michael Koch  <konqueror@gmx.de>
6714
6715         * gnu/java/nio/ByteBufferImpl.java
6716         (ByteBufferImpl): Renamed two variables.
6717         * gnu/java/nio/CharBufferImpl.java
6718         (CharBufferImpl): Renamed two variables.
6719         * gnu/java/nio/DoubleBufferImpl.java
6720         (DoubleBufferImpl): Renamed two variables.
6721         * gnu/java/nio/FloatBufferImpl.java
6722         (FloatBufferImpl): Renamed two variables.
6723         * gnu/java/nio/IntBufferImpl.java
6724         (IntBufferImpl): Renamed two variables.
6725         * gnu/java/nio/LongBufferImpl.java
6726         (LongBufferImpl): Renamed two variables.
6727         * gnu/java/nio/ShortBufferImpl.java
6728         (ShortBufferImpl): Renamed two variables.
6729         * java/nio/CharBuffer.java
6730         (wrap): Fixed arguments to CharBufferImpl constructor.
6731         (hasArray): Only not read-only buffers have backing arrays.
6732         (length): Documentation added.
6733         (subSequence): Documentation added.
6734         * java/nio/DoubleBuffer.java
6735         (hasArray): Only not read-only buffers have backing arrays.
6736         * java/nio/FloatBuffer.java
6737         (hasArray): Only not read-only buffers have backing arrays.
6738         * java/nio/IntBuffer.java
6739         (hasArray): Only not read-only buffers have backing arrays.
6740         * java/nio/LongBuffer.java
6741         (hasArray): Only not read-only buffers have backing arrays.
6742         * java/nio/ShortBuffer.java
6743         (hasArray): Only not read-only buffers have backing arrays.
6744         
6745 2003-02-19  Michael Koch  <konqueror@gmx.de>
6746
6747         * javax/accessibility/AccessibleContext.java
6748         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
6749
6750 2003-02-19  Michael Koch  <konqueror@gmx.de>
6751
6752         * java/awt/ScrollPaneAdjustable.java: Reformated.
6753
6754 2003-02-19  Michael Koch <konqueror@gmx.de>
6755
6756         * gnu/awt/j2d/Graphics2DImpl.java
6757         (getFontRenderContext): New method.
6758         (drawGlyphVector): New method.
6759         * java/awt/Graphics2D.java
6760         (getFontRenderContext): New abstract method.
6761         (drawGlyphVector): New abstract method.
6762         
6763 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
6764
6765         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
6766         if necessary.
6767         
6768         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6769         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6770         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6771         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6772         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6773         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6774         (setFont, gtkSetFont): add.
6775         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
6776         Propagate font to peer.  (setFont): add FIXME comment.
6777
6778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6779         (gtkTextGetSize): fix height, width computation.
6780
6781         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
6782         Make X font name a bit less bogus.
6783
6784         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6785         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
6786
6787         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
6788         (processAdjustmentEvent): Adjust value.
6789
6790         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
6791         logic errors.
6792
6793         * java/awt/Component.java (setVisible, show, hide): Call show and
6794         hide methods in subclasses.
6795         (getPreferredSize): don't set prefSize before we have peer.
6796
6797         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
6798         Guess (0,0) if we don't have peer.
6799
6800
6801 2003-02-18  Michael Koch  <konqueror@gmx.de>
6802
6803         * java/nio/channels/FileChannel.java
6804         (toString): New implementation, added documentation.
6805         (map): Added exception documentation.
6806         (size): Added exception documentation.
6807         (write): New methods, documentation work.
6808         (read): New methods, documentation work.
6809         (implCloseChannel): Rewrote exception documentation.
6810         (force): Throws IOException, added documentation.
6811         (lock): New methods.
6812         (tryLock): New methods.
6813         (position): New methods.
6814         (transferTo): New method.
6815         (transferFrom): New method.
6816         (truncate): New method.
6817         * java/nio/channels/spi/SelectorProvider.java
6818         (provider): Implemented.
6819         * Makefile.am
6820         (ordinary_java_source_files): Added the following files:
6821         gnu/java/nio/DatagramChannelImpl.java
6822         gnu/java/nio/FileChannelImpl.java
6823         gnu/java/nio/PipeImpl.java
6824         gnu/java/nio/SelectionKeyImpl.java
6825         gnu/java/nio/SelectorImpl.java
6826         gnu/java/nio/SelectorProviderImpl.java
6827         gnu/java/nio/ServerSocketChannelImpl.java
6828         gnu/java/nio/SocketChannelImpl.java
6829         java/nio/channels/FileLock.java
6830         (nat_java_source_files): Added the following files:
6831         gnu/java/nio/natFileChannelImpl.cc
6832         gnu/java/nio/natSelectorImpl.cc
6833         gnu/java/nio/natSocketChannelImpl.cc
6834         * Makefile.in: Regenerated.
6835
6836 2003-02-17  Tom Tromey  <tromey@redhat.com>
6837
6838         * java/awt/image/ColorModel.java: Re-merged with Classpath.
6839         * java/awt/image/ImageFilter.java: Likewise.
6840
6841 2003-02-17  Raif S. Naffah <raif@fl.net.au>
6842
6843         * java/math/BigInteger.java (euclidInv): Return array of
6844         `BigInteger's.  Changed all callers.
6845
6846 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
6847
6848         * java/util/Properties.java (store): Move the code formerly in
6849         list(), into this method.
6850         (list (PrintStream)): Just call list (PrintWriter) with a 
6851         PrintWriter object constructed from the given PrintStream object.
6852         (list (PrintWriter)): Emulate the output of Properties.list()
6853         as found in JDK 1.3/1.4.
6854
6855 2003-02-17  Michael Koch  <konqueror@gmx.de>
6856
6857         * java/net/DatagramSocket.java
6858         (connect): Merged with classpath.
6859         (disconnect): Merged documentation with classpath.
6860         (receice): Merged documentation with classpath.
6861         (send): Merged documentation with classpath.
6862         
6863 2003-02-17  Michael Koch  <konqueror@gmx.de>
6864
6865         * java/awt/dnd/DragSourceContext.java
6866         (addDragSourceListener): Added documentation.
6867         * java/awt/dnd/DragSourceDragEvent.java
6868         (serialVersionUID): New member variable.
6869         (getDropAction): Reformated.
6870         * java/awt/dnd/DragSourceDropEvent.java
6871         (serialVersionUID): New member variable.
6872         (dropSuccess): Renamed from success for serialization issues.
6873         * java/awt/dnd/DragSourceEvent.java
6874         (serialVersionUID): New member variable.
6875         * java/awt/dnd/DropTarget.java
6876         (serialVersionUID): New member variable.
6877         (DropTarget): Implemented, documentation reworked.
6878         (setComponent): Documentation added.
6879         (getComponent): Documentation added.
6880         (setDefaultActions): Documentation added.
6881         (getDefaultActions): Documentation added.
6882         (addDropTargetListener): Documentation added.
6883         * java/awt/dnd/DropTargetContext.java
6884         (DropTargetContext): Documentation added.
6885         (TransferableProxy.TransferableProxy): New method.
6886         (dropComplete): Fixed documentation.
6887         (getTransferable): Fixed documentation.
6888         (createTransferableProxy): Implemented.
6889         * java/awt/dnd/DropTargetDragEvent.java
6890         (DropTargetDragEvent): Documentation added.
6891         (serialVersionUID): New member variable.
6892         (DropTargetDragEvent): Throw exceptions, documentation added.
6893         (acceptDrag): Implemented.
6894         (getCurrentDataFlavors): Implemented.3yy
6895         (getCurrentDataFlavorsAsList): Implemented.
6896         (isDataFlavorSupported): Implemented.
6897         (rejectDrag): Implemented.
6898         * java/awt/dnd/DropTargetDropEvent.java
6899         (DropTargetDropEvent): Documentation added.
6900         (serialVersionUID): New member variable.
6901         (actions): Renamed from srcActions for serialization issues.
6902         (isLocalTx): Renamed from isLocalTx for serialization issues.
6903         (DropTargetDropEvent): New implementation, throw exceptions,
6904         documentation added.
6905         (getCurrentDataFlavors): Implemented.
6906         (getCurrentDataFlavorsAsList): Implemented.
6907         (isDataFlavorSupported): Implemented.
6908         (getSourceActions): Implemented.
6909         (getDropAction): Implemented.
6910         (getTransferable): Implemented.
6911         (acceptDrop): Implemented.
6912         (rejectDrop): Implemented.
6913         * java/awt/dnd/DropTargetListener.java
6914         (drop): Fixed documentation.
6915         * java/awt/dnd/MouseDragGestureRecognizer.java
6916         (MouseDragGestureRecognizer): Documentation added.
6917
6918 2003-02-17  Michael Koch  <konqueror@gmx.de>
6919
6920         * java/awt/font/FontRenderContext.java,
6921         java/awt/font/ShapeGraphicAttribute.java,
6922         java/awt/font/MultipleMaster.java,
6923         java/awt/font/TransformAttribute.java,
6924         java/awt/font/GlyphJustificationInfo.java,
6925         java/awt/font/LineBreakMeasurer.java,
6926         java/awt/font/TextMeasurer.java,
6927         java/awt/font/TextLayout.java,
6928         java/awt/font/LineMetrics.java,
6929         java/awt/font/TextAttribute.java,
6930         java/awt/font/GlyphMetrics.java,
6931         java/awt/font/OpenType.java,
6932         java/awt/font/GlyphVector.java,
6933         java/awt/font/GraphicAttribute.java,
6934         java/awt/font/ImageGraphicAttribute.java,
6935         java/awt/font/NumericShaper.java: New files.
6936         * Makefile.am
6937         (awt_java_source_files): Added the following files:
6938         java/awt/font/FontRenderContext.java
6939         java/awt/font/ShapeGraphicAttribute.java
6940         java/awt/font/MultipleMaster.java
6941         java/awt/font/TransformAttribute.java
6942         java/awt/font/GlyphJustificationInfo.java
6943         java/awt/font/LineBreakMeasurer.java
6944         java/awt/font/TextMeasurer.java
6945         java/awt/font/TextLayout.java
6946         java/awt/font/LineMetrics.java
6947         java/awt/font/TextAttribute.java
6948         java/awt/font/GlyphMetrics.java
6949         java/awt/font/OpenType.java
6950         java/awt/font/GlyphVector.java
6951         java/awt/font/GraphicAttribute.java
6952         java/awt/font/ImageGraphicAttribute.java
6953         java/awt/font/NumericShaper.java
6954         * Makefile.in: Regenerated.
6955
6956 2003-02-17  Michael Koch  <konqueror@gmx.de>
6957
6958         * java/awt/print/Paper.java
6959         (Paper): Implements Cloneable.
6960         * java/awt/print/PrinterJob.java
6961         (setJobName): Return value must be void.
6962         (print): Throws PrinterException.
6963         
6964 2003-02-16  Tom Tromey  <tromey@redhat.com>
6965
6966         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
6967         variable.
6968
6969 2003-02-15  Michael Koch  <konqueror@gmx.de>
6970
6971         * java/awt/datatransfer/DataFlavor.java
6972         (isRepresentationClassByteBuffer): Removed try-catch block.
6973         (isRepresentationClassCharBuffer): Removed try-catch block.
6974         (isRepresentationClassReader): Removed try-catch block.
6975
6976 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6977
6978         * java/nio/charset/Charset.java
6979         (isRegistered): Fixed method args and implementation.
6980         * java/nio/charset/CharsetEncoder.java
6981         (unmappableCharacterAction): New method.
6982
6983 2003-02-15  Michael Koch  <konqueror@gmx.de>
6984
6985         * java/awt/CheckboxMenuItem.java
6986         (CheckBoxMenuItem): Dont implement Serializable.
6987         (getListeners): New method,
6988         (getItemListeners): New method.
6989         * java/awt/Choice.java
6990         (getListeners): New method,
6991         (getItemListeners): New method.
6992         * java/awt/Container.java
6993         (getListeners): Added exception documentation.
6994         (setFocusTraversalKeys): Throw exceptions, added documentattion.
6995         (getFocusTraversalKeys): Added documentation.
6996         (areFocusTraversalKeysSet): Added documentation.
6997         (applyComponentOrientation): Added documentation.
6998         * java/awt/ContainerOrderFocusTraversalPolicy.java
6999         (implicitDownCycleTraversal): Renamed from downCycle for
7000         serialization.
7001         (ContainerOrderFocusTraversalPolicy): Added documentation.
7002         (accept): Reformated.
7003         * java/awt/Dialog.java
7004         (Dialog): Dont implement Serializable.
7005         (Dialog): Added documentation.
7006         * java/awt/Font.java
7007         (Font): Dont use absolute class name.
7008         * java/awt/Frame.java
7009         (Frame): Font implement Serializable.
7010         * java/awt/List.java
7011         (getListeners): New method,
7012         (getActionListeners): New method.       
7013         (getItemListeners): New method.
7014         * java/awt/Menu.java
7015         (countItems): New deprecated method.
7016         * java/awt/Scrollbar.java
7017         (getListeners): New method,
7018         (getAdjustmentListeners): New method,
7019         * java/awt/TextComponent.java
7020         (getListeners): New method,
7021         (getTextListeners): New method,
7022         * java/awt/TextField.java
7023         (getListeners): New method,
7024         (getActionListeners): New method.       
7025         * java/awt/Window.java
7026         (windowFocusListener): New member variable.
7027         (windowStateListener): New member variable.
7028         (getWindowFocusListeners): New method.
7029         (getWindowStateListeners): New method.
7030         (addWindowFocusListener): New method.
7031         (addWindowStateListener): New method.
7032         (removeWindowFocusListener): New method.
7033         (removeWindowStateListener): New method.
7034         * java/awt/datatransfer/DataFlavor.java
7035         (isRepresentationClassByteBuffer): New method.
7036         (isRepresentationClassCharBuffer): New method.
7037         (isRepresentationClassReader): New method.
7038
7039 2003-02-14  Mark Wielaard  <mark@klomp.org>
7040
7041         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
7042         zero when there is an exponent and the significant is zero.
7043         (divide): Always set scale to newScale even in special ZERO case.
7044
7045 2003-02-14  Tom Tromey  <tromey@redhat.com>
7046
7047         * java/lang/System.java (properties): Use Properties.clone.
7048         (setProperties): Likewise.
7049
7050 2003-02-14  Michael Koch  <konqueror@gmx.de>
7051
7052         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
7053         * gnu/java/nio/ServerSocketChannelImpl.java
7054         (SocketAccept): Removed.
7055         (accept): Commented out use of SocketAccept.
7056
7057 2003-02-13  Tom Tromey  <tromey@redhat.com>
7058
7059         * verify.cc (state::seen_subrs): New field.
7060         (state::state): Initialize it.
7061         (state::clean_subrs): New method.
7062         (state::~state): Call it.
7063         (state::copy): Copy subroutine list.
7064         (state::add_subr): New method.
7065         (state::merge): Only register a change if the current subroutine
7066         hasn't yet been noted.
7067
7068 2003-02-13  Mark Wielaard  <mark@klomp.org>
7069
7070         * java/io/InputStreamReader.java (getEncoding): Return null when
7071         closed.
7072         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
7073
7074 2003-02-13  Mark Wielaard  <mark@klomp.org>
7075  
7076         * java/util/zip/InflaterInputStream.java (read): Return zero when len
7077         is zero.
7078
7079 2003-02-13  Mark Wielaard  <mark@klomp.org>
7080
7081         * java/io/BufferedOutputStream.java (write(int)): Only flush when
7082         next byte cannot be buffered.
7083
7084 2003-02-13  Michael Koch  <konqueror@gmx.de>
7085  
7086         * java/awt/Label.java
7087         (Label): Don't implement Serializable directly.
7088         (addNotify): Fixed typo in documentation.
7089         * java/awt/List.java
7090         (List): Don't implement Serializable directly.
7091         * java/awt/PopupMenu.java
7092         (PopupMenu): Don't implement Serializable directly.
7093         * java/awt/ScrollPane.java
7094         (ScrollPane): Don't implement Serializable directly.
7095         * java/awt/Scrollbar.java
7096         (Scrollbar): Don't implement Serializable directly.
7097         * java/awt/TextArea.java
7098         (preferredSize): Fixed method arguments.
7099         * java/awt/TextField.java
7100         (TextField): Don't implement Serializable directly.
7101         * java/awt/color/ICC_ColorSpace.java
7102         (fromCIOXYZ): Documentation added.
7103         (getMinValue): Documentation added.
7104         (getMaxValue): Documentation added.
7105         * java/awt/datatransfer/DataFlavor.java
7106         (isMimeTypeEqual): May not be final.
7107         (clone): Throws CloneNotSupportedException.
7108         (getReaderForText): Don't throws UnsupportedEncodingException.
7109
7110 2003-02-13  Michael Koch  <konqueror@gmx.de>
7111  
7112         * gnu/java/awt/peer/gtk/GdkGraphics.java
7113         (drawString): New stubbed method.
7114         * java/awt/Graphics.java
7115         (drawString): New method.
7116
7117 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
7118
7119         PR libgcj/9271:
7120         * java/security/SecureRandom.java (next): Avoid bias in results.
7121
7122 2003-02-13  Michael  <konqueror@gmx.de>
7123
7124         * gnu/java/nio/FileChannelImpl.java
7125         (lengthInternal): Must be native.
7126         (size): Check if channel is already closed.
7127         (implCloseChannel): Reformated.
7128         (read): w was unused, removed it.
7129         (read): Removed.
7130         (read): New method.
7131         (write): New method.
7132         (map): Check arguments.
7133         (force): Throws IOException, check if channel is closed.
7134         (transferTo): New method.
7135         (transferFrom): New method.
7136         (lock): New method.
7137         (tryLock): New method.
7138         (position): New method.
7139         (truncate): New method.
7140         (nio_mmap_file): Uncommented.
7141         (nio_munmap_file): Uncommented.
7142         (nio_msync): Uncommented.
7143         * gnu/java/nio/natFileChannelImpl.cc: New file.
7144         
7145 2003-02-13  Michael Koch  <konqueror@gmx.de>
7146
7147         * java/nio/ByteBuffer.java
7148         (endian): New member variable.
7149         (get): New methods.
7150         (equals): New method.
7151         (compareTo): New method.
7152         (order): New methods.
7153         (compact): New method.
7154         (isDirect): New method.
7155         (slice): New method.
7156         (duplicate): New method.
7157         (asReadOnlyBuffer): New method.
7158         (asCharBuffer): New method.
7159         (asDoubleBuffer): New method.
7160         (asFloatBuffer): New method.
7161         (asIntBuffer): New method.
7162         (asLongBuffer): New method.
7163         (asShortBuffer): New method.
7164         (get*): New methods.
7165         (put*): New methods.
7166         (toString): New method.
7167         * java/nio/CharBuffer.java
7168         (CharBuffer): Implement Comparable instead of Cloneable.
7169         (get): May not be final.
7170         (put): May not be final.
7171         
7172 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
7173
7174         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7175         lastIndexOf( ) instead of indexOf( ) to find the colon before
7176         the line number, because Win32 file names might contain a 
7177         drive letter and a colon at the start of an absolute path.
7178
7179 2003-02-13  Michael Koch  <konqueror@gmx.de>
7180
7181         * gnu/java/nio/natSocketChannelImpl.cc
7182         (SocketConnect): This is not implemented yet.
7183         (SocketBind): This is not implemented yet.
7184
7185 2003-02-13  Michael Koch  <konqueror@gmx.de>
7186
7187         * gnu/java/nio/natByteBufferImpl.cc,
7188         gnu/java/nio/natCharBufferImpl.cc,
7189         gnu/java/nio/natDoubleBufferImpl.cc,
7190         gnu/java/nio/natFloatBufferImpl.cc,
7191         gnu/java/nio/natIntBufferImpl.cc,
7192         gnu/java/nio/natLongBufferImpl.cc,
7193         gnu/java/nio/natShortBufferImpl.cc:
7194         Added copyright and license.
7195         * java/nio/DoubleBuffer.java,
7196         java/nio/FloatBuffer.java,
7197         java/nio/IntBuffer.java,
7198         java/nio/LongBuffer.java,
7199         java/nio/ShortBuffer.java
7200         (array): Throw exceptions.
7201         (arrayOffset): Throw exceptions.
7202
7203 2003-02-13  Michael Koch  <konqueror@gmx.de>
7204  
7205         * gnu/java/util/prefs/FileBasedFactory.java,
7206         gnu/java/util/prefs/MemmoryBasedFactory.java,
7207         gnu/java/util/prefs/MemoryBasedPreferences.java,
7208         gnu/java/util/prefs/NodeReader.java,
7209         gnu/java/util/prefs/NodeWriter.java,
7210         java/util/prefs/AbstractPreferences.java,
7211         java/util/prefs/BackingStoreException.java,
7212         java/util/prefs/InvalidPreferencesFormatException.java,
7213         java/util/prefs/NodeChangeEvent.java,
7214         java/util/prefs/NodeChangeListener.java,
7215         java/util/prefs/PreferenceChangeEvent.java,
7216         java/util/prefs/PreferenceChangeListener.java,
7217         java/util/prefs/Preferences.java,
7218         java/util/prefs/PreferencesFactory.java:
7219         New files, all merged from classpath.
7220         * Makefile.am
7221         (ordinary_java_source_files): Added the following files:
7222         gnu/java/util/prefs/FileBasedFactory.java,
7223         gnu/java/util/prefs/MemmoryBasedFactory.java,
7224         gnu/java/util/prefs/MemoryBasedPreferences.java,
7225         gnu/java/util/prefs/NodeReader.java,
7226         gnu/java/util/prefs/NodeWriter.java,
7227         (core_java_source_files): Added the following files:
7228         java/util/prefs/AbstractPreferences.java,
7229         java/util/prefs/BackingStoreException.java,
7230         java/util/prefs/InvalidPreferencesFormatException.java,
7231         java/util/prefs/NodeChangeEvent.java,
7232         java/util/prefs/NodeChangeListener.java,
7233         java/util/prefs/PreferenceChangeEvent.java,
7234         java/util/prefs/PreferenceChangeListener.java,
7235         java/util/prefs/Preferences.java,
7236         java/util/prefs/PreferencesFactory.java
7237         * Makefile.in: Regenerated.
7238  
7239 2003-02-13  Michael Koch  <konqueror@gmx.de>
7240
7241         * java/net/NetPermission.java
7242         (NetPermission): Make doucmentation match the method declaration.
7243         * java/net/NetworkInterface.java
7244         (equals): Reformated for GNU coding style.
7245         * java/net/ServerSocket.java: Merged with classpath.
7246         * java/net/Socket.java: Partly merged with classpath (Added some @since).
7247         * java/net/SocketImpl.java
7248         (localPort): Merged with classpath (initialize with -1).
7249         * java/net/SocketPermission.java: Merged with classpath (reindented).
7250         * java/net/URLDecoder.java: Merged with classpath (reindented).
7251
7252 2003-02-13  Michael Koch  <konqueror@gmx.de>
7253
7254         * java/awt/GridBagConstraints.java
7255         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
7256         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
7257         * java/awt/KeyboardFocusManager.java
7258         (setGlobalCurrentFocusCycleRoot): Must be public.
7259         * java/awt/MenuComponent.java
7260         (MenuComponent): Must be public.
7261         * java/awt/Toolkit.java:
7262         Added some empty lines to make documentation more readable.
7263         (getFontPeer): Added @deprecated.
7264         (getColorModel): Added exception documentation.
7265         (getProperty): Fixed documentation.
7266  
7267 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
7268
7269         * configure.host (alpha*-*): Default to -mieee.
7270         * configure.in (IEEESPEC): New.
7271         * libgcj.spec.in (jc1): Add IEEESPEC.
7272         * configure: Rebuild.
7273
7274 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7275
7276         * include/win32.h: Include ws2tcpip.h instead of
7277         winsock.h to obtain definition of the socklen_t type.
7278         Remove IP_TOS definition - not needed with ws2tcpip.h
7279         (_Jv_connect): Correct slight formatting error.
7280
7281 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7282
7283         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
7284         size of the arguments for a JNI function. For Win32,
7285         modify to search for all forms of possible exported
7286         names of an stdcall JNI function.
7287         (_Jv_JNIMethod::call): Modify to calculate the size
7288         of the arguments passed to a JNI function and pass
7289         it to _Jv_LookupJNIMethod.
7290
7291 2003-02-12  Michael Koch  <konqueror@gmx.de>
7292
7293         * java/nio/channels/Channels.java: New file.
7294         * Makefile.am
7295         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
7296         * Makefile.in: Regenerated.
7297
7298 2003-02-12  Michael Koch  <konqueror@gmx.de>
7299
7300         * java/nio/ByteBuffer.java
7301         (allocate): Implemented.
7302         (wrap): Implemented.
7303         * java/nio/CharBuffer.java:
7304         Some documentation added and reworked.
7305         (endian): Removed.
7306         (allocate): Implemented.
7307         (wrap): Implemented.
7308         (array): Throw exceptions.
7309         (arrayOffset): Throw exceptions.
7310         (toString): Implemented.
7311         (length): Implemented.
7312         (put): Implemented.
7313         (charAt): Implemented.
7314
7315 2003-02-11  John Leuner  <jewel@debian.org>
7316
7317         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
7318         reads from end of file.
7319
7320 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
7321
7322         * java/io/natFileDescriptorWin32.cc 
7323         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
7324         returns with Win32 error code ERROR_BROKEN_PIPE.
7325
7326 2003-02-11  Michael Koch  <konqueror@gmx.de>
7327
7328         * Makefile.in
7329         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
7330
7331 2003-02-11  Michael Koch  <konqueror@gmx.de>
7332
7333         * gnu/java/nio/ByteBufferImpl.java:
7334         Reformated and removed some code.
7335         (backing_buffer): Removed.      
7336         (array_offset): Removed.
7337         (ro): Renamed to readOnly.
7338         (ByteBufferImpl): Use parent constructor, initialize readOnly.
7339         * gnu/java/nio/CharBufferImpl.java:
7340         Reformated and removed some code.
7341         (array_offset): Removed.
7342         (ro): Renamed to readOnly.
7343         (CharBufferImpl): Use parent constructor, initialize readOnly.
7344         (inc_pos): Removed.
7345         (order): New method.
7346         * gnu/java/nio/DoubleBufferImpl.java:
7347         Reformated and removed some code.
7348         (array_offset): Removed.
7349         (ro): Renamed to readOnly.
7350         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
7351         (inc_pos): Removed.
7352         (order): New method.
7353         * gnu/java/nio/FloatBufferImpl.java:
7354         Reformated and removed some code.
7355         (array_offset): Removed.
7356         (ro): Renamed to readOnly.
7357         (FloatBufferImpl): Use parent constructor, initialize readOnly.
7358         (inc_pos): Removed.
7359         (order): New method.
7360         * gnu/java/nio/IntBufferImpl.java:
7361         Reformated and removed some code.
7362         (array_offset): Removed.
7363         (ro): Renamed to readOnly.
7364         (IntBufferImpl): Use parent constructor, initialize readOnly.
7365         (inc_pos): Removed.
7366         (order): New method.
7367         * gnu/java/nio/LongBufferImpl.java:
7368         Reformated and removed some code.
7369         (array_offset): Removed.
7370         (ro): Renamed to readOnly.
7371         (LongBufferImpl): Use parent constructor, initialize readOnly.
7372         (inc_pos): Removed.
7373         (order): New method.
7374         * gnu/java/nio/ShortBufferImpl.java:
7375         Reformated and removed some code.
7376         (array_offset): Removed.
7377         (ro): Renamed to readOnly.
7378         (ShortBufferImpl): Use parent constructor, initialize readOnly.
7379         (inc_pos): Removed.
7380         (order): New method.
7381         * Makefile.am
7382         (ordinary_java_source_files): Added the following files:
7383         gnu/java/nio/ByteBufferImpl.java
7384         gnu/java/nio/CharBufferImpl.java
7385         gnu/java/nio/DoubleBufferImpl.java
7386         gnu/java/nio/FloatBufferImpl.java
7387         gnu/java/nio/IntBufferImpl.java
7388         gnu/java/nio/LongBufferImpl.java
7389         gnu/java/nio/ShortBufferImpl.java
7390         java/nio/DoubleBuffer.java
7391         java/nio/FloatBuffer.java
7392         java/nio/IntBuffer.java
7393         java/nio/LongBuffer.java
7394         java/nio/ShortBuffer.java
7395         (nat_source_files): Added the following files:
7396         gnu/java/nio/natByteBufferImpl.cc
7397         gnu/java/nio/natCharBufferImpl.cc
7398         gnu/java/nio/natDoubleBufferImpl.cc
7399         gnu/java/nio/natFloatBufferImpl.cc
7400         gnu/java/nio/natIntBufferImpl.cc
7401         gnu/java/nio/natLongBufferImpl.cc
7402         gnu/java/nio/natShortBufferImpl.cc
7403         * Makefile.in: Regenerated.
7404
7405 2003-02-11  Michael Koch  <konqueror@gmx.de>
7406
7407         * gnu/java/nio/natCharBufferImpl.cc
7408         (nio_cast): Removed.
7409         (nio_put_*): Removed.
7410         (nio_get_*): Removed.
7411         * gnu/java/nio/natDoubleBufferImpl.cc
7412         (nio_cast): Removed.
7413         (nio_put_*): Removed.
7414         (nio_get_*): Removed.
7415         * gnu/java/nio/natFloatBufferImpl.cc
7416         (nio_cast): Removed.
7417         (nio_put_*): Removed.
7418         (nio_get_*): Removed.
7419         * gnu/java/nio/natIntBufferImpl.cc
7420         (nio_cast): Removed.
7421         (nio_put_*): Removed.
7422         (nio_get_*): Removed.
7423         * gnu/java/nio/natLongBufferImpl.cc
7424         (nio_cast): Removed.
7425         (nio_put_*): Removed.
7426         (nio_get_*): Removed.
7427         * gnu/java/nio/natShortBufferImpl.cc
7428         (nio_cast): Removed.
7429         (nio_put_*): Removed.
7430         (nio_get_*): Removed.
7431         * gnu/java/nio/SelectorProviderImpl.java
7432         (openDatagramChannel): Throws IOException.
7433         (openPipe): Throws IOException.
7434         (openSelector): Throws IOException.
7435         (openServerSocketChannel): Throws IOException.
7436         (openSocketChannel): Throws IOException.
7437         * gnu/java/nio/ServerSocketChannelImpl.java
7438         (ServerSocketChannelImpl): Throws IOException.
7439         (implCloseSelectableChannel): Throws IOException.
7440         (implConfigureBlocking): Throws IOException.
7441         * java/nio/ByteBuffer.java
7442         (readOnly): Removed.
7443         (hasArray): Use isReadOnly() instead of readOnly.
7444         (array): Use isReadOnly() instead of readOnly.
7445         (arrayOffset): Use isReadOnly() instead of readOnly.
7446         * java/nio/CharBuffer.java
7447         (CharBuffer): Implements Cloneable and CharSequence.
7448
7449 2003-02-11  Michael Koch  <konqueror@gmx.de>
7450
7451         * java/nio/DoubleBuffer.java
7452         (DoubleBuffer): Implements Comparable.
7453         (endian): Removed.
7454         (array_offset): New member variable.
7455         (DoubleBuffer): New constuctor.
7456         (get): May not be final.
7457         (put): May not be final.
7458         (arrayOffset): Implemented.
7459         (order): Made abstract.
7460         (order): Removed.
7461         (as*Buffer): Removed.
7462         (get*): Removed.
7463         (put*): Removed.
7464         * java/nio/FloatBuffer.java
7465         (FloatBuffer): Implements Comparable.
7466         (endian): Removed.
7467         (array_offset): New member variable.
7468         (FloatBuffer): New constuctor.
7469         (get): May not be final.
7470         (put): May not be final.
7471         (arrayOffset): Implemented.
7472         (order): Made abstract.
7473         (order): Removed.
7474         (as*Buffer): Removed.
7475         (get*): Removed.
7476         (put*): Removed.
7477         * java/nio/IntBuffer.java
7478         (IntBuffer): Implements Comparable.
7479         (endian): Removed.
7480         (array_offset): New member variable.
7481         (IntBuffer): New constuctor.
7482         (get): May not be final.
7483         (put): May not be final.
7484         (arrayOffset): Implemented.
7485         (order): Made abstract.
7486         (order): Removed.
7487         (as*Buffer): Removed.
7488         (get*): Removed.
7489         (put*): Removed.
7490         * java/nio/LongBuffer.java
7491         (LongBuffer): Implements Comparable.
7492         (endian): Removed.
7493         (array_offset): New member variable.
7494         (LongBuffer): New constuctor.
7495         (get): May not be final.
7496         (put): May not be final.
7497         (arrayOffset): Implemented.
7498         (order): Made abstract.
7499         (order): Removed.
7500         (as*Buffer): Removed.
7501         (get*): Removed.
7502         (put*): Removed.
7503         * java/nio/ShortBuffer.java
7504         (ShortBuffer): Implements Comparable.
7505         (endian): Removed.
7506         (array_offset): New member variable.
7507         (ShortBuffer): New constuctor.
7508         (get): May not be final.
7509         (put): May not be final.
7510         (arrayOffset): Implemented.
7511         (order): Made abstract.
7512         (order): Removed.
7513         (as*Buffer): Removed.
7514         (get*): Removed.
7515         (put*): Removed.
7516
7517 2003-02-11   Michael Koch  <konqueror@gmx.de>
7518
7519         * java/nio/channels/SelectionKey.java
7520         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
7521         values.
7522
7523 2003-02-11  Michael Koch  <konqueror@gmx.de>
7524
7525         * java/nio/channels/DatagramChannel.java
7526         (write): Throws IOException.
7527         (connect): Throws IOException.
7528         (disconnect): Throws IOException.
7529         (read): Throws IOException.
7530         (receive): Throws IOException.
7531         (send): Throws IOException.
7532         * java/nio/channels/Pipe.java
7533         (open): Throws IOException.
7534         * java/nio/channels/SelectableChannel.java
7535         (configureBlocking): Throws IOException.
7536         * java/nio/channels/ServerSocketChannel.java
7537         (accept): Throws IOException.
7538         * java/nio/channels/SocketChannel.java
7539         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
7540         GatheringByteChannel.
7541         (read): Throws IOException.
7542         (write): Throws IOException.
7543         (finishConnect): Throws IOException.
7544         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7545         (end): Throws AsynchronousCloseException.
7546         * java/nio/channels/spi/AbstractSelectableChannel.java
7547         (configureBlocking): Throws IOException.
7548         (implCloseChannel): Throws IOException.
7549         (implCloseSelectableChannel): Throws IOException.
7550         (implConfigureBlocking): Throws IOException.
7551         * java/nio/channels/spi/SelectorProvider.java
7552         (openDatagramChannel): Throws IOException.
7553         (openPipe): Throws IOException.
7554         (openSelector): Throws IOException.
7555         (openServerSocketChannel): Throws IOException.
7556         (openSocketChannel): Throws IOException.
7557
7558 2003-02-11  Michael Koch  <konqueror@gmx.de>
7559
7560         * gnu/java/nio/FileLockImpl.java,
7561         java/nio/channels/FileLock.java: New files.
7562
7563 2003-02-11  Michael Koch  <konqueror@gmx.de>
7564
7565         * java/nio/charset/IllegalCharsetNameException.java
7566         (serialVersionUID): New member variable.
7567         (charsetName): New member variable.
7568         (IllegalCharsetException): New implementation.
7569         (getCharsetName): New implementation.
7570         * java/nio/charset/UnsupportedCharsetException.java
7571         (serialVersionUID): New member variable.
7572         (charsetName): New member variable.
7573         (UnsupportedCharsetException): New implementation.
7574         (getCharsetName): New implementation.
7575
7576 2003-02-10  Tom Tromey  <tromey@redhat.com>
7577
7578         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
7579         (ex): Renamed from sqlException.
7580
7581 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
7582
7583         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
7584         method used to ensure seeding has occurred and that a specific 
7585         seed can be set and used.
7586
7587 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
7588
7589         * java/lang/Win32Process.java (destroy): Declare as native.
7590         (hasExited): New native method.
7591         (exitValue): Define.
7592         (getErrorStream): Likewise.
7593         (getInputStream): Likewise.
7594         (getOutputStream): Likewise.
7595         (waitFor): Declare as native.
7596         (startProcess): New native method.
7597         (cleanup): Likewise.
7598         (ConcreteProcess): Define.
7599         (outputStream, inputStream, errorStream): New members.
7600         (procHandle, exitCode): Likewise.
7601
7602         * java/lang/natWin32Process.cc
7603         (java::lang::ConcreteProcess::cleanup): Define.
7604         (java::lang::ConcreteProcess::destroy): Likewise.
7605         (java::lang::ConcreteProcess::hasExited): Likewise.
7606         (java::lang::ConcreteProcess::waitFor): Likewise.
7607         (new_string): Likewise.
7608         (java::lang::ConcreteProcess::startProcess): Likewise.
7609
7610 2003-02-10  Raif S. Naffah <raif@fl.net.au>
7611
7612         * java/math/BigInteger.java:
7613         Updated notice to include years 2002 and 3.
7614         Added 2 private (int) arrays with values from the HAC (Handbook of
7615         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
7616         and t[] that contains nbr. of tests --used in isProbablePrime().
7617
7618         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
7619
7620         * java/math/BigInteger.java (make(int[],int), add(int,int),
7621         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
7622         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
7623         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
7624         make(long).
7625
7626         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
7627         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
7628         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
7629         BIs and returns void.
7630         (modInverse(BI)): Use new signatures of euclidInv().
7631
7632         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
7633         static small primes instead of remainder().
7634         Use pre-computed max nbr of trials based on bitlength of BI to test.
7635         Use pre-computed small primes for the trial tests instead of random
7636         numbers.
7637
7638         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
7639         not used.
7640
7641         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
7642         invoacation of MPN.chars_per_word().  not used.
7643
7644         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
7645         local var and used where needed.
7646
7647         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
7648         Combined declaration with initialisation of locals.
7649         Removed unused var.
7650
7651         * java/math/BigInteger.java: Style changes
7652         (pow(int)): Removed 'else' keyword.
7653         (toString(int)): idem.
7654         (doubleValue()): idem.
7655         (bitLength()): idem.
7656         (equals(Object)): Use static methods name in same class w/o prepending
7657         class name.
7658         (doubleValue()): idem.
7659         (setNegative(BI)): idem.
7660         (negate()): idem.
7661         (and(BI,int)): idem.
7662         (and(BI)): idem.
7663         (gcd(BI)): idem.
7664         (byteArrayToIntArray()): Removed casting to (int). this is
7665         std. behaviour.
7666         (canonicalize()): idem.
7667         (alloc(int)): Always instantiate a new BI.
7668
7669 2003-02-10  Tom Tromey  <tromey@redhat.com>
7670
7671         * java/sql/Timestamp.java (compareTo(Object)): New method.
7672         (compareTo(Timestamp)): Likewise.
7673         (serialVersionUID): Updated.
7674
7675 2003-02-07  Mark Wielaard  <mark@klomp.org>
7676
7677         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
7678         when verify is true.
7679         (JarFile(File, boolean)): Likewise.
7680         (manifestRead): Set manifestRead field correctly.
7681
7682 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7683
7684         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
7685         tests; see patch #1016 on Savannah.
7686
7687 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7688
7689         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
7690         (toString): do not return Strings starting with . and - erroneously.
7691         Improves Mauve results to 12 of 600 instead of 16 of 338 on
7692         DiagBigDecimal.
7693
7694 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7695
7696         * java/beans/PropertyDescriptor.java
7697         (PropertyDescriptor(String, Class)): Sanity check getter and setter
7698         methods.
7699         (PropertyDescriptor(String, Class, String, String)): Likewise.
7700         (PropertyDescriptor(String, Method, Method): Factor out getter and
7701         setter method sanity checks into new method.
7702         (findMethods): Don't do parameter sanity checking of get method here.
7703         (checkMethods): New method.
7704
7705 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7706
7707         * java/beans/PropertyDescriptor.java: Reformat.
7708
7709 2003-02-04  Tom Tromey  <tromey@redhat.com>
7710
7711         * java/io/PipedOutputStream.java (flush): Declare as throwing
7712         IOException.
7713         (close): Likewise.
7714         * java/io/PipedWriter.java (close): Declare as throwing
7715         IOException.
7716         * java/io/StringWriter.java (close): Declare as throwing
7717         IOException.
7718
7719 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
7720
7721         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
7722         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
7723         could also have been exported as "JNI_OnLoad@8" (MinGW) or
7724         "_JNI_OnLoad@8" (MSVC).
7725
7726 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
7727
7728         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
7729         convention on Win32 to invoke native JNI methods.
7730
7731 2003-02-03  Andrew Haley  <aph@redhat.com>
7732
7733         * configure.host (x86_64): Enable interpreter.
7734
7735 2003-02-03  Andrew Haley  <aph@redhat.com>
7736
7737         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
7738         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
7739         * configure.in (BACKTRACESPEC): New.
7740         * configure: Regenerate.
7741
7742 2003-02-02  Tom Tromey  <tromey@redhat.com>
7743
7744         * configure: Rebuilt.
7745         * configure.in (TOOLKIT) [xlib]: Set correctly.
7746
7747         * Makefile.in: Rebuilt.
7748         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
7749         libstdc++.
7750
7751 2003-01-31  Mark WIelaard  <mark@klomp.org>
7752
7753         * Makefile.in: Rebuilt.
7754         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
7755
7756 2003-01-31  Tom Tromey  <tromey@redhat.com>
7757
7758         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
7759         cast to element type.
7760         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
7761         (_Jv_JNI_GetObjectArrayElement): Likewise.
7762
7763         * Makefile.in: Rebuilt.
7764         * Makefile.am (cond_x_ltlibrary): Renamed library to
7765         lib-gnu-awt-xlib.la.
7766         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
7767         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
7768         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
7769         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
7770         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
7771         (lib_gnu_awt_xlib_la_LINK): Likewise.
7772         (install-exec-hook): Removed.
7773         (lib-gnu-awt-xlib.la): Renamed.
7774
7775 2003-01-31  Tom Tromey  <tromey@redhat.com>
7776
7777         * aclocal.m4, configure, include/config.h.in: Rebuilt.
7778         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
7779         aclocal.m4 and lost in some merge.
7780
7781         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
7782         Don't try to find graphics configuration.
7783         * java/awt/Toolkit.java (default_toolkit_name): Use new
7784         Configuration entry.
7785         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
7786         New global.
7787         * configure: Rebuilt.
7788         * configure.in (TOOLKIT): New subst.
7789         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
7790         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
7791         directory.  Make output directories for .c files.
7792         * Makefile.in: Rebuilt.
7793         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
7794         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
7795         (all_java_source_files): Added new sources.
7796         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
7797         (gtk_c_files): New macro.
7798         (gtk_c_source_files): New macro.
7799         (cond_gtk_ltlibrary): New macro.
7800         ($(gtk_c_files)): New target.
7801         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
7802         (gtk_awt_peer_sources): New macro.
7803         (gtk_c_headers): New macro.
7804         ($(gtk_c_headers)): New target.
7805         (ACLOCAL_AMFLAGS): New macro.
7806         * gtk.m4, glib.m4, libart.m4: New files.
7807         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
7808         gnu/java/awt/peer/gtk/GdkGraphics.java,
7809         gnu/java/awt/peer/gtk/GtkArg.java,
7810         gnu/java/awt/peer/gtk/GtkArgList.java,
7811         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7812         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
7813         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
7814         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
7815         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7816         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7817         gnu/java/awt/peer/gtk/GtkClipboard.java,
7818         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7819         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7820         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7821         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7822         gnu/java/awt/peer/gtk/GtkFontPeer.java,
7823         gnu/java/awt/peer/gtk/GtkFramePeer.java,
7824         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7825         gnu/java/awt/peer/gtk/GtkImage.java,
7826         gnu/java/awt/peer/gtk/GtkImagePainter.java,
7827         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7828         gnu/java/awt/peer/gtk/GtkListPeer.java,
7829         gnu/java/awt/peer/gtk/GtkMainThread.java,
7830         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
7831         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7832         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7833         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
7834         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
7835         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
7836         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7837         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
7838         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7839         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7840         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7841         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7842         gnu/java/awt/peer/gtk/GtkToolkit.java,
7843         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7844         gnu/java/awt/peer/gtk/TestAWT.java,
7845         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
7846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7847         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7848         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7849         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7850         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
7851         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
7852         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
7853         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
7854         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7855         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
7856         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
7857         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7858         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
7859         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
7860         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7861         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7862         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7863         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7864         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
7865         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
7866         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
7867         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
7868         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7869         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
7870         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
7871         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
7872         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
7873         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
7874         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
7875         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
7876         jni/classpath/native_state.c, jni/classpath/native_state.h,
7877         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
7878
7879 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
7880
7881         * java/util/Properties.java (load): Ignore backslash before EOF.
7882
7883 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
7884
7885         * java/lang/natClass.cc (initializeClass): Check tables when
7886         (state == JV_STATE_IN_PROGRESS).
7887         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
7888         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
7889         interpreted classes.
7890         (linkClass0): Use _Jv_WaitForState.
7891
7892 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
7893
7894         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
7895         object when finished.
7896
7897 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
7898
7899         * libjava/configure.host: Disable can_unwind_signal on darwin.
7900
7901 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
7902
7903         Fixes PR java/9254:
7904         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
7905         additionally containing id of the owner thread as well as
7906         the number of nested times the thread has acquired the mutex.
7907         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
7908         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
7909         (_Jv_MutexUnlock): Check if really the owner thread, reset
7910         owner thread id to 0 before leaving, if leaving for the last
7911         time.
7912         (_Jv_MutexLock): Set owner thread id in the mutex and increment
7913         refcount.
7914         (_Jv_ThreadYield): Yield using a call to Sleep(0).
7915         * win32-threads.cc (_Jv_CondWait): Check if really owner of
7916         the passed mutex.
7917         Pass handle of the broadcast event, instead of a pointer to it
7918         in Win32 ResetEvent( ) call.
7919         Remove incorrect return values.
7920         (_Jv_CondDestroy): Close both event handles and delete
7921         critical section.
7922         (_Jv_CondNotify): Check if really the owner thread.
7923         (_Jv_CondNotifyAll): Check if really the owner thread.
7924         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
7925         (really_start): Use SetEvent( ) to signal daemon_cond.
7926         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
7927         WaitForSingleObject( ) instead to wait for daemon_cond to be
7928         signalled.
7929
7930 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
7931
7932         * configure.in: Specifically define HAVE_BACKTRACE if building
7933         for MinGW.
7934         * include/win32.h: Remove HAVE_BACKTRACE definition.
7935         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
7936         * configure: Rebuilt.
7937
7938 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
7939
7940         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
7941         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
7942         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
7943         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
7944         * Makefile.in, configure: Rebuilt.
7945
7946 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
7947
7948         Fixes PR java/9253:
7949         * java/io/natFileWin32.cc (performList): Append only "*.*"
7950         if the canonical file path already has a "\" at the end.
7951
7952 2003-01-24  Tom Tromey  <tromey@redhat.com>
7953
7954         * defineclass.cc (handleMethodsEnd): Precompute code for static
7955         method.
7956         (handleCodeAttribute): Likewise.
7957         * resolve.cc (ncode): Use run_class for unsynchronized static
7958         methods.
7959         * include/java-interp.h (class _Jv_InterpMethod): Declare
7960         run_class.
7961         * interpret.cc (run_synch_class): Initialize class.
7962         (run) [insn_invokestatic]: Don't initialize class.
7963         [insn_anewarray]: Likewise.
7964         [insn_multianewarray]: Likewise.
7965         (run_class): New function.
7966
7967 2003-01-24  Tom Tromey  <tromey@redhat.com>
7968
7969         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
7970         comment.
7971
7972 2003-01-22  Andrew Haley  <aph@redhat.com>
7973
7974         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
7975         * configure.host (CHECKREFSPEC): Define for x86_64.
7976
7977 2003-01-21  Tom Tromey  <tromey@redhat.com>
7978
7979         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
7980         search at 2, not 3.
7981
7982 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
7983
7984         * java/io/natFileWin32.cc (isAbsolute): Check path length before
7985         looking at any characters.
7986         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
7987         be used.
7988         (isAbsolute): Check path's length as well.
7989
7990 2003-01-17  Mark Wielaard  <mark@klomp.org>
7991
7992         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
7993         (nat_source_files): Add natVMObjectStreamClass.cc.
7994         * Makefile.in: Regenerated.
7995         * gcj/javaprims.h (namespace java): Regenerated.
7996         * java/io/ObjectStreamClass.java (getClassUID): Call
7997         VMObjectStreamClass.hasClassInitializer().
7998         (hasClassInitializer): Removed.
7999         * java/io/VMObjectStreamClass.java: New class.
8000         * java/io/natVMObjectStreamClass.cc: New file.
8001         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
8002
8003 2003-01-16  Mark Wielaard  <mark@klomp.org>
8004
8005         * java/net/SocketImpl.java (toString): Don't explicitly call
8006         toString() on possible null address.
8007
8008 2003-01-16  Michael Koch  <konqueror@gmx.de>
8009
8010         * java/net/MulticastSocket.java
8011         (setInterface): Reindented.
8012
8013 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8014
8015         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
8016         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
8017         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
8018         translateY arguments.  Implement.
8019         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
8020         down translation arguments.
8021         (drawPolyline, drawPolygon): Fix incorrect tests.
8022         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
8023         translateX and translateY arguments.
8024
8025 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8026
8027         * Makefile.in: Rebuilt.
8028         * Makefile.am (xlib_includes): New macro.
8029         (INCLUDES): Use it.
8030
8031 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8032
8033         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
8034         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
8035         16-bit display mode.
8036
8037 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8038
8039         * java/awt/CardLayout.java (show): Rewrote.
8040         (gotoComponent): Removed `target' argument.  Simplified code.
8041         Don't pre-compute `choice' unless `what' is FIRST or LAST.
8042         Changed all callers.
8043         (NONE): Removed.
8044         
8045 2003-01-14  Michael Koch  <konqueror@gmx.de>
8046
8047         * java/net/InetSocketAddress.java
8048         (serialVersionUID): New member variable.
8049         * java/net/NetPermission.java
8050         (NetPermission): Dont implement java.io.Serialization directly.
8051         * java/net/SocketAddress.java:
8052         (serialVersionUID): Documentation added.
8053         
8054 2003-01-14  Michael Koch  <konqueror@gmx.de>
8055
8056         * java/awt/Label.java
8057         (Label): Implements javax.accessibility.Accessible;
8058         * java/awt/List.java
8059         (List): Implements javax.accessibility.Accessible;
8060         * java/awt/ScrollPane.java
8061         (ScrollPane): Implements javax.accessibility.Accessible;
8062         * java/awt/Scrollbar.java
8063         (Scrollbar): Implements javax.accessibility.Accessible;
8064         * java/awt/TextComponent.java
8065         (setCaretPosition): Throw exception, documentation added.
8066         * java/awt/Toolkit.java:
8067         Added some newlines in method documentations.
8068         (createButton): Exception documentation added.
8069         (createTextField): Exception documentation added.
8070         (createLabel): Exception documentation added.
8071         (createList): Exception documentation added.
8072         (createCheckbox): Exception documentation added.
8073         (createScrollbar): Exception documentation added.
8074         (createScrollPane): Exception documentation added.
8075         (createTextArea): Exception documentation added.
8076         (createChoice): Exception documentation added.
8077         (createFrame): Exception documentation added.
8078         (createWindow): Exception documentation added.
8079         (createDialog): Exception documentation added.
8080         (createMenuBar): Exception documentation added.
8081         (createMenu): Exception documentation added.
8082         (createMenuItem): Exception documentation added.
8083         (createFileDialog): Exception documentation added.
8084         (createCheckboxMenuItem): Exception documentation added.
8085         (loadSystemColors): Exception documentation added.
8086         (setDynamicLayout): Exception documentation added.
8087         (isDynamicLayoutSet): Exception documentation added.
8088         (isDynamicLayoutActive): Exception documentation added.
8089         (getScreenSize): Exception documentation added.
8090         (getScreenResolution): Exception documentation added.
8091         (getScreenInsets): Exception documentation added.
8092         (getColorModel): Exception documentation added.
8093         (getSystemClipboard): Exception documentation added.
8094         (getSystemSelection): Exception documentation added.
8095         (getMenuShortcutKeyMask): Exception documentation added.
8096         (getSystemEventQueue): Exception documentation added.
8097         * java/awt/Window.java:
8098         Reindented some code.
8099         (Window): Centralized implementation, documentation added.
8100         (finalize): Documentation added.
8101         (hide): Fixed typo in comment.
8102         (getWindowListeners): Documentation added.
8103         * java/awt/color/ColorSpace.java
8104         (toRGB): Documentation added.
8105         * java/awt/color/ICC_ColorSpace.java
8106         (ICC_ColorSpace): Documentation added.
8107         (toRGB): Throw exception, documentation added.
8108         (fromRGB): Throw exception, documentation added.
8109         (toCIEXYZ): Documentation added.
8110         (fromCIEXYZ): Documentation added.
8111         (getMinValue): Documentation added.
8112         (getMaxValue): Documentation added.
8113         * java/awt/geom/Dimension2D.java
8114         (clone): Documentation added.
8115         * java/awt/geom/GeneralPath.java
8116         (clone): Documentation added.
8117         * java/awt/geom/Line2D.java
8118         (clone): Documentation added.
8119         * java/awt/geom/QuadCurve2D.java
8120         (clone): Documentation added.
8121         * java/awt/image/ColorModel.java
8122         (ColorModel): Throw exception, documentation added.
8123         * java/awt/image/ImageFilter.java
8124         (clone): Doesnt throw CloneNotSupportedException.
8125
8126 2003-01-14  Andrew Haley  <aph@redhat.com>
8127
8128         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8129         in a try block.
8130
8131 2003-01-10  Andrew Haley  <aph@redhat.com>
8132
8133         * include/dwarf2-signal.h: Remove x86_64.
8134         * configure.host (x86_64 DIVIDESPEC): Remove.
8135         * include/x86_64-signal.h: New file.
8136         * configure.in: Regenerate.
8137
8138 2003-01-10  Michael Koch  <konqueror@gmx.de>
8139
8140         * java/net/DatagramSocket.java
8141         (ch): Description added.
8142         (remotePort): Initialize with -1.
8143         (connect): Doesnt throws SocketException.
8144         * java/net/MulticastSocket.java
8145         (setInterface): Merge with Classpath.
8146         * java/net/ServerSocket.java
8147         (closed): New member variable.
8148         (bind): Check if socket is closed.
8149         (close): Close an associated channel too, set new value to closed.
8150         (isBound): Reindented.
8151         (isClosed): Implemented.
8152         * java/net/Socket.java
8153         (closed): New member variable.
8154         (bind): Check if socket is closed.
8155         (connect): Check if socket is closed.
8156         (close): Close an associated channel too, set new value to closed.
8157         (isClosed): Implemented.
8158
8159 2003-01-10  Michael Koch  <konqueror@gmx.de>
8160
8161         * java/awt/DisplayMode.java
8162         (equals): Fixed argument type and implementation.
8163
8164 2003-01-07  Tom Tromey  <tromey@redhat.com>
8165
8166         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8167         JV_HASH_SYNCHRONIZATION.
8168         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8169         JV_HASH_SYNCHRONIZATION.
8170
8171 2003-01-07  Michael Koch  <konqueror@gmx.de>
8172  
8173         * java/net/DatagramSocket.java:
8174         Added classpath license info.
8175         (DatagramSocket): Merged description with classpath.
8176         (close): Merged description with classpath.
8177         (getChannel): Merged description with classpath.
8178         (getInetAddress): Merged description with classpath.
8179         (getPort): Merged description with classpath.
8180         (getLocalAddress): Merged description with classpath.
8181         (getLocalPort): Merged description with classpath.
8182         (getSoTimeout): Merged description with classpath.
8183         (setSoTimeout): Merged description with classpath.
8184         (getSendBufferSize): Merged description with classpath.
8185         (setSendBufferSize): Merged description with classpath.
8186         (getReceiveBufferSize): Merged description with classpath.
8187         (setReceiveBufferSize): Merged description with classpath.
8188         
8189 2003-01-04  Tom Tromey  <tromey@redhat.com>
8190
8191         * java/awt/List.java: Merged with Classpath.
8192
8193 2003-01-03  Mark Wielaard  <mark@klomp.org>
8194
8195         * java/io/FileDescriptor.java (position): New private field.
8196         * java/io/natFileDescriptorPosix.cc (write): Up position.
8197         (setLength): Use and set position.
8198         (seek): Set position.
8199         (getFilePointer): Return position.
8200         (read): Up position.
8201
8202 2003-01-03  Mark Wielaard  <mark@klomp.org>
8203
8204         Merge with Classpath:
8205         * java/io/ObjectStreamClass.java (lookup): Split method and call
8206         lookupForClassObject().
8207         (lookupForClassObject): New method.
8208         (isProxyClass): New field.
8209         (setClass): Set isProxyClass, add object to classLookupTable, set
8210         superClass and calculateOffsets.
8211         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
8212         and not a proxy class.
8213         (setFields): Set accessible true for serialPersistentFields.
8214         (getClassUID): Same for suid. And check if suid is of type long.
8215         (hasClassInitializer): Don't throw NoSuchMethodError.
8216
8217 2003-01-03  Mark Wielaard  <mark@klomp.org>
8218
8219         * java/io/FileInputStream.java (finalize): Don't explicitly
8220         finalize FileDescriptor.
8221
8222 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
8223
8224         * configure.host (sparc*-*): Enable bytecode interpreter.
8225
8226 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
8227
8228         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
8229         Don't throw RemoteException.
8230         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
8231         throw RemoteException.
8232
8233 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
8234
8235         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
8236         proxyHost): New static fields.
8237         (<clinit>): Initialize new fields.
8238         (connect): Use proxy if necessary.
8239         (usingProxy): Implement.
8240
8241 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
8242
8243         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
8244         (TreeIterator.remove): Prefer IllegalStateException over
8245         ConcurrentModificationException, to match Sun.
8246
8247 2002-12-22  Anthony Green  <green@redhat.com>
8248
8249         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
8250
8251 2003-01-02  Mark Wielaard  <mark@klomp.org>
8252
8253         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
8254         public.
8255         (HTTP_USE_PROXY): Add field.
8256         (getResponseVals): Only set responseCode when not yet explicitly
8257         set by subclass.
8258
8259 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
8260             Mark Wielaard  <mark@klomp.org>
8261
8262         * java/util/zip/ZipFile.java (entries): Now HashMap.
8263         (readLeShort(DataInput, byte[])): Read from given byte array.
8264         (readLeInt(DataInput, byte[]): Likewise.
8265         (readLeShort(byte[] b, int off)): New method.
8266         (readLeInt(byte[] b, int off)): Likewise.
8267         (readEntries): Use byte arrays to read info in bigger chunks.
8268         (getEntries): Return HashMap.
8269         (getEntry): Use HashMap.
8270         (locBuf): New private field.
8271         (checkLocalHeader): Use locBuf to read info in one chunk.
8272         (getInputStream): Use entries HashMap, wrap PartialInputStream
8273         in BufferedInputStream.
8274         (ZipEntryEnumeration): Use HashMap and Interator.
8275
8276 2003-01-02  Mark Wielaard  <mark@klomp.org>
8277             Jeroen Frijters  <jeroen@sumatra.nl>
8278
8279         * java/net/URLClassLoader.java (Resource.getCodeSource):
8280         Fix check certs == null.
8281         (getCanonicalFileURL): Removed method.
8282         (JarURLLoader): Don't call removed method.
8283         (FileURLLoader): Likewise.
8284         (FileURLLoader.getResource): Don't canonicalize file name.
8285
8286 2003-01-01  Tom Tromey  <tromey@redhat.com>
8287
8288         * Makefile.in: Rebuilt.
8289         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
8290         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
8291         java/awt/BufferCapabilities.java, java/awt/Button.java,
8292         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
8293         java/awt/Container.java, java/awt/Cursor.java,
8294         java/awt/EventQueue.java, java/awt/FileDialog.java,
8295         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
8296         java/awt/MenuBar.java, java/awt/MenuComponent.java,
8297         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
8298         java/awt/Scrollbar.java, java/awt/TextArea.java,
8299         java/awt/TextField.java, java/awt/color/CMMException.java,
8300         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
8301         java/awt/color/ProfileDataException.java,
8302         java/awt/datatransfer/Clipboard.java,
8303         java/awt/datatransfer/DataFlavor.java,
8304         java/awt/datatransfer/FlavorMap.java,
8305         java/awt/datatransfer/SystemFlavorMap.java,
8306         java/awt/dnd/DragGestureEvent.java,
8307         java/awt/dnd/DragGestureRecognizer.java,
8308         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
8309         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
8310         java/awt/im/InputMethodHighlight.java,
8311         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
8312         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
8313
8314         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
8315         `op' to BufferedImageOp.
8316
8317 2002-12-31  Tom Tromey  <tromey@redhat.com>
8318
8319         Fix for PR libgcj/7416:
8320         * javax/naming/InitialContext.java (init): Use
8321         gnu.classpath.home.url.
8322         * java/security/Security.java: Use new properties.
8323         (loadProviders): Accept base url; use it.
8324         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
8325         gnu.classpath.home.url.
8326         (gnu.classpath.home.url): Define.
8327         (gnu.classpath.vm.shortname): Likewise.
8328
8329 2002-12-31  Tom Tromey  <tromey@redhat.com>
8330             Ranjit Mathew  <rmathew@hotmail.com>
8331
8332         Fix for PR libgcj/8997:
8333         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
8334         Include platform.h.
8335         * include/posix.h (_Jv_platform_usleep): New function.
8336         * include/win32.h (_Jv_platform_usleep): New function.
8337
8338 2002-12-29  Tom Tromey  <tromey@redhat.com>
8339
8340         * gcj/javaprims.h: Updated.
8341         * scripts/classes.pl (scan): Removed stray semicolon.
8342
8343 2002-12-30  Mark Wielaard  <mark@klomp.org>
8344
8345         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
8346         if zero or smaller.
8347
8348 2002-12-30  Mark Wielaard  <mark@klomp.org>
8349
8350         * java/util/Properties (formatForOutput): Don't fall through to
8351         default case after escaping character.
8352
8353 2002-12-30  Mark Wielaard  <mark@klomp.org>
8354
8355         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8356         against count.
8357
8358 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
8359
8360         * boehm.cc: Remove stray semicolon.
8361         * interpret.cc: Likewise.
8362         * prims.cc: Likewise.
8363         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8364         earlier to ensure default arguments are processed.
8365         * gcj/array.h (JArray): Add forward declaration.
8366         (elements): Likewise.
8367         * gcj/javaprim.h: Remove stray semicolons.
8368         * include/bohm-gc.h: Likewise.
8369         * include/jni.h: Likewise.
8370         * include/jvm.h: Likewise.
8371         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8372         
8373 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
8374
8375         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8376         of catch_type.
8377         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8378         idt tables after initializing superclass.
8379         * java/lang/natClassLoader.cc (uaddr): New typedef.
8380         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8381         if they are constant pool indicies.  Don't link vtable, otable yet.
8382
8383 2002-12-21  Anthony Green  <green@redhat.com>
8384
8385         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8386         libraries.
8387         * Makefile.in: Rebuilt.
8388
8389 2002-12-19  Anthony Green  <green@redhat.com>
8390
8391         * Makefile.am (ordinary_java_source_files): Add
8392         org/xml/sax/helpers/NewInstance.java.
8393         * Makefile.in: Rebuilt.
8394         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8395         org/xml/sax/helpers/package.html: New files.
8396         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8397         http://www.saxproject.org.
8398
8399 2002-12-19  Andrew Haley  <aph@redhat.com>
8400
8401         * java/util/natResourceBundle.cc: Include
8402         ArrayIndexOutOfBoundsException.h.
8403         (getCallingClassLoader): Don't put upper bound on stack search.
8404         Catch ArrayIndexOutOfBoundsException.
8405
8406 2002-12-19  Tom Tromey  <tromey@redhat.com>
8407
8408         * libtool-version: Increased `current'.
8409
8410 2002-12-19  Tom Tromey  <tromey@redhat.com>
8411
8412         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8413         comment.
8414         * java/lang/ClassLoader.java (defineClass): Use chained
8415         exception when rethrowing.
8416         * defineclass.cc (handleClassBegin): Mark class as interpreted.
8417         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8418         constants.
8419         * resolve.cc (_Jv_PrepareMissingMethods): New function.
8420         (_Jv_PrepareClass): Use it.
8421         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8422         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8423         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8424         (Class): _Jv_PrepareMissingMethods now friend.
8425         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8426         Record `NULL' for system class loader.
8427         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
8428         system class loader.
8429         (_Jv_FindClassInCache): Likewise.
8430         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
8431         (_Jv_FindClass): Special case system class loader.
8432         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8433         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8434         vtable slots.
8435         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8436         in a final class.
8437         (_getDeclaredMethod): Don't return synthetic methods.
8438         (getDeclaredMethods): Likewise.
8439         (_getMethod): Likewise.
8440         (_getMethods): Likewise.
8441
8442 2002-12-18  Raif Naffah  <raif@fl.net.au>
8443
8444         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8445         canonical form after divide().
8446         (modInverse): Likewise.
8447
8448 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8449             Mark Wielaard  <mark@klomp.org>
8450
8451         * java/security/SecurityRandom (digest): Removed field.
8452         (SecureRandom): Check all providers for case-insensitive SecureRandom
8453         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
8454         if necessary.
8455         (getInstance(String,Provider,boolean): New method.
8456         (getInstance(String)): Use new method.
8457         (getInstance(String,String)): Likewise.
8458         (getInstance(String,Provider)): Likewise.
8459
8460 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8461
8462         * java/security/Security.java (loadProviders): Increment i only once.
8463
8464 2002-12-12  Mark Wielaard  <mark@klomp.org>
8465
8466         * java/lang/ClassLoader.java (resolveClass0): Transform
8467         ClassNotFoundException to NoClassDefFoundError. Transform all other
8468         throwables to LinkageError.
8469
8470 2002-12-11  Tom Tromey  <tromey@redhat.com>
8471
8472         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
8473
8474         * java/lang/ClassLoader.java (loadedClasses): New field.
8475         (defineClass): Fixed indentation.  Put new class in
8476         loadedClasses.
8477         (findLoadedClass): Implement here.
8478         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
8479
8480 2002-12-10  Tom Tromey  <tromey@redhat.com>
8481
8482         * Makefile.in: Rebuilt.
8483         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8484         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
8485         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
8486         * java/lang/natClassLoader.cc
8487         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
8488
8489 2002-12-10  Mark Wielaard  <mark@klomp.org>
8490             Tom Tromey  <tromey@redhat.com>
8491
8492         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
8493         (JarURLLoader): Use it.
8494         (FileURLLoader): Likewise.
8495         (JarURLResource.getURL): Use chained exception.
8496         (FileResource.getURL): Likewise.
8497         (FileURLLoader.getResource): Use canonical file name.
8498         (addURL): Indentation fix.
8499
8500 2002-12-10  Tom Tromey  <tromey@redhat.com>
8501
8502         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
8503         From Laurent Bardet <l.bardet@magic.fr>.
8504
8505 2002-12-09  Tom Tromey  <tromey@redhat.com>
8506
8507         * include/win32.h (_Jv_platform_solib_prefix): New define.
8508         (_Jv_platform_solib_suffix): Likewise.
8509         * include/posix.h (_Jv_platform_solib_prefix): New define.
8510         (_Jv_platform_solib_suffix): Likewise.
8511         * java/lang/natRuntime.cc: Include StackTrace.h.
8512         (_load): Use findLibrary and new platform defines.
8513         (nativeGetLibname): Use new platform defines.
8514
8515         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
8516         `t' won't be null.
8517
8518 2002-12-08  Mark Wielaard  <mark@klomp.org>
8519
8520         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
8521         cache remote jar files.
8522         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
8523         add File.separator to URL when it is a directory.
8524         * java/lang/ClassLoader.java: Add Classpath javadoc.
8525         (parent): final.
8526         (getParent): Add (disabled) security check.
8527         (findLibrary): New default method.
8528         * java/net/JarURLConnection.java (getManifest): Implement.
8529         (getInputStream): Only create InputStream when entry exists.
8530         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
8531         when they exist.
8532         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
8533
8534 2002-12-08  Mark Wielaard  <mark@klomp.org>
8535
8536         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
8537         (lastDefaultLocale): New field.
8538         (getBundle): When Locale.getDefault != lastDefaultLocale reset
8539         resourceBundleCache.
8540
8541 2002-12-06  Mark Wielaard  <mark@klomp.org>
8542
8543         * java/net/InetAddress.java (toString): Use hostname when not null,
8544         don't do an explicit reverse getHostName() lookup.
8545         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
8546         NullPointerException.
8547
8548 2002-12-06  Tom Tromey  <tromey@redhat.com>
8549
8550         * include/java-interp.h (class _Jv_InterpMethod): Added
8551         JV_MARKOBJ_DECL.
8552         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
8553         mark `prepared' field of interpreted method.
8554         * interpret.cc (compile): Use _Jv_AllocBytes.
8555
8556 2002-12-05  Andrew Haley  <aph@redhat.com>
8557
8558         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
8559         #ifdef (HAVE_BACKTRACE) around the whole function body.
8560
8561 2002-12-05  Tom Tromey  <tromey@redhat.com>
8562
8563         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
8564         * resolve.cc: Don't include AbstractMethodError.h.
8565         (_Jv_abstractMethodError): Removed.
8566         * defineclass.cc (handleMethodsBegin): Initialize method index to
8567         -1.
8568         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
8569         method index for "new" final method.
8570         (_Jv_SetVTableEntries): Compare index against -1 instead of using
8571         isVirtualMethod.  Added `flags' argument.
8572         (_Jv_MakeVTable): Throw exception for abstract method in concrete
8573         class.
8574
8575 2002-12-04  Tom Tromey  <tromey@redhat.com>
8576
8577         * java/net/SocketPermission.java (hashCode): Rewrote.
8578
8579 2002-12-04  Tom Tromey  <tromey@redhat.com>
8580
8581         * Makefile.in: Rebuilt.
8582         * Makefile.am (nat_source_files): Added natVMSecurityManager,
8583         natResourceBundle.
8584         * java/util/ResourceBundle.java (Security): Removed.
8585         (getCallingClassLoader): Now native.
8586         * java/util/natResourceBundle.cc: New file.
8587         * java/lang/natVMSecurityManager.cc: New file.
8588         * java/lang/VMSecurityManager.java (getClassContext): Now native.
8589
8590 2002-12-03  Mark Wielaard  <mark@klomp.org>
8591
8592         * java/util/jar/JarFile.java (manifest): Not final.
8593         (manifestRead): New field.
8594         (JarFile): Don't read Manifest in constructor.
8595         (getManifest): New method.
8596         (JarEnumeration.nextElement): Use new method.
8597         (getEntry): Likewise.
8598         * java/util/zip/ZipFile.java (name): Final.
8599         (raf): Likewsie.
8600         (entries): Change type to Hashtable.
8601         (closed): New field.
8602         (ZipFile): Don't read enties in constructor.
8603         (readEntries): Use Hashtable.
8604         (close): Set new close flag and set entries to null inside
8605         synchronized block.
8606         (entries): Contruct enumeration using new getEntries() method and
8607         entries Hashtable.
8608         (getEntryIndex): Removed.
8609         (getEntries): New method.
8610         (getEntry): Use new getEntries() method and entries Hastable.
8611         (getInputStream): Likewise.
8612         (size): Return getEntries().size().
8613         (ZipEntryEnumeration): Wrap entries Hashtable elements.
8614         * java/util/zip/ZipEntry.java (cal): Don't initialize.
8615         (time): Removed
8616         (dostime): New field.
8617         (zipFileIndex): Removed.
8618         (ZipEntry(ZipEntry)): Copy dostime.
8619         (setDOSTime): Now final and doesn't convert dos time.
8620         (getDOSTime): Likewise.
8621         (setTime): Convert dos time.
8622         (getTime): Likewise.
8623         (getCalendar): New method.
8624         (setExtra): Use setTime().
8625         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
8626
8627 2002-12-03  Tom Tromey  <tromey@redhat.com>
8628
8629         * java/lang/Character.java (forDigit): Formatting fix.
8630
8631 2002-12-03  Raif Naffah  <raif@fl.net.au>
8632
8633         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
8634         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
8635         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
8636
8637 2002-12-03  Andrew Haley  <aph@redhat.com>
8638
8639         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
8640         _Jv_PushClass.
8641         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
8642         (_Jv_PopClass): New.
8643         (_Jv_PushClass): New.
8644         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
8645         discover the ClassLoader of our caller.
8646         (_Jv_CheckArrayStore): Don't check that a class is assignment
8647         compatible with Object.
8648         * java/lang/natVMTHrowable.cc: Delete.
8649         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
8650         java.lang.VMThrowable.
8651         (StackTrace(), StackTrace(int)): New constructors.
8652         (classAt, methodAt, update, methodAtAddress): New methods.
8653         (map): New field.
8654         * java/lang/VMThrowable.java: Use StackTrace instead of
8655         natVMTHrowable.
8656         * java/lang/Class.h (getClassLoaderInternal): New.
8657         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
8658         Be friendly with gnu::gcj::runtime::StackTrace.
8659         (Object.chain): New field.
8660         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
8661         gnu::gcj::runtime::StackTrace.
8662         * gnu/gcj/runtime/natStackTrace.cc: New file.
8663         * gnu/gcj/runtime/MethodRef.java: New file.
8664         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
8665         instead of getClassLoader().
8666         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
8667         java::lang::VMThrowable.
8668         * Makefile.am (core_java_source_files): Add MethodRef.java,
8669         StackTrace.java.
8670         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
8671         * Makefile.in: Rebuild.
8672
8673 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
8674
8675         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
8676         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
8677         yes also for sh-linux* and sh[34]*-linux*.
8678         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
8679         set SIGNAL_HANDLER to use DWARF2 exception for them.
8680         * configure: Regenerate.
8681
8682 2002-12-02  Tom Tromey  <tromey@redhat.com>
8683
8684         * jni.cc: Added `name' argument.
8685         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
8686         `const char *' argument.
8687         (class _Jv_JNIEnv) [DefineClass]: Likewise.
8688
8689 2002-12-01  Tom Tromey  <tromey@redhat.com>
8690
8691         Bug compatibility, for PR libgcj/8738:
8692         * java/io/CharArrayWriter.java (close): Do nothing.
8693         (flush): Likewise.
8694         (reset): Don't touch `closed'.
8695         (write(int)): Don't throw IOException.
8696         (write(char[],int,int)): Likewise.
8697         (write(String,int,int)): Likewise.
8698         (closed): Removed.
8699
8700 2002-12-01  Mark Wielaard  <mark@klomp.org>
8701
8702         * java/lang/SecurityManager.java: Remerge comments, indenting and
8703         checkXXX methods with Classpath.
8704
8705 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
8706
8707         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
8708         getNormalizedComponents): Fix calculation which was using one too
8709         many bits in the unnormalized format.
8710
8711 2002-11-29  Gary Benson  <gbenson@redhat.com>
8712
8713         For PR libgcj/8759:
8714         * java/beans/Introspector.java (flushCaches): New method.
8715         (flushFromCaches): Likewise.
8716
8717 2002-11-29  Michael Koch <konqueror@gmx.de>
8718
8719         * java/nio/channels/DatagramChannel.java
8720         (open): Added exception documentation.
8721         (write): Added exception documentation.
8722         (connect): Added exception documentation.
8723         (disconnect): Added exception documentation.
8724         (isConnected): Added exception documentation.
8725         (read): Added exception documentation.
8726         (receive): Added exception documentation.
8727         (send): Added exception documentation.
8728         (validOps): Added exception documentation.
8729         * java/nio/channels/SocketChannel.java
8730         (open): Added exception documentation.
8731         (read): Added exception documentation.
8732         (write): Added exception documentation.
8733         (connect): Added exception documentation.
8734         (finishConnect): Added exception documentation.
8735
8736 2002-11-29  Michael Koch <konqueror@gmx.de>
8737
8738         * gnu/java/nio/DatagramChannelImpl:
8739         (fd): New member variable to store file descriptor of socket.
8740         * gnu/java/nio/SelectionKeyImpl.java:
8741         (ops): Removed.
8742         (readyOps): New member variable.
8743         (interestOps): New member variable.
8744         (readyOps): Implemented.
8745         (readyOps): New method to set member variable readyOps.
8746         (interestOps): Replaced ops by interestOps.
8747         * gnu/java/nio/SelectorImpl.java:
8748         (SelectorImpl): Initialize key sets.
8749         (select): Call select with -1 instead of Long.MAX_VALUE).
8750         (java_do_select): Make it a native method.
8751         (getFDsAsArray): New helper method.
8752         (select): Remove canceled keys, give only interested file discriptors
8753         to java_do_select, set ready ops.
8754         (add): No need to initialize keys set here.
8755         (add_selected): No need to initialize selected set here.
8756         (deregisterCanceledKeys): New helper method.
8757         (register): Set interest ops, set attachments, added handling of datagram
8758         channels.
8759         * gnu/java/nio/ServerSocketChannelImpl:
8760         (SocketAccept): Renamed from NioSocketAccept.
8761         (implConfigureBlocking): Implemented.
8762         (accept): Use SocketAccept instead of NioSocketAccept.
8763         * gnu/java/nio/SocketChannelImpl:
8764         Reactivate native methods.
8765
8766 2002-11-29  Michael Koch <konqueror@gmx.de>
8767
8768         * gnu/java/nio/natByteBufferImpl.cc,
8769         gnu/java/nio/natCharBufferImpl.cc,
8770         gnu/java/nio/natDoubleBufferImpl.cc,
8771         gnu/java/nio/natFloatBufferImpl.cc,
8772         gnu/java/nio/natIntBufferImpl.cc,
8773         gnu/java/nio/natLongBufferImpl.cc,
8774         gnu/java/nio/natSelectorImpl.cc,
8775         gnu/java/nio/natServerSocketChannelImpl.cc,
8776         gnu/java/nio/natShortBufferImpl.cc,
8777         gnu/java/nio/natSocketChannelImpl.cc:
8778         New files that implement native functionalities.
8779
8780 2002-11-29  Michael Koch <konqueror@gmx.de>
8781
8782         * gnu/java/nio/ByteBufferImpl.java
8783         (ByteBufferImpl): Moved position() after limit.
8784         (nio_*): Use native implementation.
8785         * gnu/java/nio/CharBufferImpl.java:
8786         Reformated.
8787         (endian): New member variable string endianess of buffer.
8788         (CharBufferImpl): Moved position() after limit.
8789         (nio_*): Use native implementation.
8790         (subSequence): Implemented.
8791         * gnu/java/nio/DoubleBufferImpl.java
8792         (DoubleBufferImpl): Moved position() after limit.
8793         (nio_*): Use native implementation.
8794         * gnu/java/nio/FloatBufferImpl.java
8795         Reformated.
8796         (FloatBufferImpl): Moved position() after limit.
8797         (nio_*): Use native implementation.
8798         * gnu/java/nio/IntBufferImpl.java
8799         Added needed imports, Reformated.
8800         (IntBufferImpl): Moved position() after limit.
8801         (nio_*): Use native implementation.
8802         * gnu/java/nio/LongBufferImpl.java
8803         Reformated.
8804         (LongBufferImpl): Moved position() after limit.
8805         (nio_*): Use native implementation.
8806         * gnu/java/nio/ShortBufferImpl.java
8807         Reformated.
8808         (ShortBufferImpl): Moved position() after limit.
8809         (nio_*): Use native implementation.
8810
8811 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
8812
8813         * java/util/Locale.java (toString): Improve efficiency if country
8814         and variant are both empty.
8815
8816 2002-11-26  Tom Tromey  <tromey@redhat.com>
8817
8818         * verify.cc (pop_init_ref): New method.
8819         (verify_instructions_0) [op_iaload, op_laload, op_faload,
8820         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
8821         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
8822         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
8823         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
8824         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
8825         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
8826         let `this' argument be uninitialized.  Don't let `null' be passed
8827         as `this' to construtor.
8828
8829 2002-11-26  Mark Wielaard  <mark@klomp.org>
8830
8831         * javax/transaction/HeuristicCommitException.java: Classpath merge.
8832         * javax/transaction/HeuristicMixedException.java: Likewise.
8833         * javax/transaction/HeuristicRollbackException.java: Likewise.
8834         * javax/transaction/InvalidTransactionException.java: Likewise.
8835         * javax/transaction/NotSupportedException.java: Likewise.
8836         * javax/transaction/RollbackException.java: Likewise.
8837         * javax/transaction/Status.java: Likewise.
8838         * javax/transaction/Synchronization.java: Likewise.
8839         * javax/transaction/SystemException.java: Likewise.
8840         * javax/transaction/Transaction.java: Likewise.
8841         * javax/transaction/TransactionManager.java: Likewise.
8842         * javax/transaction/TransactionRequiredException.java: Likewise.
8843         * javax/transaction/TransactionRolledbackException.java: Likewise.
8844         * javax/transaction/UserTransaction.java: Likewise.
8845         * javax/transaction/xa/XAException.java: Likewise.
8846         * javax/transaction/xa/XAResource.java: Likewise.
8847         * javax/transaction/xa/Xid.java: Likewise.
8848
8849 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
8850
8851         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
8852         define.
8853         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
8854         * include/posix.h (socklen_t): Define if not already defined.
8855
8856 2002-11-25  Tom Tromey  <tromey@redhat.com>
8857
8858         * verify.cc (type::compatible): Backed out broken change.
8859
8860         * verify.cc (type::compatible): Check initialization status
8861         first.
8862         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
8863         Don't use NULLCHECK.
8864
8865 2002-11-23  H.J. Lu <hjl@gnu.org>
8866
8867         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
8868         Include ../config/accross.m4.
8869         * aclocal.m4; Rebuild.
8870         * configure: Likewise.
8871
8872 2002-11-23  Mark Wielaard  <mark@klomp.org>
8873
8874         * javax/naming/AuthenticationException.java: Update copyright header.
8875         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
8876         * javax/naming/Binding.java: Likewise.
8877         * javax/naming/CannotProceedException.java: Likewise.
8878         * javax/naming/CommunicationException.java: Likewise.
8879         * javax/naming/CompositeName.java: Likewise.
8880         * javax/naming/CompoundName.java: Likewise.
8881         * javax/naming/ConfigurationException.java: Likewise.
8882         * javax/naming/Context.java: Likewise.
8883         * javax/naming/ContextNotEmptyException.java: Likewise.
8884         * javax/naming/InitialContext.java: Likewise.
8885         * javax/naming/InsufficientResourcesException.java: Likewise.
8886         * javax/naming/InterruptedNamingException.java: Likewise.
8887         * javax/naming/LimitExceededException.java: Likewise.
8888         * javax/naming/LinkException.java: Likewise.
8889         * javax/naming/LinkLoopException.java: Likewise.
8890         * javax/naming/LinkRef.java: Likewise.
8891         * javax/naming/MalformedLinkException.java: Likewise.
8892         * javax/naming/NameAlreadyBoundException.java: Likewise.
8893         * javax/naming/NameClassPair.java: Likewise.
8894         * javax/naming/NameNotFoundException.java: Likewise.
8895         * javax/naming/NameParser.java: Likewise.
8896         * javax/naming/NamingEnumeration.java: Likewise.
8897         * javax/naming/NamingSecurityException.java: Likewise.
8898         * javax/naming/NoInitialContextException.java: Likewise.
8899         * javax/naming/NoPermissionException.java: Likewise.
8900         * javax/naming/NotContextException.java: Likewise.
8901         * javax/naming/OperationNotSupportedException.java: Likewise.
8902         * javax/naming/PartialResultException.java: Likewise.
8903         * javax/naming/Reference.java: Likewise.
8904         * javax/naming/Referenceable.java: Likewise.
8905         * javax/naming/ReferralException.java: Likewise.
8906         * javax/naming/ServiceUnavailableException.java: Likewise.
8907         * javax/naming/SizeLimitExceededException.java: Likewise.
8908         * javax/naming/TimeLimitExceededException.java: Likewise.
8909         * javax/naming/directory/Attribute.java: Likewise.
8910         * javax/naming/directory/AttributeInUseException.java: Likewise.
8911         * javax/naming/directory/AttributeModificationException.java: Likewise.
8912         * javax/naming/directory/Attributes.java: Likewise.
8913         * javax/naming/directory/BasicAttribute.java: Likewise.
8914         * javax/naming/directory/BasicAttributes.java: Likewise.
8915         * javax/naming/directory/DirContext.java: Likewise.
8916         * javax/naming/directory/InitialDirContext.java: Likewise.
8917         * javax/naming/directory/InvalidAttributeIdentifierException.java:
8918         Likewise.
8919         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
8920         * javax/naming/directory/InvalidAttributesException.java: Likewise.
8921         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
8922         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
8923         * javax/naming/directory/ModificationItem.java: Likewise.
8924         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
8925         * javax/naming/directory/SchemaViolationException.java: Likewise.
8926         * javax/naming/directory/SearchControls.java: Likewise.
8927         * javax/naming/directory/SearchResult.java: Likewise.
8928         * javax/naming/event/EventContext.java: Likewise.
8929         * javax/naming/event/EventDirContext.java: Likewise.
8930         * javax/naming/event/NamespaceChangeListener.java: Likewise.
8931         * javax/naming/event/NamingEvent.java: Likewise.
8932         * javax/naming/event/NamingExceptionEvent.java: Likewise.
8933         * javax/naming/event/NamingListener.java: Likewise.
8934         * javax/naming/event/ObjectChangeListener.java: Likewise.
8935         * javax/naming/ldap/Control.java: Likewise.
8936         * javax/naming/ldap/ControlFactory.java: Likewise.
8937         * javax/naming/ldap/ExtendedRequest.java: Likewise.
8938         * javax/naming/ldap/ExtendedResponse.java: Likewise.
8939         * javax/naming/ldap/HasControls.java: Likewise.
8940         * javax/naming/ldap/InitialLdapContext.java: Likewise.
8941         * javax/naming/ldap/LdapContext.java: Likewise.
8942         * javax/naming/ldap/LdapReferralException.java: Likewise.
8943         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
8944         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
8945         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
8946         * javax/naming/spi/DirObjectFactory.java: Likewise.
8947         * javax/naming/spi/DirStateFactory.java: Likewise.
8948         * javax/naming/spi/DirectoryManager.java: Likewise.
8949         * javax/naming/spi/InitialContextFactory.java: Likewise.
8950         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
8951         * javax/naming/spi/NamingManager.java: Likewise.
8952         * javax/naming/spi/ObjectFactory.java: Likewise.
8953         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
8954         * javax/naming/spi/ResolveResult.java: Likewise.
8955         * javax/naming/spi/Resolver.java: Likewise.
8956         * javax/naming/spi/StateFactory.java: Likewise.
8957
8958         * javax/naming/spi/NamingManager.java (ofb): Package private.
8959
8960 2002-11-21  Mark Wielaard  <mark@klomp.org>
8961
8962         * java/net/URL.java: Merge with Classpath (partly).
8963         * java/net/URLStreamHandler: Merge with Classpath.
8964
8965 2002-11-22  Michael Koch <konqueror@gmx.de>
8966
8967         * include/posix.h:
8968         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8969         * include/win32.h:
8970         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8971         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
8972
8973 2002-11-21  Michael Koch <konqueror@gmx.de>
8974
8975         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
8976         Only the new network functions should be in it.
8977
8978 2002-11-21  Michael Koch <konqueror@gmx.de>
8979
8980         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8981         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8982
8983 2002-11-21  Michael Koch <konqueror@gmx.de>
8984
8985         * java/nio/channels/AsynchronousCloseException.java,
8986         java/nio/channels/CancelledKeyException.java,
8987         java/nio/channels/ClosedByInterruptException.java,
8988         java/nio/channels/ConnectionPendingException.java,
8989         java/nio/channels/FileLockInterruptionException.java,
8990         java/nio/channels/IllegalSelectorException.java,
8991         java/nio/channels/NoConnectionPendingException.java,
8992         java/nio/channels/NonReadableChannelException.java,
8993         java/nio/channels/NonWritableChannelException.java,
8994         java/nio/channels/NotYetBoundException.java,
8995         java/nio/channels/NotYetConnectedException.java,
8996         java/nio/channels/OverlappingFileLockException.java,
8997         java/nio/channels/UnresolvedAddressException.java,
8998         java/nio/channels/UnsupportedAddressTypeException.java:
8999         New files.
9000         * Makefile.am (ordinary_java_source_files): Added new files.
9001         * Makefile.in: Regenerated.
9002
9003 2002-11-21  Michael Koch <konqueror@gmx.de>
9004
9005         * include/posix.h
9006         (_Jv_socket): New method.
9007         (_Jv_connect): New method.
9008         (_Jv_close): New method.
9009         (_Jv_platform_close_on_exec): Prefixed system function with "::".
9010         (_Jv_bind): New method.
9011         (_Jv_listen): New method.
9012         (_Jv_write): New method.
9013         (_Jv_read): New method.
9014         * include/win32.h
9015         (_Jv_socket): New method.
9016         (_Jv_connect): New method.
9017         (_Jv_close): New method.
9018         (_Jv_bind): New method.
9019         (_Jv_listen): New method.
9020         (_Jv_write): New method.
9021         (_Jv_read): New method.
9022         * java/net/natNetworkInterface.cc:
9023         Include platform.h, removed inclusion of socket.h
9024         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
9025         ::close() by _Jv_close().
9026         * java/net/natPlainDatagramSocketImpl.cc:
9027         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
9028         added some new lines to make code more readable.
9029         (create): Replaced ::socket() by _Jv_socket().
9030         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9031         * java/net/natPlainSocketImpl.cc:
9032         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
9033         removed include of socket.h, removed some windows defines
9034         (now in include/win32.h).
9035         (create): Replaced ::socket() by _Jv_socket().
9036         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9037         (write): Replaced ::read by _Jv_write().
9038         (read): Replaced ::read by _Jv_read().
9039
9040 2002-11-20  Michael Koch <konqueror@gmx.de>
9041
9042         * Makefile.am (ordinary_java_source_files):
9043         Added java/nio/channels/FileChannel.java.
9044         * Makefile.in: Regenerated.
9045
9046 2002-11-20  Michael Koch <konqueror@gmx.de>
9047
9048         * java/io/FileInputStream.java
9049         (getChannel): New method.
9050         * java/io/FileOutputStream.java
9051         (getChannel): New method.
9052         * java/net/ServerSocket.java
9053         (bind): Removed duplicate code and called another bind method instead.
9054         * java/nio/channels/SelectionKey.java
9055         (isValid): Removed wrong exception documentation.
9056         * java/nio/channels/ServerSocketChannel.java
9057         (accept): Added exception documentation.
9058         (open): Fixed typo, added exception documentation.
9059         * java/nio/channels/spi/AbstractSelectableChannel.java
9060         (implCloseChannel): Added exception documentation.
9061         (add): Reformated.
9062         (register): Added exception documentation.
9063
9064 2002-11-20  Andreas Jaeger  <aj@suse.de>
9065
9066         * configure: Regenerated with new libtool.m4.
9067
9068 2002-11-19  Tom Tromey  <tromey@redhat.com>
9069
9070         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
9071         `referent'.
9072         (finalize_referred_to_object): Don't modify `referent' or `copy'
9073         fields.
9074         (add_to_hash): Correctly set `n->next' when updating list.
9075         * java/lang/ref/Reference.java (enqueue): Return false if already
9076         enqueued.
9077
9078 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
9079
9080         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
9081         to function and function pointer declarations in accordance with
9082         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
9083         based on whether __GCJ_JNI_IMPL__ has been defined or not.
9084         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
9085         JNI function definitions.
9086
9087 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9088
9089         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
9090         that was causing CoderResults to be cached, not WeakReferences
9091         to CoderResults.
9092
9093 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
9094
9095         * java/security/KeyStore.java (getInstance): Fix
9096         comment and throw IllegalArgumentException if
9097         given provider is null.
9098         (getInstance): New method for jdk1.4 compatibility.
9099
9100 2002-11-18  Michael Koch <konqueror@gmx.de>
9101
9102         * java/net/PlainSocketImpl.java: Fix imports.
9103
9104 2002-11-18  Michael Koch <konqueror@gmx.de>
9105
9106         * java/nio/channels/SelectionKey.java
9107         (isValid): Added exception documentation.
9108         * java/nio/channels/Selector.java
9109         (open): Declare "throws IOException".
9110
9111 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9112
9113         * java/nio/charset/Charset.java
9114         (<clinit>): New method.
9115         (encode): Synchronize use of cached encoder object.
9116         (decode): Synchronize use of cached encoder object.
9117
9118 2002-11-18  Michael Koch <konqueror@gmx.de>
9119
9120         * gnu/java/nio/ByteBufferImpl.java,
9121         gnu/java/nio/CharBufferImpl.java,
9122         gnu/java/nio/DatagramChannelImpl.java,
9123         gnu/java/nio/DoubleBufferImpl.java,
9124         gnu/java/nio/FileChannelImpl.java,
9125         gnu/java/nio/FloatBufferImpl.java,
9126         gnu/java/nio/IntBufferImpl.java,
9127         gnu/java/nio/LongBufferImpl.java,
9128         gnu/java/nio/PipeImpl.java,
9129         gnu/java/nio/SelectionKeyImpl.java,
9130         gnu/java/nio/SelectorImpl.java,
9131         gnu/java/nio/SelectorProviderImpl.java,
9132         gnu/java/nio/ServerSocketChannelImpl.java,
9133         gnu/java/nio/ShortBufferImpl.java,
9134         gnu/java/nio/SocketChannelImpl.java,
9135         java/nio/DoubleBuffer.java,
9136         java/nio/FloatBuffer.java,
9137         java/nio/IntBuffer.java,
9138         java/nio/LongBuffer.java,
9139         java/nio/ShortBuffer.java,
9140         java/nio/channels/FileChannel.java: New files.
9141
9142 2002-11-18  Michael Koch <konqueror@gmx.de>
9143
9144         * Makefile.am (ordinary_java_source_files):
9145         Added java/nio/ReadOnlyBufferException.java and
9146         java/nio/channels/ClosedSelectorException.java.
9147         * Makefile.in: Regenerated.
9148
9149 2002-11-18  Michael Koch <konqueror@gmx.de>
9150
9151         * java/net/PlainSocketImpl.java: Reworked imports.
9152         * java/net/ServerSocket.java
9153         (ServerSocket): Create socket.
9154         * java/net/SocketAddress.java: Documentation added.
9155         * java/net/natPlainSocketImpl.cc: Reindented.
9156         * java/nio/ReadOnlyBufferException.java: New file
9157         * java/nio/channels/ClosedChannelException.java: Documentation added.
9158         * java/nio/channels/ClosedSelectorException.java: New file.
9159
9160 2002-11-17  Mark Wielaard  <mark@klomp.org>
9161
9162         * java/net/HttpURLConnection.java ((getPermission): Take port
9163         into consideration.
9164         (getErrorStream): Implement.
9165
9166 2002-11-17  Mark Wielaard  <mark@klomp.org>
9167
9168         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9169
9170 2002-11-16  Mark Wielaard  <mark@klomp.org>
9171
9172         Integrate work by Raif S. Naffah (raif@fl.net.au)
9173         * java/security/DummyKeyPairGenerator.java (clone): New method.
9174         * java/security/DummyMessageDigest.java (clone): New method.
9175         (engineUpdate): Now public.
9176         (engineReset): Likewise.
9177         (engineDigest): Likewise.
9178         (engineGetDigestLength): New method.
9179         * java/security/DummySignature.java (clone): New method.
9180         * java/security/KeyPairGenerator.java (provider): Now package private.
9181         (getInstance(String)): Use getInstance(String,Provider).
9182         (getInstance(String,String): Use getInstance(String,Provider)
9183         (getInstance(String,Provider): New method.
9184         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9185         * java/security/KeyPairGeneratorSpi.java (clone): New method.
9186         * java/security/MessageDigest.java (provider): Now package private.
9187         (getInstance(String): Use getInstance(String,Provider).
9188         (getInstance(String,String): Use getInstance(String,Provider)
9189         (getInstance(String,Provider): New method.
9190         * java/security/Provider.java (toCanonicalKey): New method.
9191         (get): New method that uses toCanonicalKey().
9192         (put): Use toCanonicalKey().
9193         (remove): Likewise.
9194         * java/security/Security.java (insertProviderAt): Provider index is one
9195         based, not zero based.
9196         (addProvider): Likewise.
9197         (removeProvider): Likewise.
9198         * java/security/Signature.java (provider): Now package private.
9199         (getInstance(String)): Use getInstance(String,Provider).
9200         (getInstance(String,String): Use getInstance(String,Provider)
9201         (getInstance(String,Provider): New method.
9202         (getInstance(String,String,Provider): Don't cast DummySignature.
9203
9204 2002-11-15  Tom Tromey  <tromey@redhat.com>
9205
9206         For PR libgcj/8593:
9207         * java/util/zip/GZIPInputStream.java (read): Check file size.
9208         Look in inflater for remaining input bytes.
9209         (read4): Added buf and offset arguments.
9210
9211 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
9212
9213         * java/applet/AppletContext.java: Fix typo and remove redundant
9214         modifiers.
9215
9216 2002-11-14  Tom Tromey  <tromey@redhat.com>
9217
9218         * java/lang/natRuntime.cc (insertSystemProperties): Set
9219         gnu.classpath.home.
9220
9221 2002-11-13  Michael Koch <konqueror@gmx.de>
9222
9223         * java/nio/ByteBuffer.java
9224         (allocate): New method.
9225         (wrap): New method.
9226         (put): New method.
9227         (get): New method.
9228
9229 2002-11-13  Michael Koch <konqueror@gmx.de>
9230
9231         * java/nio/channels/AlreadyConnectedException.java:
9232         Removed unneeded import.
9233         (AlreadyConnectedException): Documentation added.
9234         * java/nio/channels/Pipe.java
9235         (SinkChannel.SinkChannel): Documentation added.
9236         (SinkChannel.validOps): New method.
9237         (SourceChannel.SourceChannel): Documentation added.
9238         (SourceChannel.validOps): New method.
9239         (Pipe): Documentation added.
9240         (open): Documentation added.
9241         (SinkChannel.channel): Documentation added.
9242         (SourceChannel.channel): Documentation added.
9243         * java/nio/channel/SelectableChannel.java
9244         (SelectableChannel): Documentation added.
9245         (blockingLock): Documentation added.
9246         (configureBlocking):Documentation added.
9247         (isBlocking):Documentation added.
9248         (isRegistered):Documentation added.
9249         (keyFor):Documentation added.
9250         (provider):Documentation added.
9251         (register): Documentation added.
9252         (validOps): Documentation added.
9253         * jaba/nio/channels/SelectionKey.java
9254         (SelectionKey): Documentation added.
9255         (attach): Documentation added.
9256         (attachment): Documentation added.
9257         (isAcceptable): Documentation added.
9258         (isConnetable): Documentation added.
9259         (isReadable): Documentation added.
9260         (isWritable): Documentation added.
9261         (cancel): Documentation added.
9262         (channel): Documentation added.
9263         (interestOps): Documentation added.
9264         (isValid): Documentation added.
9265         (readyOps): Documentation added.
9266         (selector): Documentation added.
9267         * jaba/nio/channels/Selector.java
9268         (Selector): Documentation added.
9269         (open): Documentation added.
9270         (close): Documentation added.
9271         (isOpen): Documentation added.
9272         (keys): Documentation added.
9273         (provider): Documentation added.
9274         (select): Documentation added.
9275         (selectedKeys): Documentation added.
9276         (selectNow): Documentation added.
9277         (wakeup): Documentation added.
9278         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9279         (AbstractInterruptibleChannel): Documentation added.
9280         (opened): Default to true;
9281         (begin): Documentation added.
9282         (close): Set opened to false, documentation added.
9283         (isOpen): Documentation added.
9284         * java/nio/channels/spi/AbstractSelectionKey.java
9285         (AbstractSelectionKey): Documentation added.
9286         (cancel): Documentation added.
9287         (isValid): Documentation added.
9288         * java/nio/channels/spi/AbstractSelector.java
9289         (AbstractSelector): Documentation added.
9290         (begin): Documentation added.
9291         (close): Documentation added.
9292         (isOpen): Documentation added.
9293         (deregister): Documentation added.
9294         (end): Documentation added.
9295         (provider): Documentation added.
9296         (implCloseSelector): Documentation added.
9297         (register): Documentation added.
9298         * java/nio/channels/spi/SelectorProvider.java
9299         (SelectorProvider): Documentation added.
9300         (openDatagramChannel): Documentation added.
9301         (openPipe): Documentation added.
9302         (openSelector): Documentation added.
9303         (openServerSocketChannel): Documentation added.
9304         (openSocketChannel): Documentation added.
9305         (provider): Documentation added.
9306
9307 2002-11-12  Michael Koch <konqueror@gmx.de>
9308
9309         * java/nio/Buffer.java: Implemented.
9310         * java/nio/CharBuffer.java: New file.
9311         * java/nio/InvalidMarkException.java: New file.
9312         * java/nio/channels/DatagramChannel.java: Implemented.
9313         * java/nio/channels/ServerSocketChannel.java: Implemented.
9314         * java/nio/channels/SocketChannel.java: Implemented.
9315         * java/nio/channels/spi/AbstractChannel.java: Removed.
9316         * java/nio/channels/spi/AbstractSelectableChannel.java:
9317         Implemented.
9318         * java/nio/charset/Charset.java:
9319         Merge from Classpath.
9320         * java/nio/charset/CharsetDecoder.java: New file.
9321         * java/nio/charset/CharsetEncoder.java: New file.
9322         * java/nio/charset/CoderResult.java: New file.
9323         * Makefile.am (ordinary_java_source_files): Added new files.
9324         * Makefile.in: Regenerated.
9325
9326 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9327
9328         * gnu/java/nio/charset/ISO_8859_1.java,
9329         gnu/java/nio/charset/Provider.java,
9330         gnu/java/nio/charset/US_ASCII.java,
9331         gnu/java/nio/charset/UTF_16.java,
9332         gnu/java/nio/charset/UTF_16BE.java,
9333         gnu/java/nio/charset/UTF_16Decoder.java,
9334         gnu/java/nio/charset/UTF_16Encoder.java,
9335         gnu/java/nio/charset/UTF_16LE.java,
9336         gnu/java/nio/charset/UTF_8.java: New files.
9337
9338 2002-11-11  Michael Koch <konqueror@gmx.de>
9339
9340         * java/nio/charset/CharacterCodingException.java:
9341         This class must be public.
9342         * java/nio/charset/CoderMalfunctionError.java:
9343         This class must be public.
9344         * java/nio/charset/CodingErrorAction.java:
9345         This class must be public.
9346         * java/nio/charset/IllegalCharsetNameException.java:
9347         This class must be public, better implementation.
9348         * java/nio/charset/MalformedInputException.java:
9349         This class must be public, better implementation.
9350         * java/nio/charset/UnmappableCharacterException.java:
9351         This class must be public, better implementation.
9352         * java/nio/charset/UnsupportedCharsetException.java:
9353         This class must be public, better implementation.
9354
9355 2002-11-11  Michael Koch <konqueror@gmx.de>
9356
9357         * java/nio/BufferOverflowException.java,
9358         java/nio/BufferUnderflowException.java: New file.
9359         * Makefile.am (ordinary_java_source_files):
9360         Added new files.
9361         * Makefile.in: Regenerated.
9362
9363 2002-11-10  Tom Tromey  <tromey@redhat.com>
9364
9365         * java/awt/Container.java (validate): Use tree lock.
9366         (getComponent): Likewise.
9367         (getComponents): Likewise.
9368         (addImpl): Likewise.
9369         (remove): Likewise.
9370         (removeAll): Likewise.
9371         (processEvent): Fixed indentation.
9372         (getComponentAt): Use tree lock.
9373         (findComponentAt): Likewise.
9374         (removeNotify): Likewise.
9375         (isAncestorOf): Likewise.
9376         (list): Likewise.
9377         (visitChildren): Likewise.
9378         (findNextFocusComponent): Likewise.
9379         (addNotifyContainerChildren): Likewise.
9380         (getAccessibleChildrenCount): Likewise.
9381         (getAccessibleChild): Likewise.
9382
9383         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9384         (getSize): Likewise.
9385         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9386         (getSize): Likewise.
9387         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9388         (calcSize): Likewise.
9389         * java/awt/CardLayout.java (getSize): Use tree lock.
9390         (gotoComponent): Likewise.
9391         (layoutContainer): Likewise.
9392
9393         * java/io/natFileDescriptorWin32.cc (read): Handle case where
9394         count is 0.
9395         * java/io/natFileDescriptorPosix.cc (read): Handle case where
9396         count is 0.
9397
9398         * java/io/Externalizable.java, java/io/FilePermission.java,
9399         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9400         java/io/SerializablePermission.java, java/text/Format.java,
9401         java/util/AbstractMap.java, java/util/HashMap.java,
9402         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9403         versions from Classpath.
9404
9405 2002-11-10  Anthony Green  <green@redhat.com>
9406
9407         * java/util/jar/Attributes.java (Name): Fix name check.
9408
9409 2002-11-10  Mark Wielaard  <mark@klomp.org>
9410
9411         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9412         with getName() as message.
9413         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9414         type as message.
9415
9416         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9417         unused.
9418
9419 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
9420
9421         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9422         for Win32. JNICALL has been defined to __stdcall to be compatible
9423         with Sun's JDKs.
9424
9425 2002-11-10  Tom Tromey  <tromey@redhat.com>
9426
9427         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9428         (setRows): Check newRows, not rows.
9429
9430         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9431
9432 2002-11-09  Tom Tromey  <tromey@redhat.com>
9433
9434         * java/applet/Applet.java, java/applet/AppletContext.java,
9435         java/applet/AppletStub.java, java/applet/AudioClip.java,
9436         java/awt/CardLayout.java,
9437         java/awt/ContainerOrderFocusTraversalPolicy.java,
9438         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9439         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9440         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9441         java/awt/color/ICC_ColorSpace.java,
9442         java/awt/color/ICC_Profile.java,
9443         java/awt/color/ICC_ProfileGray.java,
9444         java/awt/color/ICC_ProfileRGB.java,
9445         java/awt/datatransfer/DataFlavor.java,
9446         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9447         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9448         New versions from Classpath.
9449         * Makefile.in: Rebuilt.
9450         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9451         ICC_ProfileRGB.
9452
9453         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
9454         display policy.
9455
9456         * java/awt/List.java (processEvent): Added missing `else's.
9457
9458         * java/awt/Window.java (show): validate() before showing.  Make
9459         parent displayable.
9460         (isDisplayable): New method.
9461
9462 2002-11-07  Mark Wielaard  <mark@klomp.org>
9463
9464         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
9465         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
9466
9467         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
9468         annotation.
9469         (loadClass): Take String as codebases.
9470         (getClassAnnotation): Use MyClassLoader annotations.
9471         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
9472         call exportObject(this).
9473
9474         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9475         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
9476         (setAnnotation): Don't set locBytesStream and locStream.
9477         (replaceObject): Removed.
9478         (flush): Don't test locStream.
9479         (getLocBytes): LikeWise.
9480         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
9481         (leaseCache): New field.
9482         (dirty): Use leaseCache.
9483         (LeaseRecord): New inner class.
9484         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
9485         explicitly call exportObject().
9486         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
9487         false to communicate with Sun JDK130.
9488         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
9489         * gnu/java/rmi/server/RMIObjectInputStream.java
9490         (UnicastConnectionManager): Removed field.
9491         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
9492         Use UnicastServer.getExportedRef().
9493         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
9494         (expireTime): Likewise.
9495         (CONNECTION_TIMEOUT): Likewise.
9496         (disconnect): Call sock.close().
9497         (isExpired): New method.
9498         (resetTime): Likewise.
9499         (run): Use do while loop and catch Exception for discardConnection().
9500         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
9501         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
9502         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
9503         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
9504         (exportObject): Use refcache.
9505         (unexportObject): Likewise.
9506         (getExportedRef): New method.
9507         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
9508         constructor.
9509         (exportObject): Save manager.serverobj.
9510         (getStub): New method.
9511
9512 2002-11-07  Mark Wielaard  <mark@klomp.org>
9513
9514         * java/lang/reflect/natField.cc (getBoolean): Use getType().
9515         (getByte): Likewise.
9516         (getShort): Likewise.
9517         (getInt): Likewise.
9518         (getLong): Likewise.
9519         (getFloat): Likewise.
9520         (getDouble): Likewise.
9521         (get): Likewise.
9522         (setChar): Likewise.
9523         (setByte): Likewise.
9524         (setShort): Likewise.
9525         (setInt): Likewise.
9526         (setLong): Likewise.
9527         (setFloat): Likewise.
9528         (setDouble): Likewise.
9529
9530 2002-11-07  Michael Koch <konqueror@gmx.de>
9531
9532         * java/awt/Choice.java,
9533         java/awt/Container.java,
9534         java/awt/GridBagLayout.java:
9535         Fixed documentation.
9536         * java/awt/peer/ContainerPeer.java:
9537         Reindented.
9538
9539 2002-11-07  Michael Koch <konqueror@gmx.de>
9540
9541         * java/awt/color/ICC_Profile.java:
9542         Added missing constants.
9543         * java/awt/color/ICC_ColorSpace.java
9544         (getMinValue): Added dummy implementation.
9545         (getMaxValue): Added dummy implementation.
9546         * java/awt/datatransfer/DataFlavor.java
9547         (imageFlavor): Added.
9548         (isMimeTypeEqual): Must be final.
9549         (getDefaultRepresentationClass): Must be non-static.
9550         (getDefaultRepresentationClassAsString): Must be non-static.
9551         * java/awt/dnd/DragSourceContext.java
9552         (dragExit): Corrected argument.
9553         (dragDropEnd): Corrected argument.
9554         * java/awt/dnd/DragSourceListener.java.java
9555         (dragExit): Corrected argument.
9556         (dragDropEnd): Corrected argument.
9557         * java/awt/font/TextHitInfo.java
9558         (toString): Added stubbed implementation.
9559         * java/awt/geom/PathIterator.java:
9560         The constants must be static.
9561         * java/awt/image/VolatileImage.java
9562         (IMAGE_INCOMPATIBLE): Fixed typo.
9563         * java/awt/image/renderable/RenderableImage.java
9564         (HINTS_OBSERVED): Must be static.
9565         * java/beans/BeanInfo.java:
9566         Constants must be final.
9567
9568 2002-11-06  Tom Tromey  <tromey@redhat.com>
9569
9570         From svens@it.uu.se.  For PR libgcj/8481.
9571         * java/util/Random.java (nextInt(int)): Only use 31 bits.
9572
9573 2002-11-06  Tom Tromey  <tromey@redhat.com>
9574
9575         * jni.cc (array_from_valist): Assume that jlong won't be
9576         promoted.
9577
9578 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
9579
9580         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
9581         Return 20.
9582         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
9583         Return 16.
9584
9585 2002-11-03  Tom Tromey  <tromey@redhat.com>
9586
9587         * java/lang/ClassLoader.java (loadClass): Call loadClass on
9588         VMClassLoader, not findClass.
9589
9590 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
9591
9592         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
9593         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
9594         _Jv_DetermineVTableIndex, to determine vtable offset.
9595         (_Jv_DetermineVTableIndex): Remove.
9596         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
9597
9598         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
9599
9600 2002-11-03  Tom Tromey  <tromey@redhat.com>
9601
9602         * java/nio/channels/AlreadyConnectedException.java: Extend
9603         IllegalStateException, per spec.
9604
9605 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
9606
9607         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
9608
9609 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9610
9611         * java/util/ArrayList.java (readObject, writeObject): Only read/write
9612         size items.
9613
9614 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9615
9616         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
9617         initial estimated size to avoid enlarge buffer frequently.
9618
9619 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9620
9621         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
9622         ClassLoader when null.
9623         (ProxyType.hashCode): Loader null check no longer needed.
9624         (ProxyType.sameTypes): New method.
9625         (ProxyType.equals): Use new method.
9626
9627 2002-10-31  Mark Wielaard  <mark@klomp.org>
9628
9629         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
9630         length of String.
9631         * java/net/URLEncoder.java (encode): Likewise.
9632
9633 2002-10-31  Mark Wielaard  <mark@klomp.org>
9634
9635         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
9636         when stream is closed.
9637         (closeEntry): Likewise.
9638         (read): Likewise.
9639         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
9640         ZipException when no entry active.
9641         (closeEntry): Likewise.
9642         (write): Likewise.
9643
9644 2002-11-02  Tom Tromey  <tromey@redhat.com>
9645
9646         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
9647         * java/lang/natClass.cc (initializeClass): Don't return just
9648         because self==thread.
9649
9650         For PR java/8415:
9651         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
9652         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
9653
9654 2002-11-02  Andreas Schwab  <schwab@suse.de>
9655
9656         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
9657         pass GCJFLAGS.
9658         (FLAGS_TO_PASS): Define.
9659         * Makefile.in: Regenerated.
9660
9661 2002-11-01  Michael Koch  <konqueror@gmx.de>
9662
9663         * java/nio/ByteOrder.java: New file.
9664         * java/nio/channels/DatagramChannel.java:
9665         (DatagramChannel): New constructor.
9666         * java/nio/channels/Pipe.java: New file.
9667         * java/nio/channels/SelectableChannel.java: New file.
9668         * java/nio/channels/SelectionKey.java: New file.
9669         * java/nio/channels/Selector.java: New file.
9670         * java/nio/channels/ServerSocketChannel.java
9671         (ServerSocketChannel): New constructor.
9672         * java/nio/channels/SocketChannel.java
9673         (SocketChannel): New constructor.
9674         * java/nio/channels/Pipe.java: New file.
9675         * java/nio/channels/spi/AbstractChannel.java: New file.
9676         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
9677         * java/nio/channels/spi/AbstractSelectableChannel.java:
9678         License added
9679         (AbstractSelectableChannel): New stubbed method.
9680         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
9681         * java/nio/channels/spi/AbstractSelector.java: New file.
9682         * java/nio/channels/spi/SelectorProvider.java: New file.
9683         * java/nio/charset/Charset.java: New file.
9684         * java/nio/charset/CoderMalfunctionError.java: New file.
9685         * java/nio/charset/CodingErrorAction.java: New file.
9686         * java/nio/charset/spi/CharsetProvider.java
9687         (charsetForName): Uncommented.
9688         * Makefile.am (java_native_source_files): Added new files.
9689         * Makefile.in: Regenerated.
9690
9691 2002-11-01  Michael Koch  <konqueror@gmx.de>
9692
9693         * java/net/InetAddress.java:
9694         (isAnyLocalAddress): Implemented.
9695         (isLoopbackAddress): Implemented, comment added.
9696         (isLinkLocalAddress): Implemented, documentation added.
9697         (isSiteLocalAddress): Implemented, documentation added.
9698         (isMCGlobal): Implemented, documentation added.
9699         (isMCNodeLocal): Implemented, documentation added.
9700         (isMCLinkLocal): Implemented, documentation added.
9701         (isMCSiteLocal): Implemented, documentation added.
9702         (isMCOrgLocal): Implemented, documentation added.
9703         (getHostName): Documentation added.
9704         (getCanonicalHostName): Implemented, documentation added.
9705         (getAddress): Documentation added.
9706         (hashCode): Documentation added.
9707         (equals): Documentation added.
9708         (toString): Fixed implementation.
9709         (getByAddress): Use Inet4Address and Inet6Address.
9710         (lookup): New linewrap.
9711         (getByName): SecurityManager check added, support Inet4Address and
9712         Inet6address, comments added.
9713         (getAllByName): SecurityManager check added, comments added.
9714         * java/net/Inet6Address.java:
9715         (Inet6Address): Initialize parent class with addr instead of null.
9716         * java/net/URL.java
9717         (equals): Documentation added.
9718         (getFile): Documentation added.
9719         (hashCode): Documentation added.
9720         * java/net/natInetAddress.cc:
9721         (aton): Fix IPv6 support.
9722         * java/net/natPlainDatagramSocketImpl.cc:
9723         (peek): Throw PortUnreachableException when suitable.
9724         (peekData): Throw PortUnreachableException when suitable.
9725         (send): Throw PortUnreachableException when suitable.
9726         (receive): Throw PortUnreachableException when suitable.
9727
9728 2002-10-27  Mark Wielaard  <mark@klomp.org>
9729
9730         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
9731         argument.
9732         (readLeShort): Likewise and use byte[].
9733         (readLeInt): Likewise.
9734         (readEntries): Use new versions of methods and use byte[] for reading
9735         a complete zip entry. Add ZipFile name to exceptions.
9736         (entries): Add ZipFile name to exceptions.
9737         (getEntry): Likewise.
9738         (checkLocalHeader): Use new versions of methods and add ZipFile name
9739         to exceptions.
9740
9741 2002-10-31  Mark Anderson  <mark@panonet.net>
9742
9743         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
9744         added
9745
9746 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
9747
9748         * configure.in: Disable hash sync when not using threads.
9749         * configure: Regenerated.
9750
9751 2002-10-24  Tom Tromey  <tromey@redhat.com>
9752
9753         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
9754         (_Jv_FindSymbolInExecutable): Removed argument name.
9755         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
9756         java.library.path is set.
9757
9758         * gij.cc (help): Document --showversion.
9759         (version): Don't exit.
9760         (main): Handle --showversion.  Exit if --version given.
9761
9762 2002-10-23  Tom Tromey  <tromey@redhat.com>
9763
9764         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
9765         (array_from_valist): Correctly handle promotion for jint, jlong,
9766         jfloat, and jdouble.
9767
9768 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
9769
9770         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
9771         GetFileAttributesEx( ) to find file length and modification times,
9772         as the latter is not present on Windows 95.
9773
9774 2002-10-21  Michael Koch  <konqueror@gmx.de>
9775
9776         * java/net/URL.java
9777         (URL): Activate SecurityManager checks.
9778         (equals): Use URLStreamHandler implementation instead of doing it
9779         alone. This allows special protocol stream handlers to change default
9780         behaviour.
9781         (hashCode): Use URLStreamHandler implementation instead of doing it
9782         alone. This allows special protocol stream handlers to change default
9783         behaviour.
9784         * java/net/URLStreamHandler.java
9785         (equals): Implemented default URL equality check.
9786         (hostsEqual): Implemented default URL equality check.
9787         (hashCode): Implemented default URL hashCode algorithm.
9788         * java/net/natPlainDatagramSocketImpl.cc:
9789         No lines longer then 80 characters.
9790
9791 2002-10-20  Adam Megacz <adam@xwt.org>
9792
9793         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
9794         * configure.in: enabled hash sync on Win32
9795         * include/win32-threads.h (_Jv_ThreadId_t): added.
9796         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
9797         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
9798         removed some posix-isms, use Thread::sleep() instead of usleep,
9799         added code to clear bottom three bits if platform has a broken
9800         linker.
9801         * include/win32-threads.h (_Jv_ThreadId_t): added.
9802
9803 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
9804
9805         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
9806         runtime property "gnu.gcj.progname" containing the name used to
9807         invoke the current Java program (similar to argv[0] for C
9808         programs).
9809
9810 2002-10-15  Tom Tromey  <tromey@redhat.com>
9811
9812         Fix for PR libgcj/8234:
9813         * java/util/zip/natInflater.cc (reset): Reset avail_in.
9814         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
9815
9816 2002-10-13  Mark Wielaard  <mark@klomp.org>
9817
9818         * mauve-libgcj: Enable Mauve tests that compile now.
9819
9820 2002-10-11  Mark Wielaard  <mark@klomp.org>
9821
9822         Fix for PR libgcj/8142
9823         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
9824         loading native modules.
9825
9826 2002-10-10  Michael Koch  <konqueror@gmx.de>
9827
9828         * javax/swing/AbstractListModel.java
9829         (getListDataListeners): New stubbed method.
9830         javax/swing/DefaultBoundedRangeModel.java
9831         (getChangeListeners): New stubbed method.
9832         javax/swing/DefaultSingleSelectionModel.java
9833         (getChangeListeners): New stubbed method.
9834
9835 2002-10-10  Michael Koch  <konqueror@gmx.de>
9836
9837         * gcj/.cvsignore: New file to ignore files generated during build.
9838         * include/.cvsignore: New file to ignore files generated during build.
9839
9840 2002-10-10  Michael Koch  <konqueror@gmx.de>
9841
9842         * java/net/HttpURLConnection.java
9843         (getPermission): New method.
9844         (getErrorStream): New stub method.
9845         (getHeaderFieldDate): New stub method.
9846         * java/net/Inet4Address.java:
9847         (isLinkLocalAddress): Typo fixed.
9848         * java/net/InetAddress.java:
9849         (readResolve): New stubbed method (for serialization).
9850         (isAnyLocalAddress): New stubbed method.
9851         (isLoopbackAddress): New stubbed method.
9852         (isLinkLocalAddress): New stubbed method.
9853         (isSiteLocalAddress): New stubbed method.
9854         (isMCGlobal): New stubbed method.
9855         (isMCNodeGlobal): New stubbed method.
9856         (isMCLinkLocal): New stubbed method.
9857         (isMCSiteLocal): New stubbed method.
9858         (isMCOrgLocal): New stubbed method.
9859         (getCanonicalHostName): New stubbed method.
9860         (getByAddress): Create instances of Inet4Address/Inet6Address,
9861         instead of InetAddress, documentation added.
9862         * java/net/MulticastSocket.java
9863         (getInterface): Removed FIXME.
9864         (getNetworkInterface): New method.
9865         (setNetworkInterface): New method.
9866         * java/net/NetworkInterface.java:
9867         (toString): Use property "line.separator" instead of "\n".
9868         * java/net/URLConnection.java
9869         (getContent): New stubbed method.
9870         * java/net/URLStreamHandler.java:
9871         (equals): New stubbed method.
9872         (hostsEqual): New stubbed method.
9873         (hashCode): New stubbed method.
9874         * java/net/natNetworkInterface.cc:
9875         (getRealNetworkInterfaces): Create Inet4Address object
9876         instead of InetAddress.
9877
9878 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9879
9880         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
9881         unsigned long temporary to implement insn_iushr shifts.
9882
9883 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9884
9885         * configure.host [s390*-*]: Enable Java interpreter.
9886         Enable hash synchronization.  Add sysdeps dir.
9887         * sysdep/s390/locks.h: New file.
9888
9889 2002-10-06  Mark Wielaard  <mark@klomp.org>
9890
9891         * java/lang/Thread.java (setDaemon): Check startable_flag,
9892         not isAlive().
9893
9894 2002-10-07  Michael Koch  <konqueror@gmx.de>
9895
9896         * java/nio/Buffer.java: New stub file.
9897         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
9898         of class Charset.
9899         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
9900         * Makefile.in: Regenerated.
9901
9902 2002-10-07  Michael Koch  <konqueror@gmx.de>
9903
9904         * java/nio/ByteBuffer.java:
9905         removed import of not commited class.
9906
9907 2002-10-07  Michael Koch  <konqueror@gmx.de>
9908
9909         * java/nio/ByteBuffer.java,
9910         java/nio/MappedByteBuffer.java:
9911         New files, forgot to add these dummies.
9912         * Makefile.am (java_native_source_files): Added new files.
9913         * Makefile.in: Regenerated.
9914
9915 2002-10-07  Michael Koch  <konqueror@gmx.de>
9916
9917         * java/nio/channels/AlreadyConnectedException.java,
9918         java/nio/channels/ClosedChannelException.java,
9919         java/nio/channels/ReadableByteChannel.java,
9920         java/nio/channels/InterruptibleChannel.java,
9921         java/nio/channels/Channel.java,
9922         java/nio/channels/ByteChannel.java,
9923         java/nio/channels/GatheringByteChannel.java,
9924         java/nio/channels/ScatteringByteChannel.java,
9925         java/nio/channels/WritableByteChannel.java,
9926         java/nio/charset/CharacterCodingException.java,
9927         java/nio/charset/IllegalCharsetNameException.java,
9928         java/nio/charset/MalformedInputException.java,
9929         java/nio/charset/UnmappableCharacterException.java,
9930         java/nio/charset/UnsupportedCharsetException.java,
9931         java/nio/charset/spi/CharsetProvider.java: New file.
9932         These files are exceptions or interfaces,
9933         no real or abstract classes.
9934         * Makefile.am (java_native_source_files): Added new files.
9935         * Makefile.in: Regenerated.
9936
9937 2002-10-05  Michael Koch  <konqueror@gmx.de>
9938
9939         * java/net/InetAddress.java
9940         (getByAddress): Fixed documentation.
9941         (getByAddress): New method.
9942         * java/net/Inet4Address.java: New file.
9943         * java/net/URL.java
9944         (URL): Documentation added.
9945         (getContent): Documentation added.
9946         (getContent): New stubbed method.
9947         (getQuery): New method.
9948         (openConnection): Documentation added.
9949         (openStream): Documentation added.
9950         (setURLStreamHandlerFactory): Documentation added.
9951         * java/net/URI.java: New stub file.
9952         * Makefile.am
9953         (java_native_source_files): Added java/net/Inet4Address.java,
9954         java/net/Inet6Address.java and java/net/URI.java.
9955         * Makefile.in: Regenerated.
9956
9957 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
9958
9959         * java/lang/ProtectionDomain.java (linesep): Remove field.
9960         (toString): Use System.getProperty("line.separator").
9961
9962 2002-10-04  Michael Koch  <konqueror@gmx.de>
9963
9964         * java/security/Identity.java: Added serialVersionUID.
9965         * java/security/KeyPair.java: Added serialVersionUID.
9966         * java/security/Provider.java: Added serialVersionUID.
9967         * java/security/SecureRandom.java: Added serialVersionUID.
9968         * java/security/SecureRandomSpi.java: Added serialVersionUID.
9969         * java/security/SignedObject.java: Added serialVersionUID.
9970         * java/security/cert/Certificate.java: Added serialVersionUID.
9971
9972 2002-10-04  Mark Wielaard <mark@klomp.org>
9973
9974         * java/security/Security.java: Use java.home or gnu.classpath.home
9975         to load providers.
9976         (loadProviders): Extra dir argument.
9977         (getProvider): Return null when not found.
9978
9979 2002-10-04  Mark Wielaard  <mark@klomp.org>
9980
9981         * java/lang/Throwable.java: Remerge with Classpath.
9982
9983 2002-10-04  Michael Koch  <konqueror@gmx.de>
9984
9985         * java/net/InetAddress.java:
9986         (isMulticastAddress): Added documentation.
9987         (getHostAddress): Added documentation.
9988         (toString): Added documentation.
9989         (getByAddress): Fixed documentation.
9990         (getByName): Added documentation.
9991         (getAllByName): Added documentation.
9992         (getLocalHost): Added documentation.
9993
9994 2002-10-04  Michael Koch  <konqueror@gmx.de>
9995
9996         * java/beans/beancontext/BeanContextChildSupport.java:
9997         Added serialVersionUID.
9998         * java/text/Collator.java: (compare): Made documentation HTML-aware.
9999         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
10000         * javax/naming/Name.java: Added serialVersionUID.
10001
10002 2002-10-03  Adam Megacz <adam@xwt.org>
10003
10004         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
10005         some functionality that isn't supported yet on WIN32.
10006
10007 2002-10-03  Tom Tromey  <tromey@redhat.com>
10008
10009         * Makefile.in: Rebuilt.
10010         * Makefile.am (awt_java_source_files): Added new files.
10011
10012 2002-10-03  Michael Koch  <konqueror@gmx.de>
10013
10014         * java/net/InetAddress.java
10015         (class InetAddress): Removed final keyword.
10016         (equals): Fixed typo.
10017         (getByAddress): New method.
10018
10019 2002-10-03  Michael Koch  <konqueror@gmx.de>
10020
10021         * java/awt/dnd/Autoscroll.java:
10022         New file, merge from Classpath.
10023         * java/awt/dnd/DragSourceAdapter.java:
10024         (dragExit): Fixed typos in argument type.
10025         (dragDropEnd): Fixed typos in argument type.
10026         * java/awt/dnd/DragSourceDropEvent.java:
10027         New file, merge from Classpath.
10028         * java/awt/dnd/DropTarget.java:
10029         Added stubs, merge from Classpath.
10030         * java/awt/dnd/DropTargetAdapter.java:
10031         New file, merge from Classpath.
10032         * java/awt/dnd/DropTargetContext.java:
10033         New file, merge from Classpath.
10034         * java/awt/dnd/DropTargetDragEvent.java:
10035         New file, merge from Classpath.
10036         * java/awt/dnd/DropTargetDropEvent.java:
10037         New file, merge from Classpath.
10038         * java/awt/dnd/DropTargetEvent.java:
10039         New file, merge from Classpath.
10040         * java/awt/dnd/DropTargetListener.java:
10041         New file, merge from Classpath.
10042         * java/awt/dnd/MouseDragGestureRecognizer.java:
10043         New file, merge from Classpath.
10044         * java/awt/dnd/peer/DropTargetContextPeer.java:
10045         New file, merge from Classpath.
10046
10047 2002-10-03  Michael Koch  <konqueror@gmx.de>
10048
10049         * java/net/DatagramPacket.java
10050         (setLength): Fixed typo and be HTML-aware.
10051         * java/net/InetSocketAddress.java
10052         (InetSocketAddress): Correct initialization of hostname, fixed typo.
10053         (equals): Added comment about equality of InetSocketAddress objects.
10054         * java/net/ServerSocket.java
10055         (accept): Added checks.
10056         (isClosed): New stubbed method.
10057         * java/net/SocketOptions.java: Reindention.
10058         * java/net/SocketPermission
10059         (SocketPermission): Documentation fixed.
10060
10061 2002-10-03  Michael Koch  <konqueror@gmx.de>
10062
10063         * java/net/DatagramSocket.java
10064         (receive): Check with SecurityManager AFTER the packet is received,
10065         check if connected to multicast address, documentation added.
10066         (send): Only check SecurityManager if connected, check address of
10067         packet to send.
10068         (connect): Implemented, documentation added.
10069         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
10070         * java/net/InetSocketAddress.java
10071         (whole file): Reindented.
10072         (hostname): New attribute.
10073         (InetSocketAddress): Initialize new attribute.
10074         (getAddress): Documentation added.
10075         (getHostName): Documentation added.
10076         (getPort): Documentation added.
10077         (hashCode): Documentation added.
10078         (isUnresolved): Documentation added.
10079         (toString): Conform to output of JDK 1.4.1, documentation added.
10080         * java/net/MulticastSocket.java
10081         (joinGroup): Removed FIXME, documentation added.
10082         (leaveGroup): Removed FIXME, documentation added.
10083         (send): Documentation added.
10084         * java/net/Socket.java
10085         (inputShutdown): New variable.
10086         (outputShutdown): New variable.
10087         (Socket): Initialize new variables.
10088         (getRemoteSocketAddress): Check if connected.
10089         (shutdownInput): Set new variable.
10090         (shutdownOutput): Set new variable.
10091         (isConnected): New method.
10092         (isClosed): New method.
10093         (isInputShutdown): New method.
10094         (isOutputShutdown): New method.
10095         * java/net/URLStreamHandler.java
10096         (URLStreamHandler): New method.
10097         (openConnection): Added documentation.
10098         (parseURL): Added documentation.
10099         (getHostAddress): New method.
10100         (getDefaultPort): New method.
10101
10102 2002-10-02  Tom Tromey  <tromey@redhat.com>
10103
10104         * java/rmi/activation/ActivationDesc.java,
10105         java/rmi/activation/ActivationGroupDesc.java,
10106         java/rmi/activation/ActivationGroupID.java,
10107         java/rmi/activation/ActivationID.java: New versions from
10108         Classpath.
10109
10110 2002-09-30  Bo Thorsen  <bo@suse.de>
10111
10112         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10113
10114 2002-09-30  Tom Tromey  <tromey@redhat.com>
10115
10116         * java/io/ObjectInputStream.java (resolveProxyClass): New method
10117         from Classpath.
10118         * Makefile.in: Rebuilt.
10119         * Makefile.am (rmi_java_source_files): Added new files.
10120         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10121         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10122         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10123         Classpath.
10124         * gnu/java/rmi/dgc/DGCImpl.java,
10125         gnu/java/rmi/dgc/DGCImpl_Skel.java,
10126         gnu/java/rmi/dgc/DGCImpl_Stub.java,
10127         gnu/java/rmi/registry/RegistryImpl_Skel.java,
10128         gnu/java/rmi/registry/RegistryImpl_Stub.java,
10129         gnu/java/rmi/server/RMIHashes.java,
10130         gnu/java/rmi/server/RMIObjectInputStream.java,
10131         gnu/java/rmi/server/RMIObjectOutputStream.java,
10132         gnu/java/rmi/server/UnicastConnection.java,
10133         gnu/java/rmi/server/UnicastConnectionManager.java,
10134         gnu/java/rmi/server/UnicastRef.java,
10135         gnu/java/rmi/server/UnicastServer.java,
10136         gnu/java/rmi/server/UnicastServerRef.java,
10137         java/rmi/MarshalledObject.java,
10138         java/rmi/server/RMIClassLoader.java,
10139         java/rmi/server/RemoteObject.java,
10140         java/rmi/server/UnicastRemoteObject.java,
10141         java/security/SecureClassLoader.java: Merged from Classpath.
10142
10143 2002-09-29  Anthony Green  <green@redhat.com>
10144
10145         * java/lang/reflect/UndeclaredThrowableException.java: New file.
10146         Imported from GNU Classpath.
10147         * java/lang/reflect/natProxy.cc: New file.
10148         * java/lang/reflect/InvocationHandler.java: New file.  Imported
10149         from GNU Classpath.
10150         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
10151         Classpath.
10152         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10153         Classpath.
10154         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10155         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10156         New statics.
10157         * gcj/javaprims.h ("Java"): Add new classes.
10158         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10159         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10160         java/lang/reflect/Proxy$$ProxyType.h): And this.
10161         (inner_nat_headers): Add these new headers.
10162         (ordinary_java_source_files): Add new files.
10163         (nat_source_files): Add new file.
10164         * Makefile.in: Rebuilt.
10165
10166 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
10167
10168         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10169         a single configuration.
10170
10171 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10172
10173         * java/util/TimeZone.java (getDSTSavings): New method.
10174         Fixes PR libgcj/7786.
10175
10176 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10177
10178         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10179         to see if `the_method == 0' before looking up vtable index.
10180         Fixes PR libgcj/7709.
10181
10182 2002-09-25  Tom Tromey  <tromey@redhat.com>
10183
10184         * java/lang/natClassLoader.cc:
10185         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10186         * resolve.cc: Include NoClassDefFoundError.h, not
10187         ClassNotFoundException.h.
10188         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
10189
10190         * defineclass.cc: Don't include ClassNotFoundException.h.
10191
10192         * resolve.cc: Include StringBuffer.
10193         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
10194
10195         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
10196         allocated but not initialized.
10197
10198 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10199
10200         Fix for PR libgcj/7766:
10201         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
10202         (getNextEntry): Set it.
10203         (closeEntry): Likewise.
10204         (read): Likewise.
10205         (close): Likewise.
10206         (available): Use it.
10207
10208 2002-09-25  Michael Koch  <konqueror@gmx.de>
10209
10210         * java/net/DatagramSocket.java
10211         (DatagramSocket): Initialize new instance variables.
10212         (close): Reset new instance variables.
10213         (getLocalAddress): Remove unneeded SecurityManager usage.
10214         (getLocalPort): Check if socket is already bound.
10215         (isConnected): New method.
10216         (getInetAddress): Implemented.
10217         (getPort): Better Implementation, documentation fixed.
10218         (getRemoteSocketAddress): New method.
10219         * java/net/JarURLConnection.java
10220         (element): Typo fixed.
10221         (getMainAttributes): New method.
10222         (getAttributes): New method (stub only).
10223         (getManifest): New method (stub only).
10224         * java/net/NetPermission.java: Added serialVersionsUID.
10225         * java/net/Socket.java
10226         (connect): Check blocking mode of associated channel,
10227         documentation added.
10228         (getLocalSocketAddress): Better implementation.
10229         (getRemoteSocketAddress): Implemented.
10230         (isBound): New method.
10231         (setSendBufferSize): Documentation added.
10232         * java/net/SocketAddress.java: Added serialVersionsUID.
10233         * java/net/SocketPermission.java: Added serialVersionsUID.
10234         * java/net/URL.java
10235         (URL): Wrap for shorter lines, initialize new instance variables,
10236         documentation added.
10237         (equals): Check new instance variables too.
10238         (getContent): Documentation added.
10239         (getPath): Documentation added.
10240         (getAuthority): New method.
10241         (getHost): Documentation added.
10242         (getPort): Documentation added.
10243         (getDefaultPort): New method.
10244         (getProtocol): Documentation added.
10245         (getUserInfo): Documentation added.
10246         (set): Initialize new instance variables, documentation added.
10247         * java/net/URLStreamHandler.java
10248         (setURL): New method.
10249         * java/net/natPlainDatagramSocketImpl.cc
10250         (connect): Fix exception name.
10251         (disconnect): Fix exception name.
10252
10253 2002-09-25  Michael Koch  <konqueror@gmx.de>
10254
10255         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
10256         * java/nio/channels/DatagramChannel.java:
10257         extends AbstractSelectableChannel
10258         * java/nio/channels/ServerSocketChannel.java:
10259         extends AbstractSelectableChannel
10260         * java/nio/channels/SocketChannel.java:
10261         extends AbstractSelectableChannel
10262         * Makefile.am (ordinary_java_source_files):
10263         java/nio/channels/spi/AbstractSelectableChannel.java added.
10264         * Makefile.in: Regenerated.
10265
10266 2002-09-25  Michael Koch  <konqueror@gmx.de>
10267
10268         * java/net/DatagramSocket.java
10269         (DatagramSocket): Exception documentation added.
10270         (bind): Exception documentation added, addded SecurityManager check,
10271         added SocketAddress type check.
10272         (getSoTimeout): Check impl.
10273         (receive): Fix SecurityManager check, check impl, documentation added.
10274         (send): Check channel mode, documentation added.
10275         (connect): New method.
10276         (disconnect): Implemented.
10277         (getLocalSocketAddress): New method.
10278         (getReceiveBufferSize): Check impl.
10279         (setReuseAddress): Check impl.
10280         (getReuseAddress): Check impl.
10281         (setBroadcast): Check impl.
10282         (getBroadcast): Check impl.
10283         (setTrafficClass): Check impl, Documentation cleared.
10284         (getTrafficClass): Check impl.
10285         (getSendBufferSize): Check impl.
10286         (setReceiveBufferSize): Check impl, documentation added.
10287         (setSendBufferSize): Documentation added.
10288         (setDatagramSocketImplFactory): New method.
10289         * java/net/HttpURLConnection.java
10290         (HTTP_INTERNAL_ERROR): The correct code is 500.
10291         (HTTP_NOT_IMPLEMENTED): Added new constant.
10292         (setFollowRedirects): Documentation added.
10293         (getInstanceFollowRedirects): New method.
10294         (setInstanceFollowRedirects): New method.
10295         (setRequestMethod): Documentation added.
10296         (getResponseCode): Documentation added.
10297         (getResponseMessage): Documentation added.
10298         * java/net/JarURLConnection.java
10299         (JarURLConnection): protected since JDK 1.4.
10300         (getJarEntry): java.io.IOException to IOException, documentation added.
10301         (getJarFile): Documentation added.
10302         * java/net/ServerSocket.java
10303         (ServerSocket): Private to public, exception added.
10304         (ServerSocket): java.io.IOException to IOException, documentation added.
10305         (bind): Check socket address type, documentation added.
10306         (bind): java.io.IOException to IOException, documentation added.
10307         (accept): Documentation added.
10308         (implAccept): Check ch is not non-blocking, documentation added.
10309         (setSoTimeout): Documentation fixed.
10310         (setReceiveBufferSize): Documentation added.
10311         * java/net/Socket.java
10312         (Socket): Documentation added.
10313         (bind): Documentation added.
10314         (connect): Check socket address type, documentation added.
10315         (getRemoteSocketAddress): New method.
10316         (getLocalSocketAddress): New method.
10317         (setSoLinger): Documentation added.
10318         (getReuseAddress): New method.
10319         (setReuseAddress): New method.
10320         (getTrafficClass): New method.
10321         (setTrafficClass): New method.
10322         * java/net/URLStreamHandler.java
10323         (openConnection): java.io.IOException to IOException.
10324         (parseURL): Documentation added.
10325         (sameFile): public to protected, documentation added.
10326         (setURL): Documentation added.
10327         * java/nio/IllegalBlockingModeException.java: New file.
10328         * Makefile.am (ordinary_java_source_files):
10329         added java/nio/IllegalBlockingModeException.java
10330         * Makefile.in: Regenerated.
10331
10332 2002-09-25  Michael Koch  <konqueror@gmx.de>
10333
10334         * java/net/DatagramPacket
10335         (DatagramPacket): Exception documentation added.
10336         (setData): Likewise.
10337         (setSocketAddress): Likewise.
10338         * java/net/DatagramSocketImpl.java
10339         (peek): Documentation addded.
10340         (peekData): Documentation addded.
10341         (send): Documentation addded.
10342         (receive): Documentation addded.
10343         (connect): New method.
10344         (disconnect): New method.
10345         (joinGroup): New abstract method.
10346         (leaveGroup): New abstract method.
10347         * java/net/InetSocketAddress.java
10348         (InetSocketAddress): Documentation added.
10349         (equals): final keyword added.
10350         (getAddress): final keyword added.
10351         (getHostName): final keyword added.
10352         (getPort): final keyword added.
10353         (hashCode): final keyword added.
10354         (isUnresolved): final keyword added.
10355         * java/net/MulticastSocket.java
10356         (MulticastSocket): Documentation added.
10357         (MulticastSocket): New method.
10358         (joinGroup): Documentation added.
10359         (joinGroup): New method.
10360         (leaveGroup): Documentation added.
10361         (leaveGroup): New method.
10362         (send): Documentation added.
10363         * java/net/NetworkInterface.java
10364         (getByName): Documentation added.
10365         (getByInetAddress): Documentation added.
10366         (getNetworkInterfaces): Documentation added.
10367         * java/net/PlainDatagramSocketImpl.java
10368         (connect): New method.
10369         (disconnect): New method.
10370         * java/net/SocketImpl.java
10371         (create): Documentation added.
10372         (shutdownInput): Convert public to protected, as it always was.
10373         (shutdownOutput): Convert public to protected, as it always was.
10374         * java/net/SocketOptions.java
10375         (whole file): Reintented.
10376         * java/net/URLClassLoader.java
10377         (URLClassLoader): SecurityManager check added, documentation added.
10378         (findResources): Documentation added.
10379         (findClass): Documentation added.
10380         (newInstance): More correct method arguments.
10381         * java/net/URLConnection.java
10382         (connect): Documentation added.
10383         (getContent): Documentation added.
10384         (getPermission): Documentation added.
10385         (getInputStream): Documentation added.
10386         (getOutputStream): Documentation added.
10387         (setDoInput): Throw correct exception, documentation added.
10388         (setDoOutput): Throw correct exception, documentation added.
10389         (setAllowUserInteraction): Throw correct exception, documentation added.
10390         (setUseCaches): Throw correct exception, documentation added.
10391         (setIfModifiedSince): Throw correct exception, documentation added.
10392         (setRequestProperty): Throw exception, documentation added.
10393         (addRequestProperty): Throw exception, documentation added.
10394         (getRequestProperty): Throw exception, documentation added.
10395         (getRequestProperties): Documentation added.
10396         (setContentHandlerFactory): Documentation added.
10397         (guessContentTypeFromName): protected to public.
10398         (setFileNameMap): Documentation added.
10399         * java/net/URLDecoder.java
10400         (URLDecoder): New method.
10401         (decode): Documentation added.
10402         (whole file): Reindented.
10403         * java/net/URLEncoder.java
10404         (encode): Documentation added.
10405         * java/net/natPlainDatagramSocketImpl.cc
10406         (connect): New method.
10407         (disconnect): New method.
10408         * javax/naming/RefAddr:
10409         (addrType): addrType was never final.
10410         (equals): Fix typo in method name.
10411         * javax/naming/BinaryRefAddr:
10412         (equals): Fix typo in method name.
10413
10414 2002-09-22  Tom Tromey  <tromey@redhat.com>
10415
10416         Fix for PR libgcj/6576:
10417         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10418         didn't find a given bundle.
10419         (getBundle): Don't require base bundle.
10420         (setParent): Removed old comment.
10421         (tryLocalBundle): Try components even if preceding components were
10422         empty.
10423
10424 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10425
10426         * Makefile.am (all-multi): Fix multilib parallel build.
10427
10428 2002-09-21  Michael Koch  <konqueror@gmx.de>
10429
10430         * java/net/Socket.java
10431         (sendUrgentData): New method.
10432         (getChannel): New method.
10433         * java/net/ServerSocket.java
10434         (getChannel): New method.
10435         (isBound): New method.
10436         * java/net/DatagramSocket.java
10437         (DatagramSocket): Two new methods.
10438         (bind): New method.
10439         (getChannel): New method.
10440         (isBound): New method.
10441         (send): Added newline to to make shorter lines.
10442         * java/net/PlainDatagramSocketImpl.java
10443         (mcastGrp): Added argument.
10444         (join): Use new mcastGrp.
10445         (leave): Use new mcastGrp.
10446         (joinGroup): New method.
10447         (leaveGroup): New method.
10448         * java/net/natPlainDatagramSocketImpl.cc
10449         (mcastGrp): Added argument, no yet really implemented.
10450         (getOption): Added newline for shorter lines.
10451         * java/net/natPlainSocketImpl.cc
10452         (read, setOption, getOption): Added newline for shorter lines.
10453
10454 2002-09-19  Tom Tromey  <tromey@redhat.com>
10455
10456        * java/lang/ClassLoader.java (resolveClass0): Set cause for
10457        newly-created exception.
10458
10459 2002-09-18  Michael Koch  <konqueror@gmx.de>
10460
10461         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10462         java/util/regex/PatternSyntaxException.java:
10463         Merge with classpath, new files.
10464         * Makefile.am (core_java_source_files):
10465         Added java/util/regex/Matcher.java,
10466         java/util/regex/Pattern.java,
10467         java/util/regex/PatternSyntaxException.java
10468         * Makefile.in: Regenerated.
10469         * include/config.h.in: Added HAVE_NET_IF_H.
10470         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
10471         Removed #if 0 ... #endif.
10472
10473 2002-09-17  Michael Koch  <konqueror@gmx.de>
10474
10475         * java/net/natNetworkInterface.cc:
10476         Removed unneed and yet wrong includes.
10477
10478 2002-09-17  Michael Koch  <konqueror@gmx.de>
10479
10480         * java/net/NetworkInterface.java: New file.
10481         * java/net/natNetworkInterface.java: New file.
10482         * configure.in: Added check for net/if.h.
10483         * configure: Regenerated.
10484         * Makefile.am
10485         (ordinary_java_source_files): Added NetworkInterface.java.
10486         (nat_source_files): Added natNetworkInterface.cc.
10487         * Makefile.in: Regenerated.
10488
10489 2002-09-16  Tom Tromey  <tromey@redhat.com>
10490
10491         * java/net/URLClassLoader.java (findClass): Code source for a
10492         class from a jar is not necessarily a jar: URL.
10493
10494 2002-09-16  Michael Koch  <konqueror@gmx.de>
10495
10496         * java/lang/AssertionError.java:
10497         Merge with classpath, fixes HTML.
10498         * java/rmi/server/LogStream.java:
10499         Merge with classpath, fixes some constants.
10500         * java/net/server/RemoteServer.java:
10501         Merge with classpath, adds serialVersionUID.
10502         * javax/naming/BinaryRefAddr.java:
10503         Merge with classpath, s/equal/equals/.
10504         * javax/naming/NamingException.java:
10505         Merge with classpath, fixed typo.
10506         * javax/naming/RefAddr.java:
10507         Merge with classpath, s/equal/equals/.
10508         * java/awt/Toolkit.java:
10509         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
10510         and typo fixed.
10511
10512 2002-09-15  Adam Megacz <adam@xwt.org>
10513
10514         * java/net/natPlainSocketImpl.cc: fixed typo.
10515
10516 2002-09-15  Adam Megacz <adam@xwt.org>
10517
10518         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
10519         which don't work on Win32 (yet).
10520
10521 2002-09-14  Adam Megacz <adam@xwt.org>
10522
10523         * java/net/natPlainDatagramSocket.cc: removed #include
10524         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
10525         * include/win32.h: included definition for IP_TOS to satisfy
10526         natPlainDatagramSocket.cc
10527
10528 2002-09-13  Michael Koch  <konqueror@gmx.de>
10529
10530         * java/net/DatagramPacket.java (DatagramPacket):
10531         Added linebreak for 80 chars per line.
10532         * java/net/JarURLConection.java
10533         (getInputStreami, getJarEntry): Likewise.
10534         * java/net/SocketPErmission.java
10535         (SocketPermission class docu, implies): Likewise.
10536         * java/net/URLClassLoader.java (findResources): Likewise.
10537         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
10538
10539 2002-09-13  Michael Koch  <konqueror@gmx.de>
10540
10541         * java/nio/channels/DatagramChannel.java,
10542         java/nio/channels/ServerSocketChannel.java
10543         java/nio/channels/SocketChannel.java:
10544         New dummy files to make java.net fully JDK 1.4 compatible
10545         * Makefile.am (ordinary_java_source_files): Added
10546         java/net/DatagramSocketImplFactory.java (long forgotten),
10547         java/nio/SocketChannel.java,
10548         java/nio/ServerSocketChannel.java,
10549         java/nio/DatagramChannel.java
10550         * Makefile.in: Regenrated.
10551
10552 2002-09-12  Michael Koch  <konqueror@gmx.de>
10553
10554         * java/net/DatagramSocketImpl.java
10555         (peekData): New method.
10556         * java/net/PlainDatagramSocketImpl.java
10557         (peekData): New method.
10558         * java/net/natPlainDatagramSocketImpl.cc
10559         (peekData): New method.
10560         * java/net/URLConnection
10561         (getPermission): New method.
10562         (addRequestProperty): New method.
10563         (getRequestProperties): New method.
10564         (guessContentTypeFromStream): New method, not really implemented.
10565         (URLConnection): Added/updated documentation.
10566         (connect): Added/updated documentation.
10567         (getURL): Added/updated documentation.
10568         (getContentLength): Added/updated documentation.
10569         (getContentType: Added/updated documentation.
10570         (getContentEncoding): Added/updated documentation.
10571         (getExpiration): Added/updated documentation.
10572         (getDate): Added/updated documentation.
10573         (getLastModified): Added/updated documentation.
10574         (getHeaderField): Added/updated documentation.
10575         (getHeaderFields): Added/updated documentation.
10576         (getHeaderFieldInt): Added/updated documentation.
10577         (getHeaderFieldDate): Added/updated documentation.
10578         (getHeaderFieldKey): Added/updated documentation.
10579         (getContent): Added/updated documentation.
10580         (getInputStream): Added/updated documentation.
10581         (getOutputStream): Added/updated documentation.
10582         (toString): Added/updated documentation.
10583         (setDoInput): Added/updated documentation.
10584         (getDoInput): Added/updated documentation.
10585         (setDoOutput): Added/updated documentation.
10586         (getDoOutput): Added/updated documentation.
10587         (setAllowUserInteraction): Added/updated documentation.
10588         (getAllowUserInteraction): Added/updated documentation.
10589         (setDefaultAllowUserInteraction): Added/updated documentation.
10590         (getDefaultAllowUserInteraction): Added/updated documentation.
10591         (setUseCaches): Added/updated documentation.
10592         (getUseCaches): Added/updated documentation.
10593         (setIfModifiedSince): Added/updated documentation.
10594         (getIfModifiedSince): Added/updated documentation.
10595         (getDefaultUseCaches): Added/updated documentation.
10596         (setDefaultUseCaches): Added/updated documentation.
10597         (setRequestProperty): Added/updated documentation.
10598         (getRequestProperty): Added/updated documentation.
10599         (setDefaultRequestProperty): Added/updated documentation.
10600         (getDefaultRequestProperty): Added/updated documentation.
10601         (setContentHandlerFactory): Added/updated documentation.
10602         (guessContentTypeFromName): Added/updated documentation.
10603         (getFileNameMap): Added/updated documentation.
10604         (setFileNameMap): Added/updated documentation.
10605
10606 2002-09-11  Michael Koch  <konqueror@gmx.de>
10607
10608         * java/net/Socket.java
10609         (Socket): protected to public (since JDK 1.4). Added @specnote.
10610         (bind): New method.
10611         (connect): Two new methods.
10612         (getKeepalive): Get correct socket option.
10613         (setKeepalive): Set correct socket option.
10614         (getOOBInline): New method.
10615         (setOOBInline): New method.
10616         * java/net/ServerSocket.java
10617         (bind): Two new methods.
10618         (getInetAddress): Reimplemented, catch exception.
10619         (getLocalSocketAddress): New method.
10620         (setReuseAddress): New method.
10621         (getReuseAdress): New method.
10622         (setReceiveBufferSize): New method.
10623         (getReceiveBufferSize): New method.
10624         (toString): Made string JDK 1.4 compliant.
10625
10626 2002-09-10  Michael Koch  <konqueror@gmx.de>
10627
10628         * java/net/SocketImpl.java
10629         (connect): New method.
10630         (supportsUrgentData): New method.
10631         (sendUrgentData): New method.
10632         * java/net/PlainSocketImpl.java
10633         (connect): One new method and two new implementation.
10634         (sendUrgentData): New method.
10635         * java/natPlainSocketImpl.cc
10636         (connect): Arguments changed, added support for timeouts.
10637         (getOption): Another __java_boolean to jboolean.
10638
10639 2002-09-07  Adam Megacz <adam@xwt.org>
10640
10641         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
10642         definition of IP_TOS.
10643
10644 2002-09-04  Michael Koch  <konqueror@gmx.de>
10645
10646         * java/net/DatagramSocket.java
10647         (DatagramSocket): Added documentation.
10648         (close): Likewise.
10649         (getLocalAddress): Likewise.
10650         (getLocalPort): Likewise.
10651         (receive): Likewise.
10652         (send): Likewise.
10653         (setSoTimeout): Likewise.
10654         (connect): New method.
10655         (disconnect): New method.
10656         (getInetAddress): New method (FIXME)
10657         (getPort): New method.
10658         (setReuseAddress): New method.
10659         (getReuseAddress): New method.
10660         (setBroadcast): New method.
10661         (getBroadcast): New method.
10662         (setTrafficClass): New method.
10663         (getTrafficClass): New method.
10664         * java/net/MulticastSocket.java):
10665         (getTTL): Added @see in documentation.
10666         (setTTL): Added @see in documentation.
10667         (setLoopbackMode): New method.
10668         (getLoopbackMode): New method.
10669         * java/net/PlainSocketImpl.java:
10670         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10671         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10672         * java/net/PlainDatagramSocketImpl.java
10673         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10674         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10675         * java/net/natPlainSocketImpl.cc
10676         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10677         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10678         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10679         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10680         This should also fix SO_KEEPALIVE
10681         * java/net/natPlainDatagramSocketImpl.cc
10682         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10683         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10684         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10685         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10686
10687 2002-09-04  Michael Koch  <konqueror@gmx.de>
10688
10689         * java/net/SocketOptions.java: added static variables to be JDK 1.4
10690         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
10691         IP_MULTICAST_LOOP, IP_TOS
10692
10693 2002-09-03  Tom Tromey  <tromey@redhat.com>
10694
10695         * java/lang/Class.h (_getDeclaredMethod): Declare.
10696         (_getMethod): Now private.
10697         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
10698         getDeclaredMethod.  Now returns NULL on failure.
10699         * java/lang/Class.java (_getDeclaredMethod): Declare.
10700         (getDeclaredMethod): No longer native; implements access checks.
10701
10702 2002-09-01  Mark Wielaard  <mark@klomp.org>
10703
10704         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
10705         (sanitizeStack): Correctly reset unknown and interpreter counters,
10706         detect interpreter runtime frames.
10707         (demangleInterpreterMethod): New method.
10708         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
10709         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
10710         filling in addrs[].
10711
10712 2002-09-02  Michael Koch  <konqueror@gmx.de>
10713
10714         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
10715         re-indented documentation.
10716
10717 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10718
10719         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
10720         public, per 1.4 spec.  Fixes PR libgcj/7785.
10721
10722 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
10723
10724         * Makefile.in: Rebuilt.
10725         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
10726
10727 2002-08-29  Tom Tromey  <tromey@redhat.com>
10728
10729         * java/net/JarURLConnection.java (getCertificates): New method
10730         from Classpath.
10731         * java/net/URLClassLoader.java (URLClassLoader): Extends
10732         SecureClassLoader.
10733         (definePackage): New method from Classpath.
10734         (getPermissions): Likewise.
10735         (newInstance): Likewise.
10736         (findClass): Construct CodeSource for new class (from Classpath).
10737         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
10738         methods.
10739         * java/net/URL.java (getUserInfo): New method.
10740         (set(String,String,int,String,String,String,String,String)): New
10741         method.
10742         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
10743         (shutdownInput, shutdownOutput): Declare.
10744         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
10745         Define.
10746         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
10747         (getOption): Likewise.
10748         (shutdownInput): New method.
10749         (shutdownOutput): Likewise.
10750         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
10751         keepalive.
10752         (getOption): Likewise.
10753         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
10754         * java/net/Socket.java (setKeepAlive): New method.
10755         (getKeepAlive): Likewise.
10756         (shutdownInput, shutdownOutput): New methods.
10757
10758 2002-08-29  Michael Koch  <konqueror@gmx.de>
10759
10760         * java/net/DatagramPacket.java: updated to JDK 1.4 API
10761         new methods are:
10762         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
10763           address),
10764         DatagramPacket(byte[] buf, int length, SocketAddress address),
10765         void setSocketAddress(SocketAddress address)
10766         public SocketAddress getSocketAddress()
10767
10768 2002-08-29  Tom Tromey  <tromey@redhat.com>
10769
10770         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
10771         ftruncate is missing.
10772         * configure, include/config.h.in: Rebuilt.
10773         * acconfig.h (HAVE_FTRUNCATE): Mention.
10774         * configure.in: Check for ftruncate.
10775
10776 2002-08-29  Tom Tromey  <tromey@redhat.com>
10777
10778         * include/jvm.h (struct _Jv_frame_info): New structure.
10779         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
10780         java-interp.h.
10781         (lookupInterp): New method.
10782         (getAddrAsString): Use _Jv_frame_info.
10783         (dladdrLookup): Likewise.
10784         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
10785         interpreted frame.
10786         (lookupInterp): Declare.
10787         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
10788         (fillInStackTrace): Collect information on interpreted frames.
10789         Use _Jv_frame_info.
10790         * interpret.cc: Include Thread.h.
10791         (run): Create and push _Jv_MethodChain object.
10792         (_Jv_EndOfInterpreter): New global.
10793         * java/lang/Thread.java (interp_frame): New field.
10794         * include/java-interp.h (struct _Jv_MethodChain): New structure.
10795         Include NameFinder.h.
10796
10797 2002-08-28  Tom Tromey  <tromey@redhat.com>
10798
10799         * java/lang/Class.h: Include Package.h.
10800         (Class::getProtectionDomain): Declare.
10801         (Class::getPackage): Declare.
10802
10803 2002-08-28  Michael Koch <konqueror@gmx.de>
10804
10805         * java/net/InetSocketAddress.java: Added some documentation and argument
10806         checks for the port numbers.
10807         * java/net/DatagramSocketImplFactory.java: New file.
10808
10809 2002-08-28  Michael Koch <konqueror@gmx.de>
10810
10811         * java/net/Authenticator.java: added some documentation.
10812
10813 2002-08-27  Tom Tromey  <tromey@redhat.com>
10814
10815         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
10816         class.
10817         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
10818
10819 2002-08-27  Michael Koch <konqueror@gmx.de>
10820
10821         * java/net/BindException.java,
10822         java/net/JarURLConnection.java,
10823         java/net/FileNameMap.java,
10824         java/net/HttpURLConnection.java,
10825         java/net/InetSocketAddress.java,
10826         java/net/DatagramPacket.java,
10827         java/net/DatagramSocket.java,
10828         java/net/DatagramSocketImpl.java,
10829         java/net/MulticastSocket.java,
10830         java/net/PasswordAuthentication.java,
10831         java/net/ServerSocket.java,
10832         java/net/Socket.java,
10833         java/net/URLClassLoader.java,
10834         java/net/URLConnection.java: add/update of some @since/@deprecated
10835
10836 2002-08-27  Tony Kimball <alk@pobox.com>
10837             Tom Tromey  <tromey@redhat.com>
10838
10839         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
10840         define.
10841         (::close): Removed.
10842         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
10843         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
10844         (::close): Removed.
10845         (PlainSocketImpl::close): Use NATIVE_CLOSE.
10846         * include/win32.h (getcwd): Removed declaration.  Include io.h.
10847
10848 2002-08-25  Adam Megacz <adam@xwt.org>
10849
10850         * include/win32.h (getcwd): copied function declaration as
10851         temporary fix for header confusion.
10852
10853 2002-08-24  Mark Wielaard <mark@klomp.org>
10854
10855         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
10856         (core_java_source_files): Add VMThrowable.java and NameFinder.java
10857         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
10858         and natNameFinder.cc.
10859         * Makefile.in: Regenerate.
10860         * prims.cc: Use trace_enabled from VMThrowable.
10861         * name-finder.cc: Removed.
10862         * gcj/javaprims.h: Add class VMThrowable.
10863         * gnu/gcj/runtime/NameFinder.java: New file.
10864         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
10865         * include/name-finder.h: Removed.
10866         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
10867         method stackTraceString().
10868         (printStackTrace (PrintWriter)): Likewise.
10869         (stackTraceString): Complete rewrite of old printStackTrace using
10870         StringBuffer.
10871         (stackTraceStringBuffer): New helper method for stackTraceString().
10872         (fillInStackTrace): Delegate to VMTrowable.
10873         (getStackTrace): Likewise.
10874         (getStackTrace0): Removed.
10875         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
10876         (setStackTrace): Copy given array.
10877         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
10878         * java/lang/VMThrowable.java: New class.
10879         * java/lang/natVMThrowable.cc: New file.
10880
10881 2003-08-23  Michael Koch  <konqueror@gmx.de>
10882
10883         * java/net/URLConnection.java,
10884         java/netJarURLConnection.java,
10885         gnu/gcj/protocol/core/Connection.java,
10886         gnu/gcj/protocol/file/Connection.java,
10887         gnu/gcj/protocol/http/Connection.java: Added implementation of
10888         getHeaderFields().
10889
10890 2002-08-22  Tom Tromey  <tromey@redhat.com>
10891
10892         * gij.cc (help): Document -cp and -classpath.
10893         (main): Handle -classpath.
10894
10895 2002-08-21  Tom Tromey  <tromey@redhat.com>
10896
10897         * Makefile.in: Rebuilt.
10898         * Makefile.am (ordinary_java_source_files): Added
10899         SocketAddress.java, InetSocketAddress.java.
10900         * java/net/PortUnreachableException.java: Merged with Classpath.
10901         * java/net/SocketTimeoutException.java: Likewise.
10902         * java/net/URISyntaxException.java: Likewise.
10903         * java/net/SocketAddress.java: New class from Classpath.
10904         * java/net/InetSocketAddress.java: Likewise.
10905
10906 2003-08-21  Michael Koch  <konqueror@gmx.de>
10907
10908         * java/net/Authenticator.java: updated JDK 1.4
10909         * java/net/ContentHandler.java: updated JDK 1.4
10910
10911 2002-08-20  Michael Koch  <konqueror@gmx.de>
10912
10913         * java/net/URISyntaxException.java: New file.
10914         * java/net/SocketTimeoutException.java: New file.
10915         * java/net/PortUnreachableException.java: New file.
10916         * Makefile.am: Updated.
10917         * Makefile.in: Rebuilt.
10918
10919 2002-08-18  Mark Wielaard  <mark@klomp.org>
10920
10921         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
10922         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10923         MessageDigestSpi (fixes Classpath bug #783).
10924
10925 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10926
10927         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
10928         (startProcess): Allocate path for chdir in async-signal-safe way.
10929
10930 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10931
10932         Fix for PR libgcj/7570 and PR libgcj/7578:
10933         * java/lang/natPosixProcess.cc: Include java/io/File.h.
10934         (startProcess): Handle new `dir' argument.
10935         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
10936         argument.
10937         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
10938         argument.
10939         (startProcess): Likewise.
10940         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
10941         argument.
10942         * java/lang/Runtime.java (execInternal): Added `dir' argument.
10943         (exec): Don't create new environment if ENV==null.  Pass DIR to
10944         execInternal.
10945         * java/lang/natRuntime.cc: Include java/io/File.h.
10946         (execInternal): Added `dir' argument.
10947
10948 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
10949
10950         * java/io/RandomAccessFile.java (skipBytes): Return number of
10951         bytes skipped.
10952
10953 2002-08-01  Mark Wielaard  <mark@klomp.org>
10954
10955         Reenable patch since shared library troubles on powerpc are solved:
10956         * gnu/java/security/provider/Gnu.java: Reference all implementation
10957         classes by using Class.getName().
10958         * gnu/java/security/der/DEREncodingException.java,
10959         gnu/java/security/provider/DERReader.java,
10960         gnu/java/security/provider/DERWriter.java,
10961         gnu/java/security/provider/DSAKeyPairGenerator.java,
10962         gnu/java/security/provider/DSAParameterGenerator.java,
10963         gnu/java/security/provider/DSAParameters.java,
10964         gnu/java/security/provider/DSASignature.java,
10965         gnu/java/security/provider/GnuDSAPrivateKey.java,
10966         gnu/java/security/provider/GnuDSAPublicKey.java,
10967         gnu/java/security/provider/MD5.java,
10968         gnu/java/security/util/Prime.java: New classes
10969         * Makefile.am (ordinary_java_source_files): Add above files.
10970         * Makefile.in: Regenerate.
10971         * gnu/java/security/provider/DefaultPolicy.java
10972         (getPermissions): Don't maintain static class variable of Permissions.
10973         * gnu/java/security/provider/SHA.java
10974         (engineUpdate): algorithm change.
10975         (engineDigest): algorithm change.
10976
10977 2002-08-09  Mark Wielaard  <mark@klomp.org>
10978
10979         * java/awt/image/MemoryImageSource.java: Change constructor to take
10980         int[] not byte[].
10981         * java/awt/Graphics2D.java: Uncomment methods that can now be
10982         compiled.
10983         * java/awt/GridBagLayout.java: New stub implementation.
10984         * javax/swing/text/html/HTML.java: Stub implementation.
10985         * javax/swing/text/html/parser/ParserDelegator.java: New stub
10986         implementation.
10987
10988         * Makefile.am: Add new files.
10989         * Makefile.in: Rebuilt.
10990
10991 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10992
10993         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
10994         methods in Graphics2D.
10995
10996 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10997
10998         AWT/Swing merge from GNU Classpath.
10999
11000         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
11001         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
11002         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
11003         java/awt/color/ProfileDataException.java,
11004         java/awt/CompositeContext.java, java/awt/Composite.java,
11005         java/awt/ContainerOrderFocusTraversalPolicy.java,
11006         java/awt/datatransfer/FlavorTable.java,
11007         java/awt/DefaultFocusTraversalPolicy.java,
11008         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
11009         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
11010         java/awt/dnd/DragGestureListener.java,
11011         java/awt/dnd/DragGestureRecognizer.java,
11012         java/awt/dnd/DragSourceAdapter.java,
11013         java/awt/dnd/DragSourceContext.java,
11014         java/awt/dnd/DragSourceDragEvent.java,
11015         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
11016         java/awt/dnd/DragSourceListener.java,
11017         java/awt/dnd/DragSourceMotionListener.java,
11018         java/awt/dnd/DropTarget.java,
11019         java/awt/dnd/InvalidDnDOperationException.java,
11020         java/awt/dnd/peer/DragSourceContextPeer.java,
11021         java/awt/event/AWTEventListenerProxy.java,
11022         java/awt/event/MouseWheelEvent.java,
11023         java/awt/event/MouseWheelListener.java,
11024         java/awt/event/WindowFocusListener.java,
11025         java/awt/event/WindowStateListener.java,
11026         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
11027         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
11028         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
11029         java/awt/geom/FlatteningPathIterator.java,
11030         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
11031         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
11032         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
11033         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
11034         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
11035         java/awt/image/ImagingOpException.java,
11036         java/awt/image/RasterFormatException.java,
11037         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
11038         java/awt/image/VolatileImage.java,
11039         java/awt/image/WritableRenderedImage.java,
11040         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
11041         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
11042         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
11043         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
11044         java/awt/PageAttributes.java, java/awt/print/Book.java,
11045         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
11046         java/awt/print/Paper.java, java/awt/print/Printable.java,
11047         java/awt/print/PrinterAbortException.java,
11048         java/awt/print/PrinterException.java,
11049         java/awt/print/PrinterGraphics.java,
11050         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
11051         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
11052         java/awt/Stroke.java, java/awt/TexturePaint.java,
11053         javax/accessibility/AccessibleAction.java,
11054         javax/accessibility/AccessibleBundle.java,
11055         javax/accessibility/AccessibleComponent.java,
11056         javax/accessibility/AccessibleContext.java,
11057         javax/accessibility/AccessibleEditableText.java,
11058         javax/accessibility/AccessibleExtendedComponent.java,
11059         javax/accessibility/AccessibleExtendedTable.java,
11060         javax/accessibility/AccessibleHyperlink.java,
11061         javax/accessibility/AccessibleHypertext.java,
11062         javax/accessibility/AccessibleIcon.java,
11063         javax/accessibility/Accessible.java,
11064         javax/accessibility/AccessibleKeyBinding.java,
11065         javax/accessibility/AccessibleRelation.java,
11066         javax/accessibility/AccessibleRelationSet.java,
11067         javax/accessibility/AccessibleResourceBundle.java,
11068         javax/accessibility/AccessibleRole.java,
11069         javax/accessibility/AccessibleSelection.java,
11070         javax/accessibility/AccessibleState.java,
11071         javax/accessibility/AccessibleStateSet.java,
11072         javax/accessibility/AccessibleTable.java,
11073         javax/accessibility/AccessibleTableModelChange.java,
11074         javax/accessibility/AccessibleText.java,
11075         javax/accessibility/AccessibleValue.java,
11076         javax/swing/AbstractAction.java,
11077         javax/swing/AbstractButton.java,
11078         javax/swing/AbstractCellEditor.java,
11079         javax/swing/AbstractListModel.java,
11080         javax/swing/AbstractSet.java, javax/swing/Action.java,
11081         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
11082         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
11083         javax/swing/border/CompoundBorder.java,
11084         javax/swing/border/EmptyBorder.java,
11085         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
11086         javax/swing/border/LineBorder.java,
11087         javax/swing/border/MatteBorder.java,
11088         javax/swing/border/TitledBorder.java,
11089         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
11090         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
11091         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
11092         javax/swing/CellRendererPane.java,
11093         javax/swing/colorchooser/AbstractColorChooserPanel.java,
11094         javax/swing/colorchooser/ColorChooserComponentFactory.java,
11095         javax/swing/colorchooser/ColorSelectionModel.java,
11096         javax/swing/colorchooser/DefaultColorSelectionModel.java,
11097         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
11098         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
11099         javax/swing/DefaultBoundedRangeModel.java,
11100         javax/swing/DefaultButtonModel.java,
11101         javax/swing/DefaultCellEditor.java,
11102         javax/swing/DefaultCellRenderer.java,
11103         javax/swing/DefaultComboBoxModel.java,
11104         javax/swing/DefaultDesktopManager.java,
11105         javax/swing/DefaultFocusManager.java,
11106         javax/swing/DefaultListCellRenderer.java,
11107         javax/swing/DefaultListModel.java,
11108         javax/swing/DefaultListSelectionModel.java,
11109         javax/swing/DefaultSingleSelectionModel.java,
11110         javax/swing/DesktopManager.java,
11111         javax/swing/event/AncestorEvent.java,
11112         javax/swing/event/AncestorListener.java,
11113         javax/swing/event/CaretEvent.java,
11114         javax/swing/event/CaretListener.java,
11115         javax/swing/event/CellEditorListener.java,
11116         javax/swing/event/ChangeEvent.java,
11117         javax/swing/event/ChangeListener.java,
11118         javax/swing/event/DocumentEvent.java,
11119         javax/swing/event/DocumentListener.java,
11120         javax/swing/event/EventListenerList.java,
11121         javax/swing/event/HyperlinkEvent.java,
11122         javax/swing/event/HyperlinkListener.java,
11123         javax/swing/event/InternalFrameAdapter.java,
11124         javax/swing/event/InternalFrameEvent.java,
11125         javax/swing/event/InternalFrameListener.java,
11126         javax/swing/event/ListDataEvent.java,
11127         javax/swing/event/ListDataListener.java,
11128         javax/swing/event/ListSelectionEvent.java,
11129         javax/swing/event/ListSelectionListener.java,
11130         javax/swing/event/MenuDragMouseEvent.java,
11131         javax/swing/event/MenuDragMouseListener.java,
11132         javax/swing/event/MenuEvent.java,
11133         javax/swing/event/MenuKeyEvent.java,
11134         javax/swing/event/MenuKeyListener.java,
11135         javax/swing/event/MenuListener.java,
11136         javax/swing/event/MouseInputAdapter.java,
11137         javax/swing/event/MouseInputListener.java,
11138         javax/swing/event/PopupMenuEvent.java,
11139         javax/swing/event/PopupMenuListener.java,
11140         javax/swing/event/SwingPropertyChangeSupport.java,
11141         javax/swing/event/TableColumnModelEvent.java,
11142         javax/swing/event/TableColumnModelListener.java,
11143         javax/swing/event/TableModelEvent.java,
11144         javax/swing/event/TableModelListener.java,
11145         javax/swing/event/TreeExpansionEvent.java,
11146         javax/swing/event/TreeExpansionListener.java,
11147         javax/swing/event/TreeModelEvent.java,
11148         javax/swing/event/TreeModelListener.java,
11149         javax/swing/event/TreeSelectionEvent.java,
11150         javax/swing/event/TreeSelectionListener.java,
11151         javax/swing/event/TreeWillExpandListener.java,
11152         javax/swing/event/UndoableEditEvent.java,
11153         javax/swing/event/UndoableEditListener.java,
11154         javax/swing/filechooser/FileFilter.java,
11155         javax/swing/filechooser/FileSystemView.java,
11156         javax/swing/filechooser/FileView.java,
11157         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11158         javax/swing/Icon.java, javax/swing/ImageIcon.java,
11159         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11160         javax/swing/JApplet.java, javax/swing/JButton.java,
11161         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11162         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11163         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11164         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11165         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11166         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11167         javax/swing/JLayeredPane.java, javax/swing/JList.java,
11168         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11169         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11170         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11171         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11172         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11173         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11174         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11175         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11176         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11177         javax/swing/JTextField.java, javax/swing/JTextPane.java,
11178         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11179         javax/swing/JToolTip.java, javax/swing/JTree.java,
11180         javax/swing/JViewport.java, javax/swing/JWindow.java,
11181         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11182         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11183         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11184         javax/swing/MenuSelectionManager.java,
11185         javax/swing/MutableComboBoxModel.java,
11186         javax/swing/OverlayLayout.java,
11187         javax/swing/plaf/ActionMapUIResource.java,
11188         javax/swing/plaf/basic/BasicBorders.java,
11189         javax/swing/plaf/basic/BasicButtonUI.java,
11190         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11191         javax/swing/plaf/basic/BasicDefaults.java,
11192         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11193         javax/swing/plaf/basic/BasicIconFactory.java,
11194         javax/swing/plaf/basic/BasicLabelUI.java,
11195         javax/swing/plaf/basic/BasicListUI.java,
11196         javax/swing/plaf/basic/BasicLookAndFeel.java,
11197         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11198         javax/swing/plaf/basic/BasicPanelUI.java,
11199         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11200         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11201         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11202         javax/swing/plaf/basic/BasicTextUI.java,
11203         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11204         javax/swing/plaf/basic/BasicTreeUI.java,
11205         javax/swing/plaf/basic/BasicViewportUI.java,
11206         javax/swing/plaf/BorderUIResource.java,
11207         javax/swing/plaf/ButtonUI.java,
11208         javax/swing/plaf/ColorChooserUI.java,
11209         javax/swing/plaf/ColorUIResource.java,
11210         javax/swing/plaf/ComboBoxUI.java,
11211         javax/swing/plaf/ComponentInputMapUIResource.java,
11212         javax/swing/plaf/ComponentUI.java,
11213         javax/swing/plaf/DesktopIconUI.java,
11214         javax/swing/plaf/DesktopPaneUI.java,
11215         javax/swing/plaf/DimensionUIResource.java,
11216         javax/swing/plaf/FileChooserUI.java,
11217         javax/swing/plaf/FontUIResource.java,
11218         javax/swing/plaf/IconUIResource.java,
11219         javax/swing/plaf/InputMapUIResource.java,
11220         javax/swing/plaf/InsetsUIResource.java,
11221         javax/swing/plaf/InternalFrameUI.java,
11222         javax/swing/plaf/LabelUI.java,
11223         javax/swing/plaf/ListUI.java,
11224         javax/swing/plaf/MenuBarUI.java,
11225         javax/swing/plaf/MenuItemUI.java,
11226         javax/swing/plaf/OptionPaneUI.java,
11227         javax/swing/plaf/PanelUI.java,
11228         javax/swing/plaf/PopupMenuUI.java,
11229         javax/swing/plaf/ProgressBarUI.java,
11230         javax/swing/plaf/RootPaneUI.java,
11231         javax/swing/plaf/ScrollBarUI.java,
11232         javax/swing/plaf/ScrollPaneUI.java,
11233         javax/swing/plaf/SeparatorUI.java,
11234         javax/swing/plaf/SliderUI.java,
11235         javax/swing/plaf/SplitPaneUI.java,
11236         javax/swing/plaf/TabbedPaneUI.java,
11237         javax/swing/plaf/TableHeaderUI.java,
11238         javax/swing/plaf/TableUI.java,
11239         javax/swing/plaf/TextUI.java,
11240         javax/swing/plaf/ToolBarUI.java,
11241         javax/swing/plaf/ToolTipUI.java,
11242         javax/swing/plaf/TreeUI.java,
11243         javax/swing/plaf/UIResource.java,
11244         javax/swing/plaf/ViewportUI.java,
11245         javax/swing/ProgressMonitorInputStream.java,
11246         javax/swing/ProgressMonitor.java,
11247         javax/swing/Renderer.java,
11248         javax/swing/RepaintManager.java,
11249         javax/swing/RootPaneContainer.java,
11250         javax/swing/Scrollable.java,
11251         javax/swing/ScrollPaneConstants.java,
11252         javax/swing/ScrollPaneLayout.java,
11253         javax/swing/SingleSelectionModel.java,
11254         javax/swing/SizeRequirements.java,
11255         javax/swing/SizeSequence.java,
11256         javax/swing/SwingConstants.java,
11257         javax/swing/SwingUtilities.java,
11258         javax/swing/table/AbstractTableModel.java,
11259         javax/swing/table/DefaultTableCellRenderer.java,
11260         javax/swing/table/DefaultTableColumnModel.java,
11261         javax/swing/table/DefaultTableModel.java,
11262         javax/swing/table/TableCellEditor.java,
11263         javax/swing/table/TableCellRenderer.java,
11264         javax/swing/table/TableColumn.java,
11265         javax/swing/table/TableColumnModel.java,
11266         javax/swing/table/TableModel.java,
11267         javax/swing/text/AbstractDocument.java,
11268         javax/swing/text/AttributeSet.java,
11269         javax/swing/text/BadLocationException.java,
11270         javax/swing/text/Caret.java,
11271         javax/swing/text/CharacterIterator.java,
11272         javax/swing/text/ComponentView.java,
11273         javax/swing/text/DefaultCaret.java,
11274         javax/swing/text/DefaultEditorKit.java,
11275         javax/swing/text/Document.java,
11276         javax/swing/text/EditorKit.java,
11277         javax/swing/text/Element.java,
11278         javax/swing/text/GapContent.java,
11279         javax/swing/text/JTextComponent.java,
11280         javax/swing/text/Keymap.java,
11281         javax/swing/text/MutableAttributeSet.java,
11282         javax/swing/text/PlainDocument.java,
11283         javax/swing/text/PlainEditorKit.java,
11284         javax/swing/text/Position.java,
11285         javax/swing/text/Segment.java,
11286         javax/swing/text/StyledDocument.java,
11287         javax/swing/text/StyledEditorKit.java,
11288         javax/swing/text/Style.java,
11289         javax/swing/text/TextAction.java,
11290         javax/swing/text/ViewFactory.java,
11291         javax/swing/text/View.java,
11292         javax/swing/Timer.java,
11293         javax/swing/ToggleButtonModel.java,
11294         javax/swing/ToolTipManager.java,
11295         javax/swing/tree/AbstractLayoutCache.java,
11296         javax/swing/tree/DefaultMutableTreeNode.java,
11297         javax/swing/tree/DefaultTreeCellEditor.java,
11298         javax/swing/tree/DefaultTreeCellRenderer.java,
11299         javax/swing/tree/DefaultTreeModel.java,
11300         javax/swing/tree/DefaultTreeSelectionModel.java,
11301         javax/swing/tree/ExpandVetoException.java,
11302         javax/swing/tree/FixedHeightLayoutCache.java,
11303         javax/swing/tree/MutableTreeNode.java,
11304         javax/swing/tree/RowMapper.java,
11305         javax/swing/tree/TreeCellEditor.java,
11306         javax/swing/tree/TreeCellRenderer.java,
11307         javax/swing/tree/TreeModel.java,
11308         javax/swing/tree/TreeNode.java,
11309         javax/swing/tree/TreePath.java,
11310         javax/swing/tree/TreeSelectionModel.java,
11311         javax/swing/tree/VariableHeightLayoutCache.java,
11312         javax/swing/UIDefaults.java,
11313         javax/swing/UIManager.java,
11314         javax/swing/undo/AbstractUndoableEdit.java,
11315         javax/swing/undo/CannotRedoException.java,
11316         javax/swing/undo/CannotUndoException.java,
11317         javax/swing/undo/CompoundEdit.java,
11318         javax/swing/undo/StateEditable.java,
11319         javax/swing/undo/StateEdit.java,
11320         javax/swing/undo/UndoableEdit.java,
11321         javax/swing/undo/UndoableEditSupport.java,
11322         javax/swing/undo/UndoManager.java,
11323         javax/swing/UnsupportedLookAndFeelException.java,
11324         javax/swing/ViewportLayout.java,
11325         javax/swing/WindowConstants.java: New files, from GNU Classpath.
11326
11327         * java/awt/ActiveEvent.java,
11328         java/awt/Adjustable.java, java/awt/AWTError.java,
11329         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
11330         java/awt/AWTException.java, java/awt/AWTPermission.java,
11331         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
11332         java/awt/Color.java, java/awt/Component.java,
11333         java/awt/ComponentOrientation.java, java/awt/Container.java,
11334         java/awt/datatransfer/MimeTypeParseException.java,
11335         java/awt/datatransfer/Transferable.java,
11336         java/awt/datatransfer/UnsupportedFlavorException.java,
11337         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
11338         java/awt/event/ActionListener.java,
11339         java/awt/event/AdjustmentEvent.java,
11340         java/awt/event/AdjustmentListener.java,
11341         java/awt/event/AWTEventListener.java,
11342         java/awt/event/ComponentAdapter.java,
11343         java/awt/event/ComponentEvent.java,
11344         java/awt/event/ComponentListener.java,
11345         java/awt/event/ContainerAdapter.java,
11346         java/awt/event/ContainerEvent.java,
11347         java/awt/event/ContainerListener.java,
11348         java/awt/event/FocusAdapter.java,
11349         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
11350         java/awt/event/HierarchyBoundsAdapter.java,
11351         java/awt/event/HierarchyBoundsListener.java,
11352         java/awt/event/HierarchyEvent.java,
11353         java/awt/event/HierarchyListener.java,
11354         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
11355         java/awt/event/InputMethodListener.java,
11356         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11357         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11358         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11359         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11360         java/awt/event/MouseListener.java,
11361         java/awt/event/MouseMotionAdapter.java,
11362         java/awt/event/MouseMotionListener.java,
11363         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11364         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11365         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11366         java/awt/event/WindowListener.java, java/awt/Font.java,
11367         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11368         java/awt/geom/Ellipse2D.java,
11369         java/awt/geom/IllegalPathStateException.java,
11370         java/awt/geom/Line2D.java,
11371         java/awt/geom/NoninvertibleTransformException.java,
11372         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11373         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11374         java/awt/geom/RoundRectangle2D.java,
11375         java/awt/GraphicsConfiguration.java,
11376         java/awt/IllegalComponentStateException.java,
11377         java/awt/image/IndexColorModel.java,
11378         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11379         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11380         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11381         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11382         java/awt/MenuItem.java, java/awt/PaintContext.java,
11383         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11384         java/awt/Polygon.java, java/awt/PrintGraphics.java,
11385         java/awt/PrintJob.java, java/awt/Rectangle.java,
11386         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11387         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11388         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11389
11390         * java/awt/im/spi/InputMethod.java,
11391         java/awt/im/spi/InputMethodContext.java,
11392         java/awt/im/spi/InputMethodDescriptor.java,
11393         java/awt/image/renderable/ContextualRenderedImageFactory.java,
11394         java/awt/image/renderable/ParameterBlock.java,
11395         java/awt/image/renderable/RenderContext.java,
11396         java/awt/image/renderable/RenderableImage.java,
11397         java/awt/image/renderable/RenderableImageOp.java,
11398         java/awt/image/renderable/RenderableImageProducer.java,
11399         java/awt/image/renderable/RenderedImageFactory.java: New files from
11400         classpath.
11401
11402         * gnu/java/awt/EventModifier.java,
11403         gnu/java/awt/image/ImageDecoder.java,
11404         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11405
11406         * gnu/awt/xlib/XGraphicsConfiguration.java,
11407         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11408         API.
11409
11410         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11411         GNU Classpath.
11412
11413         * Makefile.am: Add new files.
11414         * Makefile.in: Rebuilt.
11415
11416 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11417
11418         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11419         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11420         findResource, getResources, findResources): Add javadoc from classpath.
11421         (getSystemResources): Implemented.
11422
11423 2002-08-01  Mark Wielaard  <mark@klomp.org>
11424
11425         Revert patch that breaks libgcj shared library on powerpc:
11426         * gnu/java/security/provider/Gnu.java: Reverse referencing all
11427         implementation classes by using Class.getName(). Uses Strings again.
11428         * gnu/java/security/der/DEREncodingException.java,
11429         gnu/java/security/provider/DERReader.java,
11430         gnu/java/security/provider/DERWriter.java,
11431         gnu/java/security/provider/DSAKeyPairGenerator.java,
11432         gnu/java/security/provider/DSAParameterGenerator.java,
11433         gnu/java/security/provider/DSAParameters.java,
11434         gnu/java/security/provider/DSASignature.java,
11435         gnu/java/security/provider/GnuDSAPrivateKey.java,
11436         gnu/java/security/provider/GnuDSAPublicKey.java,
11437         gnu/java/security/provider/MD5.java,
11438         gnu/java/security/util/Prime.java: Removed.
11439         * Makefile.am (ordinary_java_source_files): Remove above files.
11440         * Makefile.in: Regenerate.
11441         * gnu/java/security/provider/DefaultPolicy.java
11442         (getPermissions): Revert to maintaining static class variable of
11443         Permissions.
11444         * gnu/java/security/provider/SHA.java
11445         (engineUpdate): Revert algorithm change.
11446         (engineDigest): Revert algorithm change.
11447
11448 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
11449
11450         * configure.host: Add SH support.
11451         * sysdep/sh/locks.h: New file.
11452
11453 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11454
11455         * java/awt/Frame.java (Frame): Remove println calls.
11456
11457 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
11458
11459         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
11460         * configure: Rebuilt.
11461
11462 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11463
11464         * sysdep/powerpc/locks.h: Formatting.
11465         (_LARX): Define.
11466         (_STCX): Define.
11467         (compare_and_swap): Use _LARX and _STCX.
11468         (compare_and_swap_release): Likewise.
11469
11470 2002-07-26  Tom Tromey  <tromey@redhat.com>
11471
11472         * java/net/Authenticator.java: New version from Classpath.
11473         * java/net/DatagramSocketImpl.java: New version from Classpath.
11474
11475 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11476
11477         * configure.host: Add powerpc64*-* entry.
11478
11479 2002-07-26  Tom Tromey  <tromey@redhat.com>
11480
11481         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
11482         fcntl.h.
11483
11484 2002-07-24  Tom Tromey  <tromey@redhat.com>
11485
11486         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
11487         argument to _load.
11488
11489 2002-07-24  Tom Tromey  <tromey@redhat.com>
11490             Tony Kimball <alk@pobox.com>
11491
11492         * java/io/natFileDescriptorWin32.cc (setLength): New method.
11493         * java/io/natFileDescriptorPosix.cc (setLength): New method.
11494         * java/io/RandomAccessFile.java (setLength): New method.
11495         * java/io/natFileDescriptorEcos.cc (setLength): New method.
11496         * java/io/FileDescriptor.java (setLength): New method.
11497
11498 2002-07-24  Mark Wielaard  <mark@klomp.org>
11499
11500         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
11501         * java/io/ObjectInputStream.java (setBooleanField): Before setting
11502         field call setAccessible(true).
11503         (setByteField): Likewise.
11504         (setCharField): Likewise.
11505         (setDoubleField): Likewise.
11506         (setFloatField): Likewise.
11507         (setIntField): Likewise.
11508         (setLongField): Likewise.
11509         (setShortField): Likewise.
11510         (setObjectField): Likewise.
11511
11512 2002-07-24  Tom Tromey  <tromey@redhat.com>
11513
11514         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
11515         use toString() to format array element.
11516
11517 2002-07-23  Mark Wielaard  <mark@klomp.org>
11518
11519         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11520         MessageDigestSpi (fixes Classpath bug #783).
11521
11522 2002-07-21  Mark Wielaard  <mark@klomp.org>
11523
11524         * gnu/java/security/provider/Gnu.java: Reference all implementation
11525         classes by using Class.getName().
11526
11527 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
11528
11529         * java/lang/ieeefp.h: Add x86-64 support.
11530         * configure.in: Likewise.
11531         * configure.host: Likewise.
11532         * configure: Regenerated.
11533         * sysdep/x86-64/locks.h: New file with x86-64 locks.
11534
11535 2002-07-16  Mark Wielaard  <mark@klomp.org>
11536
11537         * java/io/StreamTokenizer.java (pushBack): Update documentation.
11538         (whitespaceChars): call resetChar().
11539
11540 2002-07-15  Tom Tromey  <tromey@redhat.com>
11541
11542         * Makefile.in: Rebuilt.
11543         * Makefile.am (awt_java_source_files): Added new files.
11544         * java/beans/ExceptionListener.java: Merged with Classpath.
11545         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
11546         * java/beans/PropertyChangeListener.java: Merged with Classpath.
11547         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
11548         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
11549         * java/beans/VetoableChangeListener.java: Merged with Classpath.
11550         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
11551         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
11552
11553 2002-07-14  Mark Wielaard  <mark@klomp.org>
11554
11555         * gnu/java/security/der/DEREncodingException.java,
11556         gnu/java/security/provider/DERReader.java,
11557         gnu/java/security/provider/DERWriter.java,
11558         gnu/java/security/provider/DSAKeyPairGenerator.java,
11559         gnu/java/security/provider/DSAParameterGenerator.java,
11560         gnu/java/security/provider/DSAParameters.java,
11561         gnu/java/security/provider/DSASignature.java,
11562         gnu/java/security/provider/GnuDSAPrivateKey.java,
11563         gnu/java/security/provider/GnuDSAPublicKey.java,
11564         gnu/java/security/provider/MD5.java,
11565         gnu/java/security/util/Prime.java: New files from Classpath.
11566         * Makefile.am (ordinary_java_source_files): Add new files.
11567         * Makefile.in: Regenerate.
11568
11569 2002-07-14  C. Brian Jones <cbj@gnu.org>
11570
11571         * gnu/java/security/provider/DefaultPolicy.java
11572         (getPermissions): do not maintain static class variable of
11573         Permissions
11574         * gnu/java/security/provider/SHA.java
11575         (engineUpdate): algorithm change
11576         (engineDigest): algorithm change
11577
11578 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
11579
11580         For PR libgcj/7292:
11581         * java/lang/Character.java (toString(char)): Now static.
11582
11583 2002-07-12  Mark Wielaard  <mark@klomp.org>
11584
11585         * java/lang/natThrowable.cc (printRawStackTrace): removed.
11586         (getStackTrace0): new method.
11587         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
11588         (printStackTrace(PrintWriter)): replace with pure java implementation.
11589         (printRawStackTrace): removed.
11590         (getStackTrace0): new method.
11591         * java/lang/StackTraceElement.java (toString): add extra whitespace.
11592         * gcj/javaprims.h: regenerate class list.
11593         * include/name-finder.h (lookup): new returns StackTraceElement*.
11594         (method_name, file_name): fields removed.
11595         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
11596         (~_Jv_name_finder): close new descriptors.
11597         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
11598         (createStackTraceElement): new method.
11599         (lookup): returns StackTraceElement*, uses createStackTraceElement().
11600
11601 2002-07-10  Tom Tromey  <tromey@redhat.com>
11602
11603         * configure: Rebuilt.
11604         * configure.in: Use `test' after `&&'.  From Chris Faylor.
11605
11606 2002-07-08  Mark Wielaard  <mark@klomp.org>
11607
11608         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
11609         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
11610         java.sql.DatabaseMetaData.TestJdbc20
11611
11612 2002-07-05  Tony Kimball  <alk@pobox.com>
11613
11614         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
11615
11616 2002-07-04  Tom Tromey  <tromey@redhat.com>
11617             Jeff Sturm  <jsturm@one-point.com>
11618
11619         Fix for PR libgcj/7060:
11620         * java/lang/Class.h (_getMethod): Renamed from getMethod.
11621         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
11622         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
11623         * java/lang/Class.java (getMethod): New Java implementation;
11624         complies with spec.
11625         (_getMethod): New native method.
11626
11627 2002-07-02  Tom Tromey  <tromey@redhat.com>
11628             David Hovemeyer  <daveho@cs.umd.edu>
11629
11630         * java/text/ChoiceFormat.java
11631         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
11632         in check loop.
11633         * java/text/MessageFormat.java
11634         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
11635         to MessageFormat.
11636
11637 2002-07-01  Tom Tromey  <tromey@redhat.com>
11638
11639         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
11640         StringTokenizer on null string.  For PR libgcj/7180.
11641         From daveho@cs.umd.edu.
11642
11643 2002-06-24  Tom Tromey  <tromey@redhat.com>
11644
11645         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
11646         (IntegerClass): Likewise.
11647         * java/lang/natClass.cc (CloneableClass): Removed.
11648         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
11649         ConstructorClass): Likewise.
11650         * java/lang/natClassLoader.cc (CloneableClass): Removed.
11651         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
11652         SerializableClass): Likewise.
11653         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
11654         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
11655         LongClass, FloatClass, DoubleClass): Likewise.
11656
11657         * verify.cc (branch_prepass): Updated for change to exception
11658         handler type.
11659         (verify_instructions_0): Likewise.
11660         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
11661         (handleExceptionTableEntry): Updated for change to exception
11662         handler type.
11663         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
11664         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
11665         (union _Jv_InterpPC): New.
11666         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
11667         (class _Jv_InterpMethod): Added new `prepared' field.
11668         (class _Jv_InterpMethod): Added `compile' method.  Removed
11669         `continue1' and `find_exception'.  Changed arguments to `run'.
11670         * interpret.cc (union insn_slot): New.
11671         (find_exception): Removed.
11672         (run_normal): Removed most logic.
11673         (run_synch_object): Likewise; also, use JvSynchronize.
11674         (run_synch_class): Likewise.
11675         (run): Removed.
11676         (continue1): Renamed as `run'.  Compile bytecode if required.
11677         Add new code to allow refinement of direct-threaded code at
11678         runtime.  Handle exceptions.
11679         (SAVE_PC): Removed.
11680         (compile): New method.
11681         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
11682         (NULLARRAYCHECK): Don't use SAVE_PC.
11683         (pc_t): New typedef.
11684         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
11685         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
11686
11687 2002-06-23  Tom Tromey  <tromey@redhat.com>
11688
11689         * configure: Rebuilt.
11690         * configure.in (INTERPRETER): New subst.
11691         (AM_RUNTESTFLAGS): Don't subst.
11692
11693         * Makefile.in: Rebuilt.
11694         * Makefile.am ($(srcdir)/java/lang/Object.h,
11695         $(srcdir)/java/lang/Class.h): Added dummy targets.
11696
11697 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11698
11699         Reformat JDBC classes and add new JDK 1.4 classes and methods.
11700
11701         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
11702         java/sql/Savepoint.java: New files.
11703         * java/sql/Array.java, java/sql/BatchUpdateException.java,
11704         java/sql/Blob.java, java/sql/CallableStatement.java,
11705         java/sql/Clob.java, java/sql/Connection.java,
11706         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
11707         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
11708         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
11709         java/sql/Ref.java, java/sql/ResultSet.java,
11710         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
11711         java/sql/SQLException.java, java/sql/SQLInput.java,
11712         java/sql/SQLOutput.java, java/sql/SQLWarning.java
11713         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
11714         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
11715         (JDK 1.4) specification.
11716         * javax/sql/ConnectionEvent.java,
11717         javax/sql/ConnectionEventListener.java,
11718         javax/sql/ConnectionPoolDataSource.java,
11719         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
11720         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
11721         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
11722         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
11723         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
11724         javax/sql/XADataSource.java: New files.
11725         * Makefile.am: Add new files.
11726         * Makefile.in: Rebuilt.
11727
11728 2002-06-20  Tom Tromey  <tromey@redhat.com>
11729
11730         For PR libgcj/7073:
11731         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
11732         exists.
11733         * defineclass.cc (handleClassBegin): Superclass for interface is
11734         `null'.
11735
11736 2002-06-18  Tom Tromey  <tromey@redhat.com>
11737
11738         * gcj/javaprims.h: Updated class declaration list.
11739         * Makefile.in: Rebuilt.
11740         * Makefile.am (core_java_source_files): Removed
11741         BasicMapEntry.java.
11742         * java/util/BasicMapEntry.java: Removed.
11743
11744 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
11745
11746         * java/net/natPlainDatagramSocketImpl.cc (receive):
11747         Check bounds of argument to FD_SET.
11748         (setOption): Throw exception if socket is closed.
11749
11750         * java/net/natPlainSocketImpl.cc (accept, read):
11751         Check bounds of argument to FD_SET.
11752         (setOption): Throw exception if socket is closed.
11753
11754 2002-06-18  Tom Tromey  <tromey@redhat.com>
11755
11756         * gcj/javaprims.h: Updated class declaration list.
11757         * Makefile.in: Rebuilt.
11758         * Makefile.am (core_java_source_files): Added
11759         PropertyPermissionCollection.java.
11760         * java/lang/Thread.java (group, name): Now package-private.
11761         * java/lang/ThreadGroup.java: Re-merge with Classpath.
11762         * java/util/AbstractList.java: Likewise.
11763         * java/util/AbstractMap.java: Likewise.
11764         * java/util/Calendar.java: Likewise.
11765         * java/util/Collections.java: Likewise.
11766         * java/util/HashMap.java: Likewise.
11767         * java/util/Hashtable.java: Likewise.
11768         * java/util/LinkedHashMap.java: Likewise.
11769         * java/util/LinkedList.java: Likewise.
11770         * java/util/List.java: Likewise.
11771         * java/util/ListResourceBundle.java: Likewise.
11772         * java/util/Map.java: Likewise.
11773         * java/util/Observable.java: Likewise.
11774         * java/util/Properties.java: Likewise.
11775         * java/util/PropertyPermission.java: Likewise.
11776         * java/util/PropertyPermissionCollection.java: Likewise.
11777         * java/util/PropertyResourceBundle.java: Likewise.
11778         * java/util/Random.java: Likewise.
11779         * java/util/SimpleTimeZone.java: Likewise.
11780         * java/util/StringTokenizer.java: Likewise.
11781         * java/util/TimerTask.java: Likewise.
11782         * java/util/TreeMap.java: Likewise.
11783         * java/util/WeakHashMap.java: Likewise.
11784         * java/util/jar/Attributes.java: Likewise.
11785         * java/util/jar/JarException.java: Likewise.
11786         * java/util/jar/Manifest.java: Likewise.
11787
11788 2002-06-17  Tom Tromey  <tromey@redhat.com>
11789
11790         * gcj/javaprims.h: Updated class declaration list.
11791         * Makefile.in: Rebuilt.
11792         * Makefile.am (core_java_source_files): Added new file.
11793         * java/util/EventListenerProxy.java: New file.
11794         * java/util/EventListener.java: Re-merge with Classpath.
11795         * java/util/EventObject.java: Re-merge with Classpath.
11796
11797 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
11798
11799         * java/lang/ClassNotFoundException.java: New Classpath version.
11800
11801 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
11802
11803         * java/rmi/activation/ActivateFailedException.java: Remerge from
11804         Classpath version.
11805         * java/rmi/activation/ActivationException.java: Ditto.
11806         * java/rmi/activation/UnknownGroupException.java: Ditto.
11807         * java/rmi/activation/UnknownObjectException.java: Ditto.
11808         * java/rmi/server/ExportException: Ditto.
11809         * java/rmi/server/ServerCloneException: Ditto.
11810         * java/rmi/server/ServerNotActiveException: Ditto.
11811         * java/rmi/server/SkeletonMismatchException: Ditto.
11812         * java/rmi/server/SkeletonNotFoundException: Ditto.
11813         * java/rmi/server/SocketSecurityException: Ditto.
11814
11815 2002-06-16  Tom Tromey  <tromey@redhat.com>
11816
11817         * gcj/javaprims.h: Updated class declaration list.
11818
11819         * java/io/LineNumberInputStream.java: Merged with Classpath.
11820
11821         * java/lang/RuntimeException.java: Re-merge with Classpath.
11822         * java/util/ArrayList.java: Likewise.
11823         * java/util/Arrays.java: Likewise.
11824         * java/util/BitSet.java: Likewise.
11825         * java/util/Dictionary.java: Likewise.
11826         * java/util/IdentityHashMap.java: Likewise.
11827         * java/util/MissingResourceException.java: Likewise.
11828         * java/util/Observer.java: Likewise.
11829         * java/util/TooManyListenersException.java: Likewise.
11830         * java/util/zip/DataFormatException.java: Likewise.
11831         * java/util/zip/ZipException.java: Likewise.
11832
11833 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
11834
11835         * java/rmi/AccessException.java: Remerge from Classpath.
11836         * java/rmi/AlreadyBoundException.java: Ditto.
11837         * java/rmi/ConnectException.java: Ditto.
11838         * java/rmi/ConnectIOException.java: Ditto.
11839         * java/rmi/MarshalException.java: Ditto.
11840         * java/rmi/NoSuchObjectException.java: Ditto.
11841         * java/rmi/NotBoundException.java: Ditto.
11842         * java/rmi/RemoteException.java: Ditto.
11843         * java/rmi/RMISecurityException.java: Ditto.
11844         * java/rmi/ServerError.java: Ditto.
11845         * java/rmi/ServerException.java: Ditto.
11846         * java/rmi/ServerRuntimeException.java: Ditto.
11847         * java/rmi/StubNotFoundException.java: Ditto.
11848         * java/rmi/UnexpectedExcpetion.java: Ditto.
11849         * java/rmi/UnknownHostException.java: Ditto.
11850         * java/rmi/UnmarshalException.java: Ditto.
11851
11852 2002-06-15  Tom Tromey  <tromey@redhat.com>
11853
11854         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
11855         * java/lang/ArithmeticException.java: Likewise.
11856         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
11857         * java/lang/ArrayStoreException.java: Likewise.
11858         * java/lang/Byte.java: Likewise.
11859         * java/lang/CharSequence.java: Likewise.
11860         * java/lang/ClassCastException.java: Likewise.
11861         * java/lang/ClassCircularityError.java: Likewise.
11862         * java/lang/ClassFormatError.java: Likewise.
11863         * java/lang/CloneNotSupportedException.java: Likewise.
11864         * java/lang/Cloneable.java: Likewise.
11865         * java/lang/Comparable.java: Likewise.
11866         * java/lang/Compiler.java: Likewise.
11867         * java/lang/Error.java: Likewise.
11868         * java/lang/ExceptionInInitializerError.java: Likewise.
11869         * java/lang/IllegalAccessError.java: Likewise.
11870         * java/lang/IllegalAccessException.java: Likewise.
11871         * java/lang/IllegalArgumentException.java: Likewise.
11872         * java/lang/IllegalMonitorStateException.java: Likewise.
11873         * java/lang/IllegalStateException.java: Likewise.
11874         * java/lang/IllegalThreadStateException.java: Likewise.
11875         * java/lang/IncompatibleClassChangeError.java: Likewise.
11876         * java/lang/IndexOutOfBoundsException.java: Likewise.
11877         * java/lang/InheritableThreadLocal.java: Likewise.
11878         * java/lang/InstantiationError.java: Likewise.
11879         * java/lang/InstantiationException.java: Likewise.
11880         * java/lang/InternalError.java: Likewise.
11881         * java/lang/InterruptedException.java: Likewise.
11882         * java/lang/LinkageError.java: Likewise.
11883         * java/lang/NegativeArraySizeException.java: Likewise.
11884         * java/lang/NoClassDefFoundError.java: Likewise.
11885         * java/lang/NoSuchFieldError.java: Likewise.
11886         * java/lang/NoSuchFieldException.java: Likewise.
11887         * java/lang/NoSuchMethodError.java: Likewise.
11888         * java/lang/NoSuchMethodException.java: Likewise.
11889         * java/lang/NullPointerException.java: Likewise.
11890         * java/lang/NumberFormatException.java: Likewise.
11891         * java/lang/OutOfMemoryError.java: Likewise.
11892         * java/lang/Process.java: Likewise.
11893         * java/lang/Runnable.java: Likewise.
11894         * java/lang/RuntimePermission.java: Likewise.
11895         * java/lang/SecurityException.java: Likewise.
11896         * java/lang/Short.java: Likewise.
11897         * java/lang/StackOverflowError.java: Likewise.
11898         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
11899         * java/lang/ThreadDeath.java: Likewise.
11900         * java/lang/ThreadLocal.java: Likewise.
11901         * java/lang/UnknownError.java: Likewise.
11902         * java/lang/UnsatisfiedLinkError.java: Likewise.
11903         * java/lang/UnsupportedClassVersionError.java: Likewise.
11904         * java/lang/UnsupportedOperationException.java: Likewise.
11905         * java/lang/VerifyError.java: Likewise.
11906         * java/lang/VirtualMachineError.java: Likewise.
11907         * java/lang/reflect/InvocationTargetException.java: Likewise.
11908         * java/net/BindException.java: Likewise.
11909         * java/net/ConnectException.java: Likewise.
11910         * java/net/MalformedURLException.java: Likewise.
11911         * java/net/NoRouteToHostException.java: Likewise.
11912         * java/net/ProtocolException.java: Likewise.
11913         * java/net/SocketException.java: Likewise.
11914         * java/net/UnknownHostException.java: Likewise.
11915         * java/net/UnknownServiceException.java: Likewise.
11916
11917         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
11918         * java/io/CharConversionException.java: Likewise.
11919         * java/io/EOFException.java: Likewise.
11920         * java/io/FileNotFoundException.java: Likewise.
11921         * java/io/IOException.java: Likewise.
11922         * java/io/InterruptedIOException.java: Likewise.
11923         * java/io/InvalidClassException.java: Likewise.
11924         * java/io/InvalidObjectException.java: Likewise.
11925         * java/io/NotActiveException.java: Likewise.
11926         * java/io/NotSerializableException.java: Likewise.
11927         * java/io/ObjectStreamException.java: Likewise.
11928         * java/io/ObjectStreamConstants.java: Likewise.
11929         * java/io/OptionalDataException.java: Likewise.
11930         * java/io/PipedInputStream.java: Likewise.
11931         * java/io/PushbackInputStream.java: Likewise.
11932         * java/io/StreamCorruptedException.java: Likewise.
11933         * java/io/SyncFailedException.java: Likewise.
11934         * java/io/UTFDataFormatException.java: Likewise.
11935         * java/io/UnsupportedEncodingException.java: Likewise.
11936         * java/io/WriteAbortedException.java: Likewise.
11937
11938 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
11939
11940         * java/text/ChoiceFormat.java: Update comments from Classpath.
11941         * java/text/ParseException.java (serialVersionUID): New
11942         field from Classpath.
11943         * java/text/ParseException.java: Update formatting & comments
11944         from Classpath.
11945
11946 2002-06-15  Tom Tromey  <tromey@redhat.com>
11947
11948         * java/util/zip/InflaterInputStream.java (read): Loop if data has
11949         been read but none output by inflater.
11950         * java/util/zip/natDeflater.cc (reset): Set is_finished.
11951         * java/util/zip/natInflater.cc (reset): Set dist_needed and
11952         is_finished.
11953         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
11954         version.
11955         * java/util/zip/ZipFile.java: Replaced with Classpath version.
11956         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
11957         * java/util/zip/ZipInputStream.java: Replaced with Classpath
11958         version.
11959         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
11960
11961 2002-06-13  Tom Tromey  <tromey@redhat.com>
11962
11963         * java/lang/natString.cc (init): Handle case where DONT_COPY is
11964         true and OFFSET!=0.
11965         * java/lang/String.java (String(char[],int,int,boolean): New
11966         constructor.
11967         * java/lang/Long.java: Imported new version from Classpath.
11968         * java/lang/Number.java: Likewise.
11969         * java/lang/Integer.java: Likewise.
11970         * java/lang/Long.java: Likewise.
11971         * java/lang/Float.java: Likewise.
11972         * java/lang/Boolean.java: Likewise.
11973         * java/lang/Double.java: Likewise.
11974         * java/lang/Void.java: Likewise.
11975
11976 2002-06-12  Tom Tromey  <tromey@redhat.com>
11977
11978         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
11979         Fixes PR libgcj/6652.
11980
11981 2002-06-10  Tom Tromey  <tromey@redhat.com>
11982
11983         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
11984         (Class::getPackagePortion): Likewise.
11985         * java/lang/Class.java (desiredAssertionStatus): New method from
11986         Classpath.
11987         (getPackagePortion): Likewise.
11988         * java/lang/VMClassLoader.java (defaultAssertionStatus,
11989         packageAssertionStatus, classAssertionStatus): New methods from
11990         Classpath.
11991         * java/lang/ClassLoader.java (defaultAssertionStatus,
11992         systemPackageAssertionStatus, packageAssertionStatus,
11993         systemClassAssertionStatus, classAssertionStatus): New fields from
11994         Classpath.
11995         (setDefaultAssertionStatus, setPackageAssertionStatus,
11996         setClassAssertionStatus, clearAssertionStatus): New methods from
11997         Classpath.
11998         * Makefile.in: Rebuilt.
11999         * Makefile.am (core_java_source_files): Added AssertionError.java.
12000         * java/lang/AssertionError.java: New from Classpath.
12001
12002 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12003
12004         * configure.host: Disable hash synchronization and slow_pthread_self
12005         for cygwin.
12006
12007 2002-06-06  Adam Megacz <adam@xwt.org>
12008
12009         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
12010         locking, just like the Sun JVM does.
12011
12012 2002-06-05  H.J. Lu  (hjl@gnu.org)
12013
12014         * Makefile.am (libgcj_convenience.la): Revert the last change.
12015         (libgcj.la): Likewise.
12016         * Makefile.in: Regenerated.
12017
12018 2002-06-04  H.J. Lu  (hjl@gnu.org)
12019
12020         * Makefile.am (libgcj_convenience.la): New target.
12021         (libgcj.la): Depend on libgcj_convenience.la.
12022         * Makefile.in: Regenerated.
12023
12024 2002-06-04  H.J. Lu  (hjl@gnu.org)
12025
12026         * configure.in (--with-newlib): New option:
12027         Check ${with_newlib} instead of ${with_cross_host} for newlib.
12028         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
12029         Linux.
12030         * configure: Regenerated.
12031
12032 2002-06-04  Tom Tromey  <tromey@redhat.com>
12033
12034         * java/util/natTimeZone.cc: Include <stdio.h>.
12035
12036 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
12037
12038         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
12039         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
12040         Set SIGNAL_HANDLER=include/s390-linux.h.
12041         * configure: Regenerate.
12042         * include/s390-linux.h: New file.
12043
12044 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12045
12046         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
12047         not "stackTrace".
12048
12049 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12050
12051         Merge JDK 1.4 java.security changes from classpath.
12052
12053         * java/security/AccessControlException.java: Merge from Classpath.
12054         * java/security/AccessController.java: Likewise.
12055         * java/security/AllPermission.java: Likewise.
12056         * java/security/BasicPermission.java: Likewise.
12057         * java/security/Certificate.java: Likewise.
12058         * java/security/CodeSource.java: Likewise.
12059         * java/security/DigestException.java: Likewise.
12060         * java/security/DigestOutputStream.java: Likewise.
12061         * java/security/DomainCombiner.java: Likewise.
12062         * java/security/GeneralSecurityException.java: Likewise.
12063         * java/security/Guard.java: Likewise.
12064         * java/security/GuardedObject.java: Likewise.
12065         * java/security/InvalidAlgorithmParameterException.java: Likewise.
12066         * java/security/InvalidKeyException.java: Likewise.
12067         * java/security/InvalidParameterException.java: Likewise.
12068         * java/security/Key.java: Likewise.
12069         * java/security/KeyException.java: Likewise.
12070         * java/security/KeyManagementException.java: Likewise.
12071         * java/security/KeyStoreException.java: Likewise.
12072         * java/security/MessageDigest.java: Likewise.
12073         * java/security/NoSuchAlgorithmException.java: Likewise.
12074         * java/security/NoSuchProviderException.java: Likewise.
12075         * java/security/Permission.java: Likewise.
12076         * java/security/PermissionCollection.java: Likewise.
12077         * java/security/Permissions.java: Likewise.
12078         * java/security/Policy.java: Likewise.
12079         * java/security/Principal.java: Likewise.
12080         * java/security/PrivateKey.java: Likewise.
12081         * java/security/PrivilegedAction.java: Likewise.
12082         * java/security/PrivilegedActionException.java: Likewise.
12083         * java/security/PrivilegedExceptionAction.java: Likewise.
12084         * java/security/ProtectionDomain.java: Likewise.
12085         * java/security/ProviderException.java: Likewise.
12086         * java/security/PublicKey.java: Likewise.
12087         * java/security/SecureClassLoader.java: Likewise.
12088         * java/security/SecurityPermission.java: Likewise.
12089         * java/security/SignatureException.java: Likewise.
12090         * java/security/UnrecoverableKeyException.java: Likewise.
12091         * java/security/UnresolvedPermission.java: Likewise.
12092         * java/security/acl/AclNotFoundException.java: Likewise.
12093         * java/security/acl/LastOwnerException.java: Likewise.
12094         * java/security/acl/NotOwnerException.java: Likewise.
12095         * java/security/cert/CRLException.java: Likewise.
12096         * java/security/cert/CertificateEncodingException.java: Likewise.
12097         * java/security/cert/CertificateException.java: Likewise.
12098         * java/security/cert/CertificateExpiredException.java: Likewise.
12099         * java/security/cert/CertificateFactory.java: Likewise.
12100         * java/security/cert/CertificateNotYetValidException.java: Likewise.
12101         * java/security/cert/CertificateParsingException.java: Likewise.
12102         * java/security/spec/InvalidKeySpecException.java: Likewise.
12103         * java/security/spec/InvalidParameterSpecException.java: Likewise.
12104
12105         * java/security/cert/CertPath.java: New file.
12106         * java/security/cert/CertPathBuilderException.java: New file.
12107         * java/security/cert/CertPathValidatorException.java: New file.
12108         * java/security/cert/CertStoreException.java: New file.
12109
12110         * Makefile.am: Add new CertPath classes.
12111         * Makefile.in: Rebuilt.
12112
12113         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12114
12115 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12116
12117         Merge JDK 1.4 exception chaining support from classpath.
12118
12119         * java/lang/Throwable.java: Merge 1.4 support from classpath.
12120         (stackTraceBytes): Rename from stackTrace.
12121         * java/lang/Exception.java: Merge from classpath.
12122         * java/lang/StackTraceElement: New file from classpath.
12123         * gcj/javaprims.h: Rebuild CNI namespace declarations.
12124         * Makefile.am: Add StackTraceElement.
12125         * Makefile.in: Rebuilt.
12126
12127 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12128
12129         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12130         they build first.
12131         * Makefile.in: Rebuilt.
12132
12133 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12134
12135         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12136         * configure.in: Likewise.
12137         * aclocal.m4: Regenerate.
12138         * configure: Regenerate.
12139
12140 2002-05-13  Tom Tromey  <tromey@redhat.com>
12141
12142         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12143         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12144         Include platform.h.
12145
12146         Fixes PR libgcj/6389:
12147         * Makefile.in: Rebuilt.
12148         * Makefile.am (nat_source_files): Added natTimeZone.cc.
12149         * java/util/natTimeZone.cc: New file.
12150         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12151         * java/lang/System.java: Merged with Classpath.
12152         * java/lang/Runtime.java: Merged with Classpath.
12153         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12154         security check.
12155         (setIn0): Renamed from setIn; don't run security check.
12156         (setOut0): Renamed from setOut; don't run security check.
12157         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12158         init_properties): Moved to natRuntime.cc.
12159         Moved many includes to natRuntime.cc.
12160         (isWordsBigEndian): New method.
12161         * java/lang/natRuntime.cc: Include Long.h, also other includes
12162         previously in natSystem.cc.
12163         (maxMemory): New function.
12164         (exitInternal): Renamed from `_exit'.
12165         (exit): Removed.
12166         (init): Don't set finalize_on_exit.
12167         (exitInternal): Use `finalizeOnExit'.
12168         (file_encoding, getpwuid_adaptor): New functions from
12169         natSystem.cc.
12170         (insertSystemProperties): New method, renamed from
12171         System::init_properties.  Don't set user.timezone.
12172         (_load): Don't call checkLink.
12173         (execInternal): New method.
12174         (availableProcessors): Likewise.
12175         (nativeGetLibname): Likewise.
12176
12177 2002-05-11  Mark Wielaard  <mark@klomp.org>
12178
12179         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12180         space characters.
12181         (previous_internal): Likewise.
12182
12183 2002-05-09  Tom Tromey  <tromey@redhat.com>
12184
12185         * jni.cc (_Jv_JNIFunctions): Fixed typo.
12186
12187         * java/util/ResourceBundle.java: New version from Classpath.
12188         * java/util/Locale.java: Likewise.
12189
12190 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
12191
12192         * testsuite/lib/libjava.exp (libjava_arguments): Append all
12193         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
12194         LD_LIBRARY_PATH.
12195
12196 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
12197
12198         * libjava/Makefile.am (all_java_source_files): New variable.
12199         (all_java_class_files): Likewise.
12200         .java.class: New rule.
12201         (CLEANFILES): Remove tmp-list.
12202         * libjava/Makefile.in: Regenerated.
12203
12204 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
12205
12206         * testsuite/lib/libjava.exp (test_libjava_from_javac):
12207         Append .exe to executable names.  Fix for cygwin.
12208
12209 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
12210
12211         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
12212         script entry, and set LD to it when configuring multilibs.
12213         * configure: Rebuilt.
12214
12215 2002-05-07  Tom Tromey  <tromey@redhat.com>
12216
12217         * java/lang/natString.cc (unintern): Fixed typo.
12218
12219 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12220
12221         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
12222         with -no-install on *-*-cygwin*.
12223
12224 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12225
12226         * testsuite/lib/libjava.exp (test_libjava_from_source):
12227         Add comment explaining last patch
12228
12229 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
12230
12231         * testsuite/lib/libjava.exp (test_libjava_from_source):
12232         Append .exe to executable names.  If no suffix is present,
12233         then ".exe" is added by default on win32.  Harmless
12234         elsewhere so always do it.
12235
12236 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
12237             Tom Tromey  <tromey@redhat.com>
12238
12239         * java/lang/natSystem.cc (getSystemTimeZone): Use
12240         HAVE_UNDERSCORE_TIMEZONE.
12241         * include/config.h.in: Rebuilt.
12242         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
12243         * aclocal.m4, configure: Rebuilt.
12244         * acinclude.m4: Run AC_EXEEXT.
12245         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
12246         Add test for `_timezone'.
12247
12248 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
12249
12250         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12251         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
12252         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12253         * Makefile.in: Rebuilt.
12254
12255 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
12256
12257         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
12258         use sigaction instead of __libc_sigaction.
12259
12260 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12261
12262         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
12263         (libjava_init): Use it to find libgcj.spec.
12264         (libjava_arguments): Likewise.
12265
12266 2002-05-02  David S. Miller  <davem@redhat.com>
12267
12268         PR bootstrap/6525
12269         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
12270         __libc_sigaction on Sparc.
12271
12272 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
12273
12274         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
12275         sys/filio.h, if present.
12276
12277 2002-04-30  Tom Tromey  <tromey@redhat.com>
12278
12279         * java/io/BufferedReader.java (fill): Handle case where markPos
12280         point to ignored \n.  Fixes PR libgcj/6301.
12281
12282 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
12283
12284         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
12285
12286 2002-04-29  Adam King <aking@dreammechanics.com>
12287
12288         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
12289         of file in APPEND mode.
12290
12291 2002-04-25  David S. Miller  <davem@redhat.com>
12292
12293         PR target/6422
12294         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
12295         program counter to next program counter minus 8.  Update
12296         comments in this macro to explain why.
12297
12298 2002-04-26  Tom Tromey  <tromey@redhat.com>
12299
12300         * verify.cc (construct_primitive_array_type) [void_type]: New
12301         case.
12302         (branch_prepass): Added dummy entries for unused instruction
12303         values.
12304         (verify_instructions_0): Likewise.
12305         * interpret.cc (continue1): Comment fix.
12306         * include/java-insns.h (op_xxxunusedxxx1): Removed.
12307         * Makefile.in: Rebuilt.
12308         * Makefile.am: Added -Wswitch-enum.
12309
12310 2002-04-24  Tom Tromey  <tromey@redhat.com>
12311
12312         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
12313         correct length of UTF-8 encoded name.  Strip leading `/'.
12314         (_Jv_RegisterResource): Use _Jv_Malloc.
12315
12316 2002-04-23  Adam Megacz <adam@xwt.org>
12317
12318         * win32.cc, include/win32.cc (backtrace): Added this function
12319         because Win32 does not supply it.
12320
12321 2002-04-21  David S. Miller  <davem@redhat.com>
12322
12323         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
12324         magic instruction reading sequence.
12325
12326 2002-04-21  Mark Wielaard  <mark@klomp.org>
12327
12328         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
12329
12330 2002-04-19  David S. Miller  <davem@redhat.com>
12331
12332         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
12333         arg.
12334         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
12335         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
12336         on Sparc too.
12337         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
12338         for 64-bit sparc.
12339         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
12340         * sysdeps/sparc/locks.h: New file.
12341         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
12342         on all sparc Solaris configurations.  Set to
12343         include/dwarf2-signal.h on sparc Linux.
12344         * configure: Regenerate
12345         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
12346
12347 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
12348
12349         * configure: Rebuilt.
12350         * configure.in (backtrace): Function doesn't work on IA-64.
12351
12352 2002-04-17  Adam King <aking@dreammechanics.com>
12353
12354         * java/io/File.java (normalizePath): Add Win32 support for auto
12355         conversion of a '/' path separator to Win32's '\' separator.
12356
12357 2002-04-16  Tom Tromey  <tromey@redhat.com>
12358
12359         Fix for PR libgcj/6081:
12360         * Makefile.in: Rebuilt.
12361         * Makefile.am (install-data-local): Use GNU make trick to avoid
12362         shell limit.
12363
12364 2002-04-16  Adam King <aking@dreammechanics.com>
12365             Tom Tromey  <tromey@redhat.com>
12366
12367         * java/io/natFileWin32.cc (performList): Return the correct array
12368         type.  Don't duplicate the creation of a File since it's already
12369         done earlier in the method and the existing code would cause a
12370         ArrayStoreException.  Don't use fixed-size array.
12371         (_access, _stat, attr, getCanonicalPath, performMkdir,
12372         performRenameTo): Don't use fixed-size array.
12373         (getCanonicalPath): Use throw, not _Jv_Throw.
12374
12375 2002-04-15  DJ Delorie  <dj@redhat.com>
12376
12377         * configure.in: Allow building in $srcdir.
12378         * configure: Regenerated.
12379
12380 2002-04-14  Mark Wielaard <mark@klomp.org>
12381
12382         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12383         * java/net/natSocketImpl.cc (close): Likewise.
12384
12385 2002-04-14  Mark Wielaard <mark@klomp.org>
12386
12387         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12388
12389 2002-04-13  Adam King <aking@dreammechanics.com>
12390
12391         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12392         the f/F/d/D modifiers.
12393
12394 2002-04-12  Anthony Green  <green@redhat.com>
12395
12396         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12397         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12398         * Makefile.in: Rebuilt.
12399         * configure.in: Substitute gcc_version.
12400         * configure: Rebuilt.
12401
12402 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12403
12404         * configure.host: Set can_unwind_signal on hosts which support it.
12405         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12406         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12407         exceptions and can_unwind_signal isn't set.
12408         * configure: Rebuilt.
12409
12410 2002-04-11  Tom Tromey  <tromey@redhat.com>
12411
12412         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12413
12414 2002-04-11  Adam King <aking@dreammechanics.com>
12415             Tom Tromey  <tromey@redhat.com>
12416
12417         * include/jvm.h (_Jv_ThrowBadArrayIndex,
12418         _Jv_ThrowNullPointerException): Mark as noreturn.
12419         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12420         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
12421         fixes.
12422
12423 2002-04-10  Tom Tromey  <tromey@redhat.com>
12424
12425         * Makefile.in: Rebuilt.
12426         * Makefile.am (java/lang/Thread.h): Mark
12427         _Jv_AttachCurrentThreadAsDaemon as friend.
12428         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12429         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12430         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12431         function.
12432         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12433         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12434         (_Jv_JNI_InvokeFunctions): Added
12435         _Jv_JNI_AttachCurrentThreadAsDaemon.
12436         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12437         (JNI_GetDefaultJavaVMInitArgs): Likewise.
12438         (JNI_CreateJavaVM): Likewise.
12439         (_Jv_JNI_AttachCurrentThread): Likewise.
12440         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12441         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12442         (_Jv_JNIFunctions): Initialize new fields.
12443         (_Jv_JNI_NewDirectByteBuffer): New function.
12444         (_Jv_JNI_GetDirectBufferAddress): Likewise.
12445         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12446         * include/jni.h (JNI_VERSION_1_4): New macro.
12447         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12448         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12449         (JNINativeInterface::NewDirectByteBuffer): New field.
12450         (JNINativeInterface::GetDirectBufferAddress): New field.
12451         (JNINativeInterface::GetDirectBufferCapacity): New field.
12452         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12453         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
12454         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
12455
12456 2002-04-09  Tom Tromey  <tromey@redhat.com>
12457
12458         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
12459
12460 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
12461
12462         Fix for PR libgcj/6187:
12463         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
12464         distance.
12465
12466 2002-04-07  Mark Wielaard <mark@klomp.org>
12467
12468         * java/util/AbstractMap.java (putAll): Use entrySet size.
12469         (toString): Explicitly use getKey() and getValue().
12470
12471 2002-04-07  Mark Wielaard <mark@klomp.org>
12472
12473         * java/util/Hashtable.java (contains): Remove NullPointer check.
12474         (containsValue): Add NullPointer check.
12475         (remove): Always throw NullPointerException when key
12476         is null.
12477
12478 2002-04-07  Adam King <aking@dreammechanics.com>
12479
12480         * java/lang/natSystem.cc (init_properties): Call new function
12481         _Jv_platform_initProperties.
12482         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
12483         support for the System properties os.name, os.arch, os.version,
12484         user.name, user.home, and user.dir.
12485         * include/posix.h, include/win32.h, posix.cc: New function
12486         _Jv_platform_initProperties.
12487
12488 2002-04-06  Mark Wielaard <mark@klomp.org>
12489
12490         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
12491
12492 2002-04-06  Mark Wielaard <mark@klomp.org>
12493
12494         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
12495         all of the remaining elements.
12496         * java/util/Vector.java (addAll(int,Collection)): Likewise.
12497         (removeRange): If toIndex == fromIndex do
12498         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12499         (removeAll): Always throw NullPointerException when collection is
12500         null.
12501         (retrainAll): Likewise.
12502
12503 2002-04-05  Mark Wielaard <mark@klomp.org>
12504
12505         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
12506         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12507
12508 2002-04-05  Adam Megacz <adam@xwt.org>
12509
12510         * exception.cc (abort): added static modifier
12511
12512 2002-04-04  Adam Megacz <adam@xwt.org>
12513
12514         * include/win32.h (_Jv_platform_close_on_exec): added inline
12515         modifier.
12516
12517 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
12518
12519         * configure.host: Add case statement to support generic port
12520         properties.  Add *-*-freebsd* section.
12521
12522 2002-04-04  Mark Wielaard  <mark@klomp.org>
12523
12524         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
12525         test.
12526         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
12527         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
12528         that depend on awt code and BufferedByteOutputStream.interrupt.
12529
12530 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12531
12532         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
12533         incorrect "hi" value when count > 40.
12534
12535 2002-04-03  Mark Wielaard  <mark@klomp.org>
12536
12537         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
12538         ordering.
12539
12540 2002-04-02  Tom Tromey  <tromey@redhat.com>
12541
12542         * java/lang/natClassLoader.cc (findClass): Compare against `3',
12543         not `0'.
12544
12545 2002-04-02  Mark Wielaard  <mark@klomp.org>
12546
12547         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
12548         list of testsuite crashers.
12549
12550 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12551
12552         * java/util/IdentityHashMap.java (put): Set new threshold correctly
12553         when resizing table.
12554
12555 2002-04-01  Mark Wielaard  <mark@klomp.org>
12556
12557         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
12558         NegativeArraySizeException
12559         (clear(int)): Use sign extended shift.
12560         (flip(int)): Likewise.
12561         (get(int)): Likewise.
12562         (nextClearBit(int)): Likewise.
12563         (nextSetBit(int)): Likewise.
12564         (set(int)): Likewise.
12565
12566 2002-04-01  Mark Wielaard  <mark@klomp.org>
12567
12568         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
12569         that can be compiled now and add testsuite crashers to ignore list.
12570
12571 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
12572
12573         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
12574
12575         * libgcj.spec.in: Override libgcc, not lib.
12576         * libgcj-test.spec.in: Likewise.
12577
12578 2002-03-29  Tom Tromey  <tromey@redhat.com>
12579
12580         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
12581         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
12582
12583 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
12584
12585         * java/net/PlainDatagramSocketImpl.java
12586         (close): Use native implementation.
12587         (finalize): New method.
12588
12589         * java/net/PlainSocketImpl.java (finalize): New method.
12590
12591         * java/net/natPlainDatagramSocketImpl.cc
12592         (java/io/FileDescriptor.h): Don't include.
12593         (close): Implement method here.
12594         (create): Don't assign fd.
12595
12596         * java/net/natPlainSocketImpl.cc
12597         (java/io/FileDescriptor.h): Don't include.
12598         (create): Don't assign fd.
12599         (accept): Likewise.
12600         (close): Synchronize.
12601
12602 2002-03-27  Richard Henderson  <rth@redhat.com>
12603
12604         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
12605
12606 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12607
12608         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12609         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
12610         instead of syscall on IA-64.
12611         Add FIXME comment.
12612
12613 2002-03-27  Anthony Green  <green@redhat.com>
12614
12615         * libgcj.spec.in: Add CHECKREFSPEC.
12616         * configure.in: Ditto.
12617         * configure.host: Ditto.  Check references for xscale-elf.
12618         * configure: Rebuilt.
12619
12620 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
12621
12622         * include/dwarf2-signal.h: Temporarily back out last change.
12623
12624 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
12625
12626         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
12627
12628 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12629
12630         * configure.in, configure: enable dwarf2-exception-style
12631         exception handling on IA-64.
12632         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12633         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
12634         Add FIXME comment.
12635
12636 2002-03-25  Tom Tromey  <tromey@redhat.com>
12637
12638         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
12639         (jv_convert_LDFLAGS): Likewise.
12640         (gij_LDFLAGS): Likewise.
12641         (rmic_LDFLAGS): Likewise.
12642         (rmiregistry_LDFLAGS): Likewise.
12643         * configure.in (THREADLDFLAGS): New subst; set correctly for
12644         *BSD.
12645
12646 2002-03-25  Tom Tromey  <tromey@redhat.com>
12647
12648         For PR libgcj/5303:
12649         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
12650         and --version.
12651         (help): New method.
12652         (version): Likewise.
12653         * gnu/gcj/convert/Convert.java (version): Removed extraneous
12654         "GNU".
12655         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
12656         "GNU".
12657
12658 2002-03-25  Tom Tromey  <tromey@redhat.com>
12659
12660         * java/awt/Component.java (processEvent): Check ComponentEvent
12661         after KeyEvent.
12662
12663 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12664
12665         * java/io/PushbackReader.java: Reformat.
12666
12667         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
12668         calculate correct number of bytes skipped.
12669
12670         Based on patch from Intel's ORP team:
12671         * java/io/PushbackInputStream.java (available): Calculate correct
12672         number of bytes in buffer.
12673         (read): Remove redundant bound check. Return bytes from both the
12674         buffer and the stream.
12675
12676 2002-03-24  Tom Tromey  <tromey@redhat.com>
12677
12678         * java/awt/TextComponent.java (TextComponent): Editable by
12679         default.
12680
12681         * java/awt/MenuItem.java (eventMask): No longer private.
12682         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
12683         superclass if we didn't handle event.
12684         * java/awt/Checkbox.java (dispatchEventImpl): New method.
12685         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
12686         * java/awt/Choice.java (dispatchEventImpl): New method.
12687         * java/awt/List.java (dispatchEventImpl): New method.
12688         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
12689         * java/awt/TextComponent.java (dispatchEventImpl): New method.
12690         * java/awt/TextField.java (dispatchEventImpl): New method.
12691
12692 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
12693
12694         * java/beans/IntrospectionException.java: Update to 1.4.
12695         * java/beans/PropertyVetoException.java: Ditto.
12696
12697 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
12698
12699         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
12700         Arrays.equals instead of ArrayHelper.equalsArray.
12701
12702 2002-03-24  C. Brian Jones <cbj@gnu.org>
12703
12704         * java/beans/Introspector.java: added new static final fields
12705         introduced in 1.2, lots of other updates remain to be done
12706
12707 2002-03-24  C. Brian Jones <cbj@gnu.org>
12708
12709         * java/beans/Introspector.java: reformatting
12710
12711 2002-03-24  C. Brian Jones <cbj@gnu.org>
12712
12713         * java/beans/Introspector.java: default beanInfoSearchPath will
12714         not include sun.beans.infos given we provide no such package and
12715         the API doesn't really require it; gnu.java.beans.info is the
12716         default.
12717
12718 2002-03-24  Mark Wielaard  <mark@klomp.org>
12719
12720         Thanks to Orp developers
12721         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
12722         switch TRUE and FALSE return values.
12723
12724 2002-03-23  Tom Tromey  <tromey@redhat.com>
12725
12726         * include/name-finder.h (_Jv_name_finder::myclose): New method.
12727         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
12728
12729 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
12730
12731         * java/util/GregorianCalendar.java (minimums, maximums): Correct
12732         MONTH entry.  Fixes PR libgcj/6045.
12733
12734 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
12735
12736         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
12737
12738 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12739
12740         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
12741         not release_set.
12742         * sysdep/powerpc/locks.h (write_barrier): New function.
12743         * sysdep/i386/locks.h (write_barrier): New function.
12744
12745 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
12746
12747         * include/jni.h Use correct C comments.
12748
12749 2002-03-18  Tom Tromey  <tromey@redhat.com>
12750
12751         * include/jni.h (JNIIMPORT): New macro.
12752         (JNIEXPORT): Likewise.
12753         (JNICALL): Likewise.
12754
12755 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12756
12757         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
12758         systems.
12759
12760 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
12761
12762         * include/i386-signal.h (old_i386_kernel_sigaction): New.
12763         INIT_SEGV: Use old_i386_kernel_sigaction.
12764         INIT_FP: Likewise.
12765
12766 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12767
12768         * java/lang/natSystem.cc (init_properties): Update VM version
12769         properties.
12770         * configure.in: Set GCJVERSION.
12771         * acconfig.h: Add GCJVERSION.
12772         * configure: Rebuilt.
12773         * include/config.h.in: Rebuilt.
12774
12775 2002-03-17  Anthony Green  <green@redhat.com>
12776
12777         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
12778
12779 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12780
12781         Build a single libgcj.so, without separate gc and zlib libraries.
12782         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
12783         SYS_ZLIBS if system zlib is used.
12784         * configure: Rebuilt.
12785         * Makefile.am: Use boehm-gc and zlib convenience libraries.
12786         * Makefile.in: Rebuilt.
12787         * libtool-version: Increment .so version number.
12788
12789         * Makefile.am: Escape quotes in echo.
12790         * Makefile.in: Rebuilt.
12791
12792 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12793
12794         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
12795         * Makefile.in: Rebuilt.
12796
12797 2002-03-15  Anthony Green  <green@redhat.com>
12798
12799         * configure.host (FILE): New macro for specifing File
12800         implementation.
12801         * configure: Rebuilt.
12802         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
12803
12804 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
12805
12806         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
12807         already implicitly brought in from libgcj.la.
12808         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12809         * Makefile.in: Rebuilt.
12810
12811 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
12812
12813         * THANKS: Fix punctuation, alphabetization.
12814
12815 2002-03-15  Tom Tromey  <tromey@redhat.com>
12816             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12817
12818         Fix for PR libgcj/5944.
12819         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
12820
12821 2002-03-15  Anthony Green  <green@redhat.com>
12822
12823         * configure.in (tool_include_dir): Define.
12824         * configure: Rebuilt.
12825         * gcj/Makefile.am: Install libgcj-config.h relative to
12826         tool_include_dir.
12827         * gcj/Makefile: Rebuilt.
12828         * gcj/libgcj-config.h: Add warning comment.
12829
12830 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
12831
12832         * configure.host (powerpc*-darwin*): Enable interpreter.
12833
12834 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12835
12836         * include/posix.h: Add multiple include header protection.
12837         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
12838
12839 2002-03-10  Adam Megacz <adam@xwt.org>
12840
12841         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
12842
12843 2002-03-10  Tom Tromey  <tromey@redhat.com>
12844
12845         * java/awt/GridLayout.java (layoutContainer): Handle case where
12846         there are no items in container.
12847
12848         * java/lang/Win32Process.java: Added comment.
12849         * include/posix.h (_Jv_platform_close_on_exec): New function.
12850         Include fcntl.h.
12851         * include/win32.h (_Jv_platform_close_on_exec): New function.
12852         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
12853         flag.
12854         (accept): Likewise.
12855         * java/net/natPlainDatagramSocketImpl.cc (create): Set
12856         close-on-exec flag.
12857         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
12858         flag.
12859
12860 2002-03-09  Tom Tromey  <tromey@redhat.com>
12861
12862         * verify.cc (state::NO_STACK): New constant.
12863         (state::is_unmerged_ret_state): Handle case where stacktop is
12864         NO_STACK.
12865         (state::merge): Handle NO_STACK merges.
12866         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
12867         for instruction following jsr.
12868         (stacktop, stackdepth): Removed unused variables.
12869         (pop_jump): Ignore case where all remaining states are skipped.
12870
12871 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12872
12873         * java/awt/ImageMediaEntry: Removed.
12874         * java/awt/MediaEntry: Removed.
12875
12876 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12877
12878         Hashtable synchronization for PowerPC.
12879         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
12880         slow_pthread_self. Set up symlink for sysdeps directory.
12881         * configure: Rebuild.
12882         * configure.host: Document more shell variables. Set sysdeps_dir
12883         for most platforms. Set slow_pthread_self for i686. Set
12884         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
12885         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
12886         that memory barrier is emitted where required.
12887         * prims.cc: 64-bit align static primitive class instances.
12888         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
12889         read_barrier() to enforce ordering of reads.
12890         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
12891         primitives for PowerPC.
12892         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
12893         moved from natObject.cc.
12894         * sysdep/alpha/locks.h: Likewise.
12895         * sysdep/ia64/locks.h: Likewise.
12896         * sysdep/generic/locks.h: Likewise.
12897         * java/lang/natObject.cc: Move thread synchronization primitives to
12898         system-dependent headers.
12899
12900 2002-03-09  Adam Megacz  <adam@xwt.org>
12901
12902         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
12903         bytes read and no failure code returned.
12904
12905 2002-03-09  Adam Megacz  <adam@xwt.org>
12906
12907         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
12908         definitions to simulate -mthreads.
12909
12910 2002-03-09  Adam Megacz  <adam@xwt.org>
12911
12912         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
12913         avoid precision loss.
12914
12915 2002-03-09  Per Bothner  <per@bothner.com>
12916
12917         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
12918         * gnu/gcj/xlib/XImage.java:  Likewise.
12919         * gnu/gcj/xlib/XColor.java:  Likewise.
12920
12921 2002-03-09  Adam Megacz  <adam@xwt.org>
12922
12923         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
12924         IOException so that Throwable.printStackTrace fails correctly.
12925
12926 2002-03-08  Adam Megacz  <adam@xwt.org>
12927
12928         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
12929         fixed.
12930
12931 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12932
12933         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
12934         truncated to int.
12935
12936 2002-03-08  Tom Tromey  <tromey@redhat.com>
12937
12938         * include/jni.h: Include stdio.h.
12939
12940 2002-03-08  Tom Tromey  <tromey@redhat.com>
12941
12942         * posix.cc (internal_gettimeofday): New function.
12943         (_Jv_select): Use it.
12944
12945 2002-03-07  Adam Megacz  <adam@xwt.org>
12946
12947         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
12948         WIN32, and added thunks for read(), write(), and close().
12949         * java/net/natPlainSocketImpl.cc (accept, read, read):
12950         Disabled timeouts on WIN32 pending discussion.
12951
12952 2002-03-07  Adam Megacz  <adam@xwt.org>
12953
12954         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
12955         returns jlong. Added implementation
12956         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
12957         returns jlong.
12958         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
12959         returns jlong.
12960         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
12961         returns jlong.
12962         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
12963         _Jv_platform_gettimeofday signature.
12964
12965 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12966
12967         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
12968         (read): Call recv() directly, not _Jv_recv().
12969
12970 2002-03-06  Tom Tromey  <tromey@redhat.com>
12971
12972         * java/io/natFileDescriptorEcos.cc (init): Don't use
12973         GetStdHandle.
12974         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
12975         is negative.
12976         (init): Don't use GetStdHandle.
12977
12978         * include/config.h.in: Rebuilt.
12979         * configure: Rebuilt.
12980         * Makefile.in: Rebuilt.
12981
12982 2002-03-06  Adam Megacz  <adam@xwt.org>
12983
12984         * java/io/FileDescriptor.java: Initialize in/out/err in init().
12985         * java/io/natFileDescriptorWin32.cc (init()): Added function.
12986         * java/io/natFileDescriptorPosix.cc (init()): Added function.
12987         * java/io/natFileDescriptorEcos.cc (init()): Added function.
12988
12989 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
12990
12991         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
12992         the code for generating include/java-chartables.h.
12993         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
12994         merge with Classpath.
12995         * scripts/unicode-muncher.pl: Copy from Classpath.
12996         * scritps/MakeCharTables.java: New file.
12997         * gnu/gcj/convert/Blocks-3.txt: New file.
12998         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
12999         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
13000         * gnu/java/lang/CharData.java: Copy from Classpath.
13001         * Makefile.am (ordinary_java_source_files): Add
13002         gnu/java/lang/CharData.java.
13003         * configure.in: Remove --enable-fast-character option.
13004         * java/lang/Character.java: Merge algorithms and Javadoc with
13005         Classpath.
13006         * java/lang/natCharacter.cc: Implement Unicode lookup table more
13007         efficiently.
13008         * include/java-chardecomp.h: Regenerate.
13009         * include/java-chartables.h: Regenerate.
13010
13011 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13012
13013         * java/awt/MediaTracker.java: Implemented.
13014         * Makefile.am: Add MediaTracker.
13015         * Makefile.in: Rebuilt.
13016
13017 2002-03-05  Tom Tromey  <tromey@redhat.com>
13018
13019         * java/lang/natPosixProcess.cc (fail): Removed.
13020         (startProcess): Simplified error-handling.  Preserve
13021         LD_LIBRARY_PATH across exec.
13022
13023         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
13024         AbstractMethodError.
13025
13026 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13027
13028         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
13029         * Makefile.in: Rebuilt.
13030
13031 2002-03-03 Mark Wielaard <mark@klomp.org>
13032
13033         * java/util/Timer (TaskQueue.stop): set elements to zero.
13034
13035 2002-02-28  Anthony Green  <green@redhat.com>
13036
13037         * java/lang/reflect/natMethod.cc (result): Add void* element.
13038         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
13039         constructor test.
13040
13041 2002-02-27  Adam Megacz <adam@xwt.org>
13042
13043         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
13044         '#undef STRICT'.
13045
13046 2002-02-26  Tom Tromey  <tromey@redhat.com>
13047
13048         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
13049         * gij.cc (version): Use __VERSION__.
13050         * include/config.h.in: Rebuilt.
13051         * acconfig.h (GCJVERSION): Removed.
13052         * configure: Rebuilt.
13053         * configure.in (GCJVERSION): Removed.
13054
13055 2002-02-26  Andreas Schwab  <schwab@suse.de>
13056
13057         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
13058         glibcpp_CXX, since libjava uses even another CXX.
13059         * aclocal.m4, configure: Regenerated.
13060
13061 2002-02-26  Tom Tromey  <tromey@redhat.com>
13062
13063         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
13064         `1'.
13065
13066 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13067
13068         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
13069         dependency tracking for .java files.
13070         * Makefile.in: Rebuilt.
13071
13072 2002-02-24  Adam Megacz  <adam@xwt.org>
13073
13074         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
13075         typo. Sorry.
13076
13077 2002-02-24  Adam Megacz  <adam@xwt.org>
13078
13079         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
13080         for Win32, changed #ifdefs to check WIN32 instead of the
13081         (now-obsolete) USE_WINSOCK, and removed support for socket
13082         timeouts on Win32 pending further discussion.
13083
13084 2002-02-24  Adam Megacz  <adam@xwt.org>
13085
13086         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
13087         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
13088         delete
13089
13090 2002-02-24  Adam Megacz  <adam@xwt.org>
13091
13092         * java/lang/Win32Process.java: Created a dummy class to allow
13093         build process to run to completion.
13094
13095 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
13096
13097         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
13098         Define ffi_result union for ffi_call result.  Cast
13099         ffi_result members to jvalue.
13100
13101 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
13102
13103         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
13104         * testsuite/Makefile.in: Likewise.
13105
13106 2002-02-20  Per Bothner  <per@bothner.com>
13107
13108         * java/net/URL.java (getPath):  New JDK 1.3 method.
13109
13110         * java/net/URLStreamHandler.java (parseURL):
13111         It is wrong to prepend '/' to the file part of a relative url.
13112
13113         * java/net/URLStreamHandler.java (parseURL):
13114         Minor optizations - append '/' rather than "/".
13115
13116         * java/net/URLStreamHandler.java (parseURL):
13117         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13118         We probably should canonicalize for a context-relative url, though.
13119         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
13120         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
13121         (sameFile):  New method.  Uses canonicalizeFilename.
13122
13123 2002-02-22  Tom Tromey  <tromey@redhat.com>
13124
13125         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13126         java.vendor and java.vm.vendor.
13127         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13128         recent copyright date.
13129         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13130         * gij.cc (version): Print `Inc'.
13131
13132 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13133
13134         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13135         * aclocal.m4, configure: Rebuilt.
13136
13137 2002-02-20  Per Bothner  <per@bothner.com>
13138
13139         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
13140         and/or output streams immediately here, instead of using File.exists.
13141         (inputStream, outputStream):  New fields to save open streams.
13142         (getInputStream, getOutputStream):  Use already-opened streams.
13143
13144 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13145
13146         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13147         Use it.
13148         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13149         * aclocal.m4, configure, Makefile.in: Rebuilt.
13150
13151 2002-02-19  Tom Tromey  <tromey@redhat.com>
13152
13153         Fix for PR libgcj/5696:
13154         * verify.cc (is_assignable_from_slow): Never call
13155         _Jv_IsAssignableFrom.
13156         (verify_instructions_0): Added new debug statement.
13157         (state::print): Print information about whether local has
13158         changed.
13159         (state::merge): Don't call note_variable when merging locals.
13160         (state::set_exception): Removed old FIXME comment.
13161
13162 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13163
13164         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13165         enable SO_BROADCAST.
13166
13167 2002-02-18  Jason Merrill  <jason@redhat.com>
13168
13169         * name-finder.cc (toHex): Use word mode, not long long.
13170
13171         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13172
13173 2002-02-15  Tom Tromey  <tromey@redhat.com>
13174
13175         Fix for PR libgcj/5695:
13176         * verify.cc (is_assignable_from_slow): Check to see if target is
13177         an Object before checking to see if source is an interface.
13178         (verify_instructions_0) [op_invokeinterface]: Handle case where
13179         we're making an interface call on Object.
13180
13181 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13182
13183         * Makefile.in: Rebuilt with Eric's change below.
13184
13185         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13186         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13187         Removed functions which are now implemented in Math.java.
13188
13189 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13190
13191         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
13192         * Makefile.am (core_java_source_files): Add
13193         java/lang/StrictMath.java.
13194         * java/lang/Math.java: Merge with Classpath.
13195         * java/lang/StrictMath.java: New file - merge with Classpath.
13196
13197 2002-02-14  Mark Wielaard  <mark@klomp.org>
13198
13199         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
13200         package as a workaround for gcj 3.0.x
13201
13202 2002-02-14  Mark Wielaard <mark@klomp.org>
13203
13204         * java/security/BasicPermission.java: extends with fully qualified
13205         classname as workaround for gcj 3.0.4.
13206
13207 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13208
13209         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
13210         around gcj bug of wrong emitted qualifier for inherited method.
13211         * java/net/SocketImpl.java (setOption, getOption): Ditto.
13212         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
13213         constructor to reduce amount of emitted bytecode. While this
13214         happens to work around a jikes 1.15 bug, it is still a useful
13215         patch even for correct compilers.
13216         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
13217         * gnu/java/rmi/server/UnicastRemoteCall.java
13218         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
13219
13220 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13221
13222         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
13223         * java/net/SocketImpl.java: Ditto.
13224         * java/rmi/server/RMIClassLoader.java: Ditto.
13225         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
13226
13227 2002-02-14  Mark Wielaard <mark@klomp.org>
13228
13229         Thanks to Takashi Okamoto
13230         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
13231         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
13232         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
13233
13234 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13235
13236         Fix for PR libgcj/5670:
13237         * verify.cc (is_assignable_from_slow): If `source' is interface,
13238         recursively look for merge with `target'.
13239
13240 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
13241
13242         * include/jni.h: Fix typo.
13243
13244 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
13245
13246         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
13247         correctly.
13248
13249 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13250
13251         Fix for PR libgcj/5671:
13252         * verify.cc (state::merge): Handle case where we're merging
13253         against an interface.
13254
13255 2002-02-12  Tom Tromey  <tromey@redhat.com>
13256
13257         * exception.cc (std::abort): Mark as noreturn.
13258
13259 2002-02-12  Adam Megacz <adam@xwt.org>
13260
13261         * java/lang/Win32Process.java: Filled in a placeholder
13262         implementation so Win32 will build.
13263
13264 2002-02-12  Adam Megacz <adam@xwt.org>
13265
13266         * java/io/natFilePosix.cc: Copied this from natFile.cc.
13267         * java/io/natFile.cc: Removed from repository.
13268         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
13269
13270 2002-02-12  Adam Megacz <adam@xwt.org>
13271
13272         * win32.cc: Added two #includes to make win32.cc compile.
13273
13274 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13275
13276         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
13277         declarations.
13278         (_Jv_InitGC): Don't bother locking, as this is always called from a
13279         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
13280
13281 2002-02-11  Adam Megacz <adam@xwt.org>
13282
13283         * include/win32.h: Added _Jv_platform_gettimeofday.
13284         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
13285
13286 2002-02-11  Adam Megacz <adam@xwt.org>
13287
13288         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
13289         Added #undef STRICT to make windows.h and
13290         java/lang/reflect/Modifier.h cooperate.
13291
13292 2002-02-11  Adam Megacz <adam@xwt.org>
13293
13294         * java/io/natFileWin32.cc: Created a placeholder class with lots
13295         of FIXMEs.
13296
13297 2002-02-11  Adam Megacz <adam@xwt.org>
13298
13299         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
13300         std::abort() to simply abort(). Also added "fake" std::abort() so
13301         we can #include unwind-pe.h without having to link against
13302         libstdc++-v3.
13303
13304 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
13305
13306         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
13307
13308 2002-02-08  Tom Tromey  <tromey@redhat.com>
13309
13310         * interpret.cc (convert): New function.
13311         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
13312         convert.
13313         Include Long.h.
13314
13315 2002-02-08  Anthony Green  <green@redhat.com>
13316
13317         * configure.host: Add support for xscale-elf embedded target.
13318
13319 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
13320
13321         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
13322         dereferenced.
13323         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
13324         frame.
13325
13326 2002-02-07  Tom Tromey  <tromey@redhat.com>
13327
13328         * java/io/natFile.cc (_access): Use __builtin_alloca.
13329         (_stat): Likewise.
13330         (attr): Likewise.
13331         (getCanonicalPath): Likewise.
13332         (performList): Likewise.
13333         (performMkdir): Likewise.
13334         (performSetReadOnly): Likewise.
13335         (performRenameTo): Likewise.
13336         (performSetLastModified): Likewise.
13337         (performCreate): Likewise.
13338         (performDelete): Likewise.
13339
13340 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13341
13342         * HACKING: Fix URL for the automake-gcj.
13343
13344 2002-02-07  Tom Tromey  <tromey@redhat.com>
13345
13346         * java/lang/natThrowable.cc: Updated copyright.
13347         * java/io/natFileWin32.cc: Updated copyright.
13348         * java/io/natFileDescriptorWin32.cc: Updated copyright.
13349         * win32-threads.cc: Updated copyright.
13350         * name-finder.cc: Updated copyright.
13351         * include/name-finder.h: Updated copyright.
13352
13353         * include/name-finder.h: Conditionally include sys/wait.h.
13354         * include/config.h.in: Rebuilt.
13355
13356         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13357         Size buffer based on real size of string.
13358         (_stat): Likewise.
13359         (attr): Likewise.
13360         (getCanonicalPath): Likewise.
13361         (performList): Likewise.
13362         (performMkdir): Likewise.
13363         (performSetReadOnly): Likewise.
13364         (unixroot): Removed.
13365         (performRenameTo): Likewise.
13366         (performSetLastModified): Likewise.
13367         (performCreate): Likewise.
13368         (performDelete): Likewise.
13369         (performListRoots): Always return new array.
13370
13371         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13372         * win32.cc (win32_exception_handler): Now static.
13373         * include/win32.h (_Jv_platform_initialize): Declare.
13374         (win32_exception_handler): Don't declare.
13375         * java/lang/natSystem.cc (currentTimeMillis): Use
13376         _Jv_platform_gettimeofday.
13377         * posix.cc (_Jv_platform_gettimeofday): Renamed.
13378         (_Jv_select): Use new name.
13379         (_Jv_platform_initialize): New function.
13380         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13381         _Jv_gettimeofday.
13382         (_Jv_platform_initialize): Declare.
13383
13384         * configure: Rebuilt.
13385         * configure.in: Removed unnecessary parens.
13386
13387 2002-02-06  Adam Megacz <adam@xwt.org>
13388
13389        * configure.in: Changed mingw) to *mingw*).
13390        * win32.cc: Created this file.
13391        * win32.h: Created this file.
13392        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13393        win32_exception_handler from prims.cc to win32.cc, added
13394        header in win32.h.
13395        * prims.cc: removed some #ifdef-WIN32'd headers which are no
13396        longer needed now that we have platform.h
13397
13398 2002-02-06  Adam Megacz <adam@xwt.org>
13399
13400         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13401         use uint<n>_t instead of LONG and BYTE
13402
13403 2002-02-06  Adam Megacz <adam@xwt.org>
13404
13405         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13406
13407 2002-02-06  Anthony Green  <green@redhat.com>
13408
13409         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13410         Implement missing method stubs.
13411         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13412         targets.
13413         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13414         concept of timezones.
13415         (init_properties): Don't refer to _Jv_Environment_Properties
13416         when this feature is not available.
13417         * include/config.h.in: Rebuilt.
13418         * acconfig.h: Add DISABLE_MAIN_ARGS.
13419         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13420         * configure: Rebuilt.
13421         * configure.in: Add --disable-main-args option.  Test for
13422           opendir function.  Replace AC_CHECK_SIZEOF with
13423           AC_COMPILE_CHECK_SIZEOF.
13424         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13425         * aclocal.m4: Rebuilt.
13426         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13427
13428 2002-02-06  Tom Tromey  <tromey@redhat.com>
13429
13430         * verify.cc (require_array_type): If argument is a null array of
13431         references, return null as the element type.
13432
13433 2002-02-06  Mark Wielaard  <mark@klomp.org>
13434
13435         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13436         duplicate of a wide type.
13437
13438 2002-02-06  Tom Tromey  <tromey@redhat.com>
13439
13440         * verify.cc (type::isnull): New method.
13441         (require_array_type): Handle case where array is null.
13442         (verify_instructions_0) [op_arraylength]: Likewise.
13443
13444 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13445
13446         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13447         Symlink PLATFORMH to platform.h.
13448         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13449         PLATFORMOBJS.
13450         * java/lang/natSystem.cc: #include platform.h not posix.h.
13451         * Makefile.in: Rebuilt with libgcj automake.
13452         * configure: Rebuilt.
13453
13454 2002-02-05  Richard Henderson  <rth@redhat.com>
13455
13456         * Makefile.in: Undo munging last change.
13457
13458 2002-02-04  Adam Megacz <adam@xwt.org>
13459
13460         * win32.cc: Created it.
13461         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
13462         which is set to posix.cc or win32.cc.
13463         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
13464
13465 2002-02-04  Adam Megacz <adam@xwt.org>
13466
13467         * configure.in: Corrected mingw case branches; added * before
13468         and after.
13469
13470 2002-02-04  Adam Megacz <adam@xwt.org>
13471
13472         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
13473         if compiling for win32
13474
13475 2002-02-04  Adam Megacz <adam@xwt.org>
13476
13477         * win32-threads.cc: #undef STRICT after gc.h inclusion
13478
13479 2002-02-02  Tom Tromey  <tromey@redhat.com>
13480
13481         * Makefile.in: Rebuilt.
13482
13483 2002-02-02  Jason Merrill  <jason@redhat.com>
13484
13485         * Makefile.am (clean-nat): New target.
13486
13487 2002-02-02  Tom Tromey  <tromey@redhat.com>
13488
13489         * java/io/natFile.cc: Removed old "FIXME" comments.
13490
13491 2002-02-01  Tom Tromey  <tromey@redhat.com>
13492
13493         * java/lang/natPosixProcess.cc (myclose): New function.
13494         (fail): Use it.
13495         (startProcess): Likewise.
13496
13497 2002-02-01  Adam Megacz <adam@xwt.org>
13498
13499         * prims.cc: Added #undef STRICT after #include<windows.h>.
13500
13501 2002-02-01  Adam Megacz <adam@xwt.org>
13502
13503         * prims.cc
13504         (_Jv_CreateJavaVM): We now use WIN32 instead of
13505         USE_WIN32_SIGNALLING and USE_WINSOCK.
13506         (win32_exception_handler): Now throws an exception out of
13507         the signal handler; assumes SJLJ.
13508
13509 2002-02-01  Adam Megacz <adam@xwt.org>
13510
13511         * win32-threads.cc:
13512         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
13513         wait() algorithm to make it safe.
13514         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
13515         Added lazy creation of Win32 Events for better performance
13516         (really_start): This now uses GC_CreateThread so boehm-gc
13517         knows about new threads even when statically linked.
13518
13519 2002-02-01  Adam Megacz <adam@xwt.org>
13520
13521         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
13522         enable safer wait() algorithm.
13523         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
13524         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
13525         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
13526         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
13527         instead of mutex.
13528         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
13529
13530 2002-02-01  Adam Megacz <adam@xwt.org>
13531
13532         * configure.in: Added support for mingw.
13533         * java/lang/Win32Process.java: Created as empty file.
13534         * java/lang/natWin32Process.cc: Created as empty file.
13535
13536 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
13537
13538         PR java/4972
13539         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
13540         for libiconv in LIBICONV variable.
13541         * configure: Regenerated.
13542
13543 2002-01-31  Tom Tromey  <tromey@redhat.com>
13544
13545         * verify.cc (state::enter_subroutine): New method.
13546         (handle_jsr_insn): Use it.
13547         (state::merge): When processing a `ret', correctly use
13548         subroutine's state to determine which local variables have
13549         changed.
13550         (push_exception_jump): Don't let stack overflow.
13551
13552 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
13553
13554         * gnu/gcj/convert/Convert.java: Only include one copyright year in
13555         --version output.
13556
13557 2002-01-30  Tom Tromey  <tromey@redhat.com>
13558
13559         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
13560         parameter for `recv' return type.
13561
13562         * verify.cc (handle_ret_insn): Check for subroutine merge here...
13563         (state::merge): ... not here.
13564         (subr_entry_info): New structure.
13565         (entry_points): New field.
13566         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
13567         entry_points.
13568
13569 2002-01-29  Tom Tromey  <tromey@redhat.com>
13570
13571         * java/awt/List.java (addNotify): Correctly check to see if peer
13572         does not exist.
13573
13574         * java/awt/GridLayout.java (layoutContainer): Use number of rows
13575         to compute height of each cell, and number of columns to compute
13576         width of each cell.
13577         * java/awt/Window.java (getOwnedWindows): Don't return null.
13578         * java/awt/FlowLayout.java (layoutContainer): Set width and height
13579         of component.  Increment x using horizontal gap, not vertical
13580         gap.
13581
13582 2002-01-28  Tom Tromey  <tromey@redhat.com>
13583
13584         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
13585         `nargs' byte is number of words, not number of arguments.
13586
13587 2002-01-27  Tom Tromey  <tromey@redhat.com>
13588
13589         * java/awt/event/MouseEvent.java (modifiers): Removed field.
13590         (when): Likewise.
13591         * java/awt/event/InputEvent.java (modifiers, when): Now
13592         package-private.
13593
13594         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
13595         and to-do list.
13596         (state::merge): Use current class' class loader.
13597         (state::print): Print subroutine.
13598         (state::merge): Don't look at subroutine of unmerged `ret'.
13599
13600 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
13601
13602         * nogc.cc: Remove warnings.
13603         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
13604         New functions.
13605
13606 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13607
13608         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
13609         int, int):  Remove empty "if" statement to work around compiler bug.
13610         (newPixels(int[], ColorModel, int, int): Likewise.
13611
13612 2002-01-25  Per Bothner  <per@bothner.com>
13613
13614         * verify.cc (verify_fail):  Change from being a top-level function
13615         to e method of _Jv_BytecodeVerifier.  Emit current method name.
13616         Pass the current verifier to type: and state: methods as needed,
13617         for better error messages, and for resolve.
13618         (resolve):  Pass current class's loader for Class.forName and
13619         _Jv_FindClassFromSignature, rather than using the default loader.
13620         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
13621         (get_type_val_for_signature):  Make non-static.
13622         (various methods):  Pass start_PC implicitly, not explicitly.
13623
13624 2002-01-25  Tom Tromey  <tromey@redhat.com>
13625
13626         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
13627         loop termination condition.
13628         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
13629         width.
13630
13631 2002-01-24  Tom Tromey  <tromey@redhat.com>
13632
13633         * java/awt/Shape.java: Merged with Classpath.
13634         * java/awt/Scrollbar.java: Merged with Classpath.
13635
13636         * java/awt/Container.java (addNotify): Unconditionally call
13637         addNotifyContainerChildren and superclass addNotify.
13638
13639         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
13640         getAlpha, not getBlue.
13641
13642 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13643
13644         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
13645
13646         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
13647         (grabPixels(long)): Wait to be notified that the ImageProducer has
13648         completed.
13649
13650 2002-01-24  Per Bothner  <per@bothner.com>
13651
13652         * verify.cc (is_assignable_from_slow): If target is an interface,
13653         we must still check the source's superclass before giving up.
13654
13655 2002-01-24  Tom Tromey  <tromey@redhat.com>
13656
13657         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
13658
13659 2002-01-23  Tom Tromey  <tromey@redhat.com>
13660
13661         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
13662         `else'.
13663
13664         * Makefile.in: Rebuilt.
13665         * Makefile.am (awt_java_source_files): Added new files.
13666         * java/awt/Toolkit.java: Merged with Classpath.
13667         * java/awt/PrintGraphics.java: New file from Classpath.
13668         * java/awt/PrintJob.java: New file from Classpath.
13669         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
13670         * java/awt/datatransfer/ClipboardOwner.java: New file from
13671         Classpath.
13672         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
13673         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
13674         * java/awt/datatransfer/MimeTypeParseException.java: New file from
13675         Classpath.
13676         * java/awt/datatransfer/StringSelection.java: New file from
13677         Classpath.
13678         * java/awt/datatransfer/SystemFlavorMap.java: New file from
13679         Classpath.
13680         * java/awt/datatransfer/Transferable.java: New file from
13681         Classpath.
13682         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
13683         from Classpath.
13684
13685         * Makefile.in: Rebuilt.
13686         * Makefile.am (awt_java_source_files): Added new files.
13687         * java/awt/image/AreaAveragingScaleFilter.java: New file from
13688         Classpath.
13689         * java/awt/image/CropImageFilter.java: New file from Classpath.
13690         * java/awt/image/FilteredImageSource.java: New file from
13691         Classpath.
13692         * java/awt/image/ImageFilter.java: New file from Classpath.
13693         * java/awt/image/MemoryImageSource.java: New file from Classpath.
13694         * java/awt/image/PixelGrabber.java: New file from Classpath.
13695         * java/awt/image/RGBImageFilter.java: New file from Classpath.
13696         * java/awt/image/ReplicateScaleFilter.java: New file from
13697         Classpath.
13698         * java/awt/image/ImageProducer.java: Replaced with Classpath
13699         version.
13700         * java/awt/image/ImageObserver.java: Replaced with Classpath
13701         version.
13702         * java/awt/image/ImageConsumer.java: Replaced with Classpath
13703         version.
13704         * java/awt/GridBagConstraints.java (clone): Catch
13705         CloneNotSupportedException.
13706
13707 2002-01-23  Per Bothner  <per@bothner.com>
13708
13709         * java/lang/reflect/natField.cc (setAddr):  New function.
13710         Calls getAddr and then checks that the field isn't final.
13711         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
13712         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
13713         (set):  Call setAddr before check that new value has right type,
13714         to better match specified semantics.
13715
13716 2002-01-22  Tom Tromey  <tromey@redhat.com>
13717
13718         * java/awt/TextField.java: Replaced with Classpath version.
13719         * java/awt/TextArea.java: Replaced with Classpath version.
13720         * java/awt/TextComponent.java: Replaced with Classpath version.
13721
13722         * java/awt/GridBagConstraints.java: Updated copyright.
13723
13724 2002-01-22  Mark Wielaard <mark@klomp.org>
13725
13726         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
13727         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
13728         java/awt/Dialog.java java/awt/FileDialog.java
13729         java/awt/Font.java java/awt/FontMetrics.java
13730         java/awt/Image.java java/awt/ImageMediaEntry.java
13731         java/awt/Insets.java java/awt/List.java
13732         java/awt/MediaEntry.java java/awt/MediaTracker.java
13733         java/awt/Menu.java java/awt/MenuBar.java
13734         java/awt/MenuContainer.java java/awt/MenuShortcut.java
13735         java/awt/PaintContext.java java/awt/Panel.java
13736         java/awt/PopupMenu.java java/awt/SystemColor.java
13737         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
13738         java/awt/peer/CheckboxMenuItemPeer.java
13739         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
13740         java/awt/peer/ComponentPeer.java
13741         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
13742         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
13743         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
13744         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
13745         java/awt/peer/MenuBarPeer.java
13746         java/awt/peer/MenuComponentPeer.java
13747         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
13748         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
13749         java/awt/peer/ScrollPanePeer.java
13750         java/awt/peer/ScrollbarPeer.java
13751         java/awt/peer/TextAreaPeer.java
13752         java/awt/peer/TextComponentPeer.java
13753         java/awt/peer/TextFieldPeer.java
13754         java/awt/peer/WindowPeer.java: Add license clarification.
13755
13756 2002-01-22  Mark Wielaard <mark@klomp.org>
13757
13758         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
13759         gnu/gcj/runtime/StringBuffer.java
13760         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
13761         gnu/java/awt/ComponentDataBlitOp.java
13762         gnu/java/awt/GLightweightPeer.java
13763         gnu/java/beans/BeanInfoEmbryo.java
13764         gnu/java/beans/EmptyBeanInfo.java
13765         gnu/java/beans/ExplicitBeanInfo.java
13766         gnu/java/beans/IntrospectionIncubator.java
13767         gnu/java/beans/editors/ColorEditor.java
13768         gnu/java/beans/editors/FontEditor.java
13769         gnu/java/beans/editors/NativeBooleanEditor.java
13770         gnu/java/beans/editors/NativeByteEditor.java
13771         gnu/java/beans/editors/NativeDoubleEditor.java
13772         gnu/java/beans/editors/NativeFloatEditor.java
13773         gnu/java/beans/editors/NativeIntEditor.java
13774         gnu/java/beans/editors/NativeLongEditor.java
13775         gnu/java/beans/editors/NativeShortEditor.java
13776         gnu/java/beans/editors/StringEditor.java
13777         gnu/java/beans/info/ComponentBeanInfo.java
13778         gnu/java/io/ClassLoaderObjectInputStream.java
13779         gnu/java/io/NullOutputStream.java
13780         gnu/java/io/ObjectIdentityWrapper.java
13781         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
13782         gnu/java/lang/reflect/TypeSignature.java
13783         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
13784         gnu/java/locale/Calendar_en.java
13785         gnu/java/locale/Calendar_nl.java
13786         gnu/java/locale/LocaleInformation.java
13787         gnu/java/locale/LocaleInformation_de.java
13788         gnu/java/locale/LocaleInformation_en.java
13789         gnu/java/locale/LocaleInformation_nl.java
13790         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
13791         gnu/java/rmi/registry/RegistryImpl.java
13792         gnu/java/rmi/rmic/Compile_gcj.java
13793         gnu/java/rmi/rmic/Compiler.java
13794         gnu/java/rmi/rmic/CompilerProcess.java
13795         gnu/java/rmi/rmic/RMIC.java
13796         gnu/java/rmi/rmic/TabbedWriter.java
13797         gnu/java/rmi/server/ProtocolConstants.java
13798         gnu/java/rmi/server/RMIDefaultSocketFactory.java
13799         gnu/java/rmi/server/RMIHashes.java
13800         gnu/java/rmi/server/RMIObjectInputStream.java
13801         gnu/java/rmi/server/RMIObjectOutputStream.java
13802         gnu/java/rmi/server/UnicastConnection.java
13803         gnu/java/rmi/server/UnicastConnectionManager.java
13804         gnu/java/rmi/server/UnicastRef.java
13805         gnu/java/rmi/server/UnicastRemoteCall.java
13806         gnu/java/rmi/server/UnicastRemoteStub.java
13807         gnu/java/rmi/server/UnicastServer.java
13808         gnu/java/rmi/server/UnicastServerRef.java
13809         gnu/java/security/provider/DefaultPolicy.java
13810         gnu/java/security/provider/Gnu.java
13811         gnu/java/security/provider/SHA.java
13812         gnu/java/security/provider/SHA1PRNG.java
13813         gnu/java/text/BaseBreakIterator.java
13814         gnu/java/text/CharacterBreakIterator.java
13815         gnu/java/text/LineBreakIterator.java
13816         gnu/java/text/SentenceBreakIterator.java
13817         gnu/java/text/WordBreakIterator.java
13818         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
13819         java/applet/AppletContext.java java/applet/AppletStub.java
13820         java/applet/AudioClip.java java/awt/AWTError.java
13821         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
13822         java/awt/AWTException.java java/awt/AWTPermission.java
13823         java/awt/ActiveEvent.java java/awt/BorderLayout.java
13824         java/awt/Button.java java/awt/Canvas.java
13825         java/awt/CardLayout.java java/awt/Checkbox.java
13826         java/awt/CheckboxGroup.java java/awt/Component.java
13827         java/awt/ComponentOrientation.java java/awt/Container.java
13828         java/awt/Dimension.java java/awt/Event.java
13829         java/awt/EventDispatchThread.java java/awt/EventQueue.java
13830         java/awt/FlowLayout.java java/awt/Frame.java
13831         java/awt/Graphics.java java/awt/Graphics2D.java
13832         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
13833         java/awt/IllegalComponentStateException.java
13834         java/awt/ItemSelectable.java java/awt/Label.java
13835         java/awt/LayoutManager.java java/awt/LayoutManager2.java
13836         java/awt/MenuComponent.java java/awt/MenuItem.java
13837         java/awt/Paint.java java/awt/Point.java
13838         java/awt/Rectangle.java java/awt/RenderingHints.java
13839         java/awt/Transparency.java java/awt/Window.java
13840         java/awt/color/ColorSpace.java
13841         java/awt/color/ICC_ColorSpace.java
13842         java/awt/color/ICC_Profile.java
13843         java/awt/event/HierarchyBoundsAdapter.java
13844         java/awt/event/HierarchyBoundsListener.java
13845         java/awt/event/HierarchyEvent.java
13846         java/awt/event/HierarchyListener.java
13847         java/awt/geom/AffineTransform.java
13848         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
13849         java/awt/geom/IllegalPathStateException.java
13850         java/awt/geom/Line2D.java
13851         java/awt/geom/NoninvertibleTransformException.java
13852         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
13853         java/awt/geom/Rectangle2D.java
13854         java/awt/geom/RectangularShape.java
13855         java/awt/geom/RoundRectangle2D.java
13856         java/awt/image/BufferedImage.java
13857         java/awt/image/ColorModel.java
13858         java/awt/image/ComponentColorModel.java
13859         java/awt/image/ComponentSampleModel.java
13860         java/awt/image/DataBuffer.java
13861         java/awt/image/DataBufferByte.java
13862         java/awt/image/DataBufferInt.java
13863         java/awt/image/DataBufferUShort.java
13864         java/awt/image/DirectColorModel.java
13865         java/awt/image/PackedColorModel.java
13866         java/awt/image/Raster.java java/awt/image/RasterOp.java
13867         java/awt/image/SampleModel.java
13868         java/awt/image/SinglePixelPackedSampleModel.java
13869         java/awt/image/WritableRaster.java
13870         java/beans/AppletInitializer.java
13871         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
13872         java/beans/Beans.java java/beans/Customizer.java
13873         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
13874         java/beans/FeatureDescriptor.java
13875         java/beans/IndexedPropertyDescriptor.java
13876         java/beans/IntrospectionException.java
13877         java/beans/Introspector.java java/beans/MethodDescriptor.java
13878         java/beans/ParameterDescriptor.java
13879         java/beans/PropertyChangeEvent.java
13880         java/beans/PropertyChangeListener.java
13881         java/beans/PropertyChangeSupport.java
13882         java/beans/PropertyDescriptor.java
13883         java/beans/PropertyEditor.java
13884         java/beans/PropertyEditorManager.java
13885         java/beans/PropertyEditorSupport.java
13886         java/beans/PropertyVetoException.java
13887         java/beans/SimpleBeanInfo.java
13888         java/beans/VetoableChangeListener.java
13889         java/beans/VetoableChangeSupport.java
13890         java/beans/Visibility.java
13891         java/beans/beancontext/BeanContext.java
13892         java/beans/beancontext/BeanContextChild.java
13893         java/beans/beancontext/BeanContextChildComponentProxy.java
13894         java/beans/beancontext/BeanContextChildSupport.java
13895         java/beans/beancontext/BeanContextContainerProxy.java
13896         java/beans/beancontext/BeanContextEvent.java
13897         java/beans/beancontext/BeanContextMembershipEvent.java
13898         java/beans/beancontext/BeanContextMembershipListener.java
13899         java/beans/beancontext/BeanContextProxy.java
13900         java/beans/beancontext/BeanContextServiceAvailableEvent.java
13901         java/beans/beancontext/BeanContextServiceProvider.java
13902         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
13903         java/beans/beancontext/BeanContextServiceRevokedEvent.java
13904         java/beans/beancontext/BeanContextServiceRevokedListener.java
13905         java/beans/beancontext/BeanContextServices.java
13906         java/beans/beancontext/BeanContextServicesListener.java
13907         java/io/BufferedInputStream.java
13908         java/io/BufferedOutputStream.java java/io/BufferedReader.java
13909         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
13910         java/io/ByteArrayOutputStream.java
13911         java/io/CharArrayReader.java java/io/CharArrayWriter.java
13912         java/io/CharConversionException.java java/io/DataInput.java
13913         java/io/DataInputStream.java java/io/DataOutput.java
13914         java/io/EOFException.java java/io/Externalizable.java
13915         java/io/FileFilter.java java/io/FileNotFoundException.java
13916         java/io/FilePermission.java java/io/FileReader.java
13917         java/io/FileWriter.java java/io/FilenameFilter.java
13918         java/io/FilterInputStream.java java/io/FilterOutputStream.java
13919         java/io/FilterReader.java java/io/FilterWriter.java
13920         java/io/IOException.java java/io/InputStream.java
13921         java/io/InterruptedIOException.java
13922         java/io/InvalidClassException.java
13923         java/io/InvalidObjectException.java
13924         java/io/NotActiveException.java
13925         java/io/NotSerializableException.java java/io/ObjectInput.java
13926         java/io/ObjectInputStream.java
13927         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
13928         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
13929         java/io/ObjectStreamConstants.java
13930         java/io/ObjectStreamException.java
13931         java/io/ObjectStreamField.java
13932         java/io/OptionalDataException.java java/io/OutputStream.java
13933         java/io/PipedInputStream.java java/io/PipedOutputStream.java
13934         java/io/PipedReader.java java/io/PipedWriter.java
13935         java/io/PrintWriter.java java/io/PushbackInputStream.java
13936         java/io/PushbackReader.java java/io/Reader.java
13937         java/io/SequenceInputStream.java java/io/Serializable.java
13938         java/io/SerializablePermission.java
13939         java/io/StreamCorruptedException.java
13940         java/io/StreamTokenizer.java
13941         java/io/StringBufferInputStream.java java/io/StringReader.java
13942         java/io/StringWriter.java java/io/SyncFailedException.java
13943         java/io/UTFDataFormatException.java
13944         java/io/UnsupportedEncodingException.java
13945         java/io/WriteAbortedException.java java/io/Writer.java
13946         java/lang/AbstractMethodError.java
13947         java/lang/ArithmeticException.java
13948         java/lang/ArrayIndexOutOfBoundsException.java
13949         java/lang/ArrayStoreException.java java/lang/Boolean.java
13950         java/lang/Byte.java java/lang/CharSequence.java
13951         java/lang/ClassCastException.java
13952         java/lang/ClassCircularityError.java
13953         java/lang/ClassFormatError.java
13954         java/lang/ClassNotFoundException.java
13955         java/lang/CloneNotSupportedException.java
13956         java/lang/Cloneable.java java/lang/Comparable.java
13957         java/lang/Compiler.java java/lang/Double.java
13958         java/lang/Error.java java/lang/Exception.java
13959         java/lang/ExceptionInInitializerError.java
13960         java/lang/Float.java java/lang/IllegalAccessError.java
13961         java/lang/IllegalAccessException.java
13962         java/lang/IllegalArgumentException.java
13963         java/lang/IllegalMonitorStateException.java
13964         java/lang/IllegalStateException.java
13965         java/lang/IllegalThreadStateException.java
13966         java/lang/IncompatibleClassChangeError.java
13967         java/lang/IndexOutOfBoundsException.java
13968         java/lang/InheritableThreadLocal.java
13969         java/lang/InstantiationError.java
13970         java/lang/InstantiationException.java java/lang/Integer.java
13971         java/lang/InternalError.java
13972         java/lang/InterruptedException.java
13973         java/lang/LinkageError.java java/lang/Long.java
13974         java/lang/NegativeArraySizeException.java
13975         java/lang/NoClassDefFoundError.java
13976         java/lang/NoSuchFieldError.java
13977         java/lang/NoSuchFieldException.java
13978         java/lang/NoSuchMethodError.java
13979         java/lang/NoSuchMethodException.java
13980         java/lang/NullPointerException.java java/lang/Number.java
13981         java/lang/NumberFormatException.java
13982         java/lang/OutOfMemoryError.java java/lang/Package.java
13983         java/lang/Process.java java/lang/Runnable.java
13984         java/lang/RuntimeException.java
13985         java/lang/RuntimePermission.java
13986         java/lang/SecurityException.java
13987         java/lang/SecurityManager.java java/lang/Short.java
13988         java/lang/StackOverflowError.java java/lang/StringBuffer.java
13989         java/lang/StringIndexOutOfBoundsException.java
13990         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
13991         java/lang/ThreadLocal.java java/lang/UnknownError.java
13992         java/lang/UnsatisfiedLinkError.java
13993         java/lang/UnsupportedClassVersionError.java
13994         java/lang/UnsupportedOperationException.java
13995         java/lang/VerifyError.java java/lang/VirtualMachineError.java
13996         java/lang/Void.java java/lang/ref/PhantomReference.java
13997         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
13998         java/lang/ref/SoftReference.java
13999         java/lang/ref/WeakReference.java
14000         java/lang/reflect/AccessibleObject.java
14001         java/lang/reflect/InvocationTargetException.java
14002         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
14003         java/lang/reflect/ReflectPermission.java
14004         java/math/BigDecimal.java java/math/BigInteger.java
14005         java/net/Authenticator.java java/net/BindException.java
14006         java/net/ConnectException.java java/net/ContentHandler.java
14007         java/net/ContentHandlerFactory.java
14008         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
14009         java/net/FileNameMap.java java/net/MalformedURLException.java
14010         java/net/MulticastSocket.java java/net/NetPermission.java
14011         java/net/NoRouteToHostException.java
14012         java/net/PasswordAuthentication.java
14013         java/net/ProtocolException.java java/net/ServerSocket.java
14014         java/net/Socket.java java/net/SocketException.java
14015         java/net/SocketImpl.java java/net/SocketImplFactory.java
14016         java/net/SocketOptions.java java/net/SocketPermission.java
14017         java/net/URLDecoder.java java/net/URLEncoder.java
14018         java/net/URLStreamHandlerFactory.java
14019         java/net/UnknownHostException.java
14020         java/net/UnknownServiceException.java
14021         java/rmi/AccessException.java
14022         java/rmi/AlreadyBoundException.java
14023         java/rmi/ConnectException.java
14024         java/rmi/ConnectIOException.java
14025         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
14026         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
14027         java/rmi/NotBoundException.java
14028         java/rmi/RMISecurityException.java
14029         java/rmi/RMISecurityManager.java java/rmi/Remote.java
14030         java/rmi/RemoteException.java java/rmi/ServerError.java
14031         java/rmi/ServerException.java
14032         java/rmi/ServerRuntimeException.java
14033         java/rmi/StubNotFoundException.java
14034         java/rmi/UnexpectedException.java
14035         java/rmi/UnknownHostException.java
14036         java/rmi/UnmarshalException.java
14037         java/rmi/activation/Activatable.java
14038         java/rmi/activation/ActivateFailedException.java
14039         java/rmi/activation/ActivationDesc.java
14040         java/rmi/activation/ActivationException.java
14041         java/rmi/activation/ActivationGroup.java
14042         java/rmi/activation/ActivationGroupDesc.java
14043         java/rmi/activation/ActivationGroupID.java
14044         java/rmi/activation/ActivationID.java
14045         java/rmi/activation/ActivationInstantiator.java
14046         java/rmi/activation/ActivationMonitor.java
14047         java/rmi/activation/ActivationSystem.java
14048         java/rmi/activation/Activator.java
14049         java/rmi/activation/UnknownGroupException.java
14050         java/rmi/activation/UnknownObjectException.java
14051         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
14052         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
14053         java/rmi/registry/Registry.java
14054         java/rmi/registry/RegistryHandler.java
14055         java/rmi/server/ExportException.java
14056         java/rmi/server/LoaderHandler.java
14057         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
14058         java/rmi/server/Operation.java
14059         java/rmi/server/RMIClassLoader.java
14060         java/rmi/server/RMIClientSocketFactory.java
14061         java/rmi/server/RMIFailureHandler.java
14062         java/rmi/server/RMIServerSocketFactory.java
14063         java/rmi/server/RMISocketFactory.java
14064         java/rmi/server/RemoteCall.java
14065         java/rmi/server/RemoteObject.java
14066         java/rmi/server/RemoteRef.java
14067         java/rmi/server/RemoteServer.java
14068         java/rmi/server/RemoteStub.java
14069         java/rmi/server/ServerCloneException.java
14070         java/rmi/server/ServerNotActiveException.java
14071         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
14072         java/rmi/server/SkeletonMismatchException.java
14073         java/rmi/server/SkeletonNotFoundException.java
14074         java/rmi/server/SocketSecurityException.java
14075         java/rmi/server/UID.java
14076         java/rmi/server/UnicastRemoteObject.java
14077         java/rmi/server/Unreferenced.java
14078         java/security/AccessControlContext.java
14079         java/security/AccessControlException.java
14080         java/security/AccessController.java
14081         java/security/AlgorithmParameterGenerator.java
14082         java/security/AlgorithmParameterGeneratorSpi.java
14083         java/security/AlgorithmParameters.java
14084         java/security/AlgorithmParametersSpi.java
14085         java/security/AllPermission.java
14086         java/security/BasicPermission.java
14087         java/security/Certificate.java java/security/CodeSource.java
14088         java/security/DigestException.java
14089         java/security/DigestInputStream.java
14090         java/security/DigestOutputStream.java
14091         java/security/DomainCombiner.java
14092         java/security/DummyKeyPairGenerator.java
14093         java/security/DummyMessageDigest.java
14094         java/security/DummySignature.java
14095         java/security/GeneralSecurityException.java
14096         java/security/Guard.java java/security/GuardedObject.java
14097         java/security/Identity.java java/security/IdentityScope.java
14098         java/security/InvalidAlgorithmParameterException.java
14099         java/security/InvalidKeyException.java
14100         java/security/InvalidParameterException.java
14101         java/security/Key.java java/security/KeyException.java
14102         java/security/KeyFactory.java java/security/KeyFactorySpi.java
14103         java/security/KeyManagementException.java
14104         java/security/KeyPair.java java/security/KeyPairGenerator.java
14105         java/security/KeyPairGeneratorSpi.java
14106         java/security/KeyStore.java
14107         java/security/KeyStoreException.java
14108         java/security/KeyStoreSpi.java
14109         java/security/MessageDigest.java
14110         java/security/MessageDigestSpi.java
14111         java/security/NoSuchAlgorithmException.java
14112         java/security/NoSuchProviderException.java
14113         java/security/Permission.java
14114         java/security/PermissionCollection.java
14115         java/security/Permissions.java java/security/Policy.java
14116         java/security/Principal.java java/security/PrivateKey.java
14117         java/security/PrivilegedAction.java
14118         java/security/PrivilegedActionException.java
14119         java/security/PrivilegedExceptionAction.java
14120         java/security/ProtectionDomain.java
14121         java/security/Provider.java
14122         java/security/ProviderException.java
14123         java/security/PublicKey.java
14124         java/security/SecureClassLoader.java
14125         java/security/SecureRandom.java
14126         java/security/SecureRandomSpi.java java/security/Security.java
14127         java/security/SecurityPermission.java
14128         java/security/Signature.java
14129         java/security/SignatureException.java
14130         java/security/SignatureSpi.java
14131         java/security/SignedObject.java java/security/Signer.java
14132         java/security/UnrecoverableKeyException.java
14133         java/security/UnresolvedPermission.java
14134         java/security/acl/Acl.java java/security/acl/AclEntry.java
14135         java/security/acl/AclNotFoundException.java
14136         java/security/acl/Group.java
14137         java/security/acl/LastOwnerException.java
14138         java/security/acl/NotOwnerException.java
14139         java/security/acl/Owner.java java/security/acl/Permission.java
14140         java/security/cert/CRL.java
14141         java/security/cert/CRLException.java
14142         java/security/cert/Certificate.java
14143         java/security/cert/CertificateEncodingException.java
14144         java/security/cert/CertificateException.java
14145         java/security/cert/CertificateExpiredException.java
14146         java/security/cert/CertificateFactory.java
14147         java/security/cert/CertificateFactorySpi.java
14148         java/security/cert/CertificateNotYetValidException.java
14149         java/security/cert/CertificateParsingException.java
14150         java/security/cert/X509CRL.java
14151         java/security/cert/X509CRLEntry.java
14152         java/security/cert/X509Certificate.java
14153         java/security/cert/X509Extension.java
14154         java/security/interfaces/DSAKey.java
14155         java/security/interfaces/DSAKeyPairGenerator.java
14156         java/security/interfaces/DSAParams.java
14157         java/security/interfaces/DSAPrivateKey.java
14158         java/security/interfaces/DSAPublicKey.java
14159         java/security/interfaces/RSAKey.java
14160         java/security/interfaces/RSAPrivateCrtKey.java
14161         java/security/interfaces/RSAPrivateKey.java
14162         java/security/interfaces/RSAPublicKey.java
14163         java/security/spec/AlgorithmParameterSpec.java
14164         java/security/spec/DSAParameterSpec.java
14165         java/security/spec/DSAPrivateKeySpec.java
14166         java/security/spec/DSAPublicKeySpec.java
14167         java/security/spec/EncodedKeySpec.java
14168         java/security/spec/InvalidKeySpecException.java
14169         java/security/spec/InvalidParameterSpecException.java
14170         java/security/spec/KeySpec.java
14171         java/security/spec/PKCS8EncodedKeySpec.java
14172         java/security/spec/RSAKeyGenParameterSpec.java
14173         java/security/spec/RSAPrivateCrtKeySpec.java
14174         java/security/spec/RSAPrivateKeySpec.java
14175         java/security/spec/RSAPublicKeySpec.java
14176         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14177         java/sql/BatchUpdateException.java java/sql/Blob.java
14178         java/sql/CallableStatement.java java/sql/Clob.java
14179         java/sql/Connection.java java/sql/DataTruncation.java
14180         java/sql/DatabaseMetaData.java java/sql/Date.java
14181         java/sql/Driver.java java/sql/DriverManager.java
14182         java/sql/DriverPropertyInfo.java
14183         java/sql/PreparedStatement.java java/sql/Ref.java
14184         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14185         java/sql/SQLData.java java/sql/SQLException.java
14186         java/sql/SQLInput.java java/sql/SQLOutput.java
14187         java/sql/SQLWarning.java java/sql/Statement.java
14188         java/sql/Struct.java java/sql/Time.java
14189         java/sql/Timestamp.java java/sql/Types.java
14190         java/text/Annotation.java
14191         java/text/AttributedCharacterIterator.java
14192         java/text/AttributedString.java
14193         java/text/AttributedStringIterator.java
14194         java/text/BreakIterator.java java/text/CharacterIterator.java
14195         java/text/ChoiceFormat.java java/text/Collator.java
14196         java/text/DateFormat.java java/text/DateFormatSymbols.java
14197         java/text/DecimalFormat.java
14198         java/text/DecimalFormatSymbols.java
14199         java/text/FieldPosition.java java/text/Format.java
14200         java/text/MessageFormat.java java/text/NumberFormat.java
14201         java/text/ParseException.java java/text/ParsePosition.java
14202         java/text/SimpleDateFormat.java
14203         java/text/StringCharacterIterator.java
14204         java/util/AbstractCollection.java java/util/AbstractList.java
14205         java/util/AbstractMap.java
14206         java/util/AbstractSequentialList.java
14207         java/util/AbstractSet.java java/util/ArrayList.java
14208         java/util/Arrays.java java/util/BasicMapEntry.java
14209         java/util/BitSet.java java/util/Calendar.java
14210         java/util/Collection.java java/util/Collections.java
14211         java/util/Comparator.java
14212         java/util/ConcurrentModificationException.java
14213         java/util/Date.java java/util/Dictionary.java
14214         java/util/EmptyStackException.java java/util/Enumeration.java
14215         java/util/EventListener.java java/util/EventObject.java
14216         java/util/GregorianCalendar.java java/util/HashMap.java
14217         java/util/HashSet.java java/util/Hashtable.java
14218         java/util/IdentityHashMap.java java/util/Iterator.java
14219         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
14220         java/util/LinkedList.java java/util/List.java
14221         java/util/ListIterator.java java/util/ListResourceBundle.java
14222         java/util/Locale.java java/util/Map.java
14223         java/util/MissingResourceException.java
14224         java/util/NoSuchElementException.java
14225         java/util/Observable.java java/util/Observer.java
14226         java/util/Properties.java java/util/PropertyPermission.java
14227         java/util/PropertyResourceBundle.java java/util/Random.java
14228         java/util/RandomAccess.java java/util/ResourceBundle.java
14229         java/util/Set.java java/util/SimpleTimeZone.java
14230         java/util/SortedMap.java java/util/SortedSet.java
14231         java/util/Stack.java java/util/StringTokenizer.java
14232         java/util/TimeZone.java java/util/Timer.java
14233         java/util/TimerTask.java
14234         java/util/TooManyListenersException.java
14235         java/util/TreeMap.java java/util/TreeSet.java
14236         java/util/Vector.java java/util/WeakHashMap.java
14237         java/util/jar/Attributes.java java/util/jar/JarEntry.java
14238         java/util/jar/JarException.java java/util/jar/JarFile.java
14239         java/util/jar/JarInputStream.java
14240         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
14241         java/util/zip/Adler32.java java/util/zip/CRC32.java
14242         java/util/zip/CheckedInputStream.java
14243         java/util/zip/CheckedOutputStream.java
14244         java/util/zip/Checksum.java
14245         java/util/zip/DataFormatException.java
14246         java/util/zip/Deflater.java
14247         java/util/zip/DeflaterOutputStream.java
14248         java/util/zip/GZIPInputStream.java
14249         java/util/zip/GZIPOutputStream.java
14250         java/util/zip/Inflater.java
14251         java/util/zip/InflaterInputStream.java
14252         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
14253         java/util/zip/ZipException.java java/util/zip/ZipFile.java
14254         java/util/zip/ZipInputStream.java
14255         java/util/zip/ZipOutputStream.java
14256         javax/naming/BinaryRefAddr.java
14257         javax/naming/InvalidNameException.java javax/naming/Name.java
14258         javax/naming/NamingException.java javax/naming/RefAddr.java
14259         javax/naming/StringRefAddr.java: Add license clarification.
14260
14261 2002-01-22  Tom Tromey  <tromey@redhat.com>
14262
14263         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
14264         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
14265         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
14266         version.
14267         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
14268         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
14269         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
14270         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
14271         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
14272         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
14273         * java/awt/peer/FontPeer.java: Replace with Classpath version.
14274         * java/awt/peer/FramePeer.java: Replace with Classpath version.
14275         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
14276         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
14277         * java/awt/peer/ListPeer.java: Replace with Classpath version.
14278         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
14279         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
14280         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
14281         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
14282         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
14283         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
14284         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
14285         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
14286         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
14287         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
14288         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
14289         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
14290         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
14291         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
14292         (minimumSize, preferredSize, reshape): Likewise.
14293         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
14294         getColorModel): New methods.
14295         * java/awt/PopupMenu.java: Merged with Classpath.
14296         * java/awt/MenuBar.java: Merged with Classpath.
14297         * java/awt/SystemColor.java: Replace with Classpath version.
14298         * java/awt/Panel.java: Merged with Classpath.
14299         * java/awt/PaintContext.java: Updated copyright.
14300         * java/awt/MenuShortcut.java: Merged with Classpath.
14301         * java/awt/MenuContainer.java: Merged with Classpath.
14302         * java/awt/Menu.java: Merged with Classpath.
14303         * java/awt/MediaEntry.java: New file from Classpath.
14304         * java/awt/MediaTracker.java: New file from Classpath.
14305         * java/awt/List.java: Merged with Classpath version.
14306         * java/awt/Insets.java: Merged with Classpath version.
14307         * java/awt/ImageMediaEntry.java: New file from Classpath.
14308         * java/awt/Image.java: Replaced with Classpath version.
14309         * java/awt/FontMetrics.java: Merged with Classpath version.
14310         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
14311         constant.
14312         * java/awt/Font.java: Merged with Classpath version.
14313         * java/awt/Dialog.java: Merged with Classpath version.
14314         * java/awt/Color.java: Merged with Classpath version.
14315         * java/awt/Choice.java: Merged with Classpath version.
14316         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
14317         * java/awt/Adjustable.java: Replace with Classpath version.
14318         * java/awt/MenuItem.java (paramString): Don't include class name
14319         or brackets.  Call superclass paramString.
14320         * java/awt/MenuComponent.java (toString): Call paramString.
14321         (paramString): Compute string; don't call toString.
14322         * java/awt/Label.java (paramString): Don't include class name
14323         or brackets.  Call superclass paramString.
14324         * java/awt/Checkbox.java (paramString): Don't include class name
14325         or brackets.  Call superclass paramString.
14326         * java/awt/Button.java (paramString): Don't include class name or
14327         brackets.  Call superclass paramString.
14328         * java/awt/MenuComponent.java (getTreeLock): Now protected.
14329
14330 2002-01-20  Andreas Schwab  <schwab@suse.de>
14331
14332         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
14333         function and of parameter recv_func to ssize_t, as specified by
14334         POSIX.
14335
14336 2002-01-19  Per Bothner  <per@bothner.com>
14337
14338         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
14339         uncompressed_size in readiness for next entry.
14340
14341 2002-01-18  Tom Tromey  <tromey@redhat.com>
14342
14343         * java/net/natPlainSocketImpl.cc: Include
14344         IllegalArgumentException.h.
14345         (_Jv_recv): New template function.
14346         (BooleanClass): Removed.
14347         (read): Use _Jv_recv.
14348         (setOption): Use Boolean::class$.  Throw exception if object is
14349         not Boolean or Integer.
14350
14351 2002-01-17  Tom Tromey  <tromey@redhat.com>
14352
14353         * java/awt/MenuComponent.java: Merged with Classpath.
14354         * java/awt/MenuItem.java: Merged with Classpath.
14355         * java/awt/Button.java: Merged with Classpath.
14356
14357         * java/awt/ActiveEvent.java: Updated copyright.
14358
14359         * java/awt/AWTError.java: Replaced with Classpath version.
14360         * java/awt/AWTException.java: Replaced with Classpath version.
14361         * java/awt/IllegalComponentStateException.java: Replaced with
14362         Classpath version.
14363
14364 2002-01-16  Tom Tromey  <tromey@redhat.com>
14365
14366         * java/awt/Canvas.java (serialVersionUID): New constant.
14367         Updated copyright.  Added javadoc from Classpath.
14368         * java/awt/ItemSelectable.java: Replaced with Classpath version.
14369
14370         * java/awt/CheckboxGroup.java: Merged with Classpath.
14371         * java/awt/Checkbox.java: Merged with Classpath.
14372
14373         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
14374         Classpath.
14375         * java/awt/Point.java: Updated copyright.
14376
14377         * java/awt/Point.java (toString): Use getClass().getName().
14378         Added javadoc.
14379
14380         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14381         commented code.
14382         (hash): Correctly compute initial value for `h'.
14383
14384         * java/awt/Label.java: Merged with Classpath.
14385
14386 2002-01-15  Tom Tromey  <tromey@redhat.com>
14387
14388         * java/awt/AWTPermission.java: Updated copyright.
14389
14390         * java/awt/LayoutManager2.java: Merged with Classpath.
14391         * java/awt/LayoutManager.java: Merged with Classpath.
14392         * java/awt/GridLayout.java: Updated copyright and javadoc.
14393         (getSize): Use `parent.ncomponents'.  Handle insets.
14394         (layoutContainer): Use `parent.ncomponents'.  Handle case where
14395         there are fewer children than columns.  Correctly compute size of
14396         each cell in the grid.  Handle case where there isn't enough
14397         space.
14398         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
14399         all users.
14400         (gotoComponent): Use parent.ncomponents.  Ensure child exists
14401         before calling setVisible() on it.  Last item is `num - 1', not
14402         `num'.
14403         (layoutContainer): Hoist invariants out of loop.
14404
14405         Start of AWT merge with Classpath:
14406         * Makefile.in: Rebuilt.
14407         * Makefile.am (awt_java_source_files): Reference files in
14408         gnu/java/awt, not gnu/gcj/awt.
14409         * java/awt/image/BufferedImage.java: Updated copyright.
14410         * java/awt/image/ComponentColorModel.java: Updated copyright.
14411         * java/awt/image/ComponentSampleModel.java: Updated copyright.
14412         * java/awt/image/DataBuffer.java: Updated copyright.
14413         * java/awt/image/DataBufferByte.java: Updated copyright.
14414         * java/awt/image/DataBufferInt.java: Updated copyright.
14415         * java/awt/image/DataBufferUShort.java: Updated copyright.
14416         * java/awt/image/IndexColorModel.java: Updated copyright.
14417         * java/awt/image/PackedColorModel.java: Updated copyright.
14418         * java/awt/image/Raster.java: Updated copyright.
14419         * java/awt/image/RasterOp.java: Updated copyright.
14420         * java/awt/image/SampleModel.java: Updated copyright.
14421         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14422         * java/awt/image/WritableRaster.java: Updated copyright.
14423         * java/awt/color/ColorSpace.java: Updated copyright.
14424         * java/awt/color/ICC_ColorSpace.java: Updated copyright
14425         * java/awt/color/ICC_Profile.java: Updated copyright.
14426         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14427         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14428         * java/awt/event/HierarchyEvent.java: Updated copyright.
14429         * java/awt/event/HierarchyListener.java: Updated copyright.
14430         * java/awt/geom/AffineTransform.java: Updated copyright.
14431         * java/awt/geom/Dimension2D.java: Updated copyright.
14432         * java/awt/geom/Ellipse2D.java: Updated copyright.
14433         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14434         * java/awt/geom/Line2D.java: Updated copyright.
14435         * java/awt/geom/NoninvertibleTransformException.java: Updated
14436         copyright.
14437         * java/awt/geom/PathIterator.java: Updated copyright.
14438         * java/awt/geom/Point2D.java: Updated copyright.
14439         * java/awt/geom/Rectangle2D.java: Updated copyright.
14440         * java/awt/geom/RectangularShape.java: Updated copyright.
14441         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14442         * java/awt/Toolkit.java: Updated import for file moves.
14443         * java/awt/Rectangle.java: Updated copyright; added javadoc from
14444         Classpath.
14445         (hashCode): New method from Classpath.
14446         * java/awt/Graphics2D.java: Updated copyright.
14447         * java/awt/Transparency.java: Updated copyright.
14448         * java/awt/Paint.java: Updated copyright.
14449         * java/awt/Graphics.java: New version from Classpath.
14450         * java/awt/EventDispatchThread.java: Updated copyright.
14451         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14452         children.
14453         (gotoComponent): Wrap around on next/previous.
14454         * gnu/gcj/awt/BitMaskExtent.java: Removed.
14455         * gnu/gcj/awt/Buffers.java: Removed.
14456         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
14457         * gnu/gcj/awt/GLightweightPeer.java: Removed.
14458         * gnu/java/awt/BitMaskExtent.java: Added.
14459         * gnu/java/awt/Buffers.java: Added.
14460         * gnu/java/awt/ComponentDataBlitOp.java: Added.
14461         * gnu/java/awt/GLightweightPeer.java: Added.
14462         * java/awt/geom/Line2D.java (clone): Ignore
14463         CloneNotSupportedException.
14464         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
14465         * java/awt/Frame.java: Merged with Classpath.
14466         * java/awt/RenderingHints.java: Copyright update.
14467         * java/awt/Paint.java: Copyright update.
14468         * java/awt/image/DirectColorModel.java: Merged with Classpath.
14469         * java/awt/image/ColorModel.java: Merged with Classpath.
14470         * java/awt/Window.java (show): New Implementation from Classpath.
14471         (isShowing): Use super.isShowing().
14472         * java/awt/EventQueue.java: Merged with Classpath.
14473         * java/awt/AWTEventMulticaster.java (save): Throw
14474         RuntimeException.
14475         (saveInternal): Likewise.
14476         * java/awt/AWTEvent.java: Now implements Serializable.
14477         * java/awt/Event.java: Copyright update.
14478         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
14479         * java/awt/image/BufferedImage.java: Copyright update.
14480         * java/awt/GraphicsConfiguration.java: Copyright update.
14481         * java/awt/Component.java: (addNotify): Don't call
14482         addNotifyContainerChildren().
14483         (addNotifyContainerChildren): Removed.
14484         (setPeer): New method from Classpath.
14485         (setTreeLock): Likewise.
14486         (setVisible): Rewrote.
14487         (show): Use it.
14488         (hide): Likewise.
14489         (validate): Set `valid'.
14490         (checkImage(Image,ImageObserver)): Implementation from Classpath.
14491         (createImage(ImageProducer)): Likewise.
14492         (prepareImage): Likewise.
14493         * java/awt/Container.java (addImpl): Handle case where constraint
14494         is not a String.  Post event via system event queue.
14495         (remove): Post event via system event queue.
14496         (validateTree): Only validate child if it is invalid.
14497         (getAlignmentX): Call super method as default.
14498         (getAlignmentY): Likewise.
14499         (addContainerListener): Now synchronized.
14500         (removeContainerListener): Likewise.
14501         (addNotifyContainerChildren): Now private.
14502         * java/awt/ComponentOrientation.java: Updated copyright.  Added
14503         @author.
14504         * java/awt/FlowLayout.java (serialVersionUID): New field.
14505         (setAlignment): Better exception message.
14506         (layoutContainer): Don't compute component's preferred size unless
14507         we're going to use it.
14508         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
14509         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
14510         (firstLine, lastLine, firstItem, lastItem): New fields.
14511         (addLayoutComponent): Handle case where constraints is null.
14512         Also, handle relative locations.
14513         (removeLayoutComponent): Handle relative locations.
14514         (MIN, MAX, PREF): New constants.
14515         (calcCompSize): New method.
14516         (calcSize): New method.
14517         (minimumLayoutSize): Use it.
14518         (preferredLayoutSize): Likewise.
14519         (maximumLayoutSize): Likewise.
14520         (toString): Include more information.
14521         (setBounds): New method.
14522         (layoutContainer): Use libgcj implementation; extended to handle
14523         relative locations.
14524
14525 2002-01-15  Tom Tromey  <tromey@redhat.com>
14526
14527         * java/lang/Float.java (equals): Preserve old code.
14528         * java/lang/Double.java (equals): Preserve old code.
14529
14530 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
14531
14532         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
14533         * java/lang/Float.java (equals, compare): Ditto.
14534
14535 2002-01-13  Mark Wielaard  <mark@klomp.org>
14536
14537         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
14538         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
14539         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
14540         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
14541
14542 2002-01-11  Mark Wielaard  <mark@klomp.org>
14543
14544         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
14545         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
14546         InetAddress.
14547         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
14548         * java/net/Socket.java: Merge with Classpath.
14549         * java/net/ServerSocket.java: Likewise.
14550
14551 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
14552
14553         * interpret.cc (NULLARRAYCHECK): New macro.
14554         (SAVE_PC): Just store `pc'.
14555         (find_exception): Subtract one from `pc' here.
14556         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14557         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14558         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14559         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
14560         don't call SAVE_PC.
14561         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
14562         call SAVE_PC.
14563
14564 2002-01-11  Tom Tromey  <tromey@redhat.com>
14565
14566         * java/lang/natSystem.cc (init_properties): Only look for default
14567         locale if LC_MESSAGES is defined.
14568         * aclocal.m4, configure, include/config.h.in: Rebuilt.
14569         * configure.in: Call AM_LC_MESSAGES.
14570         * acinclude.m4 (AM_LC_MESSAGES): New macro.
14571
14572 2002-01-10  Tom Tromey  <tromey@redhat.com>
14573
14574         For PR libgcj/5303:
14575         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
14576         --version.  Recognize GNU-style long options.  Print GNU-style
14577         error messages.
14578         (usage): Print GNU-style help.  Exit with status 0.
14579         (error): New method.
14580         (run): Print error message if no class names found.
14581         (main): Don't print usage on error.
14582
14583 2002-01-09  Tom Tromey  <tromey@redhat.com>
14584
14585         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
14586         property.
14587         (help, version): Use println(), not println("").
14588
14589         For PR libgcj/5303:
14590         * gnu/gcj/convert/Convert.java (error): Program is called
14591         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
14592         -1.
14593         (main): Handle --help and --version.
14594         (help): New method.
14595         (version): Likewise.
14596
14597 2002-01-08  Tom Tromey  <tromey@redhat.com>
14598
14599         * Makefile.in: Rebuilt.
14600         * Makefile.am (ordinary_java_source_files): Added new files.
14601         * gnu/java/locale/LocaleInformation.java: Extend
14602         LocaleInformation_en.
14603         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
14604         and time/date formats.
14605         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
14606         generated.
14607         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
14608         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
14609         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
14610         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
14611         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
14612         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
14613         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
14614         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
14615         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
14616         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
14617         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
14618         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
14619         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
14620         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
14621         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
14622         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
14623         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
14624         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
14625         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
14626         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
14627         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
14628         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
14629         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
14630         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
14631         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
14632         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
14633         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
14634         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
14635         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
14636         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
14637         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
14638         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
14639         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
14640         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
14641         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
14642         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
14643         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
14644         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
14645         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
14646         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
14647         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
14648         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
14649         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
14650         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
14651         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
14652         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
14653         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
14654         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
14655         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
14656         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
14657         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
14658         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
14659         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
14660         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
14661         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
14662         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
14663         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
14664         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
14665         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
14666         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
14667         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
14668         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
14669         * gnu/java/locale/LocaleInformation_es_US.java: New file.
14670         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
14671         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
14672         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
14673         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
14674         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
14675         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
14676         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
14677         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
14678         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
14679         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
14680         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
14681         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
14682         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
14683         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
14684         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
14685         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
14686         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
14687         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
14688         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
14689         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
14690         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
14691         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
14692         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
14693         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
14694         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
14695         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
14696         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
14697         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
14698         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
14699         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
14700         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
14701         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
14702         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
14703         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
14704         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
14705         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
14706         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
14707         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
14708         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
14709         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
14710         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
14711         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
14712         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
14713         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
14714         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
14715         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
14716         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
14717         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
14718         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
14719         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
14720         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
14721         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
14722         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
14723         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
14724         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
14725         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
14726         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
14727         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
14728         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
14729         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
14730         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
14731         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
14732         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
14733         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
14734         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
14735         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
14736         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
14737
14738         For PR libgcj/5031:
14739         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
14740         choose default locale.
14741
14742         * Makefile.in: Rebuilt.
14743         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
14744
14745 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
14746
14747         * java/net/natPlainSocketImpl.cc: Added timeout handling for
14748         sockets.
14749         (close): New function closes the socket.
14750         (write): New functions for output to socket.
14751         (read): New functions for reading from socket.
14752         * java/net/PlainSocketImpl.java: Glue for new timeout
14753         implementation.
14754         (write): Call the native impl.
14755         (read): Likewise.
14756         (getInputStream): Get a stream to read from the socket.
14757         (getOutputStream): Get a stream to write to the socket.
14758
14759 2002-01-08  Tom Tromey  <tromey@redhat.com>
14760
14761         * resolve.cc (_Jv_PrepareClass): Enable verifier.
14762
14763 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
14764
14765         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
14766         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
14767
14768 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
14769
14770         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
14771         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14772         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14773         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14774         insn_bastore, insn_castore, insn_sastore]: Use it.
14775         (continue1) [insn_arraylength]: Check for null array.
14776
14777 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
14778
14779         * configure, include/config.h.in: Rebuilt.
14780         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
14781         * configure.in: Call AC_STRUCT_TIMEZONE.
14782
14783 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
14784
14785         * configure.host: Disable the interpreter for Darwin.
14786
14787 2002-01-04  Tom Tromey  <tromey@redhat.com>
14788
14789         * java/lang/Thread.java (stop): No longer synchronized.
14790         (start): Likewise.
14791
14792 2002-01-02  Tom Tromey  <tromey@redhat.com>
14793
14794         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
14795         patch.
14796
14797 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
14798
14799         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
14800         PPC Darwin, not for all of Darwin.