OSDN Git Service

2003-10-11 Ingo Proetel <proetel@aicas.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2
3         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
4         codebase and context classloader.
5
6 2003-10-11  Michael Koch  <konqueror@gmx.de>
7
8         * java/beans/beancontext/BeanContext.java,
9         java/beans/beancontext/BeanContextChild.java,
10         java/beans/beancontext/BeanContextChildComponentProxy.java,
11         java/beans/beancontext/BeanContextChildSupport.java,
12         java/beans/beancontext/BeanContextContainerProxy.java,
13         java/beans/beancontext/BeanContextMembershipListener.java,
14         java/beans/beancontext/BeanContextProxy.java,
15         java/beans/beancontext/BeanContextServiceProvider.java,
16         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
17         java/beans/beancontext/BeanContextServiceRevokedListener.java,
18         java/beans/beancontext/BeanContextServices.java,
19         java/beans/beancontext/BeanContextServicesListener.java:
20         Removed redundant modifiers.
21
22 2003-10-11  Michael Koch  <konqueror@gmx.de>
23
24         * java/beans/AppletInitializer.java,
25         java/beans/BeanInfo.java,
26         java/beans/Customizer.java,
27         java/beans/DesignMode.java,
28         java/beans/PropertyEditor.java,
29         java/beans/Visibility.java:
30         Removed redundant modifiers.
31
32 2003-10-11  Michael Koch  <konqueror@gmx.de>
33
34         * java/awt/print/Pageable.java,
35         * java/awt/print/Printable.java,
36         java/awt/print/PrinterGraphics.java:
37         Removed redundant modifiers.
38
39 2003-10-11  Michael Koch  <konqueror@gmx.de>
40
41         * java/awt/peer/ButtonPeer.java,
42         java/awt/peer/CheckboxMenuItemPeer.java,
43         java/awt/peer/CheckboxPeer.java,
44         java/awt/peer/ChoicePeer.java,
45         java/awt/peer/ComponentPeer.java,
46         java/awt/peer/ContainerPeer.java,
47         java/awt/peer/DialogPeer.java,
48         java/awt/peer/FileDialogPeer.java,
49         java/awt/peer/FramePeer.java,
50         java/awt/peer/LabelPeer.java,
51         java/awt/peer/ListPeer.java,
52         java/awt/peer/MenuBarPeer.java,
53         java/awt/peer/MenuComponentPeer.java,
54         java/awt/peer/MenuItemPeer.java,
55         java/awt/peer/MenuPeer.java,
56         java/awt/peer/PopupMenuPeer.java,
57         java/awt/peer/RobotPeer.java,
58         java/awt/peer/ScrollPanePeer.java,
59         java/awt/peer/ScrollbarPeer.java,
60         java/awt/peer/TextAreaPeer.java,
61         java/awt/peer/TextComponentPeer.java,
62         java/awt/peer/TextFieldPeer.java,
63         java/awt/peer/WindowPeer.java:
64         Removed redundant modifiers.
65
66 2003-10-11  Michael Koch  <konqueror@gmx.de>
67
68         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
69         * gnu/java/nio/ServerSocketChannelImpl.java
70         (serverSocket): Made it a NIOServerSocket.
71         (impl): Removed.
72         (ServerSocketChannelImpl): Initialize only serverSocket.
73         (initServerSocket): Removed.
74         (getNativeFD): Rewritten.
75         (implConfigureBlocking): Set socket timeout and removed comment.
76         (accept): Rewritten.
77         * gnu/java/nio/SocketChannelImpl.java
78         (impl): New variable.
79         (connected): Removed.
80         (SocketChannelImpl): Initialize impl too.
81         (getImpl): New method.
82         (isConnected): Rewritten.
83         (read): Rewritten, set position in buffer correctly.
84         (write): Set position in buffer correctly.
85         * java/net/ServerSocket.java (getImpl): New method.
86         * gnu/java/nio/NIOServerSocket.java,
87         gnu/java/nio/natNIOServerSocket.cc: New files.
88         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
89         * Makefile.am
90         (ordinary_java_source_files):
91         Added gnu/java/nio/NIOServerSocket.java.
92         (nat_source_files):
93         Removed gnu/java/nio/natServerSocketChannelImpl.cc
94         and added gnu/java/nio/natNIOServerSocket.cc.
95         * Makefile.in: Regenerated.
96
97 2003-10-11  Michael Koch  <konqueror@gmx.de>
98
99         * java/awt/ActiveEvent.java,
100         java/awt/datatransfer/ClipboardOwner.java,
101         java/awt/datatransfer/FlavorMap.java,
102         java/awt/datatransfer/Transferable.java,
103         java/awt/dnd/Autoscroll.java,
104         java/awt/dnd/peer/DragSourceContextPeer.java,
105         java/awt/dnd/peer/DropTargetContextPeer.java,
106         java/awt/dnd/peer/DropTargetPeer.java,
107         java/awt/font/MultipleMaster.java,
108         java/awt/font/OpenType.java,
109         java/awt/im/spi/InputMethodDescriptor.java,
110         java/awt/image/ImageObserver.java,
111         java/awt/image/ImageConsumer.java,
112         java/awt/image/ImageProducer.java,
113         java/awt/image/RGBImageFilter.java,
114         java/awt/image/RasterOp.java,
115         java/awt/image/renderable/RenderableImage.java:
116         Removed redundant modifiers.
117
118 2003-10-11  Michael Koch  <konqueror@gmx.de>
119
120         * gnu/awt/j2d/DirectRasterGraphics.java,
121         gnu/java/awt/EmbeddedWindowSupport.java:
122         Removed redundant modifiers.
123
124 2003-10-09  Michael Koch  <konqueror@gmx.de>
125
126         * gnu/java/nio/SelectorImpl.java (register):
127         Use ServerSocketChannelSelectionKey for server socket channels,
128         removed unneeded comments.
129         * gnu/java/nio/ServerSocketChannelImpl.java
130         (ServerSocketChannelImpl): Made class public final.
131         (impl): New member variable.
132         (ServerSocketChannelImpl): Initialize member variables correctly.
133         (initServerSocket): New method.
134         (getNativeFD): Likewise.
135         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
136         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
137         * Makefile.am (ordinary_java_source_files):
138         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
139         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
140         * Makefile.in: Regenrated.
141
142 2003-10-09  Michael Koch  <konqueror@gmx.de>
143
144         * java/nio/channels/spi/AbstractSelectableChannel.java
145         (registered): Made private.
146         (blocking): Likewise.
147         (LOCK): Likewise.
148         (provider): Likewise.
149         (keys): Made it a private LinkedList.
150         (AbstractSelectableChannel): Initialize keys.
151         (isRegistered): New implementation.
152         (locate): Rewritten.
153         (register): Rewritten.
154         * java/nio/channels/spi/AbstractSelectionKey.java
155         (ok): Removed.
156         (cancelled): New member variable.
157         (cancel): Rewritten.
158         (isValid): Rewritten.
159         * java/nio/channels/spi/AbstractSelector.java:
160         Some methods moved.
161         (closed): Make private.
162         (provider): Likewise.
163         (cancelledKeys): New member variable.
164         (AbstractSelector): Initialize cancelledKeys.
165         (cancelKey): New method.
166
167 2003-10-09  Tom Tromey  <tromey@redhat.com>
168
169         * java/lang/ClassLoader.java (setSigners): Implemented.
170         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
171         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
172         Initialize new fields.
173         * java/lang/Class.java (getSigners): Now native.
174         (setSigners): Declare.
175         * java/lang/natClass.cc (getSigners): New method.
176         (getSigners): Likewise.
177         * java/lang/Class.h (Class::signers): New field.
178         (Class::setSigners): New method.
179
180 2003-10-09  Michael Koch  <konqueror@gmx.de>
181
182         * java/rmi/server/RMIClassLoader.java:
183         Removed unused imports, little reformatings.
184         (getClassLoader): New method, implementation was part of old loadCLass
185         method.
186         (loadClass): Simplified by moving functionality to new method and
187         reworking the code a bit.
188         (getClassAnnotation): Merged documentation from classpath.
189
190 2003-10-09  Michael Koch  <konqueror@gmx.de>
191
192         * java/math/BigInteger.java
193         (add): Removed unused local variable len.
194
195 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
196
197         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
198         modality check.
199         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
200         Initialize insets to use latest insets.
201         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
202         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
203         field.
204         (postConfigureEvent): Update latestInsets field when insets
205         change.  Remove call to setSize.  Move validate call outside of
206         if blocks.
207         (setVisible): Call setBounds before showing window.
208         (nativeSetVisible): New native method.
209         * java/awt/Window.java (show): Show visible owned windows.
210         (hide): Hide visible owned windows.
211         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
212         (awt_event_handler): Implement modality using GTK grabs.
213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
214         (global_gtk_window_group): New global variable.
215         (gtkInit): Initialize global_gtk_window_group.
216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
217         Clamp width and height values to at least 1.  Add this window to
218         the global GTK window group.
219         (setVisible): Rename to nativeSetVisible.
220         (setup_window): Remove function.
221         (setSize): Clamp width and height values to at least 1.
222         (nativeSetBounds): Likewise.
223         (gdk_window_get_root_geometry): Remove function.
224         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
225         and setup_window declarations.  Declare global_gtk_window_group.
226
227         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
228         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
229         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
230         (gtkWidgetSetForeground): New method.
231         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
232         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
233         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
234         (setBackground, setForeground): Implement.
235         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
236         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
237         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
238         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
239         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
241         Position PangoLayout relative to text's baseline.
242         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
243
244         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
245         for CENTER and RIGHT alignments.
246
247 2003-10-08  Michael Koch  <konqueror@gmx.de>
248
249         * java/security/Security.java: Reformated.
250
251 2003-10-08  Michael Koch  <konqueror@gmx.de>
252
253         * java/text/SimpleDateFormat.java
254         (compileFormat): Replace Character.isLetter() test with
255         Character.isLowerCase() || Character.isUpperCase().
256
257 2003-10-08  Tom Tromey  <tromey@redhat.com>
258
259         * java/lang/StrictMath.java (toDegrees): Multiply before
260         dividing.
261         (toRadians): Likewise.
262
263 2003-10-08  C. Brian Jones  <cbj@gnu.org>
264
265         * java/lang/Math.java
266         (toRadians): multiply before dividing to reduce decimal error
267         (toDegrees): ditto
268
269 2003-10-08  Michael Koch  <konqueror@gmx.de>
270
271         * gnu/gcj/protocol/core/Connection.java,
272         gnu/gcj/protocol/core/CoreInputStream.java,
273         gnu/gcj/protocol/core/Handler.java,
274         gnu/gcj/protocol/core/natCoreInputStream.cc,
275         gnu/gcj/protocol/file/Connection.java,
276         gnu/gcj/protocol/file/Handler.java,
277         gnu/gcj/protocol/gcjlib/Connection.java,
278         gnu/gcj/protocol/gcjlib/Handler.java,
279         gnu/gcj/protocol/http/Connection.java,
280         gnu/gcj/protocol/http/Handler.java,
281         gnu/gcj/protocol/jar/Connection.java,
282         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
283         * gnu/java/net/protocol/core/Connection.java,
284         gnu/java/net/protocol/core/CoreInputStream.java,
285         gnu/java/net/protocol/core/Handler.java,
286         gnu/java/net/protocol/core/natCoreInputStream.cc,
287         gnu/java/net/protocol/file/Connection.java,
288         gnu/java/net/protocol/file/Handler.java,
289         gnu/java/net/protocol/gcjlib/Connection.java,
290         gnu/java/net/protocol/gcjlib/Handler.java,
291         gnu/java/net/protocol/http/Connection.java,
292         gnu/java/net/protocol/http/Handler.java,
293         gnu/java/net/protocol/jar/Connection.java,
294         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
295         * gnu/gcj/runtime/FirstThread.java,
296         java/net/URL.java: Use moved protocol handlers.
297         * Makefile.am
298         (ordinary_java_source_files): Moved files.
299         (nat_source_files): Likewise.
300         * Makefile.in: Regenerated.
301
302 2003-10-08  Michael Koch  <konqueror@gmx.de>
303
304         * gnu/java/nio/SocketChannelImpl.java
305         (read): Write only read data to buffer.
306
307 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
308
309         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
310         out.
311         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
312         (JCL_free): Attach "unused" attribute to env parameter.
313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
314         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
315         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
316         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
317         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
318         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
319         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
320         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
321         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
322         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
323         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
324         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
325         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
326         parameters.
327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
328         (initNativeState): Pass 0 as info argument to
329         gtk_selection_add_target.
330         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
331         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
332         unused method implementations.
333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
334         (awt_event_handler): Add break statement after default label.
335         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
336         (drawPixels): Remove unused variable i.
337         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
338         (setEnabled): Remove method implementation.
339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
340         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
341         argument.
342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
343         unused function.
344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
345         (menu_pos): Assign TRUE to push_in.
346         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
347         argument.
348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
349         (create): Remove unused variable layout.
350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
351         Pass window_widget, rather than window, to
352         gtk_widget_set_size_request.
353         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
354         structure initialization with NULL values.
355         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
356
357 2003-10-08  Michael Koch  <konqueror@gmx.de>
358
359         * java/util/LinkedList.java:
360         Removed whitespace to match classpath's version again.
361
362 2003-10-08  Michael Koch  <konqueror@gmx.de>
363
364         * java/util/prefs/Preferences.java
365         (defaultFactoryClass): Fixed class name.
366         (getFactory): Create instance of class returned by Class.forName(),
367         reformated code.
368
369 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
370
371         * javax/swing/table/AbstractTableModel.java
372         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
373         helped stop pulling my hair on this +1 then -1 tricky thing!
374
375 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
376
377         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
378         Remove unused parameters.
379         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
380         Likewise.
381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
382         (keyevent_state_to_awt_mods): Export function.
383         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
384         (getCaretPosition): Fix TextArea case.
385         (textcomponent_commit_cb): Get exact event time and modifier
386         state.
387         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
388
389 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
390
391         * java/net/InetSocketAddress.java
392         (InetSocketAddress): Made exception more clear.
393         (equals): Handle case when addr is null.
394         (toString): Likewise.
395         * java/net/NetworkInterface.java
396         (static): Load native library.
397         (getNetworkInterfaces): Rewritten.
398
399 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
400
401         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
402         field.
403         (initializeInsets): New method.
404         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
405         setBounds unconditionally.
406         (setBounds): Convert coordinates if parent is a Window.
407         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
408         field to GtkComponentPeer.
409         (GtkContainerPeer): Don't initialize insets.
410         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
411         New method.
412         (create): Call new GtkWindowPeer create method.
413         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
414         New method.
415         (create): Call new GtkWindowPeer create method.
416         (setBounds): Remove method.
417         (postConfigureEvent): Likewise.
418         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
419         type constants with GDK window type constants.
420         (create(int,boolean,int,int,GtkWindowPeer)): New method.
421         (create(int,boolean)): Likewise.
422         (create()): Call create(int,boolean).
423         (nativeSetBounds): New native method declaration.
424         (setBounds): Call native method declaration.
425         (setSize): New native method declaration.
426         (setBoundsCallback): Likewise.
427         (postConfigureEvent): Handle change in insets.  Call setSize and
428         setBoundsCallback methods.
429         * java/awt/Window.java (Window): Set visible to false.
430         (setBoundsCallback): New method.
431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
432         (gtkWidgetGetLocationOnScreen): If this component is not a
433         container, adjust the location returned based on the peer's
434         allocation.
435         (set(String,boolean)): Revert change from 2003-09-19.
436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
437         (awt_event_handler): Fix inset calculation.
438         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
439         glue for Window.setBoundsCallback.
440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
441         Set up stacking order, window decorations and window manager
442         hints.
443         (setBoundsCallback): New method.
444         (setSize): New method.
445         (nativeSetBounds): New method.
446         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
447
448 2003-10-02  Tom Tromey  <tromey@redhat.com>
449
450         * java/lang/VMClassLoader.java (loadClass): Now native.
451         * java/lang/natClassLoader.cc (loadClass): Implement.
452         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
453
454 2003-10-02  Michael Koch  <konqueror@gmx.de>
455
456         * java/net/InetAddress.java
457         (zeros): Removed.
458         (ANY_IF): Initalizie in static block.
459         (static): Load library with native methods here and initialize ANY_IF.
460         (isAnyLocalAddress): Check if equal to ANY_IF.
461         (equals): Use addr directly instead of addr1. Simplify for loop.
462         (toString): Rename "result" to "host" and add IP address allways.
463         (getLocalHost): Merged documentation from classpath.
464         * java/net/ServerSocket.java
465         (ServerSocket): New package-private constructor used by java.nio.
466         * java/net/URLConnection.java
467         (getRequestProperties): Check if already connected.
468
469 2003-10-02  Michael Koch  <konqueror@gmx.de>
470
471         * java/nio/ByteBufferHelper.java:
472         Rewrote all methods by suggestions from Eric Blake.
473
474 2003-10-02  Michael Koch  <konqueror@gmx.de>
475
476         * java/net/URL.java
477         (DEFAULT_SEARCH_PATH): New static variable.
478         (ph_cache): Made it a HashMap.
479         (getURLStreamHandler): Rename propVal to ph_search_path and use
480         DEFAULT_SEARCH_PATH.
481
482 2003-10-02  Michael Koch  <konqueror@gmx.de>
483
484         * javax/swing/table/AbstractTableModel.java
485         (findColumnName): Prevent from NullPointerException if argument
486         columnName is null.
487
488 2003-10-02  Michael Koch  <konqueror@gmx.de>
489
490         * javax/swing/table/AbstractTableModel.java:
491         This patch is based on a patch done by Arnaud Vandyck
492         <arnaud.vandyck@ulg.ac.be>.
493         (getColumnName): Fixed method documentation.
494         (findColumn): Likewise.
495         (getColumnClass): Likewise.
496         (isCellEditable): Likewise.
497         (setValueAt): Likewise.
498         (addTableModelListener): Likewise.
499         (removeTableModelListener): Likewise.
500         (getTableModelListeners): New method.
501
502 2003-10-02  Michael Koch  <konqueror@gmx.de>
503
504         * javax/swing/table/AbstractTableModel.java:
505         Reformated.
506
507 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
508
509         Fix PR libgcj/12475
510         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
511         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
512
513 2003-10-01  Tom Tromey  <tromey@redhat.com>
514
515         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
516
517 2003-10-01  Andrew Haley  <aph@redhat.com>
518
519         * java/lang/natClass.cc (initializeClass): Check for otable and
520         atable.
521         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
522         loops using for().  Search superinterfaces.  Check for fields as
523         well as methods.  Initialize atable as well as otable: check for
524         static methods as well as virtual methods.
525         * java/lang/Class.h (struct _Jv_AddressTable): New.
526         (atable): New.
527         (atable_syms): New.
528         * include/jvm.h (_Jv_equalUtf8Consts): constify.
529         * prims.cc (_Jv_equalUtf8Consts): constify.
530
531 2003-09-29  Tom Tromey  <tromey@redhat.com>
532
533         PR libgcj/10596:
534         * include/jvm.h (_Jv_FinalizeString,
535         _Jv_RegisterStringFinalizer): Declare.
536         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
537         unintern.
538         (intern): Updated.
539         (_Jv_NewStringUtf8Const): Likewise.
540         * java/lang/ref/natReference.cc (finalize_referred_to_object):
541         Add special case when finalizing a String.
542         (in_hash): New function.
543         (_Jv_RegisterStringFinalizer): Likewise.
544         (maybe_add_finalize): Likewise.
545
546 2003-09-29  Michael Koch  <konqueror@gmx.de>
547
548         * java/net/InetAddress.java:
549         (isMulticastAddress): Dont use local variable to store address length.
550         Let the compiler optimize this.
551         (getHostName): Merged dcoumentation from classpath.
552         (getAddress): Likewise.
553         (getHostAddress): Likewise.
554         (hashCode): Likewise.
555         (equals): Likewise.
556         (toString): Likewise.
557         (getByName): Likewise.
558         (getAllByName): Likewise.
559
560 2003-09-29  Michael Koch  <konqueror@gmx.de>
561
562         * java/awt/image/IndexColorModel.java: Reformated.
563
564 2003-09-29  Michael Koch  <konqueror@gmx.de>
565
566         * java/net/InetAddress.java,
567         java/net/URL.java: Reformated.
568
569 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
570
571         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
572         significant bit of descriptor. Include the vtable and sync_info 
573         fields.
574
575 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
576
577         * java/text/DateFormat.java (format): Throw IllegalArgumentException
578         if `obj' is not a Number or Date instance.
579         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
580         instead of Vector.
581
582 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
583
584         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
585         Don't call setTimeZone on calendar.
586
587 2003-09-27  Michael Koch  <konqueror@gmx.de>
588
589         * java/net/URL.java (getURLStreamHandler): Compile fixes.
590
591 2003-09-27  Michael Koch  <konqueror@gmx.de>
592
593         * java/net/URL.java (getURLStreamHandler):
594         Check if we have to use cache before trying to retrieve handler from
595         cache. Rename facName to clsName to match classpath more. Reformated
596         some little pieces.
597
598 2003-09-27  Michael Koch  <konqueror@gmx.de>
599
600         * gnu/java/nio/SelectionKeyImpl.java
601         (ch): Make package-private again. Jikes found this bug.
602         Jeff Sturm submitted PR12426 for this to bugzilla
603         to fix this bug in gcj.
604
605 2003-09-26  Michael Koch  <konqueror@gmx.de>
606
607         * java/rmi/server/RMIClassLoader.java:
608         Reformatted file, no functional code changes.
609
610 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
611
612         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
613         Save space for some pixels at the buffer end.  Added Javadoc.
614
615 2003-09-26  Tom Tromey  <tromey@redhat.com>
616
617         * java/io/ObjectOutputStream.java (writeFields): Fixed
618         indentation.
619         (putFields): Likewise.
620
621 2003-09-26  Michael Koch  <konqueror@gmx.de>
622
623         * java/nio/ByteBufferHelper.java:
624         Totally reworked with help from Eric Blake.
625
626 2003-09-26  Tom Tromey  <tromey@redhat.com>
627
628         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
629         * java/awt/geom/PathIterator.java: Documentation fixes.
630
631 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
632
633         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
634         (select): Likewise.
635         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
636
637 2003-09-25  Michael Koch  <konqueror@gmx.de>
638
639         * gnu/java/nio/DatagramChannelImpl.java
640         (getNativeFD): New method.
641         * gnu/java/nio/SelectionKeyImpl.java
642         (SelectionKeyImpl): Class made abstract.
643         (fd): Removed.
644         (SelectionKeyImpl): Remove fd argument.
645         (getNativeFD): New method.
646         * gnu/java/nio/SocketChannelImpl.java
647         (getNativeFD): New method.
648         gnu/java/nio/DatagramChannelSelectionKey.java,
649         * gnu/java/nio/SocketChannelSelectionKey.java:
650         New files.
651         * Makefile.am (ordinary_java_source_files):
652         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
653         gnu/java/nio/SocketChannelSelectionKey.java.
654         * Makefile.in: Regenerated.
655
656 2003-09-25  Michael Koch  <konqueror@gmx.de>
657
658         * java/lang/reflect/Proxy.java
659         (getProxyClass): Remove workaround for gcj 3.0.x.
660
661 2003-09-25  Michael Koch  <konqueror@gmx.de>
662
663         * gnu/java/net/PlainDatagramSocketImpl.java
664         (finalize): Moved to directly after constructor.
665         (getNativeFD): New method.
666         * gnu/java/net/PlainSocketImpl.java
667         (getNativeFD): New method.
668
669 2003-09-25  Ingo Proetel  <proetel@aicas.com>
670
671         * java/io/ObjectOutputStream.java:
672         Allow putFields be called more than once.
673
674 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
675
676         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
677         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
678         * java/awt/image/BufferedImage.java (toString): Implement.
679
680 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
681
682         * aclocal.m4: Rebuilt.
683         * configure: Rebuilt.
684
685 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
686
687         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
688         field.
689
690 2003-09-25  Michael Koch  <konqueror@gmx.de>
691
692         * gnu/java/nio/SelectorImpl.java
693         (implSelect): Renamed from java_do_select.
694         (select): Call native implSelect() and add support for Thread
695         interruption.
696         * gnu/java/nio/natSelectorImpl.cc
697         (implSelect): Renamed from java_do_select.
698
699 2003-09-25  Michael Koch  <konqueror@gmx.de>
700
701         * gnu/java/nio/SelectorImpl.java
702         (selectNow): Made final, throws IOException.
703         (select): Likewise.
704         (getFDsAsArray): Made final.
705         (selectedKeys): Likewise.
706         (wakeup): Likewise.
707         (deregisterCancelledKeys): Likewise.
708         (register): Likewise.
709         (ass): Removed.
710         (add_selected): Removed.
711         * gnu/java/nio/natSelectorImpl.cc:
712         No need to include bstring.h or gcj/cni.h.
713         (helper_put_filedescriptors): Rewritten.
714         (helper_get_filedescriptors): Rewritten.
715
716 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
717
718         * java/awt/font/FontRenderContext.java (getTransform): Return
719         copy of internal transform object. Add Javadoc.
720         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
721         winding rule as Sun J2SE.
722         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
723
724 2003-09-25  Ingo Proetel  <proetel@aicas.com>
725
726         * java/rmi/Naming.java:
727         Added comments, now accepts pseudo protocol "rmi".
728
729 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
730
731         * java/text/DecimalFormat.java (format): Don't immediatly round
732         baseNumber to long.
733         (setMinimumIntegerDigits): Call super.
734         (setMinimumFractionDigits): Likewise.
735         (setMaximumIntegerDigits): Likewise.
736         (setMaximumFractionDigits): Likewise.
737
738 2003-09-25  Michael Koch  <konqueror@gmx.de>
739
740         * gnu/java/nio/DatagramChannelImpl.java
741         (DatagramChannelImpl): Made class final.
742         (blocking): Made private.
743         (socket): Made it a NIODatagramSocket and private.
744         (DatagramChannelImpl): create NIODatagramSocket instead of
745         DatagramSocket.
746         (implConfigureBlocking): Set socket timeout.
747         (connect): Check that channel is not closed.
748         (write): Implemented.
749         (write): Rewritten.
750         (read): Implemented.
751         (read): Rewritten.
752         (receive): Implemented.
753         (send): Implemented.
754         * gnu/java/nio/SelectionKeyImpl.java
755         (readyOps): Made private.
756         (interestOps): Made private.
757         (impl): Made private.
758         (ch): Made private.
759         (readyOps): Check if selection key is valid.
760         (interestOps): Likewise.
761         * gnu/java/nio/SelectorImpl.java
762         (closed): Removed.
763         (keys): Made private.
764         (selected): Made private.
765         (finalize): New method.
766         (implCloseSelector): Rewritten.
767         (keys): Return unmodifiable Set.
768         (deregisterCancelledKeys): Fixed typo in method name.
769         * gnu/java/nio/SocketChannelImpl.java
770         (SocketChannelImpl): Made class final.
771         (socket): Made it a NIOSocket and private.
772         (blocking): Made private.
773         (connected): Made private.
774         (connectionPending): New member variable.
775         (SocketChannelImpl): New implementation.
776         (finalizer): Use isConnected().
777         (connect): Rewritten.
778         (finishConnect): Throws IOException, implemented.
779         (isConnectionPending): Return connectionPending.
780         (read): Rewritten.
781         (write): Rewritten.
782         * gnu/java/nio/NIOConstants.java: New file.
783         * Makefile.am (ordinary_java_source_files):
784         Added gnu/java/nio/NIOConstants.java.
785         * Makefile.in: Regenerated.
786
787 2003-09-25  Michael Koch  <konqueror@gmx.de>
788
789         * java/net/InetAddress.java:
790         Reorder imports, remove implementation comment.
791         (isMulticastAddress): Merged documentation from classpath.
792         * java/net/URLConnection.java
793         (setRequestProperty): Check key for null, fix documentation.
794         (adREquestProperty): Check key for null, remove wrong implementation
795         and replace it with comment to overwrite this method in subclasses,
796         fix documentation.
797
798 2003-09-25  Tom Tromey  <tromey@redhat.com>
799
800         * java/lang/reflect/Proxy.java (generate): Uncomment protection
801         domain code.
802         * java/lang/natClassLoader.cc (defineClass): Added `loader'
803         argument.
804         (linkClass0): Now in VMClassLoader.
805         (markClassErrorState0): Likewise.
806         (getSystemClassLoaderInternal): New method.
807         * java/lang/natClass.cc (initializeClass): Use
808         VMClassLoader::resolveClass.
809         * java/lang/ClassLoader.java: New version, from Classpath.
810         * java/lang/Class.java (getProtectionDomain):
811         protectionDomainPermission and unknownProtectionDomain now in
812         VMClassLoader.
813         * java/lang/Class.h: VMClassLoader now a friend class.
814         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
815         package-private.
816         * gcj/javaprims.h: Regenerated class list.
817         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
818         * java/lang/VMClassLoader.java: New version from Classpath;
819         modified for libgcj use.
820
821 2003-09-25  Michael Koch  <konqueror@gmx.de>
822
823         * java/nio/ByteBufferHelper.java:
824         New file.
825         * java/nio/ByteBufferImpl.java,
826         java/nio/DirectByteBufferImpl.java,
827         java/nio/MappedByteBufferImpl.java
828         (getType,putType): Use new helper class ByteBufferHelper.
829         * Makefile.am (ordinary_java_source_files):
830         Added java/nio/ByteBufferHelper.java.
831         * Makefile.in: Regenerated.
832
833 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
834
835         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
836         PR libgcj/12388.
837
838 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
839
840         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
841         Strings, even if buffer is already shared.
842
843 2003-09-24  Michael Koch  <konqueror@gmx.de>
844
845         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
846
847 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
848
849         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
850         (write): Likewise.
851         (SocketInputStream): Declare `read' and `write' methods native.
852         Remove implementations which called back into PlainSocketImpl.
853         Remove unneccessary overridden methods.
854         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
855         to inner class PlainSocketImpl.SocketInputStream.
856         (write): Likewise.
857         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
858         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
859         * gnu/java/net/SocketInputStream.java: Remove unused file.
860         * gnu/java/net/SocketOutputStream.java: Likewise.
861         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
862         and SocketOutputStream.
863         * Makefile.in: Rebuilt.
864
865 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
866
867         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
868
869         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
870         markers.
871
872 2003-09-22  Anthony Green  <green@redhat.com>
873
874         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
875         * configure: Rebuilt.
876
877 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
878
879         PR java/12350:
880         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
881
882 2003-09-22  Michael Koch  <konqueror@gmx.de>
883
884         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
885         compiler warning but produces a different one now.
886
887 2003-09-22  Michael Koch  <konqueror@gmx.de>
888
889         * java/net/InetAddress.java:
890         Moves around some code, reformats and adds documentation.
891         No functional changes.
892
893 2003-09-22  Michael Koch  <konqueror@gmx.de>
894
895         * java/net/JarURLConnection.java
896         (JarURLConnection): Modifed code to match classpath more, fixed comment.
897         (getCertificates): Made it more error prone.
898         (getMainAttributes): Likewise.
899         (getAttributes): Implemented.
900         (getManifest): Reformatted code.
901
902 2003-09-20  Tom Tromey  <tromey@redhat.com>
903
904         * java/awt/Component.java: Indentation cleanup from Classpath.
905
906 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
907
908        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
909        checking to follow 1.4.2 spec.
910
911 2003-08-11  Ingo Proetel  <proetel@aicas.com>
912
913         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
914         is compatible in case client and server are running in the same VM
915         (remerged from Classpath on 2003-09-20)
916
917 2003-09-19  David Daney <ddaney@avtrex.com>
918
919         * java/lang/ref/Reference.java (clear): Set referent to null and
920         synchronize.
921
922 2003-09-19  Michael Koch  <konqueror@gmx.de>
923
924         * gnu/java/nio/NIODatagramSocket.java,
925         gnu/java/nio/NIOSocket.java: New files.
926         * Makefile.am (ordinary_java_source_files):
927         Added gnu/java/nio/NIODatagramSocket.java and
928         gnu/java/nio/NIOSocket.java.
929         * Makefile.in: Regenerated.
930
931 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
932
933         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
934         top-level GTK window.
935         (getArgs): Add "title" property.
936         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
937         "allow_shrink" and "allow_grow" properties.
938         * java/awt/Dialog.java: Initialize resizable to true and change
939         comments accordingly.  Initialize visible to false in
940         constructors.
941         * java/awt/Frame.java (dispose): Remove method.
942         * java/awt/Window.java (ownedWindows): New field.
943         (Window(Window,GraphicsConfiguration)): Add a weak reference to
944         owner's ownedWindows vector.
945         (finalize): Remove method.
946         (hide): Hide owned windows.
947         (dispose): Dispose of owned windows.
948         (getOwnedWindows): Implement.
949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
950         unused GtkArg code.
951         (set(String,boolean)): Clamp gboolean parameter to g_object_set
952         to TRUE or FALSE.
953         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
954         (create): Set window's size requisition.
955         (connectHooks): Fix indentation.
956         (setResizable): Remove function.
957         (static setBounds): Likewise.
958         (setBounds): Replace call to setBounds with GTK size requisition
959         and resize calls.
960
961 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
962
963         * win32-threads.cc: (ensure_interrupt_event_initialized) New
964         function for lazy initialization of an auto-reset event.
965         (_Jv_CondWait) Added thread interrupt support.
966         (_Jv_ThreadInitData) Added initialization of interrupt support
967         members.
968         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
969         (_Jv_ThreadStart) Removed unused code.
970         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
971         to an external caller.
972         (_Jv_ThreadInterrupt) Implemented.
973         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
974         event for interrupt support as well as a mutex which regulates
975         access to this.
976         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
977         event to an external caller.
978         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
979         process.
980         (waitFor) Added interrupt support.
981
982 2003-09-19  Michael Koch  <konqueror@gmx.de>
983
984         * java/net/DatagramSocket.java (getLocalAddress):
985         Renamed result variable to localAddr.
986         * java/net/MulticastSocket.java:
987         No need to import gnu.java.net.PlainDatagramSocketImpl.
988
989 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
990
991         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
992         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
993
994 2003-09-18  Tom Tromey  <tromey@redhat.com>
995
996         * javax/naming/InitialContext.java: Reindented.
997
998 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
999             Helmer Kraemer <hkraemer@freenet.de>
1000
1001         * javax/naming/spi/NamingManager.java (getURLContext,
1002         getObjectInstance, getStateToBind): Always use current thread's
1003         context class loader when calling Class.forName.
1004
1005 2003-09-18  Michael Koch  <konqueror@gmx.de>
1006
1007         * java/util/Timer.java (finalize): Added "throws Throwable".
1008
1009 2003-09-18  Michael Koch  <konqueror@gmx.de>
1010
1011         * java/net/DatagramSocket.java
1012         (ch): Removed.
1013         (receive): Use getChannel() instead of ch.
1014         (send): Likewise.
1015         (getChannel): Return null.
1016         * java/net/ServerSocket.java
1017         (ch): Removed.
1018         (setChannel): Removed.
1019         (implAccept): Use getChannel() instead of ch.
1020         (close): Likewise.
1021         (getChannel): Return null.
1022         * java/net/Socket.java
1023         (ch): Removed.
1024         (connect): Use getChannel() instead of ch.
1025         (setChannel): Removed.
1026         (getChannel): Return null.
1027
1028 2003-09-18  Mark Wielaard  <mark@klomp.org>
1029
1030         Reported by Guilhem Lavaux and Julian Dolby
1031         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
1032         field "serialPersistentFields", not "getSerialPersistentFields".
1033
1034 2003-09-18  Ingo Proetel  <proetel@aicas.com>
1035
1036         * java/util/TimeZone.java: Initialize lazily.
1037         * java/util/Locale.java (readManifest): Fix check for country.
1038         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
1039         traceable 
1040         * java/util/Calendar.java: Make use of ResourceBundle better
1041         traceable.
1042
1043 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
1044
1045         * java/sql/Timestamp.java
1046         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
1047
1048 2003-09-18  David P Grove  <groved@us.ibm.com>
1049
1050         * java/io/LineNumberReader (read): Don't reset pos & limit when
1051         markPos is 0.
1052
1053 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
1054
1055         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
1056         constant.
1057         (computeArguments): use computeTypicalArguments.
1058
1059         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
1060         Compile_jikes.java and RMICException.java.
1061         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
1062         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
1063         * gnu/java/rmi/rmic/RMICException.java: Likewise.
1064  
1065         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
1066  
1067         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
1068         (computeTypicalArguments): New method.
1069         (compile): Print compiler output to System.out. Collect compiler
1070         error output and use it in exception message.
1071  
1072         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
1073         (destination): Initialize to null.
1074         (run): Replace file separator with '.' when processing class.
1075         (processClass): Replace '.' with file separator when compiling
1076         classes.
1077         (findClass): Use SystemClassLoader to load class.
1078         (generateStub): Use full class name for generated stub, that puts
1079         it in right path.  Replace '.' with file separator when generating
1080         stub file name. Write just the stub class name without package
1081         information as class name, and constructor name. Write only
1082         interface names for interfaces extending java.rmi.Remote as
1083         implemented.
1084         (generateSkel): Use full class name for generated skel, that puts
1085         it in right path.  Replace '.' with file separator when generating
1086         stub file name. Write just the stub class name without package
1087         information as class name.
1088
1089 2003-09-18  Michael Koch  <konqueror@gmx.de>
1090
1091         * Makefile.am (rmi_java_source_files):
1092         Added gnu/java/rmi/rmic/Compile_kjc.java,
1093         gnu/java/rmi/rmic/Compile_jikes.java and
1094         gnu/java/rmi/rmic/RMICException.java
1095         * Makefile.in: Regenerated.
1096
1097 2003-09-17  Graydon Hoare  <graydon@redhat.com>
1098
1099         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1100         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1101         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1102         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
1103         New files.
1104
1105 2003-09-16  Graydon Hoare  <graydon@redhat.com>
1106
1107         * java/awt/BufferedImage.java (setData): Support non-component
1108         sample models.
1109         (getData): Same.
1110
1111 2003-09-10  Graydon Hoare  <graydon@redhat.com>
1112
1113         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
1114         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
1115
1116 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
1117
1118         * configure.in: Standardized help text case of
1119         --enable-hash-synchronization
1120         New configure switch --enable-libgcj-multifile and corresponding
1121         automake conditional ONESTEP.
1122         * configure: Rebuilt.
1123         * Makefile.am: Use automake conditional ONESTEP to determine
1124         whether classfiles should be compiled individually or all
1125         at once.
1126         * Makefile.in: Rebuilt.
1127
1128 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
1129
1130         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
1131         Remove method declaration.
1132         (create()): Call native create.
1133         (create(int)): New method.
1134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1135         (create): Add window_id parameter.  Call gtk_plug_new with
1136         window_id parameter.
1137         (construct): Remove method implementation.
1138
1139 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
1140
1141         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1142         (mostlyclean-local): New target patterned after clean-local
1143         which recursively deletes all libtool objects using 'libtool rm'.
1144         (clean-local): Slightly modified comment to alleviate monotony.
1145         (distclean-local): New target patterned after clean-local
1146         which recursively deletes all .d files.
1147         * Makefile.in: Rebuilt.
1148
1149 2003-09-11  Tom Tromey  <tromey@redhat.com>
1150
1151         * java/net/URLStreamHandler.java (parseURL): If original file
1152         ends with "/", so must canonical result.
1153         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1154         with nul-termination and finding previous "/".
1155
1156 2003-09-11  Michael Koch  <konqueror@gmx.de>
1157
1158         * acconfig.h: Removed most items.
1159         * configure.in: Added descriptions to AC_DEFINE macros that where in
1160         acconfig.h before.
1161         * include/config.h.in: Regenerated.
1162
1163 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
1164
1165         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1166         if one is installed. Improve Javadoc.
1167         (getSystemEventQueueImpl): Improve Javadoc.
1168
1169 2003-09-11  Tom Tromey  <tromey@redhat.com>
1170
1171         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1172         file does not exist.
1173
1174 2003-09-10  Anthony Green  <green@redhat.com>
1175
1176         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1177         Specify full name when referencing ::java::net::InetAddress.
1178         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1179         Fix argument type.
1180
1181 2003-09-10  Michael Koch  <konqueror@gmx.de>
1182
1183         * acconfig.h (__NO_MATH_INLINES): Removed.
1184         * configure.in: Removed check for g++ math inlining bug from 2000.
1185         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1186         libgcj_cxxflags.
1187         * configure: Regenerated.
1188
1189 2003-09-10  David Daney <ddaney@avtrex.com>
1190
1191         * java/util/Arrays.java (equals(all variants)): Quit using
1192         NullPointerException catching to detect null valued parameters.
1193
1194 2003-09-10  Michael Koch  <konqueror@gmx.de>
1195
1196         * java/net/DatagramSocket.java,
1197         java/net/MulticastSocket.java,
1198         java/net/ServerSocket.java,
1199         java/net/Socket.java:
1200         Use gnu.java.net.Plain*SocketImpl instead of
1201         java.net.PlainSocketImpl.
1202         * java/net/PlainDatagramSocketImpl.java,
1203         java/net/PlainSocketImpl.java,
1204         java/net/SocketInputStream.java,
1205         java/net/SocketOutputStream.java,
1206         java/net/natPlainDatagramSocketImplNoNet.cc,
1207         java/net/natPlainDatagramSocketImplPosix.cc,
1208         java/net/natPlainDatagramSocketImplWin32.cc,
1209         java/net/natPlainSocketImplNoNet.cc,
1210         java/net/natPlainSocketImplPosix.cc,
1211         java/net/natPlainSocketImplWin32.cc:
1212         Removed.
1213         * gnu/java/net/PlainDatagramSocketImpl.java,
1214         gnu/java/net/PlainSocketImpl.java,
1215         gnu/java/net/SocketInputStream.java,
1216         gnu/java/net/SocketOutputStream.java,
1217         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1218         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1219         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1220         gnu/java/net/natPlainSocketImplNoNet.cc,
1221         gnu/java/net/natPlainSocketImplPosix.cc,
1222         gnu/java/net/natPlainSocketImplWin32.cc:
1223         New files (moved from java/net).
1224         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
1225         instead of java/net/natPlain*SocketImpl.cc.
1226         * configure: Regenerated.
1227         * Makefile.am: Moved files from java/net to gnu/java/net.
1228         * Makefile.in: Regenerated.
1229
1230 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
1231
1232         * configure: Regenerate.
1233
1234 2003-09-04  Tom Tromey  <tromey@redhat.com>
1235
1236         * configure.host: Removed erroneous comment.
1237
1238         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
1239         lvalue cast; use correct rvalue cast.
1240
1241 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1242
1243         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
1244         and height arguments to GtkWindowPeer.create method call.
1245         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1246         (create(int,int,int)): New method.
1247         (create(int)): Add call to new create method.
1248         (create()): Add width and height arguments to create method
1249         call.
1250         (GtkWindowPeer): Remove call to setBounds.
1251         * java/awt/Frame.java (Frame(String)): Initialize visible field
1252         to false.
1253         (Frame(GraphicsConfiguration)): Likewise.
1254         (Frame(String,GraphicsConfiguration)): Likewise.
1255         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1256         Add width and height parameters.  Call
1257         gtk_window_set_default_size.
1258         (connectHooks): Remove unused name variable.
1259         (static setBounds): Call gtk_window_resize not
1260         gtk_widget_set_usize.
1261         (setBounds): Remove unused nchildren variable.
1262
1263 2003-08-31  Ingo Proetel  <proetel@aicas.com>
1264
1265         * java/util/logging/Logger.java: provide class and method information
1266         * java/util/logging/LogManager.java: create handlers
1267         * java/util/logging/SimpleFormatter.java: print souceClassName and
1268         sourceMethodName
1269
1270 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1271
1272         * win32.cc: fixed tab, indentation and whitespace
1273         inconsistencies
1274         removed jvm.h include
1275         added includes java/lang/UnsupportedOperationException.h,
1276         java/io/IOException.h, java/net/SocketException.h
1277         (WSAEventWrapper): class implementation
1278         (_Jv_WinStrError): implemented both overloads
1279         (_Jv_ThrowIOException): implemented both overloads
1280         (_Jv_ThrowSocketException): implemented both overloads
1281         (_Jv_select): implemented
1282         * include/win32.h: fixed tab, indentation and whitespace
1283         inconsistencies
1284         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
1285         added jvm.h include
1286         (WSAEventWrapper): added class declaration
1287         (_Jv_WinStrError): added both overload declarations
1288         (_Jv_ThrowIOException): added both overload declarations
1289         (_Jv_ThrowSocketException): added both overload declarations
1290         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
1291         (_Jv_select): added declaration
1292         (_Jv_socket): removed
1293         (_Jv_connect): removed
1294         (_Jv_close): removed
1295         (_Jv_bind): removed
1296         (_Jv_accept): removed
1297         (_Jv_listen): removed
1298         (_Jv_write): removed
1299         (_Jv_read): removed
1300         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
1301         whitespace inconsistencies
1302         replaced <windows.h> #include with <platform.h>
1303         removed jvm.h include
1304         (testCanUseGetHandleInfo): new function which tests whether Win32
1305         GetHandleInformation() call can be used with console buffer handles
1306         (only supported on >=WinNT 5.0)
1307         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
1308         (valid): rewrote implementation using GetHandleInformation()
1309         (sync):         changed exception throwing to use error string and exception
1310         helper methods declared in include/win32.h
1311         (open): likewise
1312         (write): likewise
1313         (setLength): likewise
1314         (close): likewise
1315         (seek): likewise
1316         (getFilePointer): likewise
1317         (read): likewise
1318         * java/io/natFileWin32.cc: fixed tab, indentation and
1319         whitespace inconsistencies
1320         replaced <windows.h> #include with <platform.h>
1321         removed jvm.h include
1322         (_access): use JV_TEMP_UTF_STRING
1323         (_stat): likewise
1324         (performMkDir): use JV_TEMP_UTF_STRING
1325         (performRenameTo): likewise
1326         (performDelete): likewise
1327         (performCreate): likewise
1328         (performSetReadOnly): likewise
1329         (performSetLastModified): likewise
1330         * java/lang/natWin32Process.cc: fixed tab, indentation and
1331         whitespace inconsistencies
1332         replaced <windows.h> #include with <platform.h>
1333         removed includes gcj/cni.h, jvm.h
1334         (new_string): removed
1335         (startProcess): use JV_TEMP_UTF_STRING,
1336         changed exception throwing to use error string and exception
1337         helper methods declared in include/win32.h
1338         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
1339         whitespace inconsistencies
1340         replaced <windows.h> #include with <platform.h>
1341         removed jvm.h include
1342         removed DISABLE_JAVA_NET conditional code
1343         removed POSIX conditional code not relevant to Win32
1344         (aton): use JV_TEMP_UTF_STRING
1345         removed POSIX conditional code not relevant to Win32
1346         (lookup): likewise
1347         (getLocalHostName): likewise
1348         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
1349         whitespace inconsistencies
1350         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
1351         removed DISABLE_JAVA_NET conditional code
1352         removed POSIX conditional code not relevant to Win32
1353         (winsock2GetRealNetworkInterfaces): new function to compute network
1354         interfaces via Winsock2 API
1355         (determineGetRealNetworkInterfacesFN): new function for returning
1356         a function pointer to the function used to compute network interfaces.
1357         (getRealNetworkInterfaces): implemented
1358         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
1359         whitespace inconsistencies
1360         removed gcj/cni.h include
1361         removed DISABLE_JAVA_NET conditional code
1362         removed POSIX conditional code not relevant to Win32
1363         changed net POSIXisms to Win32isms
1364         replaced _Jv socket-related calls with their real Win32 equivalents
1365         changed exception throwing to use error string and exception
1366         helper methods declared in include/win32.h
1367         (peekData): implemented timeout support
1368         (receive): likewise
1369         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
1370         whitespace inconsistencies
1371         removed gcj/cni.h and gcj/javaprims.h includes
1372         removed DISABLE_JAVA_NET conditional code
1373         removed POSIX conditional code not relevant to Win32
1374         changed net POSIXisms to Win32isms
1375         replaced _Jv socket-related calls with their real Win32
1376         equivalents
1377         changed exception throwing to use error string and exception
1378         helper methods declared in include/win32.h
1379         (throwConnectException): helper function for connect()
1380         (connect): implemented timeout support
1381         (accept): likewise
1382         (doRead): new helper function common to both read() method overloads,
1383         includes timeout support
1384         (read): implemented both overloads in terms of doRead()
1385         (available): implemented using ioctlsocket()
1386
1387 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1388
1389         * java/net/natInetAddressWin32.cc,
1390         java/net/natNetworkInterfaceWin32.cc,
1391         java/net/natPlainDatagramSocketImplWin32.cc,
1392         java/net/natPlainSocketImplWin32.cc:
1393         Readded code enclosed in DISABLE_JAVA_NET defines
1394         in preparation for MinGW cleanup / networking
1395         patch
1396
1397 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1398
1399         * Makefile.am: Fixed problems with parallel makes.
1400         (all_java_class_files): Readded definition.
1401         (all_java_class_files): New target which depends on
1402         libgcj-@gcc_version@.jar
1403         * Makefile.in: Rebuilt
1404
1405 2003-08-28  Tom Tromey  <tromey@redhat.com>
1406
1407         * Makefile.in: Rebuilt.
1408         * Makefile.am (ordinary_java_source_files): Added new files.
1409         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1410         friend.
1411         * java/net/URLClassLoader.java (findClass): Don't use
1412         findURLResource.  Use loader's getClass method.
1413         (URLLoader.getClass): New method.
1414         (addURL): Handle `gcjlib' URLs.
1415         (SoURLLoader): New class.
1416         (SoResource): Likewise.
1417         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1418         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1419         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1420         (_Jv_RegisterCoreHook): Declare.
1421         (_Jv_FindCore): Declare.
1422         * gnu/gcj/runtime/SharedLibHelper.java: New file.
1423         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1424         typedef.
1425         (core_hook): New function.
1426         (struct SharedLibDummy) [saved_core]: New field.
1427         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
1428         (register_hook): Set protection domain and class loader on new
1429         class.
1430         (finalize): Free core chain.
1431         * gnu/gcj/Core.java (Core): New constructor.
1432         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1433         SharedLibHelper.
1434         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1435         (_Jv_create_core): New function.
1436         (create): Use it.
1437         (default_register_resource): New function.
1438         (_Jv_RegisterCoreHook): New global.
1439         (_Jv_RegisterResource): Use it.
1440         (core_chain_struct): Removed.
1441         (_Jv_FindCore): New function.
1442         (_Jv_FreeCoreChain): New function.
1443
1444 2003-08-29  Michael Koch  <konqueror@gmx.de>
1445
1446         * java/net/natInetAddressWin32.cc,
1447         java/net/natNetworkInterfaceWin32.cc,
1448         java/net/natPlainDatagramSocketImplWin32.cc,
1449         java/net/natPlainSocketImplWin32.cc:
1450         Removed code enclosed in DISABLE_JAVA_NET defines.
1451
1452 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
1453
1454         * Makefile.am: (write_entries_to_file) New parameterized
1455         function for writing entries to a file one line at a time.
1456         (all_java_class_files): Removed definition.
1457         (.java.class) Removed.target.
1458         (libgcj-@gcc_version@.jar): Changed dependency to
1459         $(all_java_source_files); added compilation step which compiles
1460         all changed source files in one pass.
1461         (libgcj.la) Refactored to use write_entries_to_file.
1462         (lib-gnu-awt-xlib.la) Likewise.
1463         (install-data-local) Likewise.
1464         (write-entries-to-file-check) New target which tests write_entries_to_file.
1465         (all-recursive): Changed dependency from $(all_java_class_files)
1466         to libgcj-@gcc_version@.jar
1467         * Makefile.in: Rebuilt.
1468
1469 2003-08-26  Tom Tromey  <tromey@redhat.com>
1470
1471         * java/lang/StrictMath.java: Typo fix.
1472         * java/lang/Math.java: Typo fix.
1473
1474 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
1475
1476         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1477         of the removed Thread.
1478
1479 2003-08-26  Mark Wielaard  <mark@klomp.org>
1480
1481         Reported by David Holmes <dholmes@dltech.com.au>.
1482         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1483         Collections.synchronizedMap.
1484         * java/lang/ThreadLocal.java (valueMap): Likewise.
1485
1486 2003-08-26  Mark Wielaard  <mark@klomp.org>
1487
1488         * java/security/acl/Acl.java: Fix broken p tag.
1489         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
1490         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
1491         * javax/swing/plaf/TreeUI.java: Likewise.
1492         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1493         * java/util/Properties.java: Use the word umlaut, not &auml; in api
1494         documentation.
1495         * java/util/PropertyResourceBundle.java: Likewise and add closing code
1496         tag.
1497
1498 2003-08-26  Tom Tromey  <tromey@redhat.com>
1499
1500         * Makefile.in: Rebuilt.
1501         * Makefile.am: Removed all GNU-make-specific FIXME comments.
1502
1503         * java/lang/ref/Reference.java (get): Indentation fix.
1504         (clear): Comment fix.
1505         (enqueue): Likewise.
1506         (lock): Likewise.
1507         (referent): Likewise.
1508
1509 2003-08-26  Tom Tromey  <tromey@redhat.com>
1510
1511         PR java/12058:
1512         * java/lang/reflect/natArray.cc (set): Allow null as argument.
1513
1514         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
1515         (ProxyData.getPackage): New method.
1516         (ProxyData.getProxyData): Use package name, not Package.
1517         (ClassFactory.ClassFactory): Updated.
1518
1519 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
1520         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
1521         * Makefile.in: re-generated.
1522         * gnu/awt/j2d/IntegerGraphicsState.java
1523         (ScreenCoupledImage): new interface.
1524         (drawImage): detect ScreenCoupledImage instances.
1525         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
1526         * gnu/awt/xlib/XEventLoop.java
1527         (createEvent): re-formatted, and rearranged to avoid null pointer.
1528         * gnu/awt/xlib/XGraphics.java
1529         (drawImage): added XOffScreenImage handling.
1530         * gnu/awt/xlib/XOffScreenImage.java: new file.
1531         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
1532         * gnu/gcj/xlib/GC.java (copyArea): new native method.
1533         * gnu/gcj/xlib/XAnyEvent.java
1534         (TYPE_KEY_PRESS): new constant.
1535         (TYPE_KEY_RELEASE): new constant.
1536         (TYPE_MOTION_NOTIFY): new constant.
1537         (TYPE_ENTER_NOTIFY): new constant.
1538         (TYPE_LEAVE_NOTIFY): new constant.
1539         (TYPE_FOCUS_IN): new constant.
1540         (TYPE_FOCUS_OUT): new constant.
1541         (TYPE_KEYMAP_NOTIFY): new constant.
1542         (TYPE_GRAPHICS_EXPOSE): new constant.
1543         (TYPE_NO_EXPOSE): new constant.
1544         (TYPE_VISIBILITY_NOTIFY): new constant.
1545         (TYPE_CREATE_NOTIFY): new constant.
1546         (TYPE_DESTROY_NOTIFY): new constant.
1547         (TYPE_MAP_REQUEST): new constant.
1548         (TYPE_CONFIGURE_REQUEST): new constant.
1549         (TYPE_GRAVITY_NOTIFY): new constant.
1550         (TYPE_RESIZE_REQUEST): new constant.
1551         (TYPE_CIRCULATE_NOTIFY): new constant.
1552         (TYPE_CIRCULATE_REQUEST): new constant.
1553         (TYPE_PROPERTY_NOTIFY): new constant.
1554         (TYPE_SELECTION_CLEAR): new constant.
1555         (TYPE_SELECTION_REQUEST): new constant.
1556         (TYPE_SELECTION_NOTIFY): new constant.
1557         (TYPE_COLORMAP_NOTIFY): new constant.
1558         (TYPE_MAPPING_NOTIFY): new constant.
1559         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
1560         * gnu/gcj/xlib/natGC.cc (copyArea): new method
1561         * java/awt/Component.java (createImage): changed to use peer method.
1562
1563 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1564
1565         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
1566         name, not XLFD, to native drawString.
1567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1568         Replace XLFD-based implementation with Pango-based
1569         implementation.
1570
1571 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1572
1573         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
1574         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
1575
1576 2003-08-21  David Daney  <ddaney@avtrex.com>
1577
1578         Fix for PR libgcj/12013:
1579         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1580         Check `cleared' field.
1581         * java/lang/ref/Reference.java (copy): Updated comments.
1582         (cleared): New field.
1583         (clear): Rewrote.
1584
1585 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
1586             Thomas Fitzsimmons  <fitzsim@redhat.com>
1587
1588         * Makefile.am (gtk_awt_peer_sources): Add
1589         gnu/java/awt/peer/GLightweightPeer.java.  Remove
1590         gnu/java/awt/GLightweightPeer.java.
1591         * gnu/java/awt/GLightweightPeer.java: Remove file.
1592         * gnu/java/awt/peer/GLightweightPeer.java: New file.
1593         * java/awt/Component.java (getToolkit): Add comment about
1594         lightweight components.
1595         * java/awt/Toolkit.java (createComponent): Return
1596         gnu.java.awt.peer.GLightweightPeer.
1597
1598 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
1599
1600         * configure.in: Fix detection of gcj when building with newlib.
1601         * configure: Regenerated.
1602
1603 2003-08-20  Graydon Hoare  <graydon@redhat.com>
1604
1605         * jni.cc: Replace "cheating" pointer-casting code with
1606         extract_from_jvalue<> template.
1607
1608 2003-08-20  Andrew Haley  <aph@redhat.com>
1609
1610         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
1611         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
1612         (classAt): Break out class lookup function into getClass().
1613         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
1614         handlers when using -fno-assume-compiled.
1615
1616 2003-08-20  Tom Tromey  <tromey@redhat.com>
1617
1618         Fix for PR libgcj/9125:
1619         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
1620         object outside of loop.  Respect lib_control setting.
1621         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
1622         field.
1623         (lib_control): New field.
1624         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
1625         (VMClassLoader): Initialize new field.
1626
1627         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1628         Set `list->reference' to DELETED_REFERENCE when removing dead
1629         object.
1630         (find_slot): Added an assert.
1631         (DELETED_REFERENCE): New define.
1632         (add_to_hash): Check for DELETED_REFERENCE.
1633         (remove_from_hash): Just return if found slot isn't ours.
1634
1635 2003-08-19  Andrew Haley  <aph@redhat.com>
1636
1637         * prims.cc (unblock_signal): New function.
1638         (catch_segv): Use it.
1639         (catch_fpe): Likewise.
1640
1641 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
1642
1643         PR libgcj/11575
1644         * java/io/natFileDescriptorWin32.cc (open): Set create
1645         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
1646         Honor EXCL when openning with WRITE flag. 
1647
1648 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
1649
1650         * include/jvm.h: New class _Jv_TempUTFString (helper class for
1651         getting a temporary C string from a jstring)
1652         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
1653         but uses a stack buffer if the string length is less than 256
1654         bytes.
1655
1656 2003-08-18  Tom Tromey  <tromey@redhat.com>
1657
1658         PR libgcj/11951:
1659         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
1660         void.  Throw VirtualMachineError if ffi fails.  Initialize return
1661         value.  Added is_jni_call argument; only wrap exception if not a
1662         JNI call.  Use descriptive message if operation not supported.
1663         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
1664         array class.
1665         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
1666         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
1667         _Jv_CallAnyMethodA.
1668         (_Jv_JNI_CallAnyMethodA): Likewise.
1669         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
1670         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
1671
1672 2003-08-13  Tom Tromey  <tromey@redhat.com>
1673
1674         * gij.cc (help): Document -? and -X.
1675
1676 2003-08-12  Graydon Hoare  <graydon@redhat.com>
1677
1678         * java/awt/Font.java: 
1679         Stub out more recent API. 
1680
1681 2003-08-12  Graydon Hoare  <graydon@redhat.com>
1682
1683         * java/awt/Color.java (getAlpha): 
1684         Prevent sign-extended alpha values.
1685
1686 2003-08-12  Tom Tromey  <tromey@redhat.com>
1687
1688         * gij.cc (main): Handle -? and -X.
1689
1690 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
1691
1692         * java/awt/Container.java
1693         (getPreferredSize): Call preferredSize.
1694         (preferredSize): Moved body of getPreferredSize here.
1695         (getMinimumSize): Call minimumSize.
1696         (minimumSize): Moved body of getMinimumSize here.
1697
1698 2003-08-11  Tom Tromey  <tromey@redhat.com>
1699
1700         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
1701         (postEvent): Removed FIXME comment.
1702         (isDispatchThread): Documented.
1703         (getCurrentEvent): New method.
1704         (dispatchEvent): Set currentEvent and lastWhen.
1705         (getMostRecentEventTime): Rewrote.
1706         (invokeLater): Documented.
1707
1708 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
1709
1710         * java/io/PrintStream.java (print): Always flush if auto_flush is
1711         set. Don't check for newline characters.
1712         (write (int)): Implement without using a temporary array.
1713         (write (byte[], int, int): Always flush if auto_flush is set. Don't
1714         check for newline characters.
1715         Fixes PR libgcj/11778.
1716
1717 2003-08-08  Andrew Haley  <aph@redhat.com>
1718
1719         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
1720         * Makefile.in: Rebuild.
1721         * java/lang/natRuntime.cc (insertSystemProperties): Add
1722         "sun.boot.class.path".
1723
1724 2003-08-07  Andrew Haley  <aph@redhat.com>
1725
1726         * java/io/PrintStream.java: Don't crash on a null string.
1727         
1728 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1729
1730         * configure.in: Don't initialize GCINCS to boehm-gc/include.
1731         * configure: Regenerate.
1732
1733 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
1734
1735         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
1736         SocketImpl. Update Javadoc.
1737         (bind): Call close() not impl.close() in event of exception.
1738         (connect): Likewise.
1739         Remove superfluous null checks throughout.
1740         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
1741         Don't create an extra socket. Fix for PR libgcj/10868.
1742         (bind): Clean up exception handling.
1743         Remove superfluous null checks throughout.
1744
1745 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
1746             Bryce McKinlay  <bryce@mckinlay.net.nz>
1747
1748         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
1749         ready-to-write argument to _Jv_Select. Reset the socket back to 
1750         non-blocking state after connecting.
1751         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
1752         Throw SocketTimeoutException not InterruptedIOException.
1753         (read): Throw SocketTimeoutException not InterruptedIOException.
1754
1755 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
1756
1757         * java/lang/Thread.java (Thread): Check for null "name" from
1758         start of private constructor, not after calling the private
1759         constructor.
1760
1761 2003-08-06  Tom Tromey  <tromey@redhat.com>
1762
1763         * java/io/FilePermission.java (equals): Use correct index for
1764         last character of path.
1765
1766 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
1767
1768         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
1769         * configure.in: Compare with_cross_host to build_alias, not build.
1770         * aclocal.m4: Regenerate.
1771         * configure: Regenerate.
1772
1773 2003-08-05  Tom Tromey  <tromey@redhat.com>
1774
1775         Fix for PR libgcj/11779:
1776         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
1777         class.
1778
1779         * java/lang/reflect/Method.java: Updated status comment.
1780         Imported javadoc from Classpath and re-ordered methods.
1781         * java/lang/reflect/Constructor.java: Reindented.  Updated
1782         status comment.  Imported javadoc from Classpath and re-ordered
1783         methods.
1784
1785 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
1786
1787         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
1788         Add keyLocation parameter.
1789         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
1790         string.
1791         (paramString): Generate keyChar string according to keyChar, not
1792         keyCode.
1793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1794         (state_to_awt_mods): Handle ALT key.
1795         (keyevent_state_to_awt_mods): New function.
1796         (get_first_keyval_from_keymap): New function.
1797         (keysym_to_awt_keycode): Get virtual key code from keymap.
1798         Handle missing VK_ values.
1799         (keysym_to_awt_keylocation): New function.
1800         (keyevent_to_awt_keychar): New function.
1801         (generates_key_typed_event): Handle non-text-component case.
1802         Handle GDK_KP_Delete and GDK_KP_Enter.
1803         (awt_event_handler): Call new functions to get postKeyEvent
1804         parameters.
1805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
1806         Update postKeyEvent method signature.
1807         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
1808         VK_ defines.
1809
1810 2003-08-05  Matthias Klose  <doko@debian.org>
1811
1812         * aclocal.m4: check for libart-config binary
1813           under the name libart2-config as well.
1814         * configure: regenerated.
1815
1816 2003-08-04  David P Grove  <groved@us.ibm.com>
1817
1818         * java/text/DecimalFormat.java (format): avoid ArithmeticException
1819         when groupingSize is 0.
1820         (parse): Likewise.
1821
1822 2003-08-04  Matthias Klose  <doko@debian.org>
1823
1824         * libart.m4: check for libart-config binary
1825           under the name libart2-config as well.
1826         * configure, aclocal.m4: regenerated.
1827
1828 2003-08-02  Michael Koch  <konqueror@gmx.de>
1829
1830         * java/nio/ByteBufferImpl.java
1831         (getChar): Check remaining bytes, fixed comment about endianess.
1832         (putChar): Likewise.
1833         (getShort): Likewise.
1834         (putShort): Likewise.
1835         (getInt): Check remaining bytes, fixed conversion, fixed comment about
1836         endianess.
1837         (putInt): Likewise.
1838         (getLong): Likewise.
1839         (putLong): Likewise.
1840         (getFloat): Likewise.
1841         (putFloat): Likewise.
1842         (getDouble): Likewise.
1843         (putDouble): Likewise.
1844         * java/nio/DirectByteBufferImpl.java
1845         (getChar): Wrapped code, fixed comment about endianess.
1846         (putchar): Likewise.
1847         (getShort): Likewise.
1848         (putShort): Likewise.
1849         (getInt): Fixed conversion, fixed comment about endianess.
1850         (putInt): Likewise.
1851         (getLong): Likewise.
1852         (putLong): Likewise.
1853         (getFloat): Likewise.
1854         (putFloat): Likewise.
1855         (getDouble): Likewise.
1856         (putDouble): Likewise.
1857         * java/nio/MappedByteBufferImpl.java
1858         (compact): Implemented.
1859         (getChar): Implemented.
1860         (putChar): Implemented.
1861         (getDouble): Implemented.
1862         (putdouble): Implemented.
1863         (getFloat): Implemented.
1864         (putFloat): Implemented.
1865         (getInt): Implemented.
1866         (putInt): Implemented.
1867         (getLong): Implemented.
1868         (putLong): Implemented.
1869         (getShort): Implemented.
1870         (putShort): Implemented.
1871         * java/nio/channels/FileChannelImpl.java
1872         (read): Set position where to access file.
1873         (write): Likewise.
1874         (transferTo): Flip buffer after read and before write.
1875         (transferFrom): Likewise.
1876
1877 2003-08-02  Michael Koch  <konqueror@gmx.de>
1878
1879         * gnu/java/lang/ArrayHelper.java
1880         (equalsArray): Reformated, added method documentation.
1881
1882 2003-08-02  Michael Koch  <konqueror@gmx.de>
1883
1884         * java/net/URL.java
1885         (URL): Added paragraph about the
1886         gnu.java.net.nocache_protocol_handlers property.
1887         (ph_cache): Renamed from handlers to match classpath's implementation.
1888         Reordered it with factory and serialVersionUID member variables.
1889         (cache_handlers): New member variable.
1890         (static): New static initializer to initialize cache_handlers from
1891         gnu.java.net.nocache_protocol_handlers property.
1892         (URL): Use ph_cache instead of handlers, reformatted some code to
1893         match classpath's implementation.
1894
1895 2003-08-01  Tom Tromey  <tromey@redhat.com>
1896
1897         Fix for PR libgcj/11241:
1898         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1899         initialCapacity is 0, set it to 1.
1900
1901 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
1902
1903         * java/net/SocketImpl.java (toString): Display the remote address
1904         of an unconnected server socket as "0.0.0.0/0.0.0.0".
1905
1906 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
1907
1908         * javax/swing/border/BevelBorder.java,
1909         javax/swing/border/EtchedBorder.java,
1910         javax/swing/border/LineBorder.java,
1911         javax/swing/border/MatteBorder.java,
1912         javax/swing/border/SoftBevelBorder.java,
1913         javax/swing/plaf/BorderUIResource.java,
1914         javax/swing/plaf/ComponentUI.java,
1915         javax/swing/plaf/TreeUI.java,
1916         javax/swing/plaf/basic/BasicBorders.java,
1917         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1918         javax/swing/plaf/basic/BasicTreeUI.java:
1919         Prepend "doc-files" to all paths to embedded Javadoc images, so
1920         that the generated documentation contains the correct URL.
1921
1922 2003-08-01  Tom Tromey  <tromey@redhat.com>
1923
1924         * configure: Rebuilt.
1925         * configure.in (tool_include_dir): Redefine to match gcc.
1926
1927 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
1928             Mark Wielaard  <mark@klomp.org>
1929             
1930         * java/math/BigDecimal (divide): Correctly handle
1931         ROUND_HALF_EVEN when amount is greater than 0.5.
1932         Simplify and optimize code.
1933
1934 2003-07-31  Tom Tromey  <tromey@redhat.com>
1935
1936         More for PR libgcj/11737:
1937         * java/io/ObjectInputStream.java (processResolution): Use
1938         getMethod.
1939         (getMethod): Make method accessible.
1940         (getField): Make field accessible.
1941         (setBooleanField): Don't call setAccessible here.
1942         (setByteField, setCharField, setDoubleField, setFloatField,
1943         setIntField, setLongField, setShortField, setObjectField):
1944         Likewise.
1945         (callReadMethod): Don't check whether method is null.  Catch
1946         NoSuchMethodException.
1947         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
1948         cause on thrown exceptions.
1949
1950 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
1951
1952         Fix for PR libgcj/11728:
1953         * java/util/HashMap.java (readObject): Set size.
1954
1955 2003-07-31  Tom Tromey  <tromey@redhat.com>
1956
1957         Fix for PR libgcj/11737:
1958         * java/io/ObjectOutputStream.java (getMethod): Make method
1959         accessible.
1960         (getField): Likewise.
1961         (writeObject): Use getMethod.
1962         Import PrivilegedAction and AccessController.
1963         (callWriteMethod): Don't check whether m is null.  Catch
1964         NoSuchMethodException.
1965
1966         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
1967         (containsAngle): Likewise.
1968         (getStartPoint): Rewrote.
1969         (getEndPoint): Likewise.
1970         (setAngleStart(Point2D)): Likewise.
1971
1972 2003-07-31  Roger Sayle  <roger@eyesopen.com>
1973             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1974
1975         * configure.in: Add new THREADCXXFLAGS variable.
1976         Handle POSIX threads on alpha*-dec-osf*.
1977         * configure: Regenerate.
1978         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
1979         * Makefile.in: Regenerate.
1980
1981 2003-07-08  Andrew Haley  <aph@redhat.com>
1982
1983         * include/i386-signal.h (RESTORE): New.
1984         (INIT_SEGV): Set restorer.
1985         (INIT_FPE): Likewise.
1986
1987 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1988
1989         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
1990         than getXLFD.
1991         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1992         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
1993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1994         (gtkSetFont): Scale size parameter by PANGO_SCALE.
1995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
1996         Likewise.
1997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
1998         Likewise.
1999
2000 2003-07-29  Tom Tromey  <tromey@redhat.com>
2001
2002         * defineclass.cc (handleField): Throw exception if field name is
2003         duplicated.
2004         (handleMethod): Throw exception for duplicate method.
2005
2006 2003-07-29  Tom Tromey  <tromey@redhat.com>
2007
2008         * gnu/gcj/convert/natIconv.cc (write): Handle case where
2009         output buffer is too small.
2010
2011 2003-07-28  Tom Tromey  <tromey@redhat.com>
2012
2013         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
2014         New method.
2015         Include gnu/gcj/runtime/StringBuffer.h.
2016         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
2017         native method.
2018         (String(gnu.gcj.runtime.StringBuffer)): Use it.
2019
2020 2003-07-27  Anthony Green  <green@redhat.com>
2021
2022         * configure.in: Fix newlib check.
2023         * configure: Rebuilt.
2024
2025 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2026
2027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2028         Create vbox and layout for GtkPlug.
2029
2030 2003-07-27  Michael Koch  <konqueror@gmx.de>
2031
2032         * java/awt/Window.java
2033         (Window): Removed now unused constructor. It became oboslete with the
2034         new embedded window patch.
2035
2036 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
2037             Michael Koch  <konqueror@gmx.de>
2038
2039         * gnu/java/awt/EmbeddedWindow.java
2040         (EmbeddedWindow): Extends Frame instead of Window.
2041         (window_id): New member variable to store the native window handle.
2042         (create): Removed.
2043         (EmbeddedWindow): New constructor.
2044         (addNotify): New method.
2045         (getHandler): Likewise.
2046         (setWindowPeer): New native method.
2047         * gnu/java/awt/EmbeddedWindowSupport.java
2048         (EmbeddedWindowSupport): Fixed documentation.
2049         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
2050         WindowPeer, give it an EmbeddedWindow instance instead of the raw
2051         window data.
2052         * gnu/java/awt/natEmbeddedWindow.cc
2053         (create): Removed.
2054         (setWindowPeer): New method.
2055         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
2056         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
2057         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2058         New files
2059         * gnu/java/awt/peer/gtk/GtkToolkit.java
2060         (GtkToolkit): Implements EmbeddedWindowSupport.
2061         (createEmbeddedWindow): New method.
2062         * java/awt/Window.java
2063         (Window): Removed.
2064         * Makefile.am
2065         (java_source_files): Added EmbeddedWindowPeer.java.
2066         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
2067         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
2068         * Makefile.in: Regenerated.
2069
2070 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
2071
2072         * java/lang/Win32Process.java (ConcreteProcess): Surround
2073         a command line element with quotes if it contains an
2074         embedded space or tab.
2075         * java/lang/natWin32Process.cc (startProcess): Do not
2076         surround command line elements with quotes here.
2077
2078         * configure.host: Use -fcheck-references and 
2079         -fuse-divide-subroutine for MinGW until we fix
2080         win32_exception_handler( ) in win32.cc w.r.t. Win32 
2081         Structured Exception Handling (SEH).
2082
2083         * win32.cc (_Jv_platform_initProperties): Use generic names
2084         like "x86" for the "os.arch" property to be consistent with
2085         what Sun's JDK produces. Use the wProcessorArchitecture
2086         member of the Win32 SYSTEM_INFO structure, filled in a call 
2087         to GetSystemInfo( ), instead of dwProcessorType.
2088
2089 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
2090             Ranjit Mathew  <rmathew@hotmail.com>
2091
2092         * Makefile.am: Use cross-compiling gcjh from the path for
2093         a crossed-native build.
2094         * Makefile.in: Rebuilt.
2095         * configure.in: Include libltdl in non-newlib builds.
2096         Moved determination of gcj used to build libraries to
2097         its own section. Fixed cross-compilation issues for
2098         non-newlib builds.
2099         * configure: Rebuilt.
2100
2101 2003-07-25  Tom Tromey  <tromey@redhat.com>
2102
2103         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
2104         (write): Likewise.
2105         (read): Likewise.
2106         (read): Likewise.
2107
2108 2003-07-25  Mark Wielaard  <mark@klomp.org>
2109
2110         * java/lang/natRuntime.cc (_load): Add library name to
2111         UnsatisfiedLinkError when thrown.
2112
2113 2003-07-25  Mark Wielaard  <mark@klomp.org>
2114
2115         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
2116         added.
2117         * Makefile.in: Likewise.
2118
2119 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
2120
2121         * java/awt/Component.java
2122         (getPreferredSize): Call preferredSize.
2123         (preferredSize): Moved body of getPreferredSize here.
2124         (getMinimumSize): Call minimumSize.
2125         (minimumSize): Moved body of getMinimumSize here.
2126         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
2127         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
2128         pass -1
2129         * java/awt/Container.java
2130         (validate): Don't validate if there is no peer.
2131         (update): Clear background before calling paint.
2132         * java/awt/GridBagLayout.java
2133         Completed the implementation and fixed several bugs.
2134         * java/awt/MediaTracker.java
2135         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
2136         combine flags.
2137         * java/awt/Window.java
2138         (Window): Don't call setVisible(false). Windows are invisible by
2139         default and calling virtual methods from constructor causes
2140         compatibility problems (e.g. subclasses may assume that the peer
2141         already exists).
2142
2143 2003-07-25  Michael Koch  <konqueror@gmx.de>
2144
2145         * java/awt/GridBagLayout.java:
2146         Totally reworked and partly implemented.
2147         * java/awt/GridBagLayoutInfo.java:
2148         New file.
2149
2150 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2151
2152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2153         Don't pack label in an event box.
2154
2155 2003-07-24  Tom Tromey  <tromey@redhat.com>
2156
2157         For PR libgcj/7482:
2158         * verify.cc (ref_intersection): New class.
2159         (type_val): Removed unresolved_reference_type,
2160         uninitialized_unresolved_reference_type.
2161         (is_assignable_from_slow): Rewrote.
2162         (type::data): Removed.
2163         (type::klass): New field.
2164         (type::type): Added verifier argument.
2165         (type::resolve): Removed.
2166         (type::set_uninitialized): Updated for change to type_val.
2167         (type::set_initialized): Likewise.
2168         (type::isinitialized): Likewise.
2169         (type::print): Likewise.
2170         (construct_primitive_array_type): Likewise.
2171         (type::compatible): Updated for change to type_val and to use
2172         ref_intersection.
2173         (type::isarray): Updated to use ref_intersection.
2174         (type::isinterface): Likewise.
2175         (type::element_type): Likewise.
2176         (type::to_array): Likewise.
2177         (type::verify_dimensions): Rewrote.
2178         (type::merge): Likewise.
2179         (check_class_constant): Updated for type constructor change.
2180         (check_constant): Likewise.
2181         (check_field_constant): Likewise.
2182         (get_one_type): Likewise.
2183         (initialize_stack): Likewise.
2184         (verify_instructions_0): Likewise.
2185         (verify_instructions_0) [op_invokeinterface]: Removed special
2186         case.
2187         (isect_list): New field.
2188         (_Jv_BytecodeVerifier): Initialize it.
2189         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
2190
2191 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
2192
2193         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2194         unless field size is 2.
2195
2196 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2197
2198         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2199         (connectHooks): New method.
2200         (handleEvent): Remove.
2201         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2202         (createHooks): Remove declaration.
2203         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2204         (generates_key_typed_event): Change to handle only certain
2205         keyvals.
2206         (awt_event_handler): Add special handling for GtkTextView.
2207         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2208         (textcomponent_commit_cb): New function.
2209         (textcomponent_changed_cb): Likewise.
2210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2211         (connectHooks): Remove.
2212
2213 2003-07-23  Tom Tromey  <tromey@redhat.com>
2214
2215         * java/lang/natSystem.cc (arraycopy): Check for overflow.
2216
2217         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
2218
2219 2003-07-22  Tom Tromey  <tromey@redhat.com>
2220
2221         * boehm.cc (_Jv_BuildGCDescr): Wrote.
2222         Include limits.h.
2223
2224 2003-07-22  Tom Tromey  <tromey@redhat.com>
2225
2226         * java/awt/Window.java (getWarningString): Just return the
2227         string.
2228         (Window): Set warningString; check with security manager.
2229
2230 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
2231
2232         * gnu/awt/xlib/XGraphicsConfiguration.java
2233         (FontMetricsCache): Made static.
2234  
2235 2003-07-22  Tom Tromey  <tromey@redhat.com>
2236
2237         * java/net/URLEncoder.java (encode(String)): Use platform default
2238         encoding.
2239         (encode(String,String)): Convert to 2-digit upper-case hex
2240         number.
2241         (hex): New field.
2242
2243 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2244
2245         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2246         (create): Remove unused method implementation.
2247         (connectHooks): Remove debug messages.
2248
2249 2003-07-20  Anthony Green  <green@redhat.com>
2250
2251         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
2252         CloneNotSupportedException.
2253         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
2254         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
2255         * gnu/gcj/xlib/GC.java (clone): Ditto.
2256         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
2257         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
2258
2259         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
2260         handler.
2261         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
2262
2263 2003-07-20  Steve Pribyl <steve@netfuel.com.>
2264
2265         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
2266         String.  Put dlerror() message into exception.
2267         Include UnsatisfiedLinkError.
2268         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
2269         String.  Now native.
2270
2271 2003-07-20  Tom Tromey  <tromey@redhat.com>
2272
2273         * java/lang/Runtime.java: Comment fix.
2274         * java/lang/ClassLoader.java (isAncestorOf): New method.
2275         (getParent): Uncommented security check.  Use isAncestorOf.
2276         * include/jvm.h (_Jv_CheckAccess): Declare.
2277         * java/lang/reflect/natConstructor.cc (newInstance): Perform
2278         access check.
2279         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
2280         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
2281         class loader to _Jv_GetArrayClass.
2282         Include ArrayIndexOutOfBoundsException.h.
2283         * java/lang/reflect/Field.java: Update comment to reflect status.
2284         (equals): Fixed indentation.
2285         * java/lang/Class.h (Class): Declare memberAccessCheck, not
2286         checkMemberAccess.  Make _Jv_CheckAccess a friend.
2287         * java/lang/Class.java (memberAccessCheck): New method from
2288         Classpath.
2289         (checkMemberAccess): Removed.
2290         (getDeclaredMethod): Use memberAccessCheck.
2291         (getField): Likewise.
2292         (getMethod): Likewise.
2293         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
2294         (_Jv_SearchMethodInClass): Likewise.
2295         * prims.cc (_Jv_CheckAccess): New function.
2296         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
2297         (_Jv_JNI_GetAnyFieldID): Likewise.
2298         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
2299         (getClassLoader): Added security check.
2300         (getConstructor): Call memberAccessCheck.
2301         (getDeclaredClasses): Likewise.
2302         (getDeclaredField): Likewise.
2303         (getDeclaredFields): Likewise.
2304         (_getConstructors): Likewise.
2305         (getDeclaredConstructor): Likewise.
2306         (getDeclaredMethods): Likewise.
2307         (getFields): Likewise.
2308         (getMethods): Likewise.
2309         (newInstance): Likewise.
2310         (_Jv_MakeVTable): Put method name in exception.
2311         * java/lang/reflect/natMethod.cc (getType): Use
2312         getClassLoaderInternal.
2313         (_Jv_GetTypesFromSignature): Likewise.
2314         (invoke): Perform access check.
2315         (_Jv_CallAnyMethodA): Removed old FIXME comments.
2316         Include ArrayIndexOutOfBoundsException.h.
2317         * java/lang/reflect/natField.cc (getType): Use
2318         getClassLoaderInternal.
2319         (_Jv_CheckFieldAccessibility): Removed.
2320         (getAddr): Use _Jv_CheckAccess; find caller.
2321         Include ArrayIndexOutOfBoundsException.h.
2322
2323 2003-07-20  Michael Koch  <konqueror@gmx.de>
2324
2325         * java/net/URL.java
2326         (URL): Fixed documentation to name an argument correcty, Reformatted
2327         one method declaration.
2328         (getURLStreamHandler): Added documentation from classpath.
2329
2330 2003-07-19  Tom Tromey  <tromey@redhat.com>
2331
2332         * mauve-libgcj: Don't run CollationElementIterator tests.
2333
2334 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
2335
2336         * java/net/URLClassLoader.java (addURL): Moved implementation to
2337         private addURLImpl() to avoid calling addURL from the constructor.
2338         (addURLImpl): Contains the code that was previously in addURL.
2339         (addURLs): Call addURLImpl(), not addURL().
2340
2341 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2342
2343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
2344         Handle missing event cases, connect to "value-changed" signal.
2345
2346 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2347
2348         * java/awt/geom/CubicCurve2D.java,
2349         java/awt/geom/Line2D.java,
2350         java/awt/geom/QuadCurve2D.java,
2351         java/awt/geom/Rectangle2D.java: 
2352         Fix path some calculations, make path iterators follow
2353         a consistent style.
2354
2355 2003-07-18  Mark Wielaard  <mark@klomp.org>
2356
2357         * java/util/logging/Handler.java (isLoggable): Check record level
2358         smaller or equal.
2359
2360 2003-07-17  Michael Koch  <konqueror@gmx.de>
2361
2362         * gnu/java/awt/peer/gtk/GtkToolkit.java:
2363         Reworked imports.
2364
2365 2003-07-14  Michael Koch  <konqueror@gmx.de>
2366
2367         * gnu/java/rmi/server/UnicastServerRef.java:
2368         New version from classpath.
2369
2370 2003-07-14  Michael Koch  <konqueror@gmx.de>
2371
2372         * java/awt/image/MemoryImageSource.java,
2373         java/beans/PropertyEditorManager.java,
2374         javax/naming/CompoundName.java,
2375         javax/naming/spi/NamingManager.java,
2376         javax/swing/AbstractButton.java,
2377         javax/swing/ButtonModel.java,
2378         javax/swing/SwingUtilities.java,
2379         javax/swing/UIManager.java,
2380         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2381         javax/swing/event/AncestorEvent.java,
2382         javax/swing/event/InternalFrameEvent.java,
2383         java/util/zip/ZipFile.java:
2384         New versions from classpath.
2385
2386 2003-07-13  Michael Koch  <konqueror@gmx.de>
2387
2388         * gnu/java/nio/FileChannelImpl.java,
2389         gnu/java/nio/natFileChannelImpl.cc: Removed.
2390         * java/io/FileInputStream.java,
2391         java/io/FileOutputStream.java,
2392         java/io/RandomAccessFile.java,
2393         java/nio/MappedByteBufferImpl.java:
2394         Import java.nio.channels.FileChannelImpl instead of
2395         gnu.java.nio.FileChannelImpl.
2396         * java/nio/channels/FileChannelImpl.java,
2397         java/nio/channels/natFileChannelImpl.cc:
2398         New files.
2399         * Makefile.am
2400         (ordinary_java_source_files):
2401         Removed gnu/java/nio/FileChannelImpl.java and added
2402         java/nio/channels/FileChannelImpl.java.
2403         (nat source_files):
2404         Removed gnu/java/nio/natFileChannelImpl.cc and added
2405         java/nio/channels/natFileChannelImpl.cc.
2406         * Makefile.in: Regenerated.
2407
2408 2003-07-13  Michael Koch  <konqueror@gmx.de>
2409
2410         * javax/swing/plaf/basic/BasicBorders.java,
2411         javax/swing/plaf/basic/BasicLabelUI.java,
2412         javax/swing/plaf/basic/BasicLookAndFeel.java,
2413         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2414         javax/swing/plaf/basic/BasicTextUI.java,
2415         javax/swing/plaf/metal/MetalLookAndFeel.java:
2416         New versions from classpath.
2417
2418 2003-07-13  Michael Koch  <konqueror@gmx.de>
2419
2420         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2421         * gnu/java/awt/peer/gtk/GdkGraphics.java
2422         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2423         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2424         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2425         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2426         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2427         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2428         * gnu/java/awt/peer/gtk/GtkClipboard.java
2429         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2430         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2431         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2432         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2433         * gnu/java/awt/peer/gtk/GtkImage.java
2434         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2435         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2436         * gnu/java/awt/peer/gtk/GtkListPeer.java
2437         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2438         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2439         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2440         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2441         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2442         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2443         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2444         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2445         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2446         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2447         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2448         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2449
2450 2003-07-13  Michael Koch  <konqueror@gmx.de>
2451
2452         * gnu/java/locale/LocaleInformation_de.java
2453         * gnu/java/locale/LocaleInformation_en.java
2454         * gnu/java/locale/LocaleInformation_nl.java
2455
2456 2003-07-13  Michael Koch  <konqueror@gmx.de>
2457
2458         * gnu/java/awt/EmbeddedWindow.java,
2459         gnu/java/awt/EmbeddedWindowSupport.java,
2460         gnu/java/awt/natEmbeddedWindow.cc:
2461         New files.
2462         * java/awt/Window.java
2463         (Window): New constructor to support embedded windows.
2464         * Makefile.am
2465         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2466         gnu/java/awt/EmbeddedWindowSupport.java.
2467         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2468         * Makefile.in: Regenerated.
2469
2470 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
2471
2472         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2473         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2474         * java/awt/im/InputContext.java: Remove a redundant
2475         partial line.
2476
2477 2003-07-09  Tom Tromey  <tromey@redhat.com>
2478
2479         * Makefile.in: Rebuilt.
2480         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2481
2482 2003-07-09  Mark Wielaard  <mark@klomp.org>
2483
2484         * java/io/ObjectOutputStream.java (writeObject): break after
2485         calling writeClassDescriptor().
2486
2487 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
2488
2489         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
2490
2491 2003-07-09  Michael Koch  <konqueror@gmx.de>
2492
2493         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2494         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2495         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2496         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2497         Explicitly import used classes.
2498         * java/awt/Container.java: New version from classpath.
2499
2500 2003-07-09  Michael Koch  <konqueror@gmx.de>
2501
2502         * libgcj.pc.in: New file.
2503         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
2504         * Makefile.in: Regenerated.
2505         * configure: Regenrated.
2506         * configure.in: Create libgcj.pc from libgcj.pc.in.
2507
2508 2003-07-08  Mark Wielaard <mark@klomp.org>
2509
2510         * gcj/cni.h: CNI now expands to Compiled Native Interface.
2511
2512         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
2513         * java/lang/fdlibm.h: Likewise.
2514
2515 2003-07-07  Adam Megacz <adam@xwt.org>
2516
2517         * posix.cc: added #include<stdio.h>
2518                 
2519 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2520
2521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
2522         formatting.
2523
2524         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2525         (setCaretPosition, setEditable): Rely entirely on native
2526         implementation.
2527         (getArgs): Remove.
2528         (postTextEvent): New method.
2529         (handleEvent): New method.
2530         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
2531         method.
2532         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
2533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2534         (keysym_to_awt_keycode): Fix range checks.
2535         (generates_key_typed_event): New function.
2536         (awt_event_handler): Post AWT_KEY_RELEASED events to event
2537         queue.
2538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2539         (gtkInit): Store TextComponent's postTextEvent method ID.
2540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2541         (setText): Post TEXT_VALUE_CHANGED event to event queue.
2542
2543 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2544
2545         * configure.in: Check for usleep declaration.
2546         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
2547         * configure: Regenerate.
2548         * include/config.h.in: Likewise.
2549         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
2550
2551 2003-07-01  Michael Koch  <konqueror@gmx.de>
2552
2553         * gnu/gcj/convert/natIconv.cc
2554         (iconv_init): Fixed possible memory leak by releasing allocated iconv
2555         handle.
2556
2557 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2558
2559         * glib-2.0.m4: New file.
2560         * gtk-2.0.m4: New file.
2561         * glib.m4: Remove.
2562         * gtk.m4: Remove.
2563         * configure.in: Update AM_PATH_GTK macro call to
2564         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
2565         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
2566         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2567         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2568         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
2569         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2570         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2571         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
2572         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2573         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2574         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2575         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2576         jni/gtk-peer/gthread-jni.c,
2577         jni/gtk-peer/gthread-jni.h:
2578         New versions from classpath.
2579         * aclocal.m4: Regenerate.
2580         * configure: Regenerate.
2581         * Makefile.in: Regenerate.
2582         * gcj/Makefile.in: Regenerate.
2583         * include/Makefile.in: Regenerate.
2584         * testsuite/Makefile.in: Regenerate.
2585
2586 2003-06-30  Gary Benson  <gbenson@redhat.com>
2587
2588         For PR libgcj/11349:
2589         * javax/naming/spi/NamingManager.java (getURLContext): Use
2590         correct name for factory class.
2591
2592 2003-06-28  Michael Koch  <konqueror@gmx.de>
2593
2594         * java/io/PrintStream.java
2595         (checkError): Call flush() instead of direct flushing of the Writer
2596         object.
2597         (print): Call print(String) instead of direct print method of the
2598         Writer Object.
2599         (println): Call println(String) instead of direct println method of the
2600         Writer Object.
2601         (write): Simplified.
2602
2603 2003-06-28  Michael Koch  <konqueror@gmx.de>
2604
2605         * java/net/ServerSocket.java
2606         (setChannel): New method.
2607         * java/net/Socket.java
2608         (setChannel): New method.
2609
2610 2003-06-27  Michael Koch  <konqueror@gmx.de>
2611
2612         * java/beans/beancontext/BeanContextSupport.java:
2613         New version from classpath.
2614
2615 2003-06-27  Michael Koch  <konqueror@gmx.de>
2616
2617         * java/awt/Window.java,
2618         java/awt/font/GraphicAttribute.java,
2619         java/awt/font/ImageGraphicAttribute.java,
2620         java/awt/image/DataBufferByte.java,
2621         java/awt/image/DataBufferInt.java,
2622         java/awt/image/DataBufferUShort.java,
2623         java/awt/image/DirectColorModel.java,
2624         java/awt/image/PixelGrabber.java:
2625         New versions from classpath.
2626
2627 2003-06-27  Michael Koch  <konqueror@gmx.de>
2628
2629         * java/security/Certificate.java
2630         (getGuarantor): Removed wrong @deprecated tag.
2631         (getPrincipal): Likewise.
2632         (getPublicKey): Likewise.
2633         (encode): Likewise.
2634         (decode): Likewise.
2635         (getFormat): Likewise.
2636         (toString): Likewise.
2637         * java/security/cert/PolicyQualifierInfo.java
2638         (PolicyQualifierInfo): Made final.
2639         * javax/security/auth/x500/X500Principal.java
2640         (serialVersionUID): New member variable.
2641
2642 2003-06-27  Michael Koch  <konqueror@gmx.de>
2643
2644         * java/text/Format.java
2645         (serialVersionUID): Fixed value.
2646
2647 2003-06-27  Michael Koch  <konqueror@gmx.de>
2648
2649         * java/net/Inet4Address.java
2650         (Inet4Address): Made package-private.
2651         * java/net/Inet6Address.java
2652         (Inet4Address): Made package-private.
2653
2654 2003-06-27  Michael Koch  <konqueror@gmx.de>
2655
2656         * java/io/RandomAccessFile.java
2657         (readLine): Removed wrong @deprecated tag.
2658         (getChannel): Made final.
2659
2660 2003-06-27  Michael Koch  <konqueror@gmx.de>
2661
2662         * gnu/java/nio/FileChannelImpl.java
2663         (write): Removed.
2664
2665 2003-06-27  Michael Koch  <konqueror@gmx.de>
2666
2667         * java/nio/ByteBufferImpl.java
2668         (ByteBufferImpl): Made it a package-private class
2669         * java/nio/CharBufferImpl.java
2670         (CharBufferImpl): Made it a package-private class
2671         * java/nio/DirectByteBufferImpl.java
2672         (DirectByteBufferImpl): Made it a package-private class
2673         * java/nio/DoubleBufferImpl.java
2674         (DoubleBufferImpl): Made it a package-private class
2675         * java/nio/FloatBufferImpl.java
2676         (FloatBufferImpl): Made it a package-private class
2677         * java/nio/IntBufferImpl.java
2678         (IntBufferImpl): Made it a package-private class
2679         * java/nio/LongBufferImpl.java
2680         (LongBufferImpl): Made it a package-private class
2681         * java/nio/ShortBufferImpl.java
2682         (ShortBufferImpl): Made it a package-private class
2683         * java/nio/channels/FileChannel.java
2684         (write): Made final.
2685         * java/nio/channels/ServerSocketChannel.java
2686         (ServerSocketChanne): Made protected.
2687
2688 2003-06-27  Michael Koch  <konqueror@gmx.de>
2689
2690         * javax/naming/CompositeName.java
2691         (serialVersionUID): New member variable.
2692         * javax/naming/CompoundName.java
2693         (serialVersionUID): New member variable.
2694         * javax/naming/InitialContext.java
2695         (InitialContext): Throws NamingException.
2696         (init): Likewise.
2697         * javax/naming/LinkRef.java
2698         (serialVersionUID): New member variable.
2699         (gteLinkName): Throws NamingException.
2700         * javax/naming/NamingException.java
2701         (serialVersionUID): New member variable.
2702         * javax/naming/NamingSecurityException.java
2703         (NamingSecurityException): Made abstract.
2704         (serialVersionUID): New member variable.
2705         * javax/naming/ReferralException.java
2706         (serialVersionUID): New member variable.
2707         * javax/naming/StringRefAddr.java
2708         (serialVersionUID): New member variable.
2709         * javax/naming/directory/BasicAttribute.java:
2710         Reworked imports.
2711         (serialVersionUID): New member variable.
2712         (get): Throws NamingException.
2713         (getAll): Throws NamingException.
2714         * javax/naming/directory/BasicAttributes.java:
2715         Reworked imports.
2716         (serialVersionUID): New member variable.
2717         * javax/naming/ldap/UnsolicitedNotificationEvent.java
2718         (serialVersionUID): New member variable.
2719
2720 2003-06-27  Michael Koch  <konqueror@gmx.de>
2721
2722         * Makefile.am
2723         (awt_java_source_files): Added new files:
2724         javax/swing/Popup.java,
2725         javax/swing/PopupFactory.java
2726         * Makefile.in: Regenerated.
2727
2728 2003-06-27  Michael Koch  <konqueror@gmx.de>
2729
2730         * javax/swing/JWindow.java,
2731         javax/swing/event/AncestorEvent.java,
2732         javax/swing/event/HyperlinkEvent.java,
2733         javax/swing/event/InternalFrameEvent.java,
2734         javax/swing/event/ListDataEvent.java,
2735         javax/swing/event/TableModelEvent.java,
2736         javax/swing/plaf/PopupMenuUI.java,
2737         javax/swing/plaf/SplitPaneUI.java,
2738         javax/swing/plaf/TabbedPaneUI.java,
2739         javax/swing/plaf/TextUI.java,
2740         javax/swing/plaf/TreeUI.java,
2741         javax/swing/plaf/basic/BasicTextUI.java,
2742         javax/swing/plaf/basic/BasicTreeUI.java:
2743         New versions from classpath.
2744         * javax/swing/Popup.java,
2745         javax/swing/PopupFactory.jav:
2746         New source files from classpath.
2747         * javax/swing/plaf/doc-files/TreeUI-1.png:
2748         New binary files from classpath.
2749
2750 2003-06-25  Michael Koch  <konqueror@gmx.de>
2751
2752         * Makefile.am
2753         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
2754         * Makefile.in: Regenerated.
2755
2756 2003-06-25  Michael Koch  <konqueror@gmx.de>
2757
2758         * javax/swing/plaf/ActionMapUIResource.java,
2759         javax/swing/plaf/BorderUIResource.java,
2760         javax/swing/plaf/ButtonUI.java,
2761         javax/swing/plaf/ColorChooserUI.java,
2762         javax/swing/plaf/ColorUIResource.java,
2763         javax/swing/plaf/ComboBoxUI.java,
2764         javax/swing/plaf/ComponentInputMapUIResource.java,
2765         javax/swing/plaf/ComponentUI.java,
2766         javax/swing/plaf/DesktopIconUI.java,
2767         javax/swing/plaf/DesktopPaneUI.java,
2768         javax/swing/plaf/DimensionUIResource.java,
2769         javax/swing/plaf/FileChooserUI.java,
2770         javax/swing/plaf/FontUIResource.java,
2771         javax/swing/plaf/IconUIResource.java,
2772         javax/swing/plaf/InputMapUIResource.java,
2773         javax/swing/plaf/InsetsUIResource.java,
2774         javax/swing/plaf/InternalFrameUI.java,
2775         javax/swing/plaf/LabelUI.java,
2776         javax/swing/plaf/ListUI.java,
2777         javax/swing/plaf/MenuBarUI.java,
2778         javax/swing/plaf/MenuItemUI.java,
2779         javax/swing/plaf/OptionPaneUI.java,
2780         javax/swing/plaf/PanelUI.java,
2781         javax/swing/plaf/ProgressBarUI.java,
2782         javax/swing/plaf/RootPaneUI.java,
2783         javax/swing/plaf/ScrollBarUI.java,
2784         javax/swing/plaf/ScrollPaneUI.java,
2785         javax/swing/plaf/SeparatorUI.java,
2786         javax/swing/plaf/SliderUI.java,
2787         javax/swing/plaf/TableHeaderUI.java,
2788         javax/swing/plaf/TableUI.java,
2789         javax/swing/plaf/ToolBarUI.java,
2790         javax/swing/plaf/ToolTipUI.java,
2791         javax/swing/plaf/ViewportUI.java:
2792         New versions from classpath.
2793         * javax/swing/plaf/SpinnerUI.java: 
2794         New file from classpath
2795
2796 2003-06-25  Michael Koch  <konqueror@gmx.de>
2797
2798         * java/awt/image/ColorModel.java:
2799         New version from classpath.
2800
2801 2003-06-25  Michael Koch  <konqueror@gmx.de>
2802
2803         * java/net/PlainDatagramSocketImpl.java:
2804         Partly merged with classpath, this mainly adds documentation.
2805
2806 2003-06-25  Michael Koch  <konqueror@gmx.de>
2807
2808         * java/io/ObjectInputStream.java
2809         (readClassDescriptor): New method.
2810         (readObject): Moved functionality to readClassDescriptor().
2811         * java/io/ObjectOutputStream.java
2812         (writeClassDescriptor): New method.
2813         (writeObject): Moved functionality to writeClassDescriptor().
2814
2815 2003-06-25  Michael Koch  <konqueror@gmx.de>
2816
2817         * javax/swing/plaf/basic/BasicListUI.java,
2818         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2819         Added missing methods.
2820
2821 2003-06-25  Michael Koch  <konqueror@gmx.de>
2822
2823         * javax/swing/event/AncestorEvent.java
2824         javax/swing/event/HyperlinkEvent.java
2825         javax/swing/event/InternalFrameEvent.java
2826         javax/swing/event/ListDataEvent.java
2827         javax/swing/event/TableModelEvent.java:
2828         Compile fixes.
2829
2830 2003-06-24  Michael Koch  <konqueror@gmx.de>
2831
2832         * java/net/URL.java:
2833         Renamed "handler" to "ph" in the whole file to match classpaths
2834         version.
2835         * java/net/URLStreamHandler.java:
2836         (equals): Renamed "handler" to "ph".
2837
2838 2003-06-24  Michael Koch  <konqueror@gmx.de>
2839
2840         * javax/swing/event/AncestorEvent.java,
2841         javax/swing/event/HyperlinkEvent.java,
2842         javax/swing/event/InternalFrameEvent.java,
2843         javax/swing/event/ListDataEvent.java,
2844         javax/swing/event/TableModelEvent.java,
2845         javax/swing/event/TreeWillExpandListener.java,
2846         javax/swing/plaf/ComponentUI.java,
2847         javax/swing/plaf/DesktopIconUI.java,
2848         javax/swing/plaf/DesktopPaneUI.java,
2849         javax/swing/plaf/DimensionUIResource.java,
2850         javax/swing/plaf/FileChooserUI.java,
2851         javax/swing/plaf/FontUIResource.java,
2852         javax/swing/plaf/IconUIResource.java,
2853         javax/swing/plaf/InputMapUIResource.java,
2854         javax/swing/plaf/InsetsUIResource.java,
2855         javax/swing/plaf/InternalFrameUI.java,
2856         javax/swing/plaf/LabelUI.java,
2857         javax/swing/plaf/ListUI.java,
2858         javax/swing/plaf/MenuBarUI.java,
2859         javax/swing/plaf/MenuItemUI.java,
2860         javax/swing/plaf/OptionPaneUI.java,
2861         javax/swing/plaf/PanelUI.java,
2862         javax/swing/plaf/ProgressBarUI.java,
2863         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2864         javax/swing/plaf/doc-files/ComponentUI-1.png:
2865         New versions from classpath.
2866
2867 2003-06-24  Michael Koch  <konqueror@gmx.de>
2868
2869         * java/nio/Buffer.java
2870         (cap): Made package-private.
2871         (pos): Likewise.
2872         (limit): Likewise.
2873         (mark): Likewise.
2874
2875 2003-06-24  Michael Koch  <konqueror@gmx.de>
2876
2877         * java/net/SocketImpl.java
2878         (shutdownInput): Made it non-abstract method throwing an exception
2879         like in SUNs JRE.
2880         (shutdownOutput): Likewise.
2881         * java/net/SocketInputStream.java,
2882         java/net/SocketOutputStream.java:
2883         New files from classpath.
2884
2885 2003-06-24  Michael Koch  <konqueror@gmx.de>
2886
2887         * java/awt/Font.java,
2888         java/awt/Window.java,
2889         java/awt/color/ColorSpace.java,
2890         java/awt/datatransfer/StringSelection.java,
2891         java/awt/image/ColorModel.java:
2892         New versions from classpath.
2893
2894 2003-06-24  Michael Koch  <konqueror@gmx.de>
2895
2896         * Makefile.am
2897         (awt_java_source_files): Added new files:
2898         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2899         javax/swing/plaf/basic/BasicSplitPaneUI.java
2900         * Makefile.in: Regenerated.
2901
2902 2003-06-24  Michael Koch  <konqueror@gmx.de>
2903
2904         * javax/swing/text/JTextComponent.java:
2905         New version from classpath.
2906
2907 2003-06-24  Michael Koch  <konqueror@gmx.de>
2908
2909         * javax/swing/Timer.java,
2910         javax/swing/plaf/ActionMapUIResource.java,
2911         javax/swing/plaf/ButtonUI.java,
2912         javax/swing/plaf/ColorChooserUI.java,
2913         javax/swing/plaf/ColorUIResource.java,
2914         javax/swing/plaf/ComboBoxUI.java,
2915         javax/swing/plaf/ComponentInputMapUIResource.java,
2916         javax/swing/plaf/basic/BasicBorders.java:
2917         New versions from classpath.
2918         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
2919         javax/swing/plaf/basic/BasicSplitPaneUI.java:
2920         New file from classpath.
2921         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2922         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2923         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2924         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2925         javax/swing/plaf/doc-files/ComponentUI-1.png:
2926         New binary files from classpath.
2927
2928 2003-06-24  Michael Koch  <konqueror@gmx.de>
2929
2930         * java/io/LineNumberReader.java
2931         (skip): Dont do line number accounting here as this is already done in
2932         read(), simplified.
2933
2934 2003-06-21  Michael Koch  <konqueror@gmx.de>
2935
2936         * java/io/File.java
2937         (static): Load javaio lib if existing (only in classpath).
2938         (File): Revised documentation to show the correct argument name.
2939         (createTempFile): Partly merged with classpath.
2940         (compareTo): Simplified.
2941         (lastModified): Throw exception if time < 0.
2942         (deleteOnExit): Revised documentation.
2943
2944 2003-06-21  Michael Koch  <konqueror@gmx.de>
2945
2946         * java/net/PlainSocketImpl.java:
2947         Reformatted.
2948         (PlainSocketImpl): Merged class documentaion with classpath.
2949         (in): Moved.
2950         (out): Moved.
2951         (PlainSocketImpl): New empty constructor.
2952         (finalize): Moved.
2953         (setOption): Merged documentation from classpath.
2954         (getOption): Likewise.
2955         (create): Likewise.
2956         (connect): Likewise.
2957         (bind): Likewise.
2958         (listen): Likewise.
2959         (accept): Likewise.
2960         (available): Likewise.
2961         (close): Likewise.
2962         (read): Likewise.
2963         (write): Likewise.
2964         (getInputStream): Made synchronozed to get sure that only one stream
2965         object can be created for this socket, merged documentation from
2966         classpath.
2967         (getOutputStream): Likewise.
2968
2969 2003-06-21  Michael Koch  <konqueror@gmx.de>
2970
2971         * java/net/PlainSocketImpl.java:
2972         Reformatting.
2973         (static): New implicit method.
2974         (read): Made package private.
2975         (write): Likewise.
2976
2977 2003-06-21  Michael Koch  <konqueror@gmx.de>
2978
2979         * java/util/SimpleTimeZone.java:
2980         Removed unneeded import, reformatting.
2981
2982 2003-06-21  Michael Koch  <konqueror@gmx.de>
2983
2984         * java/text/DateFormat.java,
2985         java/text/SimpleDateFormat.java,
2986         java/util/Locale.java:
2987         New versions from classpath.
2988
2989 2003-06-21  Michael Koch  <konqueror@gmx.de>
2990
2991         * javax/swing/SpinnerModel.java:
2992         New file from classpath.
2993         * javax/swing/border/LineBorder.java,
2994         javax/swing/border/SoftBevelBorder.java,
2995         javax/swing/plaf/BorderUIResource.java,
2996         javax/swing/plaf/basic/BasicBorders.java:
2997         New versions from classpath.
2998         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2999         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3000         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3001         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3002         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3003         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
3004         New binary files from classpath.
3005
3006 2003-06-21  Michael Koch  <konqueror@gmx.de>
3007
3008         * java/util/logging/LogRecord.java,
3009         java/util/logging/Logger.java,
3010         java/util/logging/SocketHandler.java,
3011         java/util/logging/SimpleFormatter.java,
3012         java/util/logging/Formatter.java,
3013         java/util/logging/ErrorManager.java,
3014         java/util/logging/Handler.java,
3015         java/util/logging/FileHandler.java,
3016         java/util/logging/LogManager.java,
3017         java/util/logging/Level.java,
3018         java/util/logging/ConsoleHandler.java,
3019         java/util/logging/StreamHandler.java,
3020         java/util/logging/LoggingPermission.java,
3021         java/util/logging/Filter.java,
3022         java/util/logging/MemoryHandler.java,
3023         java/util/logging/XMLFormatter.java:
3024         New files from classpath.
3025
3026 2003-06-20  Michael Koch  <konqueror@gmx.de>
3027
3028         * java/io/ObjectStreamField.java
3029         (unshared): new member variable.
3030         (ObjectStreamField): New constructor.
3031         (isUnshared): New method.
3032
3033 2003-06-20  Michael Koch  <konqueror@gmx.de>
3034
3035         * java/net/URLStreamHandler.java
3036         (hostsEqual): Rewritten.
3037
3038 2003-06-20  Michael Koch  <konqueror@gmx.de>
3039
3040         * gnu/java/nio/MappedByteFileBuffer.java,
3041         gnu/java/nio/natMappedByteFileBuffer.cc:
3042         Removed
3043         * java/nio/MappedByteBufferImpl.java:
3044         New file.
3045         * gnu/java/nio/FileChannelImpl.java:
3046         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
3047         * Makefile.am
3048         (ordinary_java_source_files): Removed
3049         gnu/java/nio/MappedByteFileBuffer.java and added
3050         java/nio/MappedByteBufferImpl.java.
3051         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
3052         * Makefile.in: Regenerated.
3053
3054 2003-06-19  Michael Koch  <konqueror@gmx.de>
3055
3056         * gnu/java/nio/DatagramChannelImpl.java
3057         (fd): Removed.
3058         (blocking): New member variable.
3059         (socket): Likewise.
3060         (DatagramChannelImpl): Throws IOException, initialize socket.
3061         (socket):Implemented.
3062         (implCloseSelectableChannel): Throws IOException, implemented.
3063         (implConfigureBlocking): Likewise.
3064         (connect): Likewise.
3065         (disconnect): Likewise.
3066         (isConnected): Likewise.
3067         (write): Likewise.
3068         (read): Likewise.
3069         (receive): Throws IOException.
3070         (send): Likewise.
3071         * gnu/java/nio/SocketChannelImpl.java
3072         (read): Implemented.
3073         (write): Implemented.
3074
3075 2003-06-19  Michael Koch  <konqueror@gmx.de>
3076
3077         * javax/swing/JComponent.java,
3078         javax/swing/JInternalFrame.java,
3079         javax/swing/MenuSelectionManager.java,
3080         javax/swing/SwingUtilities.java,
3081         javax/swing/ToggleButtonModel.java:
3082         New versions from classpath.
3083
3084 2003-06-19  Michael Koch  <konqueror@gmx.de>
3085
3086         * java/text/CollationElementIterator.java
3087         (NULLORDER): Initialize with -1 as JDK documentation says.
3088
3089 2003-06-19  Michael Koch  <konqueror@gmx.de>
3090
3091         * java/net/HttpURLConnection.java,
3092         java/net/Inet4Address.java,
3093         java/net/Inet6Address.java,
3094         java/net/SocketImpl.java,
3095         java/net/URLClassLoader.java:
3096         Reworked import statements.
3097         * java/net/InetAddress.java
3098         (getByAddress): Simplified.
3099         * java/net/ServerSocket.java
3100         (ServerSocket): Moved special handling during bind operation to
3101         bind().
3102         (bind): Handle different cases when trying to bind a socket.
3103         * java/net/URLConnection.java
3104         (getHeaderFieldDate): Merged with classpath.
3105         (getHeaderFieldInt): Likewise.
3106
3107 2003-06-19  Michael Koch  <konqueror@gmx.de>
3108
3109         * java/util/zip/InflaterInputStream.java
3110         (InflaterInputStream): Throw NullPointerException if in is null (as
3111         JDK does).
3112
3113 2003-06-19  Michael Koch  <konqueror@gmx.de>
3114
3115         * java/awt/Font.java
3116         javax/swing/UIManager.java
3117         javax/swing/border/AbstractBorder.java
3118         javax/swing/border/BevelBorder.java
3119         javax/swing/border/Border.java
3120         javax/swing/border/CompoundBorder.java
3121         javax/swing/border/EmptyBorder.java
3122         javax/swing/border/EtchedBorder.java
3123         javax/swing/border/LineBorder.java
3124         javax/swing/border/MatteBorder.java
3125         javax/swing/border/TitledBorder.java
3126         javax/swing/plaf/BorderUIResource.java
3127         javax/swing/plaf/basic/BasicBorders.java
3128         javax/swing/plaf/basic/BasicButtonUI.java
3129         javax/swing/plaf/basic/BasicCheckBoxUI.java
3130         javax/swing/plaf/basic/BasicGraphicsUtils.java
3131         javax/swing/plaf/basic/BasicLabelUI.java
3132         javax/swing/plaf/basic/BasicRadioButtonUI.java
3133         javax/swing/plaf/basic/BasicToggleButtonUI.java:
3134         New versions from classpath.
3135         * javax/swing/border/SoftBevelBorder.java:
3136         New file from classpath.
3137         * javax/swing/border/doc-files/LineBorder-1.png,
3138         javax/swing/border/doc-files/BevelBorder-1.png,
3139         javax/swing/border/doc-files/BevelBorder-2.png,
3140         javax/swing/border/doc-files/BevelBorder-3.png,
3141         javax/swing/border/doc-files/EmptyBorder-1.png,
3142         javax/swing/border/doc-files/EtchedBorder-1.png,
3143         javax/swing/border/doc-files/EtchedBorder-2.png,
3144         javax/swing/border/doc-files/MatteBorder-1.png,
3145         javax/swing/border/doc-files/MatteBorder-2.png,
3146         javax/swing/border/doc-files/MatteBorder-3.png,
3147         javax/swing/border/doc-files/MatteBorder-4.png,
3148         javax/swing/border/doc-files/MatteBorder-5.png,
3149         javax/swing/border/doc-files/MatteBorder-6.png,
3150         javax/swing/border/doc-files/SoftBevelBorder-1.png,
3151         javax/swing/border/doc-files/SoftBevelBorder-2.png,
3152         javax/swing/border/doc-files/SoftBevelBorder-3.png,
3153         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3154         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3155         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3156         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3157         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3158         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3159         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3160         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3161         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3162         New binary files from classpath.
3163         * Makefile.am
3164         (awt_java_source_files): Added
3165         javax/swing/border/SoftBevelBorder.java.
3166         * Makefile.in: Regenerated.
3167
3168 2003-06-19  Michael Koch  <konqueror@gmx.de>
3169
3170         * gnu/java/security/x509/X509Certificate.java
3171         (writeReplace): Merged from classpath.
3172
3173 2003-06-19  Michael Koch  <konqueror@gmx.de>
3174
3175         * gnu/java/nio/FileChannelImpl.java
3176         (map_address): Made public.
3177         (FileChannelImpl): Merged with classpath.
3178         * gnu/java/nio/natFileChannelImpl.cc
3179         (nio_mmap_file): Commented out unused arguments.
3180         (nio_unmmap_file): Likewise.
3181         (niu_msync): Likewise.
3182
3183 2003-06-19  Michael Koch  <konqueror@gmx.de>
3184
3185         * java/awt/image/IndexColorModel.java:
3186         New version from classpath.
3187
3188 2003-06-18  Tom Tromey  <tromey@redhat.com>
3189
3190         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3191         on arrays.
3192         (isLoopbackAddress): Likewise.
3193         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3194         on arrays.
3195
3196 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
3197
3198         * java/lang/natVMSecurityManager.cc (getClassContext):
3199         Use maxlen instead of len for loop bound.
3200
3201 2003-06-18  Michael Koch  <konqueror@gmx.de>
3202
3203         * gnu/java/nio/SelectorImpl.java
3204         (register): Use fd with value 0 for now, will be fixed later.
3205         * gnu/java/nio/ServerSocketChannelImpl.java
3206         (fd): Removed.
3207         (local_port): Removed.
3208         (InetSocketAddress): Removed.
3209         (ServerSocketChannelImpl): Just initialize internal socket object.
3210         (implCloseSelectableChannel): Close internal socket object.
3211         (implConfigureBlocking): Added comment.
3212         (accept): Use jaba.net stuff to accept socket.
3213         * gnu/java/nio/SocketChannelImpl.java
3214         (fd): Removed.
3215         (local_port): Removed.
3216         (InetSocketAddress): Removed.
3217         (SocketCreate): Removed.
3218         (SocketConnect): Removed.
3219         (SocketBind): Removed.
3220         (SocketListen): Removed.
3221         (SocketAvailable): Removed.
3222         (SocketClose): Removed.
3223         (SocketRead): Removed.
3224         (SocketWrite): Removed.
3225         (SocketChannelImpl): Just initialize internal socket object.
3226         (implCloseSelectableChannel): Close internal socket object.
3227         (implConfigureBlocking): Fixed implementation, added comment.
3228         (connect): Use internal socket object to connect.
3229         (socket): No need for sanity checks.
3230         (read): Comment out some stuff, this will be reimplemented in the next
3231         commit.
3232         (write): Likewise.
3233         * gnu/java/nio/natFileChannelImpl.cc
3234         (nio_mmap_file): Line wrapped.
3235         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
3236         * Makefile.am
3237         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
3238         * Makefile.in: Regenerated.
3239
3240 2003-06-18  Michael Koch  <konqueror@gmx.de>
3241
3242         * java/util/Locale.java
3243         (equals): Merged from classpath.
3244
3245 2003-06-18  Michael Koch  <konqueror@gmx.de>
3246
3247         * java/net/InetAddress.java:
3248         Reformatted to better match classpath's version.
3249         * java/net/URL.java
3250         (equals): Simplified.
3251         * java/net/URLConnection.java
3252         (setDoInput): Revised documentation.
3253         (getDefaultUseCaches): Likewise.
3254         (setRequestProperty): Added @since tag.
3255
3256 2003-06-17  Michael Koch  <konqueror@gmx.de>
3257
3258         * java/net/InetSocketAddress.java
3259         (InetSocketAddress): Use wildcard address if addr is null.
3260         (InetSocketAddress): Dont duplicate implementation.
3261         (InetSocketAddress): Throw exception when hostname is null.
3262         * java/net/Socket.java:
3263         Reworked imports.
3264         (Socket): Throw exception when raddr is null, handle case when laddr
3265         is null.
3266
3267 2003-06-17  Michael Koch  <konqueror@gmx.de>
3268
3269         * java/nio/DirectByteBufferImpl.java
3270         (address): Made package private.
3271         (DirectByteBufferImpl): New constructor.
3272         * java/nio/natDirectByteBufferImpl.cc
3273         (allocateImpl): Moved to java.nio namespace, implemented.
3274         (freeImpl): Likewise.
3275         (getImpl): Likewise.
3276         (putImpl): Likewise.
3277         * jni.cc
3278         (_Jv_JNI_NewDirectByteBuffer): Implemented.
3279         (_Jv_JNI_GetDirectBufferAddress): Implemented.
3280         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
3281
3282 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3283
3284         * include/powerpc-signal.h: New File.
3285         * configure.in: Use it.
3286         * configure: Regenerated.
3287
3288 2003-06-17  Michael Koch  <konqueror@gmx.de>
3289
3290         * java/util/Locale.java
3291         (getDisplayLanguage): Made it final.
3292         (getDisplayCountry): Likewise.
3293         (getDisplayVariant): Likewise.
3294         (getDisplayName): Likewise.
3295
3296 2003-06-17  Michael Koch  <konqueror@gmx.de>
3297
3298         * java/util/PropertyResourceBundle.java:
3299         Removed unneeded import.
3300
3301 2003-06-17  Michael Koch  <konqueror@gmx.de>
3302
3303         * java/util/prefs/AbstractPreferences.java,
3304         java/util/prefs/PreferencesFactory.java:
3305         Reworked imports, removed unused imports.
3306         * java/util/prefs/Preferences.java
3307         (systemNodeForPackage): Method takes a Class not an Object.
3308         (userNodeForPackage): Likewise.
3309         (nodeForPackage): Likewise.
3310
3311 2003-06-17  Michael Koch  <konqueror@gmx.de>
3312
3313         * gnu/java/security/x509/X509Certificate.java:
3314         Explicitely import used classes.
3315
3316 2003-06-17  Michael Koch  <konqueror@gmx.de>
3317
3318         * java/util/zip/ZipEntry.java,
3319         java/util/zip/ZipFile.java,
3320         java/util/zip/ZipInputStream.java,
3321         java/util/zip/ZipOutputStream.java:
3322         Reworked imports, only import used classes.
3323
3324 2003-06-17  Michael Koch  <konqueror@gmx.de>
3325
3326         * gnu/java/lang/ArrayHelper.java,
3327         gnu/java/lang/ClassHelper.java:
3328         Reformatted to match classpath's versions.
3329
3330 2003-06-14  Michael Koch  <konqueror@gmx.de>
3331
3332         * gnu/java/nio/FileChannelImpl.java
3333         (map_address): Removed incorrect comment.        
3334         * gnu/java/nio/SelectorImpl.java
3335         (register): Remove code duplication and code for file channel handling.        
3336         * gnu/java/nio/ServerSocketChannelImpl.java
3337         (serverSocket): Renamed from sock_object.
3338         (ServerSocketChannel): Initialize serverSocket.
3339         (socket): Return serverSocket.
3340         * gnu/java/nio/SocketChannelImpl.java
3341         (socket): Renamed from sock_object.
3342         (isConnectionPenging): Simplified.
3343         (socket): Return socket.
3344 2003-06-14  Michael Koch  <konqueror@gmx.de>
3345
3346         * java/security/BasicPermission.java:
3347         New version from classpath.
3348
3349 2003-06-14  Michael Koch  <konqueror@gmx.de>
3350
3351         * javax/naming/directory/Attribute.java:
3352         New version from classpath.
3353
3354 2003-06-14  Michael Koch  <konqueror@gmx.de>
3355
3356         * java/io/BufferedReader.java,
3357         java/io/FileOutputStream.java:
3358         New versions from classpath.
3359
3360 2003-06-12  Andrew Haley  <aph@redhat.com>
3361
3362         * prims.cc (catch_segv): Create exception in handler.
3363         (catch_fpe): Likewise.  
3364         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
3365         (_Jv_ThrowSignal): Remove.
3366
3367         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
3368         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
3369         to nullp and arithexception.
3370         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3371         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3372         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3373         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3374         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3375
3376 2003-06-11  Andrew Haley  <aph@redhat.com>
3377
3378         * jni.cc (_Jv_JNI_check_types): New.
3379         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
3380         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
3381         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
3382         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
3383         
3384         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
3385         infinite loop.
3386
3387 2003-06-11  Tom Tromey  <tromey@redhat.com>
3388
3389         * java/lang/ClassLoader.java (loadClass): Not deprecated.
3390         * java/io/PrintStream.java: Not deprecated.
3391
3392 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
3393
3394         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3395         (fillOval): implemented
3396         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3397         (fillArc): implemented.
3398         * gnu/gcj/xlib/GC.java (drawArc): added native method.
3399         (fillArc): added native method.
3400         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3401         (fillArc): added native method.
3402
3403 2003-06-11  Michael Koch  <konqueror@gmx.de>
3404
3405         * java/awt/im/InputSubset.java:
3406         New version from classpath.
3407
3408 2003-06-11  Michael Koch  <konqueror@gmx.de>
3409
3410         * javax/swing/AbstractAction.java,
3411         javax/swing/AbstractButton.java,
3412         javax/swing/AbstractCellEditor.java,
3413         javax/swing/AbstractListModel.java,
3414         javax/swing/BorderFactory.java,
3415         javax/swing/Box.java,
3416         javax/swing/BoxLayout.java,
3417         javax/swing/ButtonGroup.java,
3418         javax/swing/DefaultButtonModel.java,
3419         javax/swing/DefaultListModel.java,
3420         javax/swing/DefaultListSelectionModel.java,
3421         javax/swing/FocusManager.java,
3422         javax/swing/ImageIcon.java,
3423         javax/swing/InputMap.java,
3424         javax/swing/JApplet.java,
3425         javax/swing/JButton.java,
3426         javax/swing/JCheckBox.java,
3427         javax/swing/JCheckBoxMenuItem.java,
3428         javax/swing/JColorChooser.java,
3429         javax/swing/JComboBox.java,
3430         javax/swing/JComponent.java,
3431         javax/swing/JDesktopPane.java,
3432         javax/swing/JDialog.java,
3433         javax/swing/JEditorPane.java,
3434         javax/swing/JFileChooser.java,
3435         javax/swing/JFormattedTextField.java,
3436         javax/swing/JFrame.java,
3437         javax/swing/JLabel.java,
3438         javax/swing/JLayeredPane.java,
3439         javax/swing/JList.java,
3440         javax/swing/JMenuBar.java,
3441         javax/swing/JMenuItem.java,
3442         javax/swing/JOptionPane.java,
3443         javax/swing/JPanel.java,
3444         javax/swing/JPasswordField.java,
3445         javax/swing/JPopupMenu.java,
3446         javax/swing/JProgressBar.java,
3447         javax/swing/JRadioButton.java,
3448         javax/swing/JRadioButtonMenuItem.java,
3449         javax/swing/JRootPane.java,
3450         javax/swing/JScrollBar.java,
3451         javax/swing/JScrollPane.java,
3452         javax/swing/JSeparator.java,
3453         javax/swing/JSlider.java,
3454         javax/swing/JTabbedPane.java,
3455         javax/swing/JTable.java,
3456         javax/swing/JTextField.java,
3457         javax/swing/JToggleButton.java,
3458         javax/swing/JToolBar.java,
3459         javax/swing/JToolTip.java,
3460         javax/swing/JTree.java,
3461         javax/swing/JViewport.java,
3462         javax/swing/JWindow.java,
3463         javax/swing/KeyStroke.java,
3464         javax/swing/ListSelectionModel.java,
3465         javax/swing/LookAndFeel.java,
3466         javax/swing/RepaintManager.java,
3467         javax/swing/ScrollPaneLayout.java,
3468         javax/swing/SizeRequirements.java,
3469         javax/swing/SwingConstants.java,
3470         javax/swing/Timer.java,
3471         javax/swing/UIDefaults.java,
3472         javax/swing/UIManager.java,
3473         javax/swing/border/AbstractBorder.java,
3474         javax/swing/border/CompoundBorder.java,
3475         javax/swing/colorchooser/AbstractColorChooserPanel.java,
3476         javax/swing/colorchooser/ColorChooserComponentFactory.java,
3477         javax/swing/colorchooser/ColorSelectionModel.java,
3478         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3479         javax/swing/event/AncestorEvent.java,
3480         javax/swing/event/HyperlinkEvent.java,
3481         javax/swing/event/InternalFrameAdapter.java,
3482         javax/swing/event/InternalFrameEvent.java,
3483         javax/swing/event/ListDataEvent.java,
3484         javax/swing/event/MouseInputAdapter.java,
3485         javax/swing/event/SwingPropertyChangeSupport.java,
3486         javax/swing/event/TableModelEvent.java,
3487         javax/swing/event/TreeWillExpandListener.java,
3488         javax/swing/event/UndoableEditEvent.java,
3489         javax/swing/filechooser/FileFilter.java,
3490         javax/swing/filechooser/FileSystemView.java,
3491         javax/swing/filechooser/FileView.java,
3492         javax/swing/plaf/BorderUIResource.java,
3493         javax/swing/plaf/basic/BasicDefaults.java,
3494         javax/swing/table/AbstractTableModel.java,
3495         javax/swing/table/DefaultTableCellRenderer.java,
3496         javax/swing/table/DefaultTableColumnModel.java,
3497         javax/swing/table/DefaultTableModel.java,
3498         javax/swing/table/TableColumn.java,
3499         javax/swing/text/JTextComponent.java,
3500         javax/swing/tree/AbstractLayoutCache.java,
3501         javax/swing/tree/DefaultMutableTreeNode.java,
3502         javax/swing/tree/DefaultTreeCellEditor.java,
3503         javax/swing/tree/DefaultTreeCellRenderer.java,
3504         javax/swing/tree/DefaultTreeModel.java,
3505         javax/swing/tree/DefaultTreeSelectionModel.java,
3506         javax/swing/tree/FixedHeightLayoutCache.java,
3507         javax/swing/tree/TreeCellEditor.java,
3508         javax/swing/tree/TreeModel.java,
3509         javax/swing/tree/TreeNode.java,
3510         javax/swing/tree/TreePath.java,
3511         javax/swing/tree/TreeSelectionModel.java,
3512         javax/swing/tree/VariableHeightLayoutCache.java,
3513         javax/swing/undo/AbstractUndoableEdit.java,
3514         javax/swing/undo/CompoundEdit.java,
3515         javax/swing/undo/StateEdit.java,
3516         javax/swing/undo/UndoManager.java,
3517         javax/swing/undo/UndoableEditSupport.java:
3518         New versions from classpath.
3519         * javax/swing/table/JTableHeader.java:
3520         New file from classpath.
3521         * Makefile.am
3522         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
3523         * Makefile.in: Regenerated.
3524
3525 2003-06-11  Michael Koch  <konqueror@gmx.de>
3526
3527         * java/nio/MappedByteBuffer.java,
3528         java/nio/channels/Channels.java,
3529         java/nio/channels/ServerSocketChannel.java,
3530         java/nio/channels/spi/AbstractSelector.java:
3531         Removed unneeded imports.
3532
3533 2003-06-11  Michael Koch  <konqueror@gmx.de>
3534
3535         * java/net/DatagramSocket.java:
3536         Partly merged with classpath.
3537
3538 2003-06-11  Michael Koch  <konqueror@gmx.de>
3539
3540         * java/awt/Frame.java,
3541         java/awt/Graphics.java,
3542         java/awt/Menu.java,
3543         java/awt/Robot.java,
3544         java/awt/image/ColorModel.java:
3545         New versions from classpath.
3546
3547 2003-06-10  Michael Koch  <konqueror@gmx.de>
3548
3549         * java/io/PrintStream.java:
3550         Merged version from classpath.
3551         (close): Removed sychronized keyword. This class is not garantied to
3552         be thread-safe.
3553         (write): Likewise.
3554
3555 2003-06-09  Tom Tromey  <tromey@redhat.com>
3556
3557         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
3558         field.
3559         (getDescent): Likewise, for "descent".
3560
3561 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
3562
3563         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
3564         (getMaxDescent): adjusted return value.
3565         (getAscent): modified to use metrics for 'O'.
3566         (getDescent): modified to use metrics for 'y'.
3567
3568 2003-06-08  Anthony Green  <green@redhat.com>
3569
3570         * java/net/URLStreamHandler.java (sameFile): Fix port value
3571         comparison.
3572         * java/net/URL.java (handler): Make package private.
3573         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
3574
3575 2003-06-07  Tom Tromey  <tromey@redhat.com>
3576
3577         For PR libgcj/11085:
3578         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
3579         Limit number of characters in numeric field when required.
3580         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
3581         Respect maximumIntegerDigits.
3582
3583 2003-06-08  Michael Koch  <konqueror@gmx.de>
3584
3585         * java/net/Socket.java
3586         (Socket): Dont initialize inputShutdown and outputShutdown twice,
3587         call bind() and connect() to actually do the bind and connect tasks.
3588         (bind): Connect to canonical address if bindpoint is null, create
3589         socket and bind it to bindpoint.
3590         (connect): Check for exceptions.
3591
3592 2003-06-08  Michael Koch  <konqueror@gmx.de>
3593
3594         * java/net/DatagramSocket.java
3595         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
3596         into the Multicast constructors.
3597         * java/net/DatagramSocketImpl.java
3598         (getOption): Removed.
3599         (setOption): Removed.
3600         * java/net/MulticastSocket.java
3601         (MulticastSocket): Call setReuseAddress (true).
3602         * java/net/SocketImpl.java
3603         (getOption): Removed.
3604         (setOption): Removed.
3605
3606 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
3607
3608         PR libgcj/10886:
3609         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
3610         Test for empty vector.
3611
3612 2003-06-06  Mark Wielaard  <mark@klomp.org>
3613
3614         * java/security/Security.java (secprops): Initialize.
3615         (loadProviders): Return boolean.
3616         (static): Check result of loadProvider calls. If necessary
3617         display WARNING and fallback to Gnu provider.
3618
3619 2002-06-06  James Clark  <jjc@jclark.com>
3620
3621         Fix for PR libgcj/8738:
3622         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
3623         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
3624         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
3625         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
3626         (write): Always decrease avail when count is increased.
3627         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
3628         and whether output buffer is full before increasing size.
3629
3630 2002-06-06  Mark Wielaard  <mark@klomp dot org>
3631
3632         * java/io/PrintStream.java (writeChars(char[],int, int)):
3633         Check converter.havePendingBytes().
3634         (writeChars(String,int,int)): Likewise.
3635         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
3636         Check converter.havePendingBytes() and flush buffer when stalled.
3637
3638 2003-06-07  Michael Koch  <konqueror@gmx.de>
3639
3640         * include/posix.h
3641         (O_DSYNC): Define O_DSYNC on platforms not
3642         supporting O_FSYNC (newlib).
3643
3644 2003-06-06  Mark Wielaard  <mark@klomp.org>
3645
3646         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
3647         AWTError.
3648
3649 2003-06-06  Michael Koch  <konqueror@gmx.de>
3650
3651         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3652         More compile fixes from my stupid work yesterday.
3653
3654 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
3655
3656         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
3657         if _IEEE_LIBM is undefined.
3658
3659 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
3660
3661         * libjava/include/posix.h (O_SYNC): Define if not available
3662         and a reasonable, perhaps more conservative, replacement exists.
3663         (O_DSYNC): Likewise.
3664         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
3665
3666 2003-06-05  Michael Koch  <konqueror@gmx.de>
3667
3668         * javax/swing/plaf/BorderUIResource.java,
3669         javax/swing/plaf/basic/BasicDefaults.java,
3670         javax/swing/plaf/basic/BasicOptionPaneUI.java:
3671         More compile fixes for latest Border commit. I should not commit
3672         something in this heat here ...
3673
3674 2003-06-05  Michael Koch  <konqueror@gmx.de>
3675
3676         * javax/swing/border/BevelBorder.java
3677         (BevelBorder): Removed.
3678         * javax/swing/border/EmptyBorder.java:
3679         Reformatted.
3680         (EmptyBorder): Removed.
3681         (getBorderInsets): Dont use l, r, t and b.
3682         * javax/swing/border/EtchedBorder.java
3683         (EtchedBorder): Removed.
3684         * javax/swing/border/LineBorder.java
3685         (LineBorder): Removed.
3686         * javax/swing/border/MatteBorder.java
3687         (MatteBorder): Removed.
3688         * javax/swing/border/TitledBorder.java
3689         (defaultBorder): Use other default for now.
3690         (defaultFont): Likewise.
3691         (defaultColor): Likewise.
3692
3693 2003-06-05  Michael Koch  <konqueror@gmx.de>
3694
3695         * javax/swing/border/Border.java:
3696         New version from classpath.
3697
3698 2003-06-05  Michael Koch  <konqueror@gmx.de>
3699
3700         * javax/swing/border/AbstractBorder.java,
3701         javax/swing/border/BevelBorder.java,
3702         javax/swing/border/CompoundBorder.java,
3703         javax/swing/border/EmptyBorder.java,
3704         javax/swing/border/EtchedBorder.java,
3705         javax/swing/border/LineBorder.java,
3706         javax/swing/border/MatteBorder.java,
3707         javax/swing/border/TitledBorder.java:
3708         New versions from Classpath.
3709
3710 2003-06-05  Michael Koch  <konqueror@gmx.de>
3711
3712         * java/awt/Button.java,
3713         java/awt/Checkbox.java,
3714         java/awt/CheckboxMenuItem.java,
3715         java/awt/Choice.java,
3716         java/awt/Container.java,
3717         java/awt/Dialog.java,
3718         java/awt/EventQueue.java,
3719         java/awt/FileDialog.java,
3720         java/awt/Frame.java,
3721         java/awt/Label.java,
3722         java/awt/List.java,
3723         java/awt/Menu.java,
3724         java/awt/MenuItem.java,
3725         java/awt/Panel.java,
3726         java/awt/PopupMenu.java,
3727         java/awt/Rectangle.java,
3728         java/awt/ScrollPane.java,
3729         java/awt/Scrollbar.java,
3730         java/awt/TextArea.java,
3731         java/awt/TextField.java,
3732         java/awt/Window.java,
3733         java/awt/datatransfer/DataFlavor.java,
3734         java/awt/dnd/DragSource.java,
3735         java/awt/dnd/DragSourceContext.java,
3736         java/awt/event/HierarchyEvent.java,
3737         java/awt/event/MouseWheelEvent.java,
3738         java/awt/im/InputContext.java,
3739         java/awt/image/BufferedImage.java,
3740         java/awt/image/ComponentColorModel.java,
3741         java/awt/image/Raster.java,
3742         java/awt/image/WritableRaster.java,
3743         java/awt/peer/ComponentPeer.java,
3744         java/awt/print/PageFormat.java,
3745         java/awt/print/PrinterJob.java:
3746         New versions from Classpath.
3747
3748 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
3749
3750         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
3751         numberFormat.setParseIntegerOnly(true).
3752
3753 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
3754
3755         * include/posix-threads.h: Include <machine/pal.h> on OSF.
3756
3757 2003-06-03  Andrew Haley  <aph@redhat.com>
3758
3759         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
3760         stack volatile to prevent optimization from removing it.
3761
3762 2003-05-27  Michael Koch  <konqueror@gmx.de>
3763
3764         * java/util/zip/Deflater.java
3765         (FILTERED): Merged documentation from classpath.
3766         * java/util/zip/DeflaterOutputStream.java
3767         (DeflaterOutputStream): Merged documentation and argument validity
3768         check from classpath.
3769         (deflate): Merged documentation from classpath.
3770         (finish): Likewise.
3771         * java/util/zip/Inflater.java
3772         (Inflater): Merged class documentation from classpath.
3773         (zstream): Reordered.
3774         (is_finished): Reordered.
3775         (dict_needed): Reordered.
3776         (Inflater): Reordered, merged documentation from classpath.
3777         (end): Likewise.
3778         (finalize): Merged documentation from classpath.
3779         (finished): Likewise.
3780         (getAdler): Likewise.
3781         (getRemaining): Likewise.
3782         (getTotalIn): Likewise.
3783         (getTotalOut): Likewise.
3784         (inflate): Likewise.
3785         (needsDictionary): Likewise.
3786         (needsInput): Likewise.
3787         (reset): Likewise.
3788         (setDictionary): Likewise.
3789         (setInput): Likewise.
3790
3791 2003-05-27  Michael Koch  <konqueror@gmx.de>
3792
3793         * java/net/URLConnection.java
3794         (getHeaderFieldInt): Merged with classpath.
3795
3796 2003-05-27  Michael Koch  <konqueror@gmx.de>
3797
3798         * java/io/PrintStream.java
3799         (PrintStream): Reformatted.
3800         (PrintStream): New method, merged from classpath.
3801         (write): Reformatted.
3802
3803 2003-05-27  Michael Koch  <konqueror@gmx.de>
3804
3805         * java/lang/System.java:
3806         Explicitely import needed classes.
3807
3808 2003-05-26  Michael Koch  <konqueror@gmx.de>
3809
3810         * java/net/NetPermission.java,
3811         java/net/NetworkInterface.java,
3812         java/net/PasswordAuthentication.java,
3813         java/net/SocketPermission.java:
3814         New versions from classpath.
3815
3816 2003-05-25  Michael Koch  <konqueror@gmx.de>
3817
3818         * java/io/PushbackInputStream.java,
3819         java/net/Authenticator.java,
3820         java/net/ContentHandler.java,
3821         java/net/ContentHandlerFactory.java,
3822         java/net/DatagramSocket.java,
3823         java/net/DatagramSocketImpl.java,
3824         java/net/DatagramSocketImplFactory.java,
3825         java/net/FileNameMap.java,
3826         java/net/SocketImplFactory.java,
3827         java/net/SocketOptions.java,
3828         java/net/URLStreamHandlerFactory.java:
3829         Merged new versions from classpath.
3830
3831 2003-05-25  Michael Koch  <konqueror@gmx.de>
3832
3833         * java/awt/Checkbox.java,
3834         java/awt/Dialog.java,
3835         java/awt/Font.java,
3836         java/awt/Frame.java,
3837         java/awt/ScrollPaneAdjustable.java,
3838         java/awt/Scrollbar.java,
3839         java/awt/Window.java:
3840         New versions from classpath.
3841
3842 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
3843
3844         PR libgcj/10838:
3845         * java/io/ObjectInputStream (enableResolveObject):
3846         Fixed spelling of permission name.
3847
3848 2003-05-20  Michael Koch  <konqueror@gmx.de>
3849
3850         * java/io/DataInputStream.java
3851         (convertFromUTF): Merged comment from classpath.
3852         * java/io/PrintStream.java
3853         (error_occured): Renamed from error, merged comment from classpath.
3854         (PrintStream): No need to initialized error.
3855         (checkError): Replace error with error_occurred.
3856         (setError): Likewise.
3857
3858 2003-05-20  Michael Koch  <konqueror@gmx.de>
3859
3860         * java/io/DataInputStream.java:
3861         Reformatted, Replaced < and & with html entitites in documentation.
3862         * java/io/File.java:
3863         Reformatted.
3864         * java/io/PrintWriter.java:
3865         Moved class documentation.
3866
3867 2003-05-20  Michael Koch  <konqueror@gmx.de>
3868
3869         * gnu/java/nio/ByteBufferImpl.java,
3870         gnu/java/nio/CharBufferImpl.java,
3871         gnu/java/nio/CharViewBufferImpl.java,
3872         gnu/java/nio/DirectByteBufferImpl.java,
3873         gnu/java/nio/DoubleBufferImpl.java,
3874         gnu/java/nio/DoubleViewBufferImpl.java,
3875         gnu/java/nio/FloatBufferImpl.java,
3876         gnu/java/nio/FloatViewBufferImpl.java,
3877         gnu/java/nio/IntBufferImpl.java,
3878         gnu/java/nio/IntViewBufferImpl.java,
3879         gnu/java/nio/LongBufferImpl.java,
3880         gnu/java/nio/LongViewBufferImpl.java,
3881         gnu/java/nio/natDirectByteBufferImpl.cc,
3882         gnu/java/nio/ShortBufferImpl.java,
3883         gnu/java/nio/ShortViewBufferImpl.java:
3884         Moved files to java/nio.
3885         * gnu/java/nio/SocketChannelImpl.java
3886         
3887         * java/nio/ByteBuffer.java,
3888         java/nio/CharBuffer.java,
3889         java/nio/DoubleBuffer.java,
3890         java/nio/FloatBuffer.java,
3891         java/nio/IntBuffer.java,
3892         java/nio/LongBuffer.java,
3893         java/nio/ShortBuffer.java:
3894         Dont import anything.
3895         * java/nio/ByteBufferImpl.java,
3896         java/nio/CharBufferImpl.java,
3897         java/nio/CharViewBufferImpl.java,
3898         java/nio/DirectByteBufferImpl.java,
3899         java/nio/DoubleBufferImpl.java,
3900         java/nio/DoubleViewBufferImpl.java,
3901         java/nio/FloatBufferImpl.java,
3902         java/nio/FloatViewBufferImpl.java,
3903         java/nio/IntBufferImpl.java,
3904         java/nio/IntViewBufferImpl.java,
3905         java/nio/LongBufferImpl.java,
3906         java/nio/LongViewBufferImpl.java,
3907         java/nio/natDirectByteBufferImpl.cc,
3908         java/nio/ShortBufferImpl.java,
3909         java/nio/ShortViewBufferImpl.java:
3910         Moved from gnu/java/nio.
3911         * Makefile.am
3912         (ordinary_java_source_files): Moved files from gnu/java/nio to
3913         java/nio.
3914         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
3915         to java/nio.
3916         * Makefile.in: Regenerated.
3917
3918 2003-05-19  Michael Koch  <konqueror@gmx.de>
3919
3920         * java/util/Calendar.java
3921         (get): Not final anymore since JDK 1.4
3922         (set): Likewise.
3923
3924 2003-05-19  Michael Koch  <konqueror@gmx.de>
3925
3926         * java/text/CollationKey.java:
3927         Merged copyright and dat from classpath.
3928         * java/text/RuleBasedCollator.java:
3929         Merged class documentation from classpath.
3930
3931 2003-05-19  Michael Koch  <konqueror@gmx.de>
3932
3933         * java/nio/CharBuffer.java
3934         (toString): Compile fix.
3935
3936 2003-05-19  Michael Koch  <konqueror@gmx.de>
3937
3938         * gnu/java/nio/ByteBufferImpl.java
3939         (putLong): Fixed conversion to bytes.
3940         (putDouble): Fixed conversion to bytes.
3941         * gnu/java/nio/DirectByteBufferImpl.java
3942         (putLong): Fixed conversion to bytes.
3943         (putDouble): Fixed conversion to bytes.
3944         * gnu/java/nio/FileLockImpl.java
3945         (isValid): Reformatted.
3946         * java/nio/Buffer.java
3947         (Buffer): Fixed off-by-one bug in handling mark.
3948         * java/nio/ByteBuffer.java:
3949         Added newline.
3950         * java/nio/CharBuffer.java
3951         (toString): Don't use relative get to get string data.
3952
3953 2003-05-16  Michael Koch  <konqueror@gmx.de>
3954
3955         * java/io/natFileDescriptorPosix.cc
3956         (open): Commented out the O_SYNC and O_DSYNC usage until its better
3957         tested.
3958
3959 2003-05-14  Michael Koch  <konqueror@gmx.de>
3960
3961         * gnu/java/nio/FileLockImpl.java
3962         (released): New member variable.
3963         (FileLockImpl): Initialize released.
3964         (releaseImpl): New native method.
3965         (release): Implemented.
3966         * gnu/java/nio/SelectorImpl.java: Reformatted.
3967         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
3968         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
3969         (accept): Throws IOException.
3970         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
3971         (implConfigureBlocking): Throws IOException.
3972         (connect): Likewise.
3973         (read): Likewise.
3974         (write): Likewise.
3975         * gnu/java/nio/natFileLockImpl.cc: New file.
3976         * java/nio/channels/FileLock.java: Reformatted.
3977         * Makefile.am:
3978         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
3979         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
3980         * Makefile.in: Regenerated.
3981
3982 2003-05-13  Michael Koch  <konqueror@gmx.de>
3983
3984         * gnu/java/nio/CharViewBufferImpl.java
3985         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
3986         (get): Shift bits to the right direction.
3987         (put): Likewise.
3988         * gnu/java/nio/DoubleViewBufferImpl.java
3989         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
3990         (get): Shift bits to the right direction.
3991         (put): Likewise.
3992         * gnu/java/nio/FloatViewBufferImpl.java
3993         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
3994         (get): Shift bits to the right direction.
3995         (put): Likewise.
3996         * gnu/java/nio/IntViewBufferImpl.java
3997         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
3998         (get): Shift bits to the right direction.
3999         (put): Likewise.
4000         * gnu/java/nio/LongViewBufferImpl.java
4001         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
4002         (get): Shift bits to the right direction.
4003         (put): Likewise.
4004         * gnu/java/nio/ShortViewBufferImpl.java
4005         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
4006         (get): Shift bits to the right direction.
4007         (put): Likewise.
4008
4009 2003-05-13  Michael Koch  <konqueror@gmx.de>
4010
4011         * gnu/java/nio/natDirectByteBufferImpl.cc
4012         (allocateImpl): jlong -> RawData*.
4013         (freeImpl): Likewise.
4014
4015 2003-05-13  Michael Koch  <konqueror@gmx.de>
4016
4017         * java/nio/channels/FileChannel.java
4018         (MapMode.m): Made it package-private to match JDK 1.4.
4019         * java/nio/charset/Charset.java
4020         (decode): Made it final to match JDK 1.4.
4021
4022 2003-05-13  Michael Koch  <konqueror@gmx.de>
4023
4024        * java/io/FileDescriptor.java
4025        (SYNC): New constant.
4026        (DSYNC): Likewise.
4027        (getLength): Renamed from lenght() to match classpath's
4028        FileDescriptor.java.
4029        * java/io/RandomAccessFile.java
4030        (RandomAccessFile): Removed unneeded mode check, implemented mode
4031        "rws" and "rwd", merged documentation from classpath.
4032        (setLength): Reformatted.
4033        (length): Use new getLength() of FileDescriptor.
4034        * java/io/natFileDescriptorEcos.cc
4035        (getLength): Renamed from length().
4036        * java/io/natFileDescriptorPosix.cc
4037        (open): Implemented support for SYNC and DSYNC.
4038        (seek): Use getLength() instead of length().
4039        (getLength): Renamed from length().
4040        * java/io/natFileDescriptorWin32.cc
4041        (getLength): Renamed from length().
4042        (seek): Use getLength() instead of length().
4043        (available): Likewise.
4044        * gnu/java/nio/natFileChannelImpl.cc
4045        (size): Use getLength() instead of length().
4046
4047 2003-05-13  Michael Koch  <konqueror@gmx.de>
4048
4049         * gnu/java/nio/ByteBufferImpl.java
4050         (ByteBufferImpl): All constructors revised.
4051         (slice): Reimplemented.
4052         (duplicate): Reimplemented.
4053         (asReadOnlyBuffer): Reimplemented.
4054         * java/nio/ByteBuffer.java:
4055         Reformatted.
4056         (array_offset): Renamed from "offset" to match all other buffer
4057         classes.
4058         (ByteBuffer): All constructors revised.
4059         (allocateDirect): Implemented.
4060         (allocate): New implementation, documentation reworked.
4061         (wrap): Likewise.
4062         (get): Documentation reworked.
4063         (put): New implementation, documentation reworked.
4064         (hasArray): Documentation reworked.
4065         (arrayOffset): Likewise.
4066         (hashCode): Likewise.
4067         (equals): Likewise.
4068         (compareTo): Likewise.
4069         (order): Likewise.
4070         (compact): Likewise.
4071         (isDirect): Likewise.
4072         (slice): Likewise.
4073         (duplicate): Likewise.
4074         (asReadOnlyBuffer): Likewise.
4075         * Makefile.am
4076         (ordinary_java_source_files):
4077         Added gnu/java/nio/DirectByteBufferImpl.java.
4078         (nat_source_files):
4079         Added gnu/java/nio/natDirectByteBufferImpl.cc.
4080         * Makefile.in: Regenerated.
4081
4082 2003-05-12  Michael Koch  <konqueror@gmx.de>
4083
4084         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
4085         (nio_get_*): Removed.
4086         (nio_put_*): Removed.
4087         (as*Buffer): Implemented.
4088         (compact): Implemented.
4089         (get): Documentation added.
4090         (put): Documentation added.
4091         (get*): Newly implemented.
4092         (put*): Newly implemented.
4093         * gnu/java/nio/CharBufferImpl.java: Reformatted.
4094         (CharBufferImpl): Revised.
4095         (slice): New implementation.
4096         (duplicate): New implementation.
4097         (compact): New implementation.
4098         (asReadOnlyBuffer): New implementation.
4099         (get): Documentation revised.
4100         (order): Return native byte order.
4101         * gnu/java/nio/DirectByteBufferImpl.java
4102         (allocateDirect): objects can be null not 0.
4103         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
4104         (DoubleBufferImpl): Revised.
4105         (slice): New implementation.
4106         (duplicate): New implementation.
4107         (compact): New implementation.
4108         (asReadOnlyBuffer): New implementation.
4109         (get): Documentation revised.
4110         (order): Return native byte order.
4111         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
4112         (FloatBufferImpl): Revised.
4113         (slice): New implementation.
4114         (duplicate): New implementation.
4115         (compact): New implementation.
4116         (asReadOnlyBuffer): New implementation.
4117         (get): Documentation revised.
4118         (order): Return native byte order.
4119         * gnu/java/nio/IntBufferImpl.java: Reformatted.
4120         (IntBufferImpl): Revised.
4121         (slice): New implementation.
4122         (duplicate): New implementation.
4123         (compact): New implementation.
4124         (asReadOnlyBuffer): New implementation.
4125         (get): Documentation revised.
4126         (order): Return native byte order.
4127         * gnu/java/nio/LongBufferImpl.java: Reformatted.
4128         (LongBufferImpl): Revised.
4129         (slice): New implementation.
4130         (duplicate): New implementation.
4131         (compact): New implementation.
4132         (asReadOnlyBuffer): New implementation.
4133         (get): Documentation revised.
4134         (order): Return native byte order.
4135         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
4136         (ShortBufferImpl): Revised.
4137         (slice): New implementation.
4138         (duplicate): New implementation.
4139         (compact): New implementation.
4140         (asReadOnlyBuffer): New implementation.
4141         (get): Documentation revised.
4142         (order): Return native byte order.
4143         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4144         (CharBuffer): Revised.
4145         (order): Removed.
4146         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4147         (DoubleBuffer): Revised.
4148         (allocateDirect): Removed.
4149         (order): Removed.
4150         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4151         (FloatBuffer): Revised.
4152         (allocateDirect): Removed.
4153         (order): Removed.
4154         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4155         (IntBuffer): Revised.
4156         (allocateDirect): Removed.
4157         (order): Removed.
4158         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4159         (LongBuffer): Revised.
4160         (allocateDirect): Removed.
4161         (order): Removed.
4162         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4163         (ShortBuffer): Revised.
4164         (allocateDirect): Removed.
4165         (order): Removed.
4166         * gnu/java/nio/natByteBufferImpl.cc: Removed.
4167         * gnu/java/nio/natCharBufferImpl.cc: Removed.
4168         * Makefile.am
4169         (ordinary_java_source_files): Added the following files:
4170         gnu/java/nio/CharViewBufferImpl.java,
4171         gnu/java/nio/DoubleViewBufferImpl.java,
4172         gnu/java/nio/FloatViewBufferImpl.java,
4173         gnu/java/nio/IntViewBufferImpl.java,
4174         gnu/java/nio/LongViewBufferImpl.java,
4175         gnu/java/nio/ShortViewBufferImpl.java
4176         (nat_source_files): Removed the following files:
4177         gnu/java/nio/natByteBufferImpl.cc,
4178         gnu/java/nio/natCharBufferImpl.cc
4179         * Makefile.in: Regenerated.
4180
4181 2003-05-12  Michael Koch  <konqueror@gmx.de>
4182
4183         * gnu/java/nio/CharViewBufferImpl.java,
4184         gnu/java/nio/DirectByteBufferImpl.java,
4185         gnu/java/nio/DoubleViewBufferImpl.java,
4186         gnu/java/nio/FloatViewBufferImpl.java,
4187         gnu/java/nio/IntViewBufferImpl.java,
4188         gnu/java/nio/LongViewBufferImpl.java,
4189         gnu/java/nio/ShortViewBufferImpl.java,
4190         gnu/java/nio/natDirectByteBufferImpl.cc:
4191         New files, not yet to be compiled.
4192
4193 2003-05-10  Michael Koch  <konqueror@gmx.de>
4194
4195         * javax/swing/plaf/ButtonUI.java,
4196         javax/swing/plaf/ColorUIResource.java,
4197         javax/swing/plaf/ComponentUI.java,
4198         javax/swing/plaf/DimensionUIResource.java,
4199         javax/swing/plaf/FontUIResource.java,
4200         javax/swing/plaf/IconUIResource.java,
4201         javax/swing/plaf/InsetsUIResource.java,
4202         javax/swing/plaf/LabelUI.java,
4203         javax/swing/plaf/ListUI.java,
4204         javax/swing/plaf/OptionPaneUI.java,
4205         javax/swing/plaf/PanelUI.java,
4206         javax/swing/plaf/TabbedPaneUI.java,
4207         javax/swing/plaf/TextUI.java,
4208         javax/swing/plaf/TreeUI.java,
4209         javax/swing/plaf/ViewportUI.java,
4210         javax/swing/plaf/basic/BasicBorders.java,
4211         javax/swing/plaf/basic/BasicButtonUI.java,
4212         javax/swing/plaf/basic/BasicCheckBoxUI.java,
4213         javax/swing/plaf/basic/BasicDefaults.java,
4214         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4215         javax/swing/plaf/basic/BasicIconFactory.java,
4216         javax/swing/plaf/basic/BasicLabelUI.java,
4217         javax/swing/plaf/basic/BasicListUI.java,
4218         javax/swing/plaf/basic/BasicOptionPaneUI.java,
4219         javax/swing/plaf/basic/BasicPanelUI.java,
4220         javax/swing/plaf/basic/BasicRadioButtonUI.java,
4221         javax/swing/plaf/basic/BasicScrollPaneUI.java,
4222         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4223         javax/swing/plaf/basic/BasicTextUI.java,
4224         javax/swing/plaf/basic/BasicToggleButtonUI.java,
4225         javax/swing/plaf/basic/BasicTreeUI.java,
4226         javax/swing/plaf/basic/BasicViewportUI.java,
4227         javax/swing/plaf/metal/MetalLookAndFeel.java:
4228         New versions from classpath. This adds copyrights to all files and
4229         some serialVersionUIDs.
4230
4231 2003-05-10  Michael Koch  <konqueror@gmx.de>
4232
4233         * java/nio/CharBuffer.java
4234         (offset): Make it package-private.
4235         (backing_buffer): Likewise.
4236         * java/nio/DoubleBuffer.java
4237         (offset): Make it package-private.
4238         (backing_buffer): Likewise.
4239         (put): Reformatted.
4240         * java/nio/FloatBuffer.java
4241         (offset): Make it package-private.
4242         (backing_buffer): Likewise.
4243         * java/nio/IntBuffer.java
4244         (offset): Make it package-private.
4245         (backing_buffer): Likewise.
4246         * java/nio/LongBuffer.java
4247         (offset): Make it package-private.
4248         (backing_buffer): Likewise.
4249         * java/nio/ShortBuffer.java
4250         (offset): Make it package-private.
4251         (backing_buffer): Likewise.
4252
4253 2003-05-10  Michael Koch  <konqueror@gmx.de>
4254
4255         * java/nio/CharBuffer.java
4256         (put): Fixed precondtion check.
4257         (toString): Make it work without backing array.
4258         (put): Skip one level of method calling.
4259
4260 2003-05-10  Michael Koch  <konqueror@gmx.de>
4261
4262         * java/security/Identity.java,
4263         java/security/IdentityScope.java,
4264         java/security/Key.java,
4265         java/security/KeyPair.java,
4266         java/security/PrivateKey.java,
4267         java/security/Provider.java,
4268         java/security/PublicKey.java,
4269         java/security/SecureRandom.java,
4270         java/security/SecureRandomSpi.java,
4271         java/security/SignedObject.java,
4272         java/security/Signer.java,
4273         java/security/cert/Certificate.java,
4274         java/security/cert/PKIXCertPathBuilderResult.java,
4275         java/security/cert/X509Certificate.java:
4276         New versions from classpath.
4277
4278 2003-05-09  Tom Tromey  <tromey@redhat.com>
4279
4280         * Makefile.in: Rebuilt.
4281         * Makefile.am (nat_source_files): Removed old files.
4282         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
4283         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
4284         * gnu/java/nio/natIntBufferImpl.cc: Removed.
4285         * gnu/java/nio/natLongBufferImpl.cc: Removed.
4286         * gnu/java/nio/natShortBufferImpl.cc: Removed.
4287
4288 2003-05-09  Michael Koch  <konqueror@gmx.de>
4289
4290         * gnu/java/nio/ByteBufferImpl.java
4291         (nio_cast): Removed.
4292         (ByteBufferImpl): Removed.
4293         (nio_get_Byte): Removed.
4294         (nio_put_Byte): Removed.
4295         (asByteBuffer): Removed.
4296         (asCharBuffer): Removed implementation and throw exception.
4297         (asShortBuffer): Likewise.
4298         (asIntBuffer): Likewise.
4299         (asLongBuffer): Likewise.
4300         (asFloatBuffer): Likewise.
4301         (asDoubleBuffer): Likewise.
4302         * gnu/java/nio/CharBufferImpl.java
4303         (CharBufferImpl): Removed.
4304         (nio_get_Byte): Removed.
4305         (nio_put_Byte): Removed.
4306         (asByteBuffer): Removed.
4307         * gnu/java/nio/DoubleBufferImpl.java
4308         (DoubleBufferImpl): Removed.
4309         (nio_get_Byte): Removed.
4310         (nio_put_Byte): Removed.
4311         (asByteBuffer): Removed.
4312         * gnu/java/nio/FloatBufferImpl.java
4313         (FloatBufferImpl): Removed.
4314         (nio_get_Byte): Removed.
4315         (nio_put_Byte): Removed.
4316         (asByteBuffer): Removed.
4317         * gnu/java/nio/IntBufferImpl.java
4318         (IntBufferImpl): Removed.
4319         (nio_get_Byte): Removed.
4320         (nio_put_Byte): Removed.
4321         (asByteBuffer): Removed.
4322         * gnu/java/nio/LongBufferImpl.java
4323         (LongBufferImpl): Removed.
4324         (nio_get_Byte): Removed.
4325         (nio_put_Byte): Removed.
4326         (asByteBuffer): Removed.
4327         * gnu/java/nio/ShortBufferImpl.java
4328         (ShortBufferImpl): Removed.
4329         (nio_get_Byte): Removed.
4330         (nio_put_Byte): Removed.
4331         (asByteBuffer): Removed.
4332         * gnu/java/nio/natByteBufferImpl.cc
4333         (nio_cast): Removed.
4334         (nio_get_Byte): Removed.
4335         (nio_put_Byte): Removed.
4336         * gnu/java/nio/natCharBufferImpl.cc
4337         (nio_get_Byte): Removed.
4338         (nio_put_Byte): Removed.
4339
4340 2003-05-09  Michael Koch  <konqueror@gmx.de>
4341
4342         * java/net/JarURLConnection.java
4343         (getJarEntry): Merged documentation from classpath.
4344         (getJarFile): Likewise.
4345         (getMainAttributes): Likewise.
4346         (getAttributes): Likewise.
4347         (getManifest): Likewise.
4348         (getCertificates): Reformatted.
4349         * java/net/URLConnection.java:
4350         Little classpath merge.
4351
4352 2003-05-09  Michael Koch  <konqueror@gmx.de>
4353
4354         * java/io/DataOutputStream.java
4355         (writeShort): Made it synchronized.
4356         (writeChar): Likewise.
4357         (writeInt): Likewise.
4358         (writeLong): Liekwise.
4359         (writeUTF): Made it synchronized, renamed argument to match classpath.
4360         * java/io/InputStreamReader.java
4361         (converter): Added documentation.
4362         (read): Merged documentation from classpath.
4363         * java/io/OutputStreamWriter.java
4364         (OutputStreamWriter): Merged documentation from classpath.
4365         (close): Reformatted.
4366         (getEncoding): Likewise.
4367         (flush): Likewise.
4368         (write): Merged documentation from classpath, reformatted.
4369
4370 2003-05-08  Tom Tromey  <tromey@redhat.com>
4371
4372         * configure.host <powerpc64*-*>: Set with_libffi_default and
4373         libgcj_interpreter to "yes".
4374
4375 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
4376
4377         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
4378         
4379 2003-05-06  Tom Tromey  <tromey@redhat.com>
4380
4381         * verify.cc: Reverted previous patch.
4382
4383 2003-05-06  Michael Koch  <konqueror@gmx.de>
4384
4385         * java/io/DataOutputStream.java
4386         (write): Renamed argument to "value", merged documentation from
4387         classpath.
4388         (writeBoolean): Likewise.
4389         (writeByte): Likewise.
4390         (writeShort): Likewise.
4391         (writeChar): Likewise.
4392         (writeInt): Likewise.
4393         (writeLong): Likewise.
4394         (writeFloat): Likewise.
4395         (writeDouble): Likewise.
4396         (writeBytes): Likewise.
4397         (writeChars): Likewise.
4398         (writeUTF): Likewise.
4399         * java/io/File.java
4400         (performDelete): Added documentation.
4401         (performList): Likewise.
4402         (performMkdir): Likewise.
4403         (performSetReadOnly): Likewise.
4404         (performRenameTo): Likewise.
4405         (performSetLastModified): Likewise.
4406         (delete): Made it sychronized.
4407         (renameTo): Made it sychronized.
4408         (equals): Reformatted.
4409         (isHidden): Likewise.
4410         (listFiles): Likewise.
4411         (setReadOnly): Likewise.
4412         (listRoots): Likewise.
4413         (setLastModified): Likewise.
4414         (checkRead): Likewise.
4415         (checkWrite): Likewise.
4416         * java/io/FileInputStream.java
4417         (skip): Made it sychronized, merged from classpath.
4418         * java/io/FileOutputStream.java
4419         (write): Merged from classpath.
4420         * java/io/InputStreamReader.java:
4421         (InputStreamReader): Merged documentation from classpath.
4422
4423 2003-05-05  Michael Koch  <konqueror@gmx.de>
4424
4425         * java/net/NetworkInterface.java
4426         (networkInterfaces): Removed.
4427         (getByName): Use getRealNetworkInterfaces() instead of
4428         networkInterfaces.
4429         (getByInetAddress): Likewise.
4430         (getNetworkInterfaces): Likewise.
4431         (toString): Fix output of addresses of an interface.
4432
4433 2003-05-05  Michael Koch  <konqueror@gmx.de>
4434
4435         * java/io/DataInputStream.java:
4436         Merged new documentation from classpath.
4437
4438 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
4439
4440         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4441         "version".
4442         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4443         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4444         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4445         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4446         * gnu/awt/gtk/GtkMainThread.java: Likewise.
4447         * gnu/awt/gtk/GtkToolkit.java: Likewise.
4448         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4449         * java/security/Key.java: Likewise.
4450         * java/security/PrivateKey.java: Likewise.
4451         * java/security/Provider.java: Likewise.
4452         * java/security/PublicKey.java: Likewise.
4453
4454 2003-05-02  Michael Koch  <konqueror@gmx.de>
4455
4456         * java/net/URI.java
4457         (create): Doesnt throws any exceptions.
4458         * java/net/URLConnection.java
4459         (URLConnection): Commend added.
4460         (getExpiration): The header field is called "expires" not
4461         "expiration".
4462         (getHeaderField): Merged documentation with classpath.
4463         (getHeaderFieldInt): Likewise.
4464         (getHeaderFieldDate): Likewise.
4465         (getHeaderFieldKey): Likewise.
4466         (getPermission): Likewise.
4467         (setDefaultUseCaches): Likewise.
4468         (setRequestProperty): Likewise.
4469         (addRequestProperty): Likewise.
4470         (getRequestProperty): Likewise.
4471         (getRequestProperties): Likewise.
4472         (setDefaultRequestProperty): Likewise.
4473         (getDefaultRequestProperty): Likewise.
4474         (guessContentTypeFromStream): Likewise.
4475         (getFileNameMap): Likewise.
4476         (setFileNameMap): Likewise.
4477         (setDoInput): Merged implementation and documentation with classpath.
4478         (setDoOutput): Likewise.
4479         (setAllowUserInteraction): Likewise.
4480         (setDefaultAllowUserInteraction): Likewise.
4481         (setContentHandlerFactory): Made it synchronized, merged documentation
4482         with classpath.
4483         (guessContentTypeFromName): Renamed argument fname to filename to
4484         match classpath, merged documentation with classpath.
4485
4486 2003-05-02  Michael Koch  <konqueror@gmx.de>
4487
4488         * java/net/JarURLConnection.java
4489         (JarURLConnection): Class documentation merged with classpath.
4490         (getJarFileURL): Moved and documentation merged with classpath.
4491         (getEntryName): Likewise.
4492         (JarURLConnection): Documentation merged with classpath.
4493         (getJarEntry): Likewise.
4494         (getJarFile): Likewise.
4495         * java/net/PlainDatagramSocketImpl.java:
4496         Class documentation moved.
4497         * java/net/URLConnection.java
4498         (fileNameMap): Moved and documentation merged with classpath.
4499         (factory): Likewise.
4500         (defaultAllowUserInteraction): Likewis.
4501         (defaultUseCaches): Likewise.
4502         (allowUserInteraction): Likewise.
4503         (connected): Likewise.
4504         (url): Likewise.
4505         (connect): Documentation merged with classpath.
4506         (getURL): Likewise.
4507         (getContentLength): Likewise.
4508         (getContentType): Likewise.
4509         (getContentEncoding): Likewise.
4510         (getExpiration): Likewise.
4511         (getDate): Likewise.
4512         (getLastModified): Likewise.
4513         (getHeaderField): Likewise.
4514         (getContent): Likewise.
4515         (getPermission): Likewise.
4516         (getInputStream): Likewise.
4517         (getOutputStream): Likewise.
4518         (toString): Likewise.
4519         (getDoInput): Likewise.
4520         (getDoOutput): Likewise.
4521         (setAllowUserInteraction): Likewise.
4522         (getAllowUserInteraction): Likewise.
4523         (setDefaultAllowUserInteraction): Likewise.
4524         (getDefaultAllowUserInteraction): Likewise.
4525         (setUseCaches): Likewise.
4526         (getUseCaches): Likewise.
4527         (setIfModifiedSince): Likewise.
4528         (getIfModifiedSince): Likewise.
4529         (setDefaultRequestProperty): Likewise.
4530         (getDefaultRequestProperty): Likewise.
4531         (setContentHandlerFactory): Likewise.
4532         (setFileNameMap): Likewise.
4533
4534 2003-05-02  Michael Koch  <konqueror@gmx.de>
4535
4536         * java/net/InetAddress.java:
4537         Merged class documentation with classpath.
4538         * java/net/JarURLConnection.java:
4539         Explicitely import all used classes.
4540         * java/net/URL.java:
4541         Reformatting.
4542         * java/net/ServerSocket.java,
4543         java/net/Socket.java:
4544         New versions from classpath.
4545
4546 2003-05-02  Michael Koch  <konqueror@gmx.de>
4547
4548         * gnu/java/nio/FileChannelImpl.java
4549         (read): New implementation.
4550         (implRead): New methods.
4551         (write): New implementation, call other write insteal of read method.
4552         (implWrite): New methods.
4553         (map): Added comment.
4554         (transferFrom): Implemented.
4555         (transferTo): Implemented.
4556         (lock): Added checks to throw exceptions.
4557         (truncate): Added check to throw exception.
4558         * gnu/java/nio/natFileChannelImpl.cc
4559         (implRead): New method.
4560         (implWrite): New method.
4561         * java/nio/ByteBuffer.java
4562         (hashCode): Fixed comment.
4563         (get): Fixed exception documentation.
4564         (put): Fixed exception documentation.
4565         * java/nio/CharBuffer.java:
4566         Added comment for later optimizations.
4567
4568 2003-04-30  Tom Tromey  <tromey@redhat.com>
4569
4570         PR libgcj/10582:
4571         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
4572         Removed.
4573         (type::compatible): Use _Jv_IsAssignableFrom.
4574         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
4575         (_Jv_IsAssignableFrom): Work even when source or target class is
4576         not prepared.
4577
4578 2003-04-30  Michael Koch  <konqueror@gmx.de>
4579
4580         * java/text/BreakIterator.java
4581         (clone): New method.
4582
4583 2003-04-30  Michael Koch  <konqueror@gmx.de>
4584
4585         * java/text/CollationElementIterator.java,
4586         java/text/CollationKey.java,
4587         java/text/RuleBasedCollator.java:
4588         Merged copyright and documentation from classpath and
4589         rearranged some code. No code changes done.
4590
4591 2003-04-30  Michael Koch  <konqueror@gmx.de>
4592
4593         * java/util/regex/Matcher.java
4594         (pattern): New member variable.
4595         (appendReplacement): New method.
4596         (appendTail): New method.
4597         (end): New method.
4598         (find): New method.
4599         (group): New method.
4600         (replaceFirst): Added documentation.
4601         (replaceAll): Added documentation.
4602         (groupCount): New method.
4603         (lookingAt): New method.
4604         (matches): New method.
4605         (reset): New method.
4606         (start): New method.
4607         * java/util/regex/Pattern.java
4608         (serialVersionUID): New constant.
4609         (CANON_EQ): New constant.
4610         (CASE_INSENSITIVE): New constant.
4611         (COMMENTS): New constant.
4612         (DOTALL): New constant.
4613         (MULTILINE): New constant.
4614         (UNICODE_CASE): New constant.
4615         (UNIX_LINES): New constant.
4616         (regex): New member variable.
4617         (flags): New member variable.
4618         (Pattern): New method.
4619         (compile): Documentation added.
4620         (flags): New method.
4621         (matches): Documentation added.
4622         (matcher): Documentation added.
4623         (split): Documentation added.
4624         (pattern): New method.
4625
4626 2003-04-30  Michael Koch  <konqueror@gmx.de>
4627
4628         * gnu/java/security/Engine.java,
4629         gnu/java/security/OID.java,
4630         gnu/java/security/der/BitString.java,
4631         gnu/java/security/der/DER.java,
4632         gnu/java/security/der/DERReader.java,
4633         gnu/java/security/der/DERValue.java,
4634         gnu/java/security/der/DERWriter.java,
4635         gnu/java/security/provider/DSAKeyFactory.java,
4636         gnu/java/security/provider/X509CertificateFactory.java,
4637         gnu/java/security/x509/X500DistinguishedName.java,
4638         gnu/java/security/x509/X509CRL.java,
4639         gnu/java/security/x509/X509CRLEntry.java,
4640         gnu/java/security/x509/X509Certificate.java,
4641         java/security/cert/CRLSelector.java,
4642         java/security/cert/CertPathBuilder.java,
4643         java/security/cert/CertPathBuilderResult.java,
4644         java/security/cert/CertPathBuilderSpi.java,
4645         java/security/cert/CertPathParameters.java,
4646         java/security/cert/CertPathValidator.java,
4647         java/security/cert/CertPathValidatorResult.java,
4648         java/security/cert/CertPathValidatorSpi.java,
4649         java/security/cert/CertSelector.java,
4650         java/security/cert/CertStore.java,
4651         java/security/cert/CertStoreParameters.java,
4652         java/security/cert/CertStoreSpi.java,
4653         java/security/cert/CollectionCertStoreParameters.java,
4654         java/security/cert/LDAPCertStoreParameters.java,
4655         java/security/cert/PKIXBuilderParameters.java,
4656         java/security/cert/PKIXCertPathBuilderResult.java,
4657         java/security/cert/PKIXCertPathChecker.java,
4658         java/security/cert/PKIXCertPathValidatorResult.java,
4659         java/security/cert/PKIXParameters.java,
4660         java/security/cert/PolicyNode.java,
4661         java/security/cert/PolicyQualifierInfo.java,
4662         java/security/cert/TrustAnchor.java,
4663         javax/security/auth/x500/X500Principal.java:
4664         New files from classpath.
4665         * gnu/java/io/ASN1ParsingException.java,
4666         gnu/java/io/Base64InputStream.java,
4667         gnu/java/security/der/DEREncodingException.java,
4668         gnu/java/security/provider/DSAParameters.java,
4669         gnu/java/security/provider/DSASignature.java,
4670         gnu/java/security/provider/Gnu.java,
4671         gnu/java/security/provider/GnuDSAPrivateKey.java,
4672         gnu/java/security/provider/GnuDSAPublicKey.java,
4673         java/security/AlgorithmParameterGenerator.java,
4674         java/security/AlgorithmParameters.java,
4675         java/security/KeyFactory.java,
4676         java/security/KeyPairGenerator.java,
4677         java/security/KeyStore.java,
4678         java/security/MessageDigest.java,
4679         java/security/SecureClassLoader.java,
4680         java/security/SecureRandom.java,
4681         java/security/Security.java,
4682         java/security/Signature.java,
4683         java/security/cert/Certificate.java,
4684         java/security/cert/CertificateFactory.java,
4685         java/security/cert/CertificateFactorySpi.java,
4686         java/security/cert/X509CRL.java,
4687         java/security/cert/X509Certificate.java,
4688         java/security/spec/DSAPublicKeySpec.java:
4689         New versions from classpath.
4690         * gnu/java/security/provider/DERReader.java,
4691         gnu/java/security/provider/DERWriter.java,
4692         java/security/Engine.java: Removed.
4693         * Makefile.am
4694         (java_source_files, javax_source_files): Added new files.
4695         * Makefile.in: Regenerated.
4696
4697 2003-04-29  Michael Koch  <konqueror@gmx.de>
4698
4699         * javax/swing/JTable.java
4700         (AUTO_RESIZE_ALL_COLUMNS): New constant.
4701         (AUTO_RESIZE_LAST_COLUMN): New constant.
4702         (AUTO_RESIZE_NEXT_COLUMN): New constant.
4703         (AUTO_RESIZE_OFF): New constant.
4704         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
4705         (JTable): New method.
4706         (columnAdded): New method.
4707         (columnMarginChanged): New method.
4708         (columnMoved): New method.
4709         (columnRemoved): New method.
4710         (columnSelectionChanged): New method.
4711         (editingCanceled): New method.
4712         (editingStopped): New method.
4713         (getColumnModel): New method.
4714         (getPreferredScrollableViewportSize): New method.
4715         (getScrollableBlockIncrement): New method.
4716         (getScrollableTracksViewportHeight): New method.
4717         (getScrollableTracksViewportWidth): New method.
4718         (getScrollableUnitIncrement): New method.
4719         (getSelectedRow): New method.
4720         (getSelectionModel): New method.
4721         (tableChanged): New method.
4722         (setModel): New method.
4723         (setSelectionMode): New method.
4724         (setSelectionModel): New method.
4725         (setShowGrid): New method.
4726         (valueChanged): New method.
4727         * javax/swing/text/DefaultEditorKit.java
4728         (backwardAction): New constant.
4729         (beepAction): New constant.
4730         (beginAction): New constant.
4731         (beginLineAction): New constant.
4732         (beginParagraphAction): New constant.
4733         (beginWordAction): New constant.
4734         (copyAction): New constant.
4735         (cutAction): New constant.
4736         (defaultKeyTypedAction): New constant.
4737         (deleteNextCharAction): New constant.
4738         (deletePrevCharAction): New constant.
4739         (downAction): New constant.
4740         (endAction): New constant.
4741         (endLineAction): New constant.
4742         (endOfLineStringProperty): New constant.
4743         (endParagraphAction): New constant.
4744         (endWordAction): New constant.
4745         (forwardAction): New constant.
4746         (insertBreakAction): New constant.
4747         (insertContentAction): New constant.
4748         (insertTabAction): New constant.
4749         (nextWordAction): New constant.
4750         (pageDownAction): New constant.
4751         (pageUpAction): New constant.
4752         (pasteAction): New constant.
4753         (previousWordAction): New constant.
4754         (readOnlyAction): New constant.
4755         (selectAllAction): New constant.
4756         (selectionBackwardAction): New constant.
4757         (selectionBeginAction): New constant.
4758         (selectionBeginLineAction): New constant.
4759         (selectionBeginParagraphAction): New constant.
4760         (selectionBeginWordAction): New constant.
4761         (selectionDownAction): New constant.
4762         (selectionEndAction): New constant.
4763         (selectionEndLineAction): New constant.
4764         (selectionEndParagraphAction): New constant.
4765         (selectionEndWordAction): New constant.
4766         (selectionForwardAction): New constant.
4767         (selectionNextWordAction): New constant.
4768         (selectionPreviousWordAction): New constant.
4769         (selectionUpAction): New constant.
4770         (selectLineAction): New constant.
4771         (selectParagraphAction): New constant.
4772         (selectWordAction): New constant.
4773         (upAction): New constant.
4774         (writableAction): New constant.
4775
4776 2003-04-29  Michael Koch  <konqueror@gmx.de>
4777
4778         * java/util/PropertyPermission.java:
4779         New version from classpath
4780         * java/util/ResourceBundle.java:
4781         Partly merged from classpath
4782         (getObject): Reformated.
4783         (tryBundle): Set foundBundle = null if no bundle found.
4784
4785 2003-04-29  Michael Koch  <konqueror@gmx.de>
4786
4787         * javax/swing/AbstractListModel.java,
4788         javax/swing/DefaultBoundedRangeModel.java,
4789         javax/swing/DefaultSingleSelectionModel.java:
4790         New Versions from classpath.
4791
4792 2003-04-29  Michael Koch  <konqueror@gmx.de>
4793
4794         * java/awt/Window.java
4795         (show): Call super.show() instead of setVisible() to avoid endless
4796         loop.
4797         (hide): Call super.hide() instead of setVisible() to avoid endless
4798         loop.
4799
4800 2003-04-29  Michael Koch  <konqueror@gmx.de>
4801
4802         * java/util/zip/Deflater.java,
4803         java/util/zip/DeflaterOutputStream.java:
4804         Partly merged with classpath.
4805
4806 2003-04-27  Tom Tromey  <tromey@redhat.com>
4807
4808         * java/lang/natString.cc (_Jv_AllocString): Initialize
4809         cachedHashCode.
4810         (init): Likewise.
4811         (_Jv_NewStringUtf8Const): Likewise.
4812
4813 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
4814
4815         * include/jvm.h: (_Jv_GetNbArgs) added
4816         (_Jv_GetSafeArg) added
4817         (_Jv_SetArgs) added
4818         * prims.cc: (_Jv_GetNbArgs) implemented
4819         (_Jv_GetSafeArg) implemented
4820         (_Jv_SetArgs) implemented
4821         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
4822         setting _Jv_argc and _Jv_argv
4823         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
4824         instead of _Jv_argv
4825         * java/lang/natRuntime.cc: (insertSystemProperties) use
4826         _Jv_GetSafeArg() instead of _Jv_argv
4827
4828 2003-04-23  Tom Tromey  <tromey@redhat.com>
4829
4830         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
4831         required by this object.  Search superclasses to find required
4832         alignment.
4833         (get_alignment_from_class): Use alignment of type as it appears
4834         in a struct.
4835         (ALIGNOF): New macro.
4836         (struct aligner): New helper structure.
4837
4838 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
4839
4840         * java/awt/Container.java (addImpl): Enable paint events if adding
4841         a lightweight to a heavyweight.
4842         (addNotify): Ensure that peer is created before
4843         addNotifyContainerChildren.
4844         (addNotifyContainerChildren): Enable paint events if a heavyweight
4845         container contains a lightweight.
4846
4847 2003-04-20  Tom Tromey  <tromey@redhat.com>
4848
4849         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
4850         java/io/DataInput.java, java/io/DataOutput.java: Imports from
4851         Classpath.
4852
4853 2003-04-19  Tom Tromey  <tromey@redhat.com>
4854
4855         * java/sql/Date.java, java/sql/DriverManager.java,
4856         java/sql/Time.java, java/sql/Timestamp.java: New versions from
4857         Classpath.
4858
4859         * Makefile.in: Rebuilt.
4860         * Makefile.am (ordinary_java_source_files): Added new files.
4861         * java/security/AlgorithmParameterGenerator.java,
4862         java/security/AlgorithmParameters.java, java/security/Engine.java,
4863         java/security/Identity.java, java/security/IdentityScope.java,
4864         java/security/KeyFactory.java,
4865         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
4866         java/security/MessageDigest.java, java/security/Policy.java,
4867         java/security/ProtectionDomain.java,
4868         java/security/SecureRandom.java, java/security/Security.java,
4869         java/security/Signature.java, java/security/SignatureSpi.java,
4870         java/security/SignedObject.java, java/security/Signer.java,
4871         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4872         java/security/spec/PSSParameterSpec.java,
4873         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
4874         java/security/spec/RSAOtherPrimeInfo.java: New versions from
4875         Classpath.
4876
4877 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4878
4879         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
4880         (dispose): Null metrics.
4881         * gnu/awt/xlib/XToolkit.java (sync): Implement.
4882         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
4883         finalize.
4884         (finalize): Call dispose.
4885         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
4886         (gcCachedCount): New field.
4887         (finalize): New method.
4888         (putGCInCache): New method.
4889         (getGCFromCache): New method.
4890         * gnu/gcj/xlib/GC.java (GC): Make protected.
4891         (clone): Get new GC from cache if possible.
4892         (create): New static method.
4893         (dispose): Save old GC in cache.
4894         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
4895         deleting.
4896         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
4897         is null.
4898         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
4899         * java/awt/Container.java (visitChild): Dispose gfx2 when
4900         finished.
4901
4902 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
4903
4904         * java/math/BigInteger.java (probablePrime): New.
4905         * java/math/BigDecimal.java (unscaledValue): New.
4906
4907 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
4908
4909         * java/io/File.java (getAbsolutePath): On Windows, take care
4910         of paths like "C:", "G:foo\bar", etc.
4911         (getName): Make it work correctly on Windows.
4912         (getParent): Make it work correctly on Windows. For UNIX,
4913         fix bug that causes "/" to be returned as the parent of "/",
4914         instead of null as returned by Sun's JRE.
4915
4916         * java/io/natFileWin32.cc: Change copyright owner to FSF.
4917
4918 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4919
4920         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
4921         inner class.
4922         (CACHE_SIZE_PER_DISPLAY): New field
4923         (fontMetricsCache): New field
4924         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
4925         loading ISO10646-1 fonts.
4926
4927 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4928
4929         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
4930         characters.
4931         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
4932         characters.
4933
4934 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
4935
4936         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
4937         floating point.
4938
4939 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
4940
4941         * configure.host (*-linux*): Don't set slow_pthread_self if primary
4942         installed libpthread is either linuxthreads with floating stacks or
4943         NPTL.
4944
4945 2003-04-14  Tom Tromey  <tromey@redhat.com>
4946
4947         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
4948         of alignment.
4949
4950 2003-04-10  Tom Tromey  <tromey@redhat.com>
4951
4952         * verify.cc (pop64): Removed.
4953         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
4954         exception if top-of-stack is narrow.
4955         (initialize_stack): Check to ensure that <init> is not static and
4956         <clinit> is.
4957
4958 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
4959
4960         * java/io/ObjectStreamException
4961         * java/io/FileFilter
4962         * java/io/FilenameFilter
4963         * java/io/ObjectInput
4964         * java/io/ObjectOutput
4965         * java/io/ObjectStreamConstants
4966         Minor doc fixes, format fixes, spelling corrections, etc.
4967         * java/io/DataInput
4968         Corrected code samples in Javadocs to match reality
4969         * java/io/DataOutput
4970         * java/io/ObjectInputValidation
4971         Major documentation fixes - all Javadocs re-written or updated
4972
4973 2003-04-06  Michael Koch  <konqueror@gmx.de>
4974
4975         * java/net/URLConnection.java:
4976         Import classes directly.
4977         (URLConnection): Merged class documentation with classpath.
4978         (url): Moved, documentation from classpath added.
4979         (doInput): Moved, documentation from classpath added.
4980         (doOutput): Moved, documentation from classpath added.
4981         (allowUserInteraction): Moved.
4982         (useCaches): Moved, documentation from classpath added.
4983         (ifModifiedSince): Moved, documentation from classpath added.
4984         (connected): Moved, documentation from classpath added.
4985
4986 2003-04-06  Michael Koch  <konqueror@gmx.de>
4987
4988         * java/io/FileInputStream.java
4989         (skip): Renamed some variables to match classpath, added
4990         checks from classpath.
4991
4992 2003-03-31  Michael Koch  <konqueror@gmx.de>
4993
4994         * javax/swing/AbstractAction.java
4995         (AbstractAction): Reformatted.
4996         (serialVersionUID): New private member variable.
4997         * javax/swing/plaf/BorderUIResource.java
4998         (serialVersionUID): New private member variable.
4999         * javax/swing/plaf/basic/BasicLookAndFeel.java
5000         (serialVersionUID): New private member variable.
5001
5002 2003-03-31  Michael Koch  <konqueror@gmx.de>
5003
5004         * java/sql/Date.java
5005         (valueOf): Deprecated, reformatted.
5006         (toString): Deprecated, reformatted.
5007         * java/sql/Time.java
5008         (valueOf): Deprecated, reformatted.
5009         (toString): Deprecated, reformatted.
5010
5011 2003-03-31  Michael Koch  <konqueror@gmx.de>
5012
5013         * java/rmi/dgc/VMID.java
5014         (isUnique): Deprecated.
5015
5016 2003-03-31  Michael Koch  <konqueror@gmx.de>
5017
5018         * java/io/File.java
5019         (separator): Merged documentation from classpath.
5020         (separatorChar): Merged documentation from classpath.
5021         (pathSeparator): Merged documentation from classpath.
5022         (pathSeparatorChar): Merged documentation from classpath.
5023         (path): Merged documentation from classpath.
5024         (canRead): Merged documentation from classpath.
5025         (canWrite): Merged documentation from classpath.
5026         (createNewFile): Merged documentation from classpath.
5027         (delete): Merged documentation from classpath.
5028         (equals): Merged documentation from classpath.
5029         (exists): Merged documentation from classpath.
5030         (File): Renamed p to name to match classpath, merged documentation
5031         from classpath.
5032         (getAbsolutePath): Merged documentation from classpath.
5033         (getCanonicalPath): Merged documentation from classpath.
5034         (getCanonicalFile): Merged documentation from classpath.
5035         (getName): Merged documentation from classpath.
5036         (getParent): Merged documentation from classpath.
5037         (getParentFile): Merged documentation from classpath.
5038         (getPath): Merged documentation from classpath.
5039         (hashCode): Merged documentation from classpath.
5040         (isAbsolute): Merged documentation from classpath.
5041         (isDirectory): Merged documentation from classpath.
5042         (isFile): Merged documentation from classpath.
5043         (isHidden): Merged documentation from classpath.
5044         (lastModified): Merged documentation from classpath.
5045         (length): Merged documentation from classpath.
5046         (list): Merged documentation from classpath.
5047         (listFiles): Merged documentation from classpath.
5048         (toString): Merged documentation from classpath.
5049         (toURL): Merged documentation from classpath.
5050         (mkdir): Merged documentation from classpath.
5051         (mkdirs): Merged documentation from classpath.
5052         (createTempFile): Merged documentation from classpath.
5053         (setReadOnly): Merged documentation from classpath.
5054         (listRoots): Merged documentation from classpath.
5055         (compareTo): Merged documentation from classpath.
5056         (renameTo): Merged documentation from classpath.
5057         (setLastModified): Merged documentation from classpath.
5058         * java/io/PrintStream.java
5059         (auto_flush): Merged documentation from classpath.
5060         (PrintStream): Merged documentation from classpath.
5061         (checkError): Merged documentation from classpath.
5062         (setError): Merged documentation from classpath.
5063         (close): Merged documentation from classpath.
5064         (flush): Merged documentation from classpath.
5065         (print): Merged documentation from classpath.
5066         (println):  Merged documentation from classpath.
5067         (write): Renamed count to len to match classpath,
5068         merged documentation from classpath.
5069         * java/io/RandomAccessFile.java
5070         (readShort): Merged documentation from classpath.
5071         (readUnsignedByte): Merged documentation from classpath.
5072         (readUnsignedShort): Merged documentation from classpath.
5073         (readUTF): Merged documentation from classpath.
5074         (seek): Reformatted, merged documentation from classpath.
5075         (skipBytes): Renamed some variables to match classpath, reformatted,
5076         merged documentation from classpath.
5077         (write): Merged documentation from classpath.
5078         (writeBoolean): Merged documentation from classpath.
5079         (writeByte): Merged documentation from classpath.
5080         (writeShort): Merged documentation from classpath.
5081         (writeChar): Merged documentation from classpath.
5082         (writeInt): Merged documentation from classpath.
5083         (writeLong): Merged documentation from classpath.
5084         (writeFloat): Merged documentation from classpath.
5085         (writeDouble): Merged documentation from classpath.
5086         (writeBytes): Merged documentation from classpath.
5087         (writeChars): Merged documentation from classpath.
5088         (writeUTF): Reformatted.
5089         (getChannel): Reformatted.
5090
5091 2003-03-31  Michael Koch  <konqueror@gmx.de>
5092
5093         * java/awt/font/TextAttribute.java
5094         (readResolve): Throws java.io.InvalidObjectException.
5095
5096 2003-03-31  Michael Koch  <konqueror@gmx.de>
5097
5098         * java/rmi/server/LoaderHandler.java
5099         (loadClass): Deprecated.
5100         (getSecurityContext): Deprecated.
5101         * java/rmi/server/LogStream.java
5102         (getDefaultStream): Deprecated.
5103         (setDefaultStream): Deprecated.
5104         (getOutputStream): Deprecated.
5105         (setOutputStream): Deprecated.
5106         (write): Deprecated.
5107         (toString): Deprecated.
5108         (parseLevel): Deprecated.
5109         * java/rmi/server/Operation.java
5110         (Operation): Deprecated.
5111         (getOperation): Deprecated.
5112         (toString): Deprecated.
5113         * java/rmi/server/RemoteCall.java
5114         (getOutputStream): Deprecated.
5115         (releaseOutputStream): Deprecated.
5116         (getInputStream): Deprecated.
5117         (releaseInputStream): Deprecated.
5118         (getResultStream): Deprecated.
5119         (executeCall): Deprecated.
5120         (done): Deprecated.
5121         * java/rmi/server/RemoteRef.java
5122         (invoke): Deprecated.
5123         (newCall): Deprecated.
5124         (done): Deprecated.
5125         * java/rmi/server/RemoteStub.java
5126         (setRef): Deprecated.
5127         * java/rmi/server/Skeleton.java:
5128         No need to import java.lang.Exception explicitly.
5129         (dispatch): Deprecated.
5130         (getOperations): Deprecated.
5131
5132 2003-03-31  Michael Koch  <konqueror@gmx.de>
5133
5134         * java/rmi/dgc/VMID.java,
5135         java/rmi/registry/RegistryHandler.java,
5136         java/rmi/server/LogStream.java,
5137         java/rmi/server/Operation.java,
5138         java/rmi/server/RemoteCall.java,
5139         java/rmi/server/RemoteRef.java,
5140         java/rmi/server/RemoteStub.java:
5141         Reformatted.
5142
5143 2003-03-31  Michael Koch  <konqueror@gmx.de>
5144
5145         * javax/swing/AbstractCellEditor.java,
5146         javax/swing/AbstractListModel.java,
5147         javax/swing/ActionMap.java,
5148         javax/swing/BorderFactory.java,
5149         javax/swing/ButtonGroup.java,
5150         javax/swing/DefaultBoundedRangeModel.java,
5151         javax/swing/DefaultButtonModel.java,
5152         javax/swing/DefaultCellEditor.java,
5153         javax/swing/DefaultComboBoxModel.java,
5154         javax/swing/DefaultDesktopManager.java,
5155         javax/swing/DefaultListCellRenderer.java,
5156         javax/swing/DefaultSingleSelectionModel.java,
5157         javax/swing/InputMap.java,
5158         javax/swing/JComponent.java,
5159         javax/swing/JMenu.java,
5160         javax/swing/JSlider.java,
5161         javax/swing/KeyStroke.java,
5162         javax/swing/OverlayLayout.java,
5163         javax/swing/ScrollPaneLayout.java,
5164         javax/swing/SizeRequirements.java,
5165         javax/swing/UIManager.java,
5166         javax/swing/ViewportLayout.java,
5167         javax/swing/border/AbstractBorder.java,
5168         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5169         javax/swing/event/EventListenerList.java,
5170         javax/swing/table/AbstractTableModel.java,
5171         javax/swing/table/DefaultTableCellRenderer.java,
5172         javax/swing/table/DefaultTableColumnModel.java,
5173         javax/swing/table/DefaultTableModel.java,
5174         javax/swing/table/TableColumn.java,
5175         javax/swing/text/StyledEditorKit.java,
5176         javax/swing/tree/DefaultMutableTreeNode.java,
5177         javax/swing/tree/DefaultTreeModel.java,
5178         javax/swing/tree/DefaultTreeSelectionModel.java,
5179         javax/swing/tree/TreePath.java,
5180         javax/swing/undo/AbstractUndoableEdit.java,
5181         javax/swing/undo/StateEdit.java,
5182         javax/swing/undo/StateEditable.java,
5183         javax/swing/undo/UndoableEditSupport.java:
5184         Merges from classpath.
5185
5186 2003-03-30  Tom Tromey  <tromey@redhat.com>
5187
5188         * java/lang/String.java (data, boffset, count): Documented.
5189         (String(byte[],String)): Reformatted.
5190         (String(byte[])): Likewise.
5191         (lastIndexOf(int)): Likewise.
5192         (lastIndexOf(String)): Likewise.
5193         (substring(int)): Renamed argument to match Classpath.
5194         (String(StringBuffer)): Don't share buffer if it is nearly empty.
5195
5196         * java/lang/String.java: Miscellaneous minor formatting changes
5197         to match Classpath more closely.
5198
5199 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
5200             Tom Tromey  <tromey@redhat.com>
5201
5202         * java/lang/natString.cc (hashCode): Use cachedHashCode.
5203         (init()): Removed.
5204         (charAt): Put index in exception.
5205         (contentEquals): New method.
5206         Include StringBuffer.h.
5207         * java/lang/String.java (cachedHashCode): New field.
5208         (String()): Follow classpath implementation.
5209         (init()): Removed.
5210         (contentEquals): Declare.
5211         (subSequence): Don't declare IndexOutIfBoundsException in throws
5212         clause.
5213         (matches, replaceFirst, replaceAll, split): New methods from
5214         Classpath.
5215
5216 2003-03-29  Tom Tromey  <tromey@redhat.com>
5217
5218         * java/lang/String.java: Reordered to follow Classpath; merged in
5219         javadoc.
5220
5221         * java/text/MessageFormat.java: Removed some whitespace.
5222
5223         * Makefile.in: Rebuilt.
5224         * Makefile.am (awt_java_source_files): Added new files.
5225         * gnu/javax/rmi/PortableServer.java,
5226         gnu/javax/rmi/CORBA/DelegateFactory.java,
5227         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5228         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5229         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5230         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5231         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5232         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
5233         javax/rmi/PortableRemoteObject.java,
5234         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
5235         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5236         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
5237         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
5238         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
5239         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
5240
5241         * java/lang/natClass.cc (newInstance): Put method name in
5242         exception.
5243         (getConstructor): Likewise.
5244         (getDeclaredConstructor): Likewise.
5245         (getPrivateMethod): Likewise.
5246
5247 2003-03-28  Tom Tromey  <tromey@redhat.com>
5248
5249         * java/lang/reflect/Proxy.java: New version from Classpath.
5250         * java/lang/Package.java: New version from Classpath.
5251
5252 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
5253
5254         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
5255         * configure: Regenerate.
5256
5257 2003-03-28  Michael Koch  <konqueror@gmx.de>
5258
5259         * java/io/File.java:
5260         Import needed classes instead of whole packages, merged class
5261         documentation with classpath, moved constants and variables to top of
5262         class.
5263         * java/io/PrintStream.java:
5264         Merged class documentation with classpath, moved constants and
5265         variables to top of class.
5266         * java/io/RandomAccessFile.java
5267         (RandomAccessFile): Merged with classpath.
5268         (read): Merged with classpath).
5269         (read*): Reformatted.
5270
5271 2003-03-28  Michael Koch  <konqueror@gmx.de>
5272
5273         * java/io/FileDescriptor.java
5274         (finalize): Throws Throwable, not IOException.
5275         * java/io/ObjectOutputStream.java
5276         (PutField.put): Doesnt throws anything.
5277
5278 2003­03-28  Michael Koch  <konqueror@gmx.de>
5279
5280         * java/io/FileOutputStream.java:
5281         Merged class documentation and authors with classpath.
5282         (FileOutputStream): Partly merged with classpath.
5283         (write): Merged with classpath.
5284         (getChannel): Make it synchronized instead of explicit block in this
5285         method.
5286         * java/io/RandomAccessFile.java:
5287         Merged class documentation and authors with classpath.
5288
5289 2003-03-26  Tom Tromey  <tromey@redhat.com>
5290
5291         * java/lang/natRuntime.cc (insertSystemProperties): Set
5292         gnu.classpath.home.url.
5293         * Makefile.in: Rebuilt.
5294         * Makefile.am: Define LIBDIR.
5295
5296 2003-03-25  Michael Koch  <konqueror@gmx.de>
5297
5298         * java/io/FileInputStream.java
5299         (read): Renamed b to buf and off to offset.
5300         * java/io/FileOutputStream.java
5301         (ch): Documentation added.
5302         (FileOutputStream): Documentation added.
5303         (getFD): Documentation added.
5304         (write): Documentation added.
5305         (close): Documentation added.
5306         (getChannel): Documentation added.
5307
5308 2003-03-24  Michael Koch  <konqueror@gmx.de>
5309
5310         * java/io/DataOutputStream.java
5311         (write): Merged from classpath.
5312         * java/io/File.java:
5313         Merged copyrigth with classpath.
5314         * java/io/FileInputStream.java
5315         (getChannel): Made it synchronized instead of using a synchronized
5316         block.
5317         * java/io/FileOutputStream.java: Reformatted.
5318         * java/io/InputStreamReader.java
5319         (InputStreamReader): Renamed enc to encoding_name.
5320         (close): Merged documentation from classpath.
5321         (getEncoding): Merged documentation from classpath.
5322         (ready): Merged documentation from classpath.
5323         (read): Merged documentation from classpath.
5324         * java/io/LineNumberReader.java
5325         (lineNumber): Made it private.
5326         (LineNumberReader): Use Constant instead of a direct value.
5327         * java/io/OutputStreamWriter.java
5328         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
5329         documentation from classpath.
5330         (close): Merged documentation from classpath.
5331         (flush): Merged documentation from classpath.
5332         (write): Merged documentation from classpath.
5333         * java/io/PrintStream.java: Reformatted.
5334
5335 2003-03-24  Michael Koch  <konqueror@gmx.de>
5336
5337         * javax/swing/text/ComponentView.java
5338         (getComponent): Must be final.
5339         * javax/swing/tree/DefaultTreeCellRenderer.java:
5340         Reformatted.
5341         * javax/swing/undo/StateEditable.java:
5342         Reformatted.
5343
5344 2003-03-24  Michael Koch  <konqueror@gmx.de>
5345
5346         * java/rmi/activation/ActivationInstantiator.java:
5347         Reformatted.
5348         * java/rmi/activation/Activator.java:
5349         Reformatted.
5350         * java/rmi/registry/RegistryHandler.java:
5351         Remerged from classpath.
5352
5353 2003-03-24  Michael Koch  <konqueror@gmx.de>
5354
5355         * java/util/Date.java:
5356         Fixed documentation starting tag to make javadoc happy.
5357         * java/util/regex/Pattern.java
5358         (Pattern): Implements Serializable.
5359         * java/util/PatternSyntaxException.java
5360         (serialVersionUID): New member variable.
5361
5362 2003-03-24  Michael Koch  <koqnueror@gmx.de>
5363
5364         * java/awt/ContainerOrderFocusTraversalPolicy.java
5365         (getFirstComponent): Implemented.
5366         (getLastComponent): Implemented.
5367         (getDefaultComponent): Implemented.
5368         (setImplicitDownCycleTraversal): Fixed implementation.
5369         * java/awt/Robot.java
5370         (Robot): Added documentation.
5371         * java/awt/Toolkit.java
5372         (getFontList): Deprecated.
5373         (getFontMetrics): Deprecated.
5374         (getPrintJob): Added documentation.
5375         (getSystemSelection): Added documentation.
5376         (getLockingKeyState): Added documentation.
5377         (setLockingKeyState): Added documentation.
5378         (createCustomCursor): Added documentation.
5379         (getBestCursorSize): Added documentation.
5380         (getMaximumCursorColors): Added documentation.
5381         (isFrameStateSupported): Added documentation.
5382
5383 2003-03-24  Michael Koch  <konqueror@gmx.de>
5384
5385         * java/io/RandomAccessFile.java:
5386         More little merges with classpath. No code changes.
5387
5388 2003-03-24  Michael Koch  <konqueror@gmx.de>
5389
5390         * java/net/natInetAddressNoNet.cc:
5391         Include stddef.h.
5392         * java/net/natPlainDatagramSocketImplNoNet.cc:
5393         Fixed inlcude of java/net/DatagramPacket.h.
5394         * java/net/natPlainSocketImplNoNet.cc:
5395         Include some missing classes.
5396
5397 2003-03-24  Michael Koch  <konqueror@gmx.de>
5398
5399         * java/awt/dnd/DropTarget.java
5400         (DropTargetAutoScroller): According to the online documentation, this
5401         is protected, but in reality it is public.
5402         * java/awt/dnd/DropTargetContext.java
5403         (TransferableProxy): According to the online documentation, this
5404         is protected, but in reality it is public.
5405
5406 2003-03-24  Michael Koch  <konqueror@gmx.de>
5407
5408         * java/io/DataInputStream.java
5409         (): Wrapped documentation line.
5410         (): Fixed @return tag.
5411         * java/io/DataOutputStream.java
5412         (written): Moved to top of class.
5413         (all methods): Merged documentation from classpath.
5414         * java/io/File.java:
5415         Merged copyright year with classpath.
5416         * java/io/FileInputStream.java
5417         (all methods): Merged documentation from classpath.
5418         * java/io/LineNumberReader.java
5419         (getLineNumber): Fixed @return tag.
5420         * java/io/ObjectInputStream.java.
5421         Reformatted.
5422         * java/io/ObjectOutputStream.java:
5423         Reformatted, fixed some @see tags.
5424         * java/io/OutputStreamWriter.java:
5425         Deleted empty line.
5426         * java/io/Writer.java:
5427         Reformatted.
5428
5429 2003-03-24  Michael Koch  <konqueror@gmx.de>
5430
5431         * java/awt/Frame.java
5432         (DEFAULT_CURSOR): Fixed @deprecated tag.
5433         (setCursor): Fixed @deprecated tag.
5434
5435 2003-03-24  Michael Koch  <konqueror@gmx.de>
5436
5437         * java/beans/beancontext/BeanContextEvent.java:
5438         Reformated.
5439
5440 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
5441
5442         * java/lang/natStringBuffer.cc (regionMatches): New function.
5443         * java/lang/String.java (count): Now package-private.
5444         * java/lang/StringBuffer.java: Merged with Classpath.
5445
5446 2003-03-23  Michael Koch  <konqueror@gmx.de>
5447
5448         * java/io/BufferedOutputStream.java:
5449         Reformated.
5450         * java/io/BufferedReader.java:
5451         Reformated.
5452         * java/io/ByteArrayOutputStream.java
5453         (size): Fixed @see tag.
5454         * java/io/CharArrayWriter.java
5455         (size): Fixed @see tag.
5456         * java/io/DataInput.java:
5457         Reformated.
5458         * java/io/DataOutput.java:
5459         Reformated.
5460         * java/io/DataOutputStream.java:
5461         Merged copyright years with classpath.
5462         * java/io/Externalizable.java:
5463         Reformated.
5464         * java/io/FileFilter.java:
5465         Reformated.
5466         * java/io/FileInputStream.java:
5467         Merged copyright years with classpath.
5468         * java/io/FileOutputStream.java:
5469         Merged copyright years with classpath.
5470         * java/io/FilePermission.java
5471         (FilePermission): Replaced @XXX with FIXME:.
5472         * java/io/FileWriter.java:
5473         Reformated.
5474         * java/io/FilenameFilter.java:
5475         Reformated.
5476         * java/io/FilterInputStream.java:
5477         Reformated.
5478         * java/io/FilterOutputStream.java:
5479         Reformated.
5480         * java/io/FilterReader.java:
5481         Reformated.
5482         * java/io/FilterWriter.java:
5483         Reformated.
5484         * java/io/LineNumberInputStream.java
5485         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
5486         happy.
5487         (getLineNumber): Fixed @return tag.
5488         * java/io/ObjectInput.java:
5489         Reformated.
5490         * java/io/ObjectOutput.java:
5491         Reformated.
5492         * java/io/ObjectStreamClass.java:
5493         Reformated.
5494         * java/io/PrintStream.java:
5495         Merged copyright years with classpath.
5496         * java/io/PushbackReader.java
5497         (PushbackReader): Replaced @code with @param.
5498         * java/io/SerializablePermission.java:
5499         Reformated.
5500         * java/io/StreamTokenizer.java
5501         (resetSyntax): Fixed @see tag.
5502
5503 2003-03-22  Richard Henderson  <rth@redhat.com>
5504
5505         * sysdep/ia64/locks.h: Include ia64intrin.h.
5506         (compare_and_swap): Use __sync_bool_compare_and_swap.
5507         (compare_and_swap_release): Expose ar.ccv assignment.
5508
5509 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
5510
5511         * include/posix.h: Add suffix for darwin dynamic libraries.
5512
5513 2003-03-21  Michael Koch  <konqueror@gmx.de>
5514
5515         * javax/swing/Action.java
5516         (ACCELERATOR_KEY): New constant.
5517         (ACTION_COMMAND_KEY): Likewise.
5518         (MNEMONIC_KEY): Likewise.
5519         * javax/swing/UnsupportedLookAndFeelException.java
5520         (UnsupportedLookAndFeelException): Must be public.
5521         * javax/swing/WindowConstants.java
5522         (EXIT_ON_CLOSE): New constant.
5523         * javax/swing/text/BadLocationException.java
5524         (offset): New member variable.
5525         (BadLocationException): New implementation, documentation added.
5526         (offsetRequested): New method.
5527         * javax/swing/text/Caret.java:
5528         Reformated.
5529         * javax/swing/text/Document.java:
5530         Reformated.
5531
5532 2003-03-21  Michael Koch  <konqueror@gmx.de>
5533
5534         * java/rmi/activation/Activatable.java
5535         (serialVersionUID): New member variable.
5536         * java/rmi/activation/ActivationGroup.java
5537         (serialVersionUID): New member variable.
5538         * java/rmi/activation/ActivationGroupDesc.java
5539         (serialVersionUID): New member variable.
5540         * java/rmi/registry/Registry.java:
5541         Reformated.
5542         (Registry): Deprecated.
5543         * java/rmi/server/LoaderHandler.java
5544         Reformated.
5545         (LoaderHandler): Deprecated.
5546         * java/rmi/server/LogStream.java
5547         Reformated.
5548         (LogStream): Deprecated.
5549         * java/rmi/server/Operation.java
5550         (Operation): Deprecated.
5551         * java/rmi/server/RMIFailureHandler.java:
5552         Reformated.
5553         * java/rmi/server/RMISocketFactory.java:
5554         Reformated.
5555         * java/rmi/server/RemoteCall.java
5556         (RemoteCall): Deprecated.
5557         * java/rmi/server/RemoteStub.java:
5558         Reformated.
5559         * java/rmi/server/Skeleton.java
5560         Reformated.
5561         (Skeleton): Deprecated.
5562
5563 2003-03-21  Michael Koch  <konqueror@gmx.de>
5564
5565         * java/io/LineNumberReader.java
5566         (LineNumberReader): Merged documentation with classpath.
5567         (getLineNumber): Likewise.
5568         (setLineNumber): Likewise.
5569         (mark): Likewise.
5570         (reset): Likewise.
5571         (read): Likewise.
5572         (readLine): Likewise.
5573         (skip): Likewise.
5574
5575 2003-03-21  Michael Koch  <konqueror@gmx.de>
5576
5577         * java/rmi/RMISecurityManager.java
5578         (checkAccept): Removed.
5579         (checkAccess): Likewise.
5580         (checkAccess): Likewise.
5581         (checkAwtEventQueueAccess): Likewise.
5582         (checkConnect): Likewise.
5583         (checkCreateClassLoader): Likewise.
5584         (checkDelete): Likewise.
5585         (checkExec): Likewise.
5586         (checkExit): Likewise.
5587         (checkLink): Likewise.
5588         (checkListen): Likewise.
5589         (checkMemberAccess): Likewise.
5590         (checkMulticast): Likewise.
5591         (checkPackageAccess): Likewise.
5592         (checkPackageDefinition): Likewise.
5593         (checkPermission): Likewise.
5594         (checkPrintJobAccess): Likewise.
5595         (checkPropertiesAccess): Likewise.
5596         (checkPropertyAccess): Likewise.
5597         (checkRead): Likewise.
5598         (checkSecurityAccess): Likewise.
5599         (checkSetFactory): Likewise.
5600         (checkSystemClipboardAccess): Likewise.
5601         (checkTopLevelWindow): Likewise.
5602         (checkWrite): Likewise.
5603
5604 2003-03-20  Michael Koch  <konqueror@gmx.de>
5605
5606         * gnu/java/nio/FileChannelImpl.java
5607         (address): Removed.
5608         (map_address): New member variable.
5609         (length): Make it package private.
5610         (fd): Make it package private.
5611         (buf): Make it package private.
5612         (file_obj): Make it package private.
5613         (FileChannelImpl): New constructor.
5614         (nio_mmap_file): Use RawData instead of long.
5615         (nio_munmap_file): Use RawData instead of long.
5616         (nio_msync): Use RawData instead of long.
5617         (implCloseChannel): New implementation using map_address.
5618         (read): Reformated.
5619         (map): Implemented.
5620         (create_direct_mapped_buffer): Implemented, use RawData, throws
5621         IOException.
5622         (force): Use map_address instead of address.
5623         * gnu/java/nio/MappedByteFileBuffer.java
5624         (address): Removed.
5625         (map_address): New member variable.
5626         (MappedByteFileBuffer): Use map_address instead of address, reformated.
5627         (several methods): Use map_address instead of address, replaced long
5628         with RawData where appropriate.
5629         * gnu/java/nio/natFileChannelImpl.cc
5630         (nio_mmap_file): Replaced long with RawData.
5631         (nio_munmap_file): Replaced long with RawData.
5632         (nio_msync): Replaced long with RawData.
5633         * gnu/java/nio/natMappedByteFileBuffer.cc
5634         (several methods): Replaced long with RawData where appropriate.
5635
5636 2003-03-20  Michael Koch  <konqueror@gmx.de>
5637
5638         * java/net/InetAddress.java,
5639         java/net/JarURLConnection.java,
5640         java/net/PlainDatagramSocketImpl.java,
5641         java/net/PlainSocketImpl.java,
5642         java/net/URLConnection.java:
5643         Merged copyright statements with classpath for easier merging.
5644
5645 2003-03-20  Michael Koch  <konqueror@gmx.de>
5646
5647         * java/io/FileInputStream.java
5648         (getChannel): New implementation.
5649         * java/io/FileOutputStream.java
5650         (ch): New member variable.
5651         (getChannel): Implemented.
5652         * java/io/RandomAccessFile.java
5653         (RandomAccessFile): Throws FileNotFoundException instead of
5654         IOException.
5655         (getChannel): New method.
5656         (ch): New member variable.
5657
5658 2003-03-20  Michael Koch  <konqueror@gmx.de>
5659
5660         * java/io/DataOutputStream.java,
5661         java/io/File.java,
5662         java/io/FileInputStream.java,
5663         java/io/FileOutputStream.java,
5664         java/io/InputStreamReader.java,
5665         java/io/LineNumberReader.java,
5666         java/io/OutputStreamWriter.java,
5667         java/io/PrintStream.java,
5668         java/io/RandomAccessFile.java:
5669         Merged copyright statements with classpath for easier merging.
5670
5671 2003-03-19  Michael Koch  <konqueror@gmx.de>
5672
5673         * java/lang/Process.java:
5674         Merged from classpath.
5675
5676 2003-03-19  Michael Koch  <konqueror@gmx.de>
5677
5678         * java/io/FileOutputStream.java
5679         (FileOutputStream): New constructor, merged from classpath.
5680         * java/io/FileWriter.java
5681         (FileWriter): New constructor, merged from classpath.
5682
5683 2003-03-18  Michael Koch  <konqueror@gmx.de>
5684
5685         * java/awt/ScrollPane.java
5686         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
5687         (getViewportSize): Likewise.
5688         (addNotify): Likewise.
5689         (removeNotify): Likewise.
5690         * java/awt/ScrollPaneAdjustable.java
5691         (ScrollPaneAdjustable): No longer extends Scrollbar.
5692         * java/beans/beancontext/BeanContextServices.java:
5693         Reformated.
5694         (getService): Added throws TooManyListenersException;
5695         * java/beans/beancontext/BeanContextServicesSupport.java:
5696         Reformated.
5697
5698 2003-03-18  Michael Koch  <konqueror@gmx.de>
5699
5700         * java/io/BufferedOutputStream.java,
5701         java/io/DataInput.java,
5702         java/io/DataInputStream.java,
5703         java/io/DataOutput.java,
5704         java/io/Externalizable.java:
5705         More merges from classpath.
5706
5707 2003-03-18  Michael Koch  <konqueror@gmx.de>
5708
5709         * configure.in: Fixed links to platform dependant java.net files.
5710         * configure: Regenerated.
5711         * java/net/natInetAddress.cc,
5712         java/net/natNetworkInterface.cc,
5713         java/net/natPlainDatagramSocketImpl.cc,
5714         java/net/natPlainSocketImpl.cc:
5715         Removed.
5716
5717 2003-03-18  Michael Koch  <konqueror@gmx.de>
5718
5719         * configure.in: Create links to architecture dependent files,
5720         introduced PLATFORMNET variable (set to NoNet for newlib usage).
5721         * configure: Regenerated.
5722         * java/net/natInetAddressNoNet.cc,
5723         java/net/natInetAddressPosix.cc,
5724         java/net/natInetAddressWin32.cc,
5725         java/net/natNetworkInterfaceNoNet.cc,
5726         java/net/natNetworkInterfacePosix.cc,
5727         java/net/natNetworkInterfaceWin32.cc,
5728         java/net/natPlainDatagramSocketImplNoNet.cc,
5729         java/net/natPlainDatagramSocketImplPosix.cc,
5730         java/net/natPlainDatagramSocketImplWin32.cc,
5731         java/net/natPlainSocketImplNoNet.cc,
5732         java/net/natPlainSocketImplPosix.cc,
5733         java/net/natPlainSocketImplWin32.cc: New files.
5734
5735 2003-03-18  Michael Koch  <konqueror@gmx.de>
5736
5737         * java/io/BufferedReader.java,
5738         java/io/BufferedWriter.java,
5739         java/io/ByteArrayOutputStream.java,
5740         java/io/FileFilter.java,
5741         java/io/FilePermission.java,
5742         java/io/FileReader.java,
5743         java/io/FileWriter.java,
5744         java/io/FilenameFilter.java,
5745         java/io/FilterInputStream.java,
5746         java/io/FilterOutputStream.java,
5747         java/io/FilterReader.java,
5748         java/io/FilterWriter.java,
5749         java/io/ObjectInput.java,
5750         java/io/ObjectInputValidation.java,
5751         java/io/ObjectOutput.java,
5752         java/io/ObjectStreamField.java,
5753         java/io/PipedInputStream.java,
5754         java/io/PipedReader.java,
5755         java/io/PrintWriter.java,
5756         java/io/PushbackReader.java,
5757         java/io/Reader.java,
5758         java/io/SerializablePermission.java,
5759         java/io/StringReader.java,
5760         java/io/Writer.java:
5761         Merged from classpath.
5762
5763 2003-03-17  Michael Koch  <konqueror@gmx.de>
5764
5765         * java/awt/ScrollPaneAdjustable.java:
5766         Compile fixes.
5767         
5768 2003-03-17  Michael Koch  <konqueror@gmx.de>
5769
5770         * java/net/DatagramSocket.java
5771         (connect): Fixed comment.
5772         * java/nio/ByteBuffer.java
5773         (hasArray): Fixed comment.
5774
5775 2003-03-17  Michael Koch  <konqueror@gmx.de>
5776
5777         * java/beans/Beans.java:
5778         Explicitely import classes not packages.
5779         * java/beans/FeatureDescriptor.java
5780         (preferred): New member variable.
5781         (isPreferred): New method.
5782         (setPreferred): New method.
5783         * java/beans/PropertyEditorManager.java:
5784         Explicitely import used classes.
5785         * java/beans/beancontext/BeanContextChild.java:
5786         Added line wrapping.
5787         * java/beans/beancontext/BeanContextChildSupport.java:
5788         Reindented.
5789         * java/beans/beancontext/BeanContextEvent.java:
5790         Reindented.
5791
5792 2003-03-17  Michael Koch  <konqueror@gmx.de>
5793
5794         * java/awt/Dialog.java
5795         (Dialog): New constructor, changed implementations, added
5796         documentation.
5797         * java/awt/ScrollPaneAdjustable.java
5798         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
5799         Serializable.
5800         (serialVersionUID): New member variable.
5801         (sp): New member variable.
5802         (orientation): New member variable.
5803         (value): New member variable.
5804         (minimum): New member variable.
5805         (maximum): New member variable.
5806         (visibleAmount): New member variable.
5807         (unitIncrement): New member variable.
5808         (blockIncrement): New member variable.
5809         (AdjustmentListener): New member variable.
5810         (ScrollPaneAdjustable): New implementation.
5811         (addAdjustmentListener): New method.
5812         (removeAdjustmentListener): New method.
5813         (getAdjustmentListeners): New method.
5814         (getBlockIncrement): New method.
5815         (getMaximum): New method.
5816         (getMinimum): New method.
5817         (getOrientation): New method.
5818         (getUnitIncrement): New method.
5819         (getValue): New method.
5820         (getVisibleAmount): New method.
5821         (setBlockIncrement): New method.
5822         (setMaximum): Implemented.
5823         (setMinimum): Implemented.
5824         (setUnitIncrement): New method.
5825         (setValue): New method.
5826         (setVisibleAmount): Implemented. 
5827         (paramString): New stubbed method.
5828         * java/awt/Window.java
5829         (show): Call setVisible().
5830         (hide): Call setVisible().
5831         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
5832         and WINDOW_STATE_CHANGED.
5833         (processWindowFocusEvent): New method.
5834         (processWindowStateEvent): New method.
5835         (postEvent): Deprecated.
5836         (applyResourceBundle): Deprecated.
5837         * java/awt/datatransfer/DataFlavor.java
5838         (DataFlavor): Doesn't thow ClassNotFoundException.
5839
5840 2003-03-17  Michael Koch
5841
5842         * javax/print/attribute/Attribute.java,
5843         javax/print/attribute/AttributeSet.java,
5844         javax/print/attribute/PrintRequestAttributeSet.java:
5845         New files.
5846         * Makefile.am
5847         (javax_source_files): Added new files:
5848         javax/print/attribute/Attribute.java
5849         javax/print/attribute/AttributeSet.java
5850         javax/print/attribute/PrintRequestAttributeSet.java
5851         * Makefile.in: Regenerated.
5852
5853 2003-03-17  Michael Koch
5854
5855         * javax/print/attribute/Attribute.java,
5856         javax/print/attribute/AttributeSet.java,
5857         javax/print/attribute/PrintRequestAttributeSet.java:
5858         New files.
5859         * Makefile.am
5860         (awt_java_source_files): Added new files:
5861         javax/print/attribute/Attribute.java
5862         javax/print/attribute/AttributeSet.java
5863         javax/print/attribute/PrintRequestAttributeSet.java
5864         * Makefile.in: Regenerated.
5865
5866 2003-03-16  Tom Tromey  <tromey@redhat.com>
5867
5868         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
5869         Include platform.h.
5870         * java/lang/natRuntime.cc (insertSystemProperties): Use
5871         _Jv_platform_path_separator.
5872         (nativeGetLibname): Use _Jv_platform_file_separator.
5873         (_load): Use _Jv_platform_onload_names.
5874         (onload_names): New global.
5875         * include/win32.h (_Jv_platform_file_separator): New define.
5876         (_Jv_platform_path_separator): Likewise.
5877         (_Jv_platform_onload_names): Likewise.
5878         (_Jv_platform_ffi_abi): Likewise.
5879         * include/posix.h (_Jv_platform_file_separator): New define.
5880         (_Jv_platform_path_separator): Likewise.
5881         (_Jv_platform_onload_names): Likewise.
5882         (_Jv_platform_ffi_abi): Likewise.
5883
5884 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
5885
5886         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
5887
5888 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
5889
5890         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
5891         hierarchy loop.
5892         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
5893         list to Object,ObjectStreamClass, moved callReadMethod code up into
5894         readObject and added Class argument to all setXxxField calls.
5895         (callReadMethod): Changed Class argument to ObjectStreamClass to be
5896         consistent with ObjectOutputStream and to facilitate caching the
5897         Method in the future.
5898         (setBooleanField): Added Class argument.
5899         (setByteField): Likewise.
5900         (setCharField): Likewise.
5901         (setDoubleField): Likewise.
5902         (setFloatField): Likewise.
5903         (setIntField): Likewise.
5904         (setLongField): Likewise.
5905         (setShortField): Likewise.
5906         (setObjectField): Likewise.
5907         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
5908         class hierarchy loop.
5909         (defaultWriteObject): Call writeFields with new argument list.
5910         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
5911         list to Object,ObjectStreamClass, moved callWriteMethod up into
5912         writeObject and added Class argument to all getXxxField calls.
5913         (callWriteMethod): Added ObjectStreamClass argument to be able to
5914         get the proper class to call getMethod on (each class can have (or
5915         not have) its own writeObject method).
5916         (getBooleanField): Added Class argument.
5917         (getByteField): Likewise.
5918         (getCharField): Likewise.
5919         (getDoubleField): Likewise.
5920         (getFloatField): Likewise.
5921         (getIntField): Likewise.
5922         (getLongField): Likewise.
5923         (getShortField): Likewise.
5924         (getObjectField): Likewise.
5925         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
5926         facilitate caching the Method object in the future.
5927
5928 2003-03-12  Andreas Schwab  <schwab@suse.de>
5929
5930         * configure.in: Avoid trailing /. in toolexeclibdir.
5931         * configure: Rebuilt.
5932
5933 2003-03-11  Michael Koch  <konqueror@gmx.de>
5934
5935         * gnu/java/nio/ByteBufferImpl.java
5936         (putInt): Use limit() instead of limit.
5937         * gnu/java/nio/CharBufferImpl.java
5938         (slice): Fixed implementation.
5939         (subSequence): Better bounds checking.
5940         * gnu/java/nio/MappedByteFileBuffer.java:
5941         Import all needed classes directly.
5942         * java/nio/ByteBuffer.java
5943         (hashCode): New dummy method.
5944         * java/nio/CharBuffer.java
5945         (array_offset): New member variable.
5946         (hasArray): Fixed documentation.
5947         (arrayOffset): Return array_offset.
5948
5949 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
5950
5951         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
5952         setter; made return value of getter const char* instead of char*
5953         * prims.cc: removed all references to _Jv_ThisExecutable().
5954         These are in the platform-specific sections now.
5955         * posix.cc: define platform-specific _Jv_ThisExecutable().
5956         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
5957         * win32.cc: define platform-specific _Jv_ThisExecutable()
5958         using GetModuleFilename()
5959         * java/lang/natRuntime.cc: set gnu.gcj.progname property
5960         to argv[0] instead of _Jv_ThisExecutable()
5961
5962 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
5963
5964         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
5965         that is set if we are using addr2name.awk instead of addr2line.
5966         (NameFinder): Set usingAddr2name if using addr2name.awk.
5967         (getExternalLabel): New native method to convert a method 
5968         name to an external label.
5969         (lookup): Convert name given by addr2line to an external label
5970         before demangling.
5971
5972         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
5973         constant representing the prefix attached to method names to
5974         convert them to an external label.
5975         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
5976         using LABEL_PREFIX.
5977
5978 2003-03-10  Tom Tromey  <tromey@redhat.com>
5979
5980         * Makefile.in: Rebuilt.
5981         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
5982         (JC1FLAGS): Removed -Wno-deprecated.
5983
5984 2003-03-10  Michael Koch  <konqueror@gmx.de>
5985
5986         * java/nio/ByteOrder.java
5987         (nativeOrder): Working implementation, added documentation.
5988         (toString): Added documentation.
5989
5990 2003-03-10  Michael Koch  <konqueror@gmx.de>
5991
5992         * java/net/DatagramSocket.java,
5993         java/net/MulticastSocket.java,
5994         java/net/Socket.java,
5995         java/net/URL.java,
5996         java/net/URLConnection.java:
5997         Fixed some documentation tags to make javadoc and friends happy.
5998
5999 2003-03-10  Michael Koch  <koqnueror@gmx.de>
6000
6001         * java/beans/beancontext/BeanContextServicesSupport.java,
6002         java/beans/beancontext/BeanContextSupport.java: New files.
6003         * Makefile.am
6004         (awt_source_files): Added new files.
6005         * Makefile.in: Regenerated.
6006
6007 2003-03-10  Michael Koch  <konqueror@gmx.de>
6008
6009         * java/awt/FocusTraversalPolicy.java
6010         (FocusTraversalPolicy): Documentation added.
6011         (getComponentAfter): Documentation added.
6012         (getComponentBefore): Documentation added.
6013         (getFirstComponent): Documentation added.
6014         (getLastComponent): Documentation added.
6015         (getDefaultComponent): Documentation added.
6016         (getInitialComponent): Documentation added.
6017         * java/awt/ScrollPaneAdjustable.java
6018         (sp): New member variable.
6019         (orientation): New member variable.
6020         (value): New member variable.
6021         (minimum): New member variable.
6022         (maximum): New member variable.
6023         (visibleAmount): New member variable.
6024         (unitIncrement): New member variable.
6025         (blockIncrement): New member variable.
6026         (adjustmentListener): New member variable.
6027         (ScrollPaneAdjustable): Rewrote.
6028         (addAdjustmentListener): New method.
6029         (removeAdjustmentListener): New method.
6030         (getAdjustmentListeners): New method.
6031         (getBlockIncrement): New method.
6032         (getMaximum): New method.
6033         (getMinimum): New method.
6034         (getOrientation): New method.
6035         (getUnitIncrement): New method.
6036         (getValue): New method.
6037         (getVisibleAmount): New method.
6038         (setBlockIncrement): New method.
6039         (setUnitIncrement): New method.
6040         (setMaximum): Implemented.
6041         (setMinimum): Implemented.
6042         (setValue): New method.
6043         (setVisibleAmount): Implemented.
6044         (paramString): New method.
6045         * java/awt/Window.java
6046         (show): Use setVisible(true) instead of super.show().
6047         (hide): Use sevVisible(false) instead of super.hide().
6048         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
6049         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
6050         (postEvent): Deprecated.
6051         (applyResourceBundle): Deprecated.
6052         (processWindowFocusEvent): New method.
6053         (processWindowStateEvent): New method.
6054         * java/awt/datatransfer/DataFlavor.java: Reindented.
6055         * java/awt/font/TextHitInfo.java
6056         (charIndex): New member variable.
6057         (leadingEdge): New member variable.
6058         (TextHitInfo): New constructor.
6059         (getCharIndex): Implemented.
6060         (isLeadingEdge): Implemented.
6061         (getInsertionIndex): Implemented.
6062         (hashCode): Access charIndex directly.
6063         (equals): Reformated.
6064         (leading): Implemented.
6065         (trailing): Implemented.
6066         (beforeOffset): Implemented.
6067         (afterOffset): Implemented.
6068         (getOtherHit): Implemented.
6069         (getOffsetHit): Implemented.
6070         (toString): Implemented.
6071         * java/awt/image/BufferedImage.java
6072         (BufferedImage): Implements WritableRenderedImage.
6073         (observers): New member variable.
6074         (addTileObserver): New method.
6075         (removeTileObserver): New method.
6076
6077 2003-03-09  Tom Tromey  <tromey@redhat.com>
6078
6079         PR libgcj/9934:
6080         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
6081         to lseek.  Return 0 if we can't compute the value.
6082
6083 2003-03-03  Michael Koch  <konqueror@gmx.de>
6084
6085         * java/net/NetworkInterface.java: Merged with classpath.
6086
6087 2003-03-03  Tom Tromey  <tromey@redhat.com>
6088
6089         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
6090         of bytecode.
6091         (handle_ret_insn): Fail if returning to jsr that appears at end of
6092         bytecode.
6093
6094 2003-03-03  Michael Koch  <konqueror@gmx.de>
6095
6096         * Makefile.am
6097         (ordinary_java_source_files):
6098         Added gnu/java/nio/MappedByteFileBuffer.java.
6099         (nat_source_files):
6100         Added gnu/java/nio/natMappedByteFileBuffer.cc.
6101         * Makefile.in: Regenerated.
6102
6103 2003-03-03  Michael Koch  <konqueror@gmx.de>
6104
6105         * java/net/DatagramSocket.java
6106         (connect): Merged comment from classpath.
6107         (receive): Merged documentation from classpath.
6108         * java/net/Socket.java
6109         (setSoTimeout): Clarified documentation.
6110         * java/net/URL.java
6111         (getPath): Merged from classpath.
6112         (getUserInfo): Merged from classpath.
6113         (getQuery): Merged from classpath.
6114         * java/net/URLStreamHandler.java
6115         (toExternalForm): Merged from classpath.
6116
6117 2003-03-02  Mark Wielaard  <mark@klomp.org>
6118
6119         * java/util/Properties.java (load): Only skip line if the first
6120         character is a comment, whitespaces don't count.
6121
6122 2003-03-02  Michael Koch  <konqueror@gmx.de>
6123
6124         * java/net/NetPermission.java:
6125         Merged copyright with classpath.
6126
6127 2003-03-02  Michael Koch  <konqueror@gmx.de>
6128
6129         * java/lang/Package.java:
6130         Remerged from classpath.
6131
6132 2003-03-02  Michael Koch  <konqueror@gmx.de>
6133
6134         * java/net/HttpURLConnection.java
6135         (HTTP_SERVER_ERROR): Deprecated.
6136         * java/net/MulticastSocket.java
6137         (send): Replaced checkMulticast with appropriate checkPermission call,
6138         deprecated.
6139         * java/net/URLDecoder.java
6140         (decode): Deprecated.
6141         * java/net/URLEncoder.java
6142         (encode): Deprecated.
6143
6144 2003-03-02  Michael Koch  <konqueror@gmx.de>
6145
6146         * javax/swing/text/Caret.java
6147         (getMagicCaretPosition): Fixed typo in method name.
6148         * javax/swing/text/DefaultCaret.java
6149         (getMagicCaretPosition): Fixed typo in method name.
6150
6151 2003-03-02  Michael Koch  <konqueror@gmx.de>
6152
6153         * java/awt/List.java
6154         (setMultipleSelections): Deprecated.
6155         (delItem): Deprecated.
6156         * java/awt/MenuComponent.java
6157         (getPeer): Deprecated.
6158         * java/awt/ScrollPane.java
6159         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6160         * java/awt/dnd/MouseDragGestureRecognizer.java
6161         (mouseClicked): Added comment.
6162         (mousePressed): Added comment.
6163         (mouseReleased): Added comment.
6164         (mouseEntered): Added comment.
6165         (mouseExited): Added comment.
6166         (mouseDragged): Added comment.
6167         (mouseMoved): Added comment.
6168         * java/awt/event/KeyEvent.java
6169         (KeyEvent): Deprecated.
6170         (setModifiers): Deprecated.
6171         
6172 2003-03-02  Michael Koch  <konqueror@gmx.de>
6173
6174         * gnu/java/nio/FileChannelImpl.java
6175         (fd): Type FileDescriptor instead of int.
6176         (lengthInternal): Removed.
6177         (FileChannelImpl): Fixed arguments, check type of file object.
6178         (size): Made it native.
6179         (implPosition): New native method.
6180         (implTruncate): New native method.
6181         (position): Implemented.
6182         (truncate): Implemented.
6183         (nio_mmap_file): Changed arguments.
6184         (nio_munmap_file): Changed arguments.
6185         (nio_msync): Changed arguments.
6186         * gnu/java/nio/natFileChannelImpl.cc
6187         (lengthInternal): Removed.
6188         (size): New method.
6189         (implPosition): New method.
6190         (implTruncate): New method.
6191         (nio_mmap_file): Changed arguments.
6192         (nio_munmap_file): Changed arguments.
6193         (nio_msync): Changed arguments.
6194
6195 2003-03-02  Michael Koch  <konqueror@gmx.de>
6196
6197         * java/awt/dnd/DropTargetContext.java:
6198         Compile fix: Forgot to commit import.
6199         
6200 2003-03-02  Michael Koch  <konqueror@gmx.de>
6201
6202         * java/awt/Component.java,
6203         java/awt/ScrollPane.java:
6204         Fixed typos.
6205
6206 2003-03-02  Michael Koch  <konqueror@gmx.de>
6207
6208         * java/awt/dnd/DnDEventMulticaster.java: New file.
6209         * java/awt/dnd/DragSource.java
6210         (flavorMap): New member variable.
6211         (dragSourceListener): New member variable.
6212         (dragSourceMotionListener): New member variable.
6213         (getFlavorMap): Implemented.
6214         (createDragGestureRecognizer): Implemented.
6215         (addDragSourceListener): Implemented.
6216         (removeDragSourceListener): Implemented.
6217         (getDragSourceListeners): Implemented.
6218         (addDragSourceMotionListener): Implemented.
6219         (removeDragSourceMotionListener): Implemented.
6220         (getDragSourceMotionListeners): Implemented.
6221         (getListeners): Implemented.
6222         * java/awt/dnd/DragSourceContext.java
6223         (peer): New member variable.
6224         (cursor): New member variable.
6225         (transferable): New member variable.
6226         (trigger): New member variable.
6227         (dragSourceListener): New member variable.
6228         (image): New member variable.
6229         (offset): New member variable.
6230         (DragSourceContext): Implemented.
6231         (getDragSource): Implemented.
6232         (getComponent): Implemented.
6233         (getTrigger): Implemented.
6234         (getSourceActions): Implemented.
6235         (setCursor): Implemented.
6236         (getCursor): Implemented.
6237         (addDragSourceListener): Implemented.
6238         (removeDragSourceListener): Implemented.
6239         (getTransferable): Implemented.
6240         * java/awt/dnd/DropTarget.java
6241         (DropTargetAutoScroller.component): New member variable.
6242         (DropTargetAutoScroller.point): New member variable.
6243         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
6244         (DropTargetAutoScroller.updateLocation): Implemented.
6245         (active): Renamed from isActive, defaults to true now.
6246         (component): New member variable.
6247         (flavorMap): New member variable.
6248         (actions): New member variable.
6249         (dropTargetContext): New member variable.
6250         (dropTargetListener): New member variable.
6251         (DropTarget): Implemented.
6252         (getComponent): Implemented.
6253         (setComponent): Implemented.
6254         (setDefaultActions): Implemented.
6255         (getDefaultActions): Implemented.
6256         (setActive): Use active instead of isActive.
6257         (isActive): Use active instead of isActive.
6258         (addDropTargetListener): Implemented.
6259         (removeDropTargetListener): Implemented.
6260         (getFlavorMap): Implemented.
6261         (setFlavorMap): Implemented.
6262         (getDropTargetContext): Implemented.
6263         (createDropTargetContext): Implemented.
6264         (createDropTargetAutoScroller): Implemented.
6265         * java/awt/dnd/DropTargetContext.java
6266         (TransferableProxy.getTransferDataFlavors): Implemented.
6267         (TransferableProxy.isDataFlavorSupported): Implemented.
6268         (TransferableProxy.getTransferData): Implemented.
6269         (dropTarget):  New member variable.
6270         (dtcp): New member variable.
6271         (DropTargetContext): New package private constructor.
6272         (getDropTarget): Implemented.
6273         (getComponent): Implemented.
6274         (addNotify): Implemented.
6275         (removeNotify): Implemented.
6276         (getCurrentDataFlavorsAsList): Implemented.
6277         (isDataFlavorSupported): Implemented.
6278         * java/awt/dnd/MouseDragGestureRecognizer.java
6279         (registerListeners): Implemented.
6280         (unregisterListeners): Implemented.
6281         * Makefile.am
6282         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
6283         * Makefile.in: Regenerated.
6284
6285 2003-03-02  Michael Koch  <konqueror@gmx.de>
6286
6287         * java/awt/Component.java
6288         (eventTypeEnabled): New method.
6289         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
6290         * java/awt/Container.java
6291         (changeSupport): New member variable.
6292         (addPropertyChangeListener): New methods.
6293         * java/awt/ContainerOrderFocusTraversalPolicy.java
6294         (ContainerOrderFocusTraversalPolicy): Added comment.
6295         (getComponentAfter): Throw exception, documentation added.
6296         (getComponentBefore): Throw exception, documentation added.
6297         (getFirstComponent): Throw exception, documentation added.
6298         (getLastComponent): Throw exception, documentation added.
6299         (getDefaultComponent): Throw exception, documentation added.
6300         * java/awt/EventQueue.java: Reindented.
6301         * java/awt/FocusTraversalPolicy.java:
6302         (FocusTraversalPolicy): Added comment.
6303         (getComponentAfter): Documentation added.
6304         (getComponentBefore): Documentation added.
6305         (getFirstComponent): Documentation added.
6306         (getLastComponent): Documentation added.
6307         (getDefaultComponent): Documentation added.
6308         (getInitialComponent): Documentation added.
6309         * java/awt/ScrollPane.java
6310         (wheelScrollingEnabled): New member variable.
6311         (ScrollPane): Initialize wheelScollingEnabled.
6312         (eventTypeEnabled): New method.
6313         (isWheelScrollingEnabled): New method.
6314         (setWheelScrollingEnabled): New method.
6315
6316 2003-03-02  Michael Koch  <konqueror@gmx.de>
6317
6318         * java/net/DatagramSocket.java
6319         (closed): New member variable.
6320         (close): Use closed variable.
6321         (getInetAddress): No need to call isConnected().
6322         (getPort): No need to call isConnected().
6323         (disconnect): Reset remoteAddress and remotePort, fixed typo.
6324         (isClosed): Reimplemented.
6325         
6326 2003-03-02  Michael Koch  <konqueror@gmx.de>
6327
6328         * configure.in: Added check for memory mapping of files.
6329         * configure: Regenerated.
6330         * config.h.in: Regenerated.
6331
6332 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
6333
6334         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
6335         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
6336
6337 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6338
6339         * java/io/File.java (normalizePath): Remove trailing separator
6340         on Windows only if path is not of the form "x:\".
6341
6342         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
6343         (java::io::File::attr): Change formatting a bit and use
6344         WIN32_EPOCH_MILLIS instead of magic numbers.
6345         (java::io::File::isAbsolute): Path must have at least 3 
6346         characters for a UNC network path.
6347         (java::io::File::init_native): Define.
6348         (java::io::File::performCreate): Likewise.
6349         (java::io::File::performSetReadOnly): Likewise.
6350         (java::io::File::performSetLastModified): Likewise.
6351         (java::io::File::performListRoots): Likewise.
6352
6353 2003-03-01  Tom Tromey  <tromey@redhat.com>
6354
6355         * java/lang/natObject.cc: Don't include assert.h.
6356         (heavy_lock_obj_finalization_proc): Use JvAssert.
6357         (remove_all_heavy): Likewise.
6358         (_Jv_MonitorEnter): Likewise.
6359         (_Jv_MonitorExit): Likewise.
6360         (wait): Likewise.
6361
6362 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6363
6364         * java/io/File (getAbsolutePath): Prefix drive specifier on
6365         Windows for paths starting with a '\'.
6366         (toURL): Make URL more consistent with what Sun's JDK returns.
6367
6368         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
6369         true only if the path is a UNC network path or it starts with a
6370         drive specifier.
6371
6372         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
6373         Be prepared to handle either '/' or '\\' in the file path for
6374         Windows if using the "file" protocol.
6375         Canonicalise the file path if using a relative path in the given
6376         context and the "file" protocol.
6377
6378 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
6379
6380         * java/lang/natWin32Process.cc (startProcess): Double-quote each
6381         program array element passed to CreateProcess.
6382
6383 2003-03-01  Tom Tromey  <tromey@redhat.com>
6384
6385         * java/rmi/registry/RegistryHandler.java: Deprecate.
6386
6387 2003-03-01  Tom Tromey  <tromey@redhat.com>
6388
6389         * javax/accessibility/AccessibleEditableText.java,
6390         javax/accessibility/AccessibleHyperlink.java: New versions from
6391         Classpath.
6392
6393         * gnu/java/locale/LocaleInformation_af_ZA.java,
6394         gnu/java/locale/LocaleInformation_ar_AE.java,
6395         gnu/java/locale/LocaleInformation_ar_BH.java,
6396         gnu/java/locale/LocaleInformation_ar_DZ.java,
6397         gnu/java/locale/LocaleInformation_ar_EG.java,
6398         gnu/java/locale/LocaleInformation_ar_IN.java,
6399         gnu/java/locale/LocaleInformation_ar_IQ.java,
6400         gnu/java/locale/LocaleInformation_ar_JO.java,
6401         gnu/java/locale/LocaleInformation_ar_KW.java,
6402         gnu/java/locale/LocaleInformation_ar_LB.java,
6403         gnu/java/locale/LocaleInformation_ar_LY.java,
6404         gnu/java/locale/LocaleInformation_ar_MA.java,
6405         gnu/java/locale/LocaleInformation_ar_OM.java,
6406         gnu/java/locale/LocaleInformation_ar_QA.java,
6407         gnu/java/locale/LocaleInformation_ar_SD.java,
6408         gnu/java/locale/LocaleInformation_ar_SY.java,
6409         gnu/java/locale/LocaleInformation_ar_TN.java,
6410         gnu/java/locale/LocaleInformation_ar_YE.java,
6411         gnu/java/locale/LocaleInformation_be_BY.java,
6412         gnu/java/locale/LocaleInformation_bn_IN.java,
6413         gnu/java/locale/LocaleInformation_br_FR.java,
6414         gnu/java/locale/LocaleInformation_bs_BA.java,
6415         gnu/java/locale/LocaleInformation_ca_ES.java,
6416         gnu/java/locale/LocaleInformation_cs_CZ.java,
6417         gnu/java/locale/LocaleInformation_cy_GB.java,
6418         gnu/java/locale/LocaleInformation_da_DK.java,
6419         gnu/java/locale/LocaleInformation_de_AT.java,
6420         gnu/java/locale/LocaleInformation_de_BE.java,
6421         gnu/java/locale/LocaleInformation_de_CH.java,
6422         gnu/java/locale/LocaleInformation_de_DE.java,
6423         gnu/java/locale/LocaleInformation_de_LU.java,
6424         gnu/java/locale/LocaleInformation_el_GR.java,
6425         gnu/java/locale/LocaleInformation_en_AU.java,
6426         gnu/java/locale/LocaleInformation_en_BW.java,
6427         gnu/java/locale/LocaleInformation_en_CA.java,
6428         gnu/java/locale/LocaleInformation_en_DK.java,
6429         gnu/java/locale/LocaleInformation_en_GB.java,
6430         gnu/java/locale/LocaleInformation_en_HK.java,
6431         gnu/java/locale/LocaleInformation_en_IE.java,
6432         gnu/java/locale/LocaleInformation_en_IN.java,
6433         gnu/java/locale/LocaleInformation_en_NZ.java,
6434         gnu/java/locale/LocaleInformation_en_PH.java,
6435         gnu/java/locale/LocaleInformation_en_SG.java,
6436         gnu/java/locale/LocaleInformation_en_US.java,
6437         gnu/java/locale/LocaleInformation_en_ZA.java,
6438         gnu/java/locale/LocaleInformation_en_ZW.java,
6439         gnu/java/locale/LocaleInformation_es_AR.java,
6440         gnu/java/locale/LocaleInformation_es_BO.java,
6441         gnu/java/locale/LocaleInformation_es_CL.java,
6442         gnu/java/locale/LocaleInformation_es_CO.java,
6443         gnu/java/locale/LocaleInformation_es_CR.java,
6444         gnu/java/locale/LocaleInformation_es_DO.java,
6445         gnu/java/locale/LocaleInformation_es_EC.java,
6446         gnu/java/locale/LocaleInformation_es_ES.java,
6447         gnu/java/locale/LocaleInformation_es_GT.java,
6448         gnu/java/locale/LocaleInformation_es_HN.java,
6449         gnu/java/locale/LocaleInformation_es_MX.java,
6450         gnu/java/locale/LocaleInformation_es_NI.java,
6451         gnu/java/locale/LocaleInformation_es_PA.java,
6452         gnu/java/locale/LocaleInformation_es_PE.java,
6453         gnu/java/locale/LocaleInformation_es_PR.java,
6454         gnu/java/locale/LocaleInformation_es_PY.java,
6455         gnu/java/locale/LocaleInformation_es_SV.java,
6456         gnu/java/locale/LocaleInformation_es_US.java,
6457         gnu/java/locale/LocaleInformation_es_UY.java,
6458         gnu/java/locale/LocaleInformation_es_VE.java,
6459         gnu/java/locale/LocaleInformation_et_EE.java,
6460         gnu/java/locale/LocaleInformation_eu_ES.java,
6461         gnu/java/locale/LocaleInformation_fa_IR.java,
6462         gnu/java/locale/LocaleInformation_fi_FI.java,
6463         gnu/java/locale/LocaleInformation_fo_FO.java,
6464         gnu/java/locale/LocaleInformation_fr_BE.java,
6465         gnu/java/locale/LocaleInformation_fr_CA.java,
6466         gnu/java/locale/LocaleInformation_fr_CH.java,
6467         gnu/java/locale/LocaleInformation_fr_FR.java,
6468         gnu/java/locale/LocaleInformation_fr_LU.java,
6469         gnu/java/locale/LocaleInformation_ga_IE.java,
6470         gnu/java/locale/LocaleInformation_gd_GB.java,
6471         gnu/java/locale/LocaleInformation_gl_ES.java,
6472         gnu/java/locale/LocaleInformation_gv_GB.java,
6473         gnu/java/locale/LocaleInformation_he_IL.java,
6474         gnu/java/locale/LocaleInformation_hi_IN.java,
6475         gnu/java/locale/LocaleInformation_hr_HR.java,
6476         gnu/java/locale/LocaleInformation_hu_HU.java,
6477         gnu/java/locale/LocaleInformation_id_ID.java,
6478         gnu/java/locale/LocaleInformation_it_CH.java,
6479         gnu/java/locale/LocaleInformation_it_IT.java,
6480         gnu/java/locale/LocaleInformation_iw_IL.java,
6481         gnu/java/locale/LocaleInformation_ja_JP.java,
6482         gnu/java/locale/LocaleInformation_ka_GE.java,
6483         gnu/java/locale/LocaleInformation_kl_GL.java,
6484         gnu/java/locale/LocaleInformation_ko_KR.java,
6485         gnu/java/locale/LocaleInformation_kw_GB.java,
6486         gnu/java/locale/LocaleInformation_lt_LT.java,
6487         gnu/java/locale/LocaleInformation_lv_LV.java,
6488         gnu/java/locale/LocaleInformation_mi_NZ.java,
6489         gnu/java/locale/LocaleInformation_mk_MK.java,
6490         gnu/java/locale/LocaleInformation_mr_IN.java,
6491         gnu/java/locale/LocaleInformation_mt_MT.java,
6492         gnu/java/locale/LocaleInformation_nl_BE.java,
6493         gnu/java/locale/LocaleInformation_nl_NL.java,
6494         gnu/java/locale/LocaleInformation_nn_NO.java,
6495         gnu/java/locale/LocaleInformation_no_NO.java,
6496         gnu/java/locale/LocaleInformation_oc_FR.java,
6497         gnu/java/locale/LocaleInformation_pl_PL.java,
6498         gnu/java/locale/LocaleInformation_pt_BR.java,
6499         gnu/java/locale/LocaleInformation_pt_PT.java,
6500         gnu/java/locale/LocaleInformation_ro_RO.java,
6501         gnu/java/locale/LocaleInformation_ru_RU.java,
6502         gnu/java/locale/LocaleInformation_ru_UA.java,
6503         gnu/java/locale/LocaleInformation_se_NO.java,
6504         gnu/java/locale/LocaleInformation_sk_SK.java,
6505         gnu/java/locale/LocaleInformation_sl_SI.java,
6506         gnu/java/locale/LocaleInformation_sq_AL.java,
6507         gnu/java/locale/LocaleInformation_sr_YU.java,
6508         gnu/java/locale/LocaleInformation_sv_FI.java,
6509         gnu/java/locale/LocaleInformation_sv_SE.java,
6510         gnu/java/locale/LocaleInformation_ta_IN.java,
6511         gnu/java/locale/LocaleInformation_te_IN.java,
6512         gnu/java/locale/LocaleInformation_tg_TJ.java,
6513         gnu/java/locale/LocaleInformation_tl_PH.java,
6514         gnu/java/locale/LocaleInformation_tr_TR.java,
6515         gnu/java/locale/LocaleInformation_uk_UA.java,
6516         gnu/java/locale/LocaleInformation_ur_PK.java,
6517         gnu/java/locale/LocaleInformation_uz_UZ.java,
6518         gnu/java/locale/LocaleInformation_vi_VN.java,
6519         gnu/java/locale/LocaleInformation_yi_US.java,
6520         gnu/java/locale/LocaleInformation_zh_CN.java,
6521         gnu/java/locale/LocaleInformation_zh_HK.java,
6522         gnu/java/locale/LocaleInformation_zh_SG.java,
6523         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
6524         info; from Classpath.
6525
6526         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
6527         isPaintPending): New methods.
6528         * gnu/awt/xlib/XFramePeer.java (getState, setState,
6529         setMaximizedBounds): New methods.
6530         (beginLayout, endLayout, isPaintPending): Likewise.
6531         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
6532         (requestFocus): Likewise.
6533         (isObscured): Likewise.
6534         (canDetermineObscurity): Likewise.
6535         (coalescePaintEvent): Likewise.
6536         (updateCursorImmediately): Likewise.
6537         (createVolatileImage): Likewise.
6538         (handlesWheelScrolling): Likewise.
6539         (createBuffers): Likewise.
6540         (getBackBuffer): Likewise.
6541         (flip): Likewise.
6542         (destroyBuffers): Likewise.
6543
6544         * Makefile.in: Rebuilt.
6545         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
6546         RobotPeer.java.
6547         * gnu/java/awt/GLightweightPeer.java,
6548         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6549         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6550         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6551         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6552         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6553         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6554         java/awt/dnd/peer/DragSourceContextPeer.java,
6555         java/awt/dnd/peer/DropTargetContextPeer.java,
6556         java/awt/peer/ButtonPeer.java,
6557         java/awt/peer/CheckboxMenuItemPeer.java,
6558         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
6559         java/awt/peer/ComponentPeer.java,
6560         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
6561         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
6562         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
6563         java/awt/peer/MenuBarPeer.java,
6564         java/awt/peer/MenuComponentPeer.java,
6565         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
6566         java/awt/peer/PopupMenuPeer.java,
6567         java/awt/peer/ScrollPanePeer.java,
6568         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
6569         java/awt/peer/TextComponentPeer.java,
6570         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
6571         New versions from Classpath.
6572         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
6573         * java/awt/peer/RobotPeer.java: Likewise.
6574
6575 2003-03-01  Mark Wielaard  <mark@klomp.org>
6576
6577         * java/io/ObjectInputStream.java: Reindent.
6578         * java/io/ObjectOutputStream.java: Likewise.
6579
6580 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
6581
6582         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
6583         jvalue for each argument. Simplify.
6584         * testsuite/libjava.jni/calls.c (docall),
6585         testsuite/libjava.jni/calls.java (longpb_f): check for argument
6586         misalignment.
6587
6588 2003-02-28  Mark Wielaard  <mark@klomp.org>
6589
6590         * Makefile.am (nat_source_files): Remove
6591         java/io/natObjectOutputStream.cc.
6592         * Makefile.in: Regenerated.
6593         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
6594         * java/io/ObjectStreamField.java (typename): New field.
6595         (ObjectStreamField(String, Class)): Initialize new field.
6596         (ObjectStreamField(String, String)): New Constructor.
6597         (getTypeCode): Use new field.
6598         (getTypeString): Use new field.
6599         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
6600         ObjectStreamExceptions. Remember and reset old BlockDataMode.
6601         Handle reading of Proxy classes. Never drain(), just write
6602         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
6603         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
6604         (flush): Call flush(), not just drain().
6605         (writeBoolean): Always use blockDataOutput.
6606         (writeByte): Likewise.
6607         (writeShort): Likewise.
6608         (writeChar): Likewise.
6609         (writeInt): Likewise.
6610         (writeLong): Likewise.
6611         (writeFloat): Likewise.
6612         (writeDouble): Likewise.
6613         (writeBytes): Likewise.
6614         (putfield (put(String,Object))): Throw IllegalArgumentException if
6615         field cannot be found.
6616         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
6617         (writeArraySizeAndElements): Write byte[] in one go.
6618         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
6619         set BlockDataMode to false.
6620         (annotateProxyClass): New method.
6621         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
6622         (getField): No longer native.
6623         (getMethod): Likewise.
6624         (setBlockDataMode): Always drain() on switch, return old mode.
6625         (static): New static code block.
6626         * java/io/natObjectOutputStream.cc: Removed.
6627         * java/io/ObjectInputStream.java (getField): No longer native.
6628         (getMethod): Likewise.
6629         (readObject): Remember and reset old BlockDataMode. Track whether
6630         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
6631         TC_LONGSTRING.
6632         (defaultReadObject): Set BlockDataMode to false during readFields.
6633         (resolveClass): Create new SecurityManager if necessary.
6634         Use Class.forName() if null ClassLoader found.
6635         (read(byte[],int,int): Copy remaining bytes to data before calling
6636         readNextBlock().
6637         (readFields): Set and reset BlockDataMode on call_read_method.
6638         Catch NoSuchFieldErrors.
6639         (setBlockDataMode): Return old mode.
6640         (static): New static code block.
6641         * java/io/natObjectInputStream.cc (getField): Removed.
6642         (getMethod): Likewise.
6643
6644 2003-02-27  Michael Koch  <konqueror@gmx.de>
6645
6646         * java/beans/Beans.java,
6647         java/beans/FeatureDescriptor.java
6648         java/beans/PropertyEditorManager.java:
6649         Reformated to GNU style.
6650
6651 2003-02-25  Michael Koch  <konqueror@gmx.de>
6652
6653         * gnu/java/nio/MappedByteFileBuffer.java,
6654         gnu/java/nio/natMappedByteFileBuffer.cc:
6655         New files, both are not compiled yet to get not noncompiling CVS.
6656
6657 2003-02-24  Tom Tromey  <tromey@redhat.com>
6658
6659         * java/util/prefs/AbstractPreferences.java (isUserNode):
6660         Implemented.
6661
6662 2003-02-24  Tom Tromey  <tromey@redhat.com>
6663
6664         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
6665         Deprecate.
6666         * java/lang/Thread.java (resume): Deprecate.
6667         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
6668         in @deprecated.
6669
6670 2003-02-23  Tom Tromey  <tromey@redhat.com>
6671
6672         * Makefile.in: Rebuilt.
6673         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
6674
6675 2003-02-23  Tom Tromey  <tromey@redhat.com>
6676
6677         * java/lang/natRuntime.cc (libraries_size, libraries_count,
6678         libraries): Removed.
6679         (add_library): Removed.
6680         (_load): Don't call add_library.
6681         (loadLibraryInternal): Likewise.
6682         (init): Likewise.
6683         (lookup_data): New struct.
6684         (find_symbol): New function.
6685         (_Jv_FindSymbolInExecutable): Use it.
6686
6687 2002-02-21  Anthony Green  <green@redhat.com>
6688
6689         * java/lang/Thread.java (Thread): New constructor taking stack
6690         size parameter (ignored for now).
6691         * Many methods: Merged GNU Classpath documentation.
6692
6693         * java/lang/Class.java (finalize): throws a Throwable.
6694
6695 2003-02-21  Mark Wielaard  <mark@klomp.org>
6696
6697         * java/util/zip/ZipEntry.java (setComment): Don't check length when
6698         argument is null.
6699
6700 2003-02-21  Mark Wielaard  <mark@klomp.org>
6701
6702         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
6703         then 65535 chars throw IllegalArgumentException.
6704
6705 2003-02-21  Mark Wielaard  <mark@klomp.org>
6706
6707         * java/util/zip/ZipFile.java (finalize): New method.
6708
6709 2003-02-21  Michael Koch  <konqueror@gmx.de>
6710
6711         * gnu/java/nio/natSocketChannelImpl.cc:
6712         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
6713         <cato@df.lth.se> for pointing to it.
6714
6715 2003-02-20  Raif S. Naffah <raif@fl.net.au>
6716
6717         * java/math/BigInteger.java (euclidInv): Take result array as an
6718         argument.  Updated all callers.
6719         (modInverse): Removed unused variables.
6720
6721 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
6722
6723         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6724         config.status.
6725         * configure: Rebuilt.
6726
6727 2003-02-19  Michael Koch  <konqueror@gmx.de>
6728
6729         * gnu/java/nio/natSocketChannelImpl.cc:
6730         Added support for platforms without network support.
6731
6732 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6733
6734         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
6735         after config.h.  Use <> for consistency.
6736         * java/lang/natObject.cc: Likewise.
6737         * java/lang/natRuntime.cc: Likewise.
6738         * java/lang/natSystem.cc: Likewise.
6739         * java/util/natTimeZone.cc: Likewise.
6740         * win32.cc: Likewise.
6741         * include/posix.h (fcntl, socket, connect, close, bind, accept,
6742         listen, write, read): Undef to avoid interference from OS macros.
6743
6744 2003-02-19  Michael Koch  <konqueror@gmx.de>
6745
6746         * gnu/java/nio/ByteBufferImpl.java
6747         (ByteBufferImpl): Renamed two variables.
6748         * gnu/java/nio/CharBufferImpl.java
6749         (CharBufferImpl): Renamed two variables.
6750         * gnu/java/nio/DoubleBufferImpl.java
6751         (DoubleBufferImpl): Renamed two variables.
6752         * gnu/java/nio/FloatBufferImpl.java
6753         (FloatBufferImpl): Renamed two variables.
6754         * gnu/java/nio/IntBufferImpl.java
6755         (IntBufferImpl): Renamed two variables.
6756         * gnu/java/nio/LongBufferImpl.java
6757         (LongBufferImpl): Renamed two variables.
6758         * gnu/java/nio/ShortBufferImpl.java
6759         (ShortBufferImpl): Renamed two variables.
6760         * java/nio/CharBuffer.java
6761         (wrap): Fixed arguments to CharBufferImpl constructor.
6762         (hasArray): Only not read-only buffers have backing arrays.
6763         (length): Documentation added.
6764         (subSequence): Documentation added.
6765         * java/nio/DoubleBuffer.java
6766         (hasArray): Only not read-only buffers have backing arrays.
6767         * java/nio/FloatBuffer.java
6768         (hasArray): Only not read-only buffers have backing arrays.
6769         * java/nio/IntBuffer.java
6770         (hasArray): Only not read-only buffers have backing arrays.
6771         * java/nio/LongBuffer.java
6772         (hasArray): Only not read-only buffers have backing arrays.
6773         * java/nio/ShortBuffer.java
6774         (hasArray): Only not read-only buffers have backing arrays.
6775         
6776 2003-02-19  Michael Koch  <konqueror@gmx.de>
6777
6778         * javax/accessibility/AccessibleContext.java
6779         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
6780
6781 2003-02-19  Michael Koch  <konqueror@gmx.de>
6782
6783         * java/awt/ScrollPaneAdjustable.java: Reformated.
6784
6785 2003-02-19  Michael Koch <konqueror@gmx.de>
6786
6787         * gnu/awt/j2d/Graphics2DImpl.java
6788         (getFontRenderContext): New method.
6789         (drawGlyphVector): New method.
6790         * java/awt/Graphics2D.java
6791         (getFontRenderContext): New abstract method.
6792         (drawGlyphVector): New abstract method.
6793         
6794 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
6795
6796         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
6797         if necessary.
6798         
6799         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6800         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6801         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6802         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6803         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6804         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6805         (setFont, gtkSetFont): add.
6806         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
6807         Propagate font to peer.  (setFont): add FIXME comment.
6808
6809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6810         (gtkTextGetSize): fix height, width computation.
6811
6812         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
6813         Make X font name a bit less bogus.
6814
6815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6816         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
6817
6818         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
6819         (processAdjustmentEvent): Adjust value.
6820
6821         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
6822         logic errors.
6823
6824         * java/awt/Component.java (setVisible, show, hide): Call show and
6825         hide methods in subclasses.
6826         (getPreferredSize): don't set prefSize before we have peer.
6827
6828         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
6829         Guess (0,0) if we don't have peer.
6830
6831
6832 2003-02-18  Michael Koch  <konqueror@gmx.de>
6833
6834         * java/nio/channels/FileChannel.java
6835         (toString): New implementation, added documentation.
6836         (map): Added exception documentation.
6837         (size): Added exception documentation.
6838         (write): New methods, documentation work.
6839         (read): New methods, documentation work.
6840         (implCloseChannel): Rewrote exception documentation.
6841         (force): Throws IOException, added documentation.
6842         (lock): New methods.
6843         (tryLock): New methods.
6844         (position): New methods.
6845         (transferTo): New method.
6846         (transferFrom): New method.
6847         (truncate): New method.
6848         * java/nio/channels/spi/SelectorProvider.java
6849         (provider): Implemented.
6850         * Makefile.am
6851         (ordinary_java_source_files): Added the following files:
6852         gnu/java/nio/DatagramChannelImpl.java
6853         gnu/java/nio/FileChannelImpl.java
6854         gnu/java/nio/PipeImpl.java
6855         gnu/java/nio/SelectionKeyImpl.java
6856         gnu/java/nio/SelectorImpl.java
6857         gnu/java/nio/SelectorProviderImpl.java
6858         gnu/java/nio/ServerSocketChannelImpl.java
6859         gnu/java/nio/SocketChannelImpl.java
6860         java/nio/channels/FileLock.java
6861         (nat_java_source_files): Added the following files:
6862         gnu/java/nio/natFileChannelImpl.cc
6863         gnu/java/nio/natSelectorImpl.cc
6864         gnu/java/nio/natSocketChannelImpl.cc
6865         * Makefile.in: Regenerated.
6866
6867 2003-02-17  Tom Tromey  <tromey@redhat.com>
6868
6869         * java/awt/image/ColorModel.java: Re-merged with Classpath.
6870         * java/awt/image/ImageFilter.java: Likewise.
6871
6872 2003-02-17  Raif S. Naffah <raif@fl.net.au>
6873
6874         * java/math/BigInteger.java (euclidInv): Return array of
6875         `BigInteger's.  Changed all callers.
6876
6877 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
6878
6879         * java/util/Properties.java (store): Move the code formerly in
6880         list(), into this method.
6881         (list (PrintStream)): Just call list (PrintWriter) with a 
6882         PrintWriter object constructed from the given PrintStream object.
6883         (list (PrintWriter)): Emulate the output of Properties.list()
6884         as found in JDK 1.3/1.4.
6885
6886 2003-02-17  Michael Koch  <konqueror@gmx.de>
6887
6888         * java/net/DatagramSocket.java
6889         (connect): Merged with classpath.
6890         (disconnect): Merged documentation with classpath.
6891         (receice): Merged documentation with classpath.
6892         (send): Merged documentation with classpath.
6893         
6894 2003-02-17  Michael Koch  <konqueror@gmx.de>
6895
6896         * java/awt/dnd/DragSourceContext.java
6897         (addDragSourceListener): Added documentation.
6898         * java/awt/dnd/DragSourceDragEvent.java
6899         (serialVersionUID): New member variable.
6900         (getDropAction): Reformated.
6901         * java/awt/dnd/DragSourceDropEvent.java
6902         (serialVersionUID): New member variable.
6903         (dropSuccess): Renamed from success for serialization issues.
6904         * java/awt/dnd/DragSourceEvent.java
6905         (serialVersionUID): New member variable.
6906         * java/awt/dnd/DropTarget.java
6907         (serialVersionUID): New member variable.
6908         (DropTarget): Implemented, documentation reworked.
6909         (setComponent): Documentation added.
6910         (getComponent): Documentation added.
6911         (setDefaultActions): Documentation added.
6912         (getDefaultActions): Documentation added.
6913         (addDropTargetListener): Documentation added.
6914         * java/awt/dnd/DropTargetContext.java
6915         (DropTargetContext): Documentation added.
6916         (TransferableProxy.TransferableProxy): New method.
6917         (dropComplete): Fixed documentation.
6918         (getTransferable): Fixed documentation.
6919         (createTransferableProxy): Implemented.
6920         * java/awt/dnd/DropTargetDragEvent.java
6921         (DropTargetDragEvent): Documentation added.
6922         (serialVersionUID): New member variable.
6923         (DropTargetDragEvent): Throw exceptions, documentation added.
6924         (acceptDrag): Implemented.
6925         (getCurrentDataFlavors): Implemented.3yy
6926         (getCurrentDataFlavorsAsList): Implemented.
6927         (isDataFlavorSupported): Implemented.
6928         (rejectDrag): Implemented.
6929         * java/awt/dnd/DropTargetDropEvent.java
6930         (DropTargetDropEvent): Documentation added.
6931         (serialVersionUID): New member variable.
6932         (actions): Renamed from srcActions for serialization issues.
6933         (isLocalTx): Renamed from isLocalTx for serialization issues.
6934         (DropTargetDropEvent): New implementation, throw exceptions,
6935         documentation added.
6936         (getCurrentDataFlavors): Implemented.
6937         (getCurrentDataFlavorsAsList): Implemented.
6938         (isDataFlavorSupported): Implemented.
6939         (getSourceActions): Implemented.
6940         (getDropAction): Implemented.
6941         (getTransferable): Implemented.
6942         (acceptDrop): Implemented.
6943         (rejectDrop): Implemented.
6944         * java/awt/dnd/DropTargetListener.java
6945         (drop): Fixed documentation.
6946         * java/awt/dnd/MouseDragGestureRecognizer.java
6947         (MouseDragGestureRecognizer): Documentation added.
6948
6949 2003-02-17  Michael Koch  <konqueror@gmx.de>
6950
6951         * java/awt/font/FontRenderContext.java,
6952         java/awt/font/ShapeGraphicAttribute.java,
6953         java/awt/font/MultipleMaster.java,
6954         java/awt/font/TransformAttribute.java,
6955         java/awt/font/GlyphJustificationInfo.java,
6956         java/awt/font/LineBreakMeasurer.java,
6957         java/awt/font/TextMeasurer.java,
6958         java/awt/font/TextLayout.java,
6959         java/awt/font/LineMetrics.java,
6960         java/awt/font/TextAttribute.java,
6961         java/awt/font/GlyphMetrics.java,
6962         java/awt/font/OpenType.java,
6963         java/awt/font/GlyphVector.java,
6964         java/awt/font/GraphicAttribute.java,
6965         java/awt/font/ImageGraphicAttribute.java,
6966         java/awt/font/NumericShaper.java: New files.
6967         * Makefile.am
6968         (awt_java_source_files): Added the following files:
6969         java/awt/font/FontRenderContext.java
6970         java/awt/font/ShapeGraphicAttribute.java
6971         java/awt/font/MultipleMaster.java
6972         java/awt/font/TransformAttribute.java
6973         java/awt/font/GlyphJustificationInfo.java
6974         java/awt/font/LineBreakMeasurer.java
6975         java/awt/font/TextMeasurer.java
6976         java/awt/font/TextLayout.java
6977         java/awt/font/LineMetrics.java
6978         java/awt/font/TextAttribute.java
6979         java/awt/font/GlyphMetrics.java
6980         java/awt/font/OpenType.java
6981         java/awt/font/GlyphVector.java
6982         java/awt/font/GraphicAttribute.java
6983         java/awt/font/ImageGraphicAttribute.java
6984         java/awt/font/NumericShaper.java
6985         * Makefile.in: Regenerated.
6986
6987 2003-02-17  Michael Koch  <konqueror@gmx.de>
6988
6989         * java/awt/print/Paper.java
6990         (Paper): Implements Cloneable.
6991         * java/awt/print/PrinterJob.java
6992         (setJobName): Return value must be void.
6993         (print): Throws PrinterException.
6994         
6995 2003-02-16  Tom Tromey  <tromey@redhat.com>
6996
6997         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
6998         variable.
6999
7000 2003-02-15  Michael Koch  <konqueror@gmx.de>
7001
7002         * java/awt/datatransfer/DataFlavor.java
7003         (isRepresentationClassByteBuffer): Removed try-catch block.
7004         (isRepresentationClassCharBuffer): Removed try-catch block.
7005         (isRepresentationClassReader): Removed try-catch block.
7006
7007 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7008
7009         * java/nio/charset/Charset.java
7010         (isRegistered): Fixed method args and implementation.
7011         * java/nio/charset/CharsetEncoder.java
7012         (unmappableCharacterAction): New method.
7013
7014 2003-02-15  Michael Koch  <konqueror@gmx.de>
7015
7016         * java/awt/CheckboxMenuItem.java
7017         (CheckBoxMenuItem): Dont implement Serializable.
7018         (getListeners): New method,
7019         (getItemListeners): New method.
7020         * java/awt/Choice.java
7021         (getListeners): New method,
7022         (getItemListeners): New method.
7023         * java/awt/Container.java
7024         (getListeners): Added exception documentation.
7025         (setFocusTraversalKeys): Throw exceptions, added documentattion.
7026         (getFocusTraversalKeys): Added documentation.
7027         (areFocusTraversalKeysSet): Added documentation.
7028         (applyComponentOrientation): Added documentation.
7029         * java/awt/ContainerOrderFocusTraversalPolicy.java
7030         (implicitDownCycleTraversal): Renamed from downCycle for
7031         serialization.
7032         (ContainerOrderFocusTraversalPolicy): Added documentation.
7033         (accept): Reformated.
7034         * java/awt/Dialog.java
7035         (Dialog): Dont implement Serializable.
7036         (Dialog): Added documentation.
7037         * java/awt/Font.java
7038         (Font): Dont use absolute class name.
7039         * java/awt/Frame.java
7040         (Frame): Font implement Serializable.
7041         * java/awt/List.java
7042         (getListeners): New method,
7043         (getActionListeners): New method.       
7044         (getItemListeners): New method.
7045         * java/awt/Menu.java
7046         (countItems): New deprecated method.
7047         * java/awt/Scrollbar.java
7048         (getListeners): New method,
7049         (getAdjustmentListeners): New method,
7050         * java/awt/TextComponent.java
7051         (getListeners): New method,
7052         (getTextListeners): New method,
7053         * java/awt/TextField.java
7054         (getListeners): New method,
7055         (getActionListeners): New method.       
7056         * java/awt/Window.java
7057         (windowFocusListener): New member variable.
7058         (windowStateListener): New member variable.
7059         (getWindowFocusListeners): New method.
7060         (getWindowStateListeners): New method.
7061         (addWindowFocusListener): New method.
7062         (addWindowStateListener): New method.
7063         (removeWindowFocusListener): New method.
7064         (removeWindowStateListener): New method.
7065         * java/awt/datatransfer/DataFlavor.java
7066         (isRepresentationClassByteBuffer): New method.
7067         (isRepresentationClassCharBuffer): New method.
7068         (isRepresentationClassReader): New method.
7069
7070 2003-02-14  Mark Wielaard  <mark@klomp.org>
7071
7072         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
7073         zero when there is an exponent and the significant is zero.
7074         (divide): Always set scale to newScale even in special ZERO case.
7075
7076 2003-02-14  Tom Tromey  <tromey@redhat.com>
7077
7078         * java/lang/System.java (properties): Use Properties.clone.
7079         (setProperties): Likewise.
7080
7081 2003-02-14  Michael Koch  <konqueror@gmx.de>
7082
7083         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
7084         * gnu/java/nio/ServerSocketChannelImpl.java
7085         (SocketAccept): Removed.
7086         (accept): Commented out use of SocketAccept.
7087
7088 2003-02-13  Tom Tromey  <tromey@redhat.com>
7089
7090         * verify.cc (state::seen_subrs): New field.
7091         (state::state): Initialize it.
7092         (state::clean_subrs): New method.
7093         (state::~state): Call it.
7094         (state::copy): Copy subroutine list.
7095         (state::add_subr): New method.
7096         (state::merge): Only register a change if the current subroutine
7097         hasn't yet been noted.
7098
7099 2003-02-13  Mark Wielaard  <mark@klomp.org>
7100
7101         * java/io/InputStreamReader.java (getEncoding): Return null when
7102         closed.
7103         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
7104
7105 2003-02-13  Mark Wielaard  <mark@klomp.org>
7106  
7107         * java/util/zip/InflaterInputStream.java (read): Return zero when len
7108         is zero.
7109
7110 2003-02-13  Mark Wielaard  <mark@klomp.org>
7111
7112         * java/io/BufferedOutputStream.java (write(int)): Only flush when
7113         next byte cannot be buffered.
7114
7115 2003-02-13  Michael Koch  <konqueror@gmx.de>
7116  
7117         * java/awt/Label.java
7118         (Label): Don't implement Serializable directly.
7119         (addNotify): Fixed typo in documentation.
7120         * java/awt/List.java
7121         (List): Don't implement Serializable directly.
7122         * java/awt/PopupMenu.java
7123         (PopupMenu): Don't implement Serializable directly.
7124         * java/awt/ScrollPane.java
7125         (ScrollPane): Don't implement Serializable directly.
7126         * java/awt/Scrollbar.java
7127         (Scrollbar): Don't implement Serializable directly.
7128         * java/awt/TextArea.java
7129         (preferredSize): Fixed method arguments.
7130         * java/awt/TextField.java
7131         (TextField): Don't implement Serializable directly.
7132         * java/awt/color/ICC_ColorSpace.java
7133         (fromCIOXYZ): Documentation added.
7134         (getMinValue): Documentation added.
7135         (getMaxValue): Documentation added.
7136         * java/awt/datatransfer/DataFlavor.java
7137         (isMimeTypeEqual): May not be final.
7138         (clone): Throws CloneNotSupportedException.
7139         (getReaderForText): Don't throws UnsupportedEncodingException.
7140
7141 2003-02-13  Michael Koch  <konqueror@gmx.de>
7142  
7143         * gnu/java/awt/peer/gtk/GdkGraphics.java
7144         (drawString): New stubbed method.
7145         * java/awt/Graphics.java
7146         (drawString): New method.
7147
7148 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
7149
7150         PR libgcj/9271:
7151         * java/security/SecureRandom.java (next): Avoid bias in results.
7152
7153 2003-02-13  Michael  <konqueror@gmx.de>
7154
7155         * gnu/java/nio/FileChannelImpl.java
7156         (lengthInternal): Must be native.
7157         (size): Check if channel is already closed.
7158         (implCloseChannel): Reformated.
7159         (read): w was unused, removed it.
7160         (read): Removed.
7161         (read): New method.
7162         (write): New method.
7163         (map): Check arguments.
7164         (force): Throws IOException, check if channel is closed.
7165         (transferTo): New method.
7166         (transferFrom): New method.
7167         (lock): New method.
7168         (tryLock): New method.
7169         (position): New method.
7170         (truncate): New method.
7171         (nio_mmap_file): Uncommented.
7172         (nio_munmap_file): Uncommented.
7173         (nio_msync): Uncommented.
7174         * gnu/java/nio/natFileChannelImpl.cc: New file.
7175         
7176 2003-02-13  Michael Koch  <konqueror@gmx.de>
7177
7178         * java/nio/ByteBuffer.java
7179         (endian): New member variable.
7180         (get): New methods.
7181         (equals): New method.
7182         (compareTo): New method.
7183         (order): New methods.
7184         (compact): New method.
7185         (isDirect): New method.
7186         (slice): New method.
7187         (duplicate): New method.
7188         (asReadOnlyBuffer): New method.
7189         (asCharBuffer): New method.
7190         (asDoubleBuffer): New method.
7191         (asFloatBuffer): New method.
7192         (asIntBuffer): New method.
7193         (asLongBuffer): New method.
7194         (asShortBuffer): New method.
7195         (get*): New methods.
7196         (put*): New methods.
7197         (toString): New method.
7198         * java/nio/CharBuffer.java
7199         (CharBuffer): Implement Comparable instead of Cloneable.
7200         (get): May not be final.
7201         (put): May not be final.
7202         
7203 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
7204
7205         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7206         lastIndexOf( ) instead of indexOf( ) to find the colon before
7207         the line number, because Win32 file names might contain a 
7208         drive letter and a colon at the start of an absolute path.
7209
7210 2003-02-13  Michael Koch  <konqueror@gmx.de>
7211
7212         * gnu/java/nio/natSocketChannelImpl.cc
7213         (SocketConnect): This is not implemented yet.
7214         (SocketBind): This is not implemented yet.
7215
7216 2003-02-13  Michael Koch  <konqueror@gmx.de>
7217
7218         * gnu/java/nio/natByteBufferImpl.cc,
7219         gnu/java/nio/natCharBufferImpl.cc,
7220         gnu/java/nio/natDoubleBufferImpl.cc,
7221         gnu/java/nio/natFloatBufferImpl.cc,
7222         gnu/java/nio/natIntBufferImpl.cc,
7223         gnu/java/nio/natLongBufferImpl.cc,
7224         gnu/java/nio/natShortBufferImpl.cc:
7225         Added copyright and license.
7226         * java/nio/DoubleBuffer.java,
7227         java/nio/FloatBuffer.java,
7228         java/nio/IntBuffer.java,
7229         java/nio/LongBuffer.java,
7230         java/nio/ShortBuffer.java
7231         (array): Throw exceptions.
7232         (arrayOffset): Throw exceptions.
7233
7234 2003-02-13  Michael Koch  <konqueror@gmx.de>
7235  
7236         * gnu/java/util/prefs/FileBasedFactory.java,
7237         gnu/java/util/prefs/MemmoryBasedFactory.java,
7238         gnu/java/util/prefs/MemoryBasedPreferences.java,
7239         gnu/java/util/prefs/NodeReader.java,
7240         gnu/java/util/prefs/NodeWriter.java,
7241         java/util/prefs/AbstractPreferences.java,
7242         java/util/prefs/BackingStoreException.java,
7243         java/util/prefs/InvalidPreferencesFormatException.java,
7244         java/util/prefs/NodeChangeEvent.java,
7245         java/util/prefs/NodeChangeListener.java,
7246         java/util/prefs/PreferenceChangeEvent.java,
7247         java/util/prefs/PreferenceChangeListener.java,
7248         java/util/prefs/Preferences.java,
7249         java/util/prefs/PreferencesFactory.java:
7250         New files, all merged from classpath.
7251         * Makefile.am
7252         (ordinary_java_source_files): Added the following files:
7253         gnu/java/util/prefs/FileBasedFactory.java,
7254         gnu/java/util/prefs/MemmoryBasedFactory.java,
7255         gnu/java/util/prefs/MemoryBasedPreferences.java,
7256         gnu/java/util/prefs/NodeReader.java,
7257         gnu/java/util/prefs/NodeWriter.java,
7258         (core_java_source_files): Added the following files:
7259         java/util/prefs/AbstractPreferences.java,
7260         java/util/prefs/BackingStoreException.java,
7261         java/util/prefs/InvalidPreferencesFormatException.java,
7262         java/util/prefs/NodeChangeEvent.java,
7263         java/util/prefs/NodeChangeListener.java,
7264         java/util/prefs/PreferenceChangeEvent.java,
7265         java/util/prefs/PreferenceChangeListener.java,
7266         java/util/prefs/Preferences.java,
7267         java/util/prefs/PreferencesFactory.java
7268         * Makefile.in: Regenerated.
7269  
7270 2003-02-13  Michael Koch  <konqueror@gmx.de>
7271
7272         * java/net/NetPermission.java
7273         (NetPermission): Make doucmentation match the method declaration.
7274         * java/net/NetworkInterface.java
7275         (equals): Reformated for GNU coding style.
7276         * java/net/ServerSocket.java: Merged with classpath.
7277         * java/net/Socket.java: Partly merged with classpath (Added some @since).
7278         * java/net/SocketImpl.java
7279         (localPort): Merged with classpath (initialize with -1).
7280         * java/net/SocketPermission.java: Merged with classpath (reindented).
7281         * java/net/URLDecoder.java: Merged with classpath (reindented).
7282
7283 2003-02-13  Michael Koch  <konqueror@gmx.de>
7284
7285         * java/awt/GridBagConstraints.java
7286         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
7287         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
7288         * java/awt/KeyboardFocusManager.java
7289         (setGlobalCurrentFocusCycleRoot): Must be public.
7290         * java/awt/MenuComponent.java
7291         (MenuComponent): Must be public.
7292         * java/awt/Toolkit.java:
7293         Added some empty lines to make documentation more readable.
7294         (getFontPeer): Added @deprecated.
7295         (getColorModel): Added exception documentation.
7296         (getProperty): Fixed documentation.
7297  
7298 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
7299
7300         * configure.host (alpha*-*): Default to -mieee.
7301         * configure.in (IEEESPEC): New.
7302         * libgcj.spec.in (jc1): Add IEEESPEC.
7303         * configure: Rebuild.
7304
7305 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7306
7307         * include/win32.h: Include ws2tcpip.h instead of
7308         winsock.h to obtain definition of the socklen_t type.
7309         Remove IP_TOS definition - not needed with ws2tcpip.h
7310         (_Jv_connect): Correct slight formatting error.
7311
7312 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7313
7314         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
7315         size of the arguments for a JNI function. For Win32,
7316         modify to search for all forms of possible exported
7317         names of an stdcall JNI function.
7318         (_Jv_JNIMethod::call): Modify to calculate the size
7319         of the arguments passed to a JNI function and pass
7320         it to _Jv_LookupJNIMethod.
7321
7322 2003-02-12  Michael Koch  <konqueror@gmx.de>
7323
7324         * java/nio/channels/Channels.java: New file.
7325         * Makefile.am
7326         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
7327         * Makefile.in: Regenerated.
7328
7329 2003-02-12  Michael Koch  <konqueror@gmx.de>
7330
7331         * java/nio/ByteBuffer.java
7332         (allocate): Implemented.
7333         (wrap): Implemented.
7334         * java/nio/CharBuffer.java:
7335         Some documentation added and reworked.
7336         (endian): Removed.
7337         (allocate): Implemented.
7338         (wrap): Implemented.
7339         (array): Throw exceptions.
7340         (arrayOffset): Throw exceptions.
7341         (toString): Implemented.
7342         (length): Implemented.
7343         (put): Implemented.
7344         (charAt): Implemented.
7345
7346 2003-02-11  John Leuner  <jewel@debian.org>
7347
7348         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
7349         reads from end of file.
7350
7351 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
7352
7353         * java/io/natFileDescriptorWin32.cc 
7354         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
7355         returns with Win32 error code ERROR_BROKEN_PIPE.
7356
7357 2003-02-11  Michael Koch  <konqueror@gmx.de>
7358
7359         * Makefile.in
7360         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
7361
7362 2003-02-11  Michael Koch  <konqueror@gmx.de>
7363
7364         * gnu/java/nio/ByteBufferImpl.java:
7365         Reformated and removed some code.
7366         (backing_buffer): Removed.      
7367         (array_offset): Removed.
7368         (ro): Renamed to readOnly.
7369         (ByteBufferImpl): Use parent constructor, initialize readOnly.
7370         * gnu/java/nio/CharBufferImpl.java:
7371         Reformated and removed some code.
7372         (array_offset): Removed.
7373         (ro): Renamed to readOnly.
7374         (CharBufferImpl): Use parent constructor, initialize readOnly.
7375         (inc_pos): Removed.
7376         (order): New method.
7377         * gnu/java/nio/DoubleBufferImpl.java:
7378         Reformated and removed some code.
7379         (array_offset): Removed.
7380         (ro): Renamed to readOnly.
7381         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
7382         (inc_pos): Removed.
7383         (order): New method.
7384         * gnu/java/nio/FloatBufferImpl.java:
7385         Reformated and removed some code.
7386         (array_offset): Removed.
7387         (ro): Renamed to readOnly.
7388         (FloatBufferImpl): Use parent constructor, initialize readOnly.
7389         (inc_pos): Removed.
7390         (order): New method.
7391         * gnu/java/nio/IntBufferImpl.java:
7392         Reformated and removed some code.
7393         (array_offset): Removed.
7394         (ro): Renamed to readOnly.
7395         (IntBufferImpl): Use parent constructor, initialize readOnly.
7396         (inc_pos): Removed.
7397         (order): New method.
7398         * gnu/java/nio/LongBufferImpl.java:
7399         Reformated and removed some code.
7400         (array_offset): Removed.
7401         (ro): Renamed to readOnly.
7402         (LongBufferImpl): Use parent constructor, initialize readOnly.
7403         (inc_pos): Removed.
7404         (order): New method.
7405         * gnu/java/nio/ShortBufferImpl.java:
7406         Reformated and removed some code.
7407         (array_offset): Removed.
7408         (ro): Renamed to readOnly.
7409         (ShortBufferImpl): Use parent constructor, initialize readOnly.
7410         (inc_pos): Removed.
7411         (order): New method.
7412         * Makefile.am
7413         (ordinary_java_source_files): Added the following files:
7414         gnu/java/nio/ByteBufferImpl.java
7415         gnu/java/nio/CharBufferImpl.java
7416         gnu/java/nio/DoubleBufferImpl.java
7417         gnu/java/nio/FloatBufferImpl.java
7418         gnu/java/nio/IntBufferImpl.java
7419         gnu/java/nio/LongBufferImpl.java
7420         gnu/java/nio/ShortBufferImpl.java
7421         java/nio/DoubleBuffer.java
7422         java/nio/FloatBuffer.java
7423         java/nio/IntBuffer.java
7424         java/nio/LongBuffer.java
7425         java/nio/ShortBuffer.java
7426         (nat_source_files): Added the following files:
7427         gnu/java/nio/natByteBufferImpl.cc
7428         gnu/java/nio/natCharBufferImpl.cc
7429         gnu/java/nio/natDoubleBufferImpl.cc
7430         gnu/java/nio/natFloatBufferImpl.cc
7431         gnu/java/nio/natIntBufferImpl.cc
7432         gnu/java/nio/natLongBufferImpl.cc
7433         gnu/java/nio/natShortBufferImpl.cc
7434         * Makefile.in: Regenerated.
7435
7436 2003-02-11  Michael Koch  <konqueror@gmx.de>
7437
7438         * gnu/java/nio/natCharBufferImpl.cc
7439         (nio_cast): Removed.
7440         (nio_put_*): Removed.
7441         (nio_get_*): Removed.
7442         * gnu/java/nio/natDoubleBufferImpl.cc
7443         (nio_cast): Removed.
7444         (nio_put_*): Removed.
7445         (nio_get_*): Removed.
7446         * gnu/java/nio/natFloatBufferImpl.cc
7447         (nio_cast): Removed.
7448         (nio_put_*): Removed.
7449         (nio_get_*): Removed.
7450         * gnu/java/nio/natIntBufferImpl.cc
7451         (nio_cast): Removed.
7452         (nio_put_*): Removed.
7453         (nio_get_*): Removed.
7454         * gnu/java/nio/natLongBufferImpl.cc
7455         (nio_cast): Removed.
7456         (nio_put_*): Removed.
7457         (nio_get_*): Removed.
7458         * gnu/java/nio/natShortBufferImpl.cc
7459         (nio_cast): Removed.
7460         (nio_put_*): Removed.
7461         (nio_get_*): Removed.
7462         * gnu/java/nio/SelectorProviderImpl.java
7463         (openDatagramChannel): Throws IOException.
7464         (openPipe): Throws IOException.
7465         (openSelector): Throws IOException.
7466         (openServerSocketChannel): Throws IOException.
7467         (openSocketChannel): Throws IOException.
7468         * gnu/java/nio/ServerSocketChannelImpl.java
7469         (ServerSocketChannelImpl): Throws IOException.
7470         (implCloseSelectableChannel): Throws IOException.
7471         (implConfigureBlocking): Throws IOException.
7472         * java/nio/ByteBuffer.java
7473         (readOnly): Removed.
7474         (hasArray): Use isReadOnly() instead of readOnly.
7475         (array): Use isReadOnly() instead of readOnly.
7476         (arrayOffset): Use isReadOnly() instead of readOnly.
7477         * java/nio/CharBuffer.java
7478         (CharBuffer): Implements Cloneable and CharSequence.
7479
7480 2003-02-11  Michael Koch  <konqueror@gmx.de>
7481
7482         * java/nio/DoubleBuffer.java
7483         (DoubleBuffer): Implements Comparable.
7484         (endian): Removed.
7485         (array_offset): New member variable.
7486         (DoubleBuffer): New constuctor.
7487         (get): May not be final.
7488         (put): May not be final.
7489         (arrayOffset): Implemented.
7490         (order): Made abstract.
7491         (order): Removed.
7492         (as*Buffer): Removed.
7493         (get*): Removed.
7494         (put*): Removed.
7495         * java/nio/FloatBuffer.java
7496         (FloatBuffer): Implements Comparable.
7497         (endian): Removed.
7498         (array_offset): New member variable.
7499         (FloatBuffer): New constuctor.
7500         (get): May not be final.
7501         (put): May not be final.
7502         (arrayOffset): Implemented.
7503         (order): Made abstract.
7504         (order): Removed.
7505         (as*Buffer): Removed.
7506         (get*): Removed.
7507         (put*): Removed.
7508         * java/nio/IntBuffer.java
7509         (IntBuffer): Implements Comparable.
7510         (endian): Removed.
7511         (array_offset): New member variable.
7512         (IntBuffer): New constuctor.
7513         (get): May not be final.
7514         (put): May not be final.
7515         (arrayOffset): Implemented.
7516         (order): Made abstract.
7517         (order): Removed.
7518         (as*Buffer): Removed.
7519         (get*): Removed.
7520         (put*): Removed.
7521         * java/nio/LongBuffer.java
7522         (LongBuffer): Implements Comparable.
7523         (endian): Removed.
7524         (array_offset): New member variable.
7525         (LongBuffer): New constuctor.
7526         (get): May not be final.
7527         (put): May not be final.
7528         (arrayOffset): Implemented.
7529         (order): Made abstract.
7530         (order): Removed.
7531         (as*Buffer): Removed.
7532         (get*): Removed.
7533         (put*): Removed.
7534         * java/nio/ShortBuffer.java
7535         (ShortBuffer): Implements Comparable.
7536         (endian): Removed.
7537         (array_offset): New member variable.
7538         (ShortBuffer): New constuctor.
7539         (get): May not be final.
7540         (put): May not be final.
7541         (arrayOffset): Implemented.
7542         (order): Made abstract.
7543         (order): Removed.
7544         (as*Buffer): Removed.
7545         (get*): Removed.
7546         (put*): Removed.
7547
7548 2003-02-11   Michael Koch  <konqueror@gmx.de>
7549
7550         * java/nio/channels/SelectionKey.java
7551         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
7552         values.
7553
7554 2003-02-11  Michael Koch  <konqueror@gmx.de>
7555
7556         * java/nio/channels/DatagramChannel.java
7557         (write): Throws IOException.
7558         (connect): Throws IOException.
7559         (disconnect): Throws IOException.
7560         (read): Throws IOException.
7561         (receive): Throws IOException.
7562         (send): Throws IOException.
7563         * java/nio/channels/Pipe.java
7564         (open): Throws IOException.
7565         * java/nio/channels/SelectableChannel.java
7566         (configureBlocking): Throws IOException.
7567         * java/nio/channels/ServerSocketChannel.java
7568         (accept): Throws IOException.
7569         * java/nio/channels/SocketChannel.java
7570         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
7571         GatheringByteChannel.
7572         (read): Throws IOException.
7573         (write): Throws IOException.
7574         (finishConnect): Throws IOException.
7575         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7576         (end): Throws AsynchronousCloseException.
7577         * java/nio/channels/spi/AbstractSelectableChannel.java
7578         (configureBlocking): Throws IOException.
7579         (implCloseChannel): Throws IOException.
7580         (implCloseSelectableChannel): Throws IOException.
7581         (implConfigureBlocking): Throws IOException.
7582         * java/nio/channels/spi/SelectorProvider.java
7583         (openDatagramChannel): Throws IOException.
7584         (openPipe): Throws IOException.
7585         (openSelector): Throws IOException.
7586         (openServerSocketChannel): Throws IOException.
7587         (openSocketChannel): Throws IOException.
7588
7589 2003-02-11  Michael Koch  <konqueror@gmx.de>
7590
7591         * gnu/java/nio/FileLockImpl.java,
7592         java/nio/channels/FileLock.java: New files.
7593
7594 2003-02-11  Michael Koch  <konqueror@gmx.de>
7595
7596         * java/nio/charset/IllegalCharsetNameException.java
7597         (serialVersionUID): New member variable.
7598         (charsetName): New member variable.
7599         (IllegalCharsetException): New implementation.
7600         (getCharsetName): New implementation.
7601         * java/nio/charset/UnsupportedCharsetException.java
7602         (serialVersionUID): New member variable.
7603         (charsetName): New member variable.
7604         (UnsupportedCharsetException): New implementation.
7605         (getCharsetName): New implementation.
7606
7607 2003-02-10  Tom Tromey  <tromey@redhat.com>
7608
7609         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
7610         (ex): Renamed from sqlException.
7611
7612 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
7613
7614         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
7615         method used to ensure seeding has occurred and that a specific 
7616         seed can be set and used.
7617
7618 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
7619
7620         * java/lang/Win32Process.java (destroy): Declare as native.
7621         (hasExited): New native method.
7622         (exitValue): Define.
7623         (getErrorStream): Likewise.
7624         (getInputStream): Likewise.
7625         (getOutputStream): Likewise.
7626         (waitFor): Declare as native.
7627         (startProcess): New native method.
7628         (cleanup): Likewise.
7629         (ConcreteProcess): Define.
7630         (outputStream, inputStream, errorStream): New members.
7631         (procHandle, exitCode): Likewise.
7632
7633         * java/lang/natWin32Process.cc
7634         (java::lang::ConcreteProcess::cleanup): Define.
7635         (java::lang::ConcreteProcess::destroy): Likewise.
7636         (java::lang::ConcreteProcess::hasExited): Likewise.
7637         (java::lang::ConcreteProcess::waitFor): Likewise.
7638         (new_string): Likewise.
7639         (java::lang::ConcreteProcess::startProcess): Likewise.
7640
7641 2003-02-10  Raif S. Naffah <raif@fl.net.au>
7642
7643         * java/math/BigInteger.java:
7644         Updated notice to include years 2002 and 3.
7645         Added 2 private (int) arrays with values from the HAC (Handbook of
7646         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
7647         and t[] that contains nbr. of tests --used in isProbablePrime().
7648
7649         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
7650
7651         * java/math/BigInteger.java (make(int[],int), add(int,int),
7652         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
7653         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
7654         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
7655         make(long).
7656
7657         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
7658         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
7659         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
7660         BIs and returns void.
7661         (modInverse(BI)): Use new signatures of euclidInv().
7662
7663         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
7664         static small primes instead of remainder().
7665         Use pre-computed max nbr of trials based on bitlength of BI to test.
7666         Use pre-computed small primes for the trial tests instead of random
7667         numbers.
7668
7669         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
7670         not used.
7671
7672         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
7673         invoacation of MPN.chars_per_word().  not used.
7674
7675         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
7676         local var and used where needed.
7677
7678         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
7679         Combined declaration with initialisation of locals.
7680         Removed unused var.
7681
7682         * java/math/BigInteger.java: Style changes
7683         (pow(int)): Removed 'else' keyword.
7684         (toString(int)): idem.
7685         (doubleValue()): idem.
7686         (bitLength()): idem.
7687         (equals(Object)): Use static methods name in same class w/o prepending
7688         class name.
7689         (doubleValue()): idem.
7690         (setNegative(BI)): idem.
7691         (negate()): idem.
7692         (and(BI,int)): idem.
7693         (and(BI)): idem.
7694         (gcd(BI)): idem.
7695         (byteArrayToIntArray()): Removed casting to (int). this is
7696         std. behaviour.
7697         (canonicalize()): idem.
7698         (alloc(int)): Always instantiate a new BI.
7699
7700 2003-02-10  Tom Tromey  <tromey@redhat.com>
7701
7702         * java/sql/Timestamp.java (compareTo(Object)): New method.
7703         (compareTo(Timestamp)): Likewise.
7704         (serialVersionUID): Updated.
7705
7706 2003-02-07  Mark Wielaard  <mark@klomp.org>
7707
7708         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
7709         when verify is true.
7710         (JarFile(File, boolean)): Likewise.
7711         (manifestRead): Set manifestRead field correctly.
7712
7713 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7714
7715         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
7716         tests; see patch #1016 on Savannah.
7717
7718 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7719
7720         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
7721         (toString): do not return Strings starting with . and - erroneously.
7722         Improves Mauve results to 12 of 600 instead of 16 of 338 on
7723         DiagBigDecimal.
7724
7725 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7726
7727         * java/beans/PropertyDescriptor.java
7728         (PropertyDescriptor(String, Class)): Sanity check getter and setter
7729         methods.
7730         (PropertyDescriptor(String, Class, String, String)): Likewise.
7731         (PropertyDescriptor(String, Method, Method): Factor out getter and
7732         setter method sanity checks into new method.
7733         (findMethods): Don't do parameter sanity checking of get method here.
7734         (checkMethods): New method.
7735
7736 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7737
7738         * java/beans/PropertyDescriptor.java: Reformat.
7739
7740 2003-02-04  Tom Tromey  <tromey@redhat.com>
7741
7742         * java/io/PipedOutputStream.java (flush): Declare as throwing
7743         IOException.
7744         (close): Likewise.
7745         * java/io/PipedWriter.java (close): Declare as throwing
7746         IOException.
7747         * java/io/StringWriter.java (close): Declare as throwing
7748         IOException.
7749
7750 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
7751
7752         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
7753         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
7754         could also have been exported as "JNI_OnLoad@8" (MinGW) or
7755         "_JNI_OnLoad@8" (MSVC).
7756
7757 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
7758
7759         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
7760         convention on Win32 to invoke native JNI methods.
7761
7762 2003-02-03  Andrew Haley  <aph@redhat.com>
7763
7764         * configure.host (x86_64): Enable interpreter.
7765
7766 2003-02-03  Andrew Haley  <aph@redhat.com>
7767
7768         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
7769         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
7770         * configure.in (BACKTRACESPEC): New.
7771         * configure: Regenerate.
7772
7773 2003-02-02  Tom Tromey  <tromey@redhat.com>
7774
7775         * configure: Rebuilt.
7776         * configure.in (TOOLKIT) [xlib]: Set correctly.
7777
7778         * Makefile.in: Rebuilt.
7779         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
7780         libstdc++.
7781
7782 2003-01-31  Mark WIelaard  <mark@klomp.org>
7783
7784         * Makefile.in: Rebuilt.
7785         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
7786
7787 2003-01-31  Tom Tromey  <tromey@redhat.com>
7788
7789         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
7790         cast to element type.
7791         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
7792         (_Jv_JNI_GetObjectArrayElement): Likewise.
7793
7794         * Makefile.in: Rebuilt.
7795         * Makefile.am (cond_x_ltlibrary): Renamed library to
7796         lib-gnu-awt-xlib.la.
7797         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
7798         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
7799         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
7800         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
7801         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
7802         (lib_gnu_awt_xlib_la_LINK): Likewise.
7803         (install-exec-hook): Removed.
7804         (lib-gnu-awt-xlib.la): Renamed.
7805
7806 2003-01-31  Tom Tromey  <tromey@redhat.com>
7807
7808         * aclocal.m4, configure, include/config.h.in: Rebuilt.
7809         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
7810         aclocal.m4 and lost in some merge.
7811
7812         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
7813         Don't try to find graphics configuration.
7814         * java/awt/Toolkit.java (default_toolkit_name): Use new
7815         Configuration entry.
7816         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
7817         New global.
7818         * configure: Rebuilt.
7819         * configure.in (TOOLKIT): New subst.
7820         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
7821         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
7822         directory.  Make output directories for .c files.
7823         * Makefile.in: Rebuilt.
7824         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
7825         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
7826         (all_java_source_files): Added new sources.
7827         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
7828         (gtk_c_files): New macro.
7829         (gtk_c_source_files): New macro.
7830         (cond_gtk_ltlibrary): New macro.
7831         ($(gtk_c_files)): New target.
7832         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
7833         (gtk_awt_peer_sources): New macro.
7834         (gtk_c_headers): New macro.
7835         ($(gtk_c_headers)): New target.
7836         (ACLOCAL_AMFLAGS): New macro.
7837         * gtk.m4, glib.m4, libart.m4: New files.
7838         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
7839         gnu/java/awt/peer/gtk/GdkGraphics.java,
7840         gnu/java/awt/peer/gtk/GtkArg.java,
7841         gnu/java/awt/peer/gtk/GtkArgList.java,
7842         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7843         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
7844         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
7845         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
7846         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7847         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7848         gnu/java/awt/peer/gtk/GtkClipboard.java,
7849         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7850         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7851         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7852         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7853         gnu/java/awt/peer/gtk/GtkFontPeer.java,
7854         gnu/java/awt/peer/gtk/GtkFramePeer.java,
7855         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7856         gnu/java/awt/peer/gtk/GtkImage.java,
7857         gnu/java/awt/peer/gtk/GtkImagePainter.java,
7858         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7859         gnu/java/awt/peer/gtk/GtkListPeer.java,
7860         gnu/java/awt/peer/gtk/GtkMainThread.java,
7861         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
7862         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7863         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7864         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
7865         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
7866         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
7867         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7868         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
7869         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7870         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7871         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7872         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7873         gnu/java/awt/peer/gtk/GtkToolkit.java,
7874         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7875         gnu/java/awt/peer/gtk/TestAWT.java,
7876         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
7877         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7878         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7879         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7880         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7881         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
7882         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
7883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
7884         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
7885         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7886         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
7887         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
7888         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7889         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
7890         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
7891         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7892         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7893         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7894         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7895         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
7896         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
7897         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
7898         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
7899         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7900         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
7901         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
7902         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
7903         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
7904         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
7905         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
7906         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
7907         jni/classpath/native_state.c, jni/classpath/native_state.h,
7908         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
7909
7910 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
7911
7912         * java/util/Properties.java (load): Ignore backslash before EOF.
7913
7914 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
7915
7916         * java/lang/natClass.cc (initializeClass): Check tables when
7917         (state == JV_STATE_IN_PROGRESS).
7918         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
7919         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
7920         interpreted classes.
7921         (linkClass0): Use _Jv_WaitForState.
7922
7923 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
7924
7925         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
7926         object when finished.
7927
7928 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
7929
7930         * libjava/configure.host: Disable can_unwind_signal on darwin.
7931
7932 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
7933
7934         Fixes PR java/9254:
7935         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
7936         additionally containing id of the owner thread as well as
7937         the number of nested times the thread has acquired the mutex.
7938         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
7939         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
7940         (_Jv_MutexUnlock): Check if really the owner thread, reset
7941         owner thread id to 0 before leaving, if leaving for the last
7942         time.
7943         (_Jv_MutexLock): Set owner thread id in the mutex and increment
7944         refcount.
7945         (_Jv_ThreadYield): Yield using a call to Sleep(0).
7946         * win32-threads.cc (_Jv_CondWait): Check if really owner of
7947         the passed mutex.
7948         Pass handle of the broadcast event, instead of a pointer to it
7949         in Win32 ResetEvent( ) call.
7950         Remove incorrect return values.
7951         (_Jv_CondDestroy): Close both event handles and delete
7952         critical section.
7953         (_Jv_CondNotify): Check if really the owner thread.
7954         (_Jv_CondNotifyAll): Check if really the owner thread.
7955         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
7956         (really_start): Use SetEvent( ) to signal daemon_cond.
7957         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
7958         WaitForSingleObject( ) instead to wait for daemon_cond to be
7959         signalled.
7960
7961 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
7962
7963         * configure.in: Specifically define HAVE_BACKTRACE if building
7964         for MinGW.
7965         * include/win32.h: Remove HAVE_BACKTRACE definition.
7966         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
7967         * configure: Rebuilt.
7968
7969 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
7970
7971         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
7972         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
7973         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
7974         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
7975         * Makefile.in, configure: Rebuilt.
7976
7977 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
7978
7979         Fixes PR java/9253:
7980         * java/io/natFileWin32.cc (performList): Append only "*.*"
7981         if the canonical file path already has a "\" at the end.
7982
7983 2003-01-24  Tom Tromey  <tromey@redhat.com>
7984
7985         * defineclass.cc (handleMethodsEnd): Precompute code for static
7986         method.
7987         (handleCodeAttribute): Likewise.
7988         * resolve.cc (ncode): Use run_class for unsynchronized static
7989         methods.
7990         * include/java-interp.h (class _Jv_InterpMethod): Declare
7991         run_class.
7992         * interpret.cc (run_synch_class): Initialize class.
7993         (run) [insn_invokestatic]: Don't initialize class.
7994         [insn_anewarray]: Likewise.
7995         [insn_multianewarray]: Likewise.
7996         (run_class): New function.
7997
7998 2003-01-24  Tom Tromey  <tromey@redhat.com>
7999
8000         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
8001         comment.
8002
8003 2003-01-22  Andrew Haley  <aph@redhat.com>
8004
8005         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
8006         * configure.host (CHECKREFSPEC): Define for x86_64.
8007
8008 2003-01-21  Tom Tromey  <tromey@redhat.com>
8009
8010         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
8011         search at 2, not 3.
8012
8013 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
8014
8015         * java/io/natFileWin32.cc (isAbsolute): Check path length before
8016         looking at any characters.
8017         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
8018         be used.
8019         (isAbsolute): Check path's length as well.
8020
8021 2003-01-17  Mark Wielaard  <mark@klomp.org>
8022
8023         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
8024         (nat_source_files): Add natVMObjectStreamClass.cc.
8025         * Makefile.in: Regenerated.
8026         * gcj/javaprims.h (namespace java): Regenerated.
8027         * java/io/ObjectStreamClass.java (getClassUID): Call
8028         VMObjectStreamClass.hasClassInitializer().
8029         (hasClassInitializer): Removed.
8030         * java/io/VMObjectStreamClass.java: New class.
8031         * java/io/natVMObjectStreamClass.cc: New file.
8032         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
8033
8034 2003-01-16  Mark Wielaard  <mark@klomp.org>
8035
8036         * java/net/SocketImpl.java (toString): Don't explicitly call
8037         toString() on possible null address.
8038
8039 2003-01-16  Michael Koch  <konqueror@gmx.de>
8040
8041         * java/net/MulticastSocket.java
8042         (setInterface): Reindented.
8043
8044 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8045
8046         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
8047         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
8048         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
8049         translateY arguments.  Implement.
8050         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
8051         down translation arguments.
8052         (drawPolyline, drawPolygon): Fix incorrect tests.
8053         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
8054         translateX and translateY arguments.
8055
8056 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8057
8058         * Makefile.in: Rebuilt.
8059         * Makefile.am (xlib_includes): New macro.
8060         (INCLUDES): Use it.
8061
8062 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8063
8064         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
8065         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
8066         16-bit display mode.
8067
8068 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8069
8070         * java/awt/CardLayout.java (show): Rewrote.
8071         (gotoComponent): Removed `target' argument.  Simplified code.
8072         Don't pre-compute `choice' unless `what' is FIRST or LAST.
8073         Changed all callers.
8074         (NONE): Removed.
8075         
8076 2003-01-14  Michael Koch  <konqueror@gmx.de>
8077
8078         * java/net/InetSocketAddress.java
8079         (serialVersionUID): New member variable.
8080         * java/net/NetPermission.java
8081         (NetPermission): Dont implement java.io.Serialization directly.
8082         * java/net/SocketAddress.java:
8083         (serialVersionUID): Documentation added.
8084         
8085 2003-01-14  Michael Koch  <konqueror@gmx.de>
8086
8087         * java/awt/Label.java
8088         (Label): Implements javax.accessibility.Accessible;
8089         * java/awt/List.java
8090         (List): Implements javax.accessibility.Accessible;
8091         * java/awt/ScrollPane.java
8092         (ScrollPane): Implements javax.accessibility.Accessible;
8093         * java/awt/Scrollbar.java
8094         (Scrollbar): Implements javax.accessibility.Accessible;
8095         * java/awt/TextComponent.java
8096         (setCaretPosition): Throw exception, documentation added.
8097         * java/awt/Toolkit.java:
8098         Added some newlines in method documentations.
8099         (createButton): Exception documentation added.
8100         (createTextField): Exception documentation added.
8101         (createLabel): Exception documentation added.
8102         (createList): Exception documentation added.
8103         (createCheckbox): Exception documentation added.
8104         (createScrollbar): Exception documentation added.
8105         (createScrollPane): Exception documentation added.
8106         (createTextArea): Exception documentation added.
8107         (createChoice): Exception documentation added.
8108         (createFrame): Exception documentation added.
8109         (createWindow): Exception documentation added.
8110         (createDialog): Exception documentation added.
8111         (createMenuBar): Exception documentation added.
8112         (createMenu): Exception documentation added.
8113         (createMenuItem): Exception documentation added.
8114         (createFileDialog): Exception documentation added.
8115         (createCheckboxMenuItem): Exception documentation added.
8116         (loadSystemColors): Exception documentation added.
8117         (setDynamicLayout): Exception documentation added.
8118         (isDynamicLayoutSet): Exception documentation added.
8119         (isDynamicLayoutActive): Exception documentation added.
8120         (getScreenSize): Exception documentation added.
8121         (getScreenResolution): Exception documentation added.
8122         (getScreenInsets): Exception documentation added.
8123         (getColorModel): Exception documentation added.
8124         (getSystemClipboard): Exception documentation added.
8125         (getSystemSelection): Exception documentation added.
8126         (getMenuShortcutKeyMask): Exception documentation added.
8127         (getSystemEventQueue): Exception documentation added.
8128         * java/awt/Window.java:
8129         Reindented some code.
8130         (Window): Centralized implementation, documentation added.
8131         (finalize): Documentation added.
8132         (hide): Fixed typo in comment.
8133         (getWindowListeners): Documentation added.
8134         * java/awt/color/ColorSpace.java
8135         (toRGB): Documentation added.
8136         * java/awt/color/ICC_ColorSpace.java
8137         (ICC_ColorSpace): Documentation added.
8138         (toRGB): Throw exception, documentation added.
8139         (fromRGB): Throw exception, documentation added.
8140         (toCIEXYZ): Documentation added.
8141         (fromCIEXYZ): Documentation added.
8142         (getMinValue): Documentation added.
8143         (getMaxValue): Documentation added.
8144         * java/awt/geom/Dimension2D.java
8145         (clone): Documentation added.
8146         * java/awt/geom/GeneralPath.java
8147         (clone): Documentation added.
8148         * java/awt/geom/Line2D.java
8149         (clone): Documentation added.
8150         * java/awt/geom/QuadCurve2D.java
8151         (clone): Documentation added.
8152         * java/awt/image/ColorModel.java
8153         (ColorModel): Throw exception, documentation added.
8154         * java/awt/image/ImageFilter.java
8155         (clone): Doesnt throw CloneNotSupportedException.
8156
8157 2003-01-14  Andrew Haley  <aph@redhat.com>
8158
8159         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8160         in a try block.
8161
8162 2003-01-10  Andrew Haley  <aph@redhat.com>
8163
8164         * include/dwarf2-signal.h: Remove x86_64.
8165         * configure.host (x86_64 DIVIDESPEC): Remove.
8166         * include/x86_64-signal.h: New file.
8167         * configure.in: Regenerate.
8168
8169 2003-01-10  Michael Koch  <konqueror@gmx.de>
8170
8171         * java/net/DatagramSocket.java
8172         (ch): Description added.
8173         (remotePort): Initialize with -1.
8174         (connect): Doesnt throws SocketException.
8175         * java/net/MulticastSocket.java
8176         (setInterface): Merge with Classpath.
8177         * java/net/ServerSocket.java
8178         (closed): New member variable.
8179         (bind): Check if socket is closed.
8180         (close): Close an associated channel too, set new value to closed.
8181         (isBound): Reindented.
8182         (isClosed): Implemented.
8183         * java/net/Socket.java
8184         (closed): New member variable.
8185         (bind): Check if socket is closed.
8186         (connect): Check if socket is closed.
8187         (close): Close an associated channel too, set new value to closed.
8188         (isClosed): Implemented.
8189
8190 2003-01-10  Michael Koch  <konqueror@gmx.de>
8191
8192         * java/awt/DisplayMode.java
8193         (equals): Fixed argument type and implementation.
8194
8195 2003-01-07  Tom Tromey  <tromey@redhat.com>
8196
8197         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8198         JV_HASH_SYNCHRONIZATION.
8199         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8200         JV_HASH_SYNCHRONIZATION.
8201
8202 2003-01-07  Michael Koch  <konqueror@gmx.de>
8203  
8204         * java/net/DatagramSocket.java:
8205         Added classpath license info.
8206         (DatagramSocket): Merged description with classpath.
8207         (close): Merged description with classpath.
8208         (getChannel): Merged description with classpath.
8209         (getInetAddress): Merged description with classpath.
8210         (getPort): Merged description with classpath.
8211         (getLocalAddress): Merged description with classpath.
8212         (getLocalPort): Merged description with classpath.
8213         (getSoTimeout): Merged description with classpath.
8214         (setSoTimeout): Merged description with classpath.
8215         (getSendBufferSize): Merged description with classpath.
8216         (setSendBufferSize): Merged description with classpath.
8217         (getReceiveBufferSize): Merged description with classpath.
8218         (setReceiveBufferSize): Merged description with classpath.
8219         
8220 2003-01-04  Tom Tromey  <tromey@redhat.com>
8221
8222         * java/awt/List.java: Merged with Classpath.
8223
8224 2003-01-03  Mark Wielaard  <mark@klomp.org>
8225
8226         * java/io/FileDescriptor.java (position): New private field.
8227         * java/io/natFileDescriptorPosix.cc (write): Up position.
8228         (setLength): Use and set position.
8229         (seek): Set position.
8230         (getFilePointer): Return position.
8231         (read): Up position.
8232
8233 2003-01-03  Mark Wielaard  <mark@klomp.org>
8234
8235         Merge with Classpath:
8236         * java/io/ObjectStreamClass.java (lookup): Split method and call
8237         lookupForClassObject().
8238         (lookupForClassObject): New method.
8239         (isProxyClass): New field.
8240         (setClass): Set isProxyClass, add object to classLookupTable, set
8241         superClass and calculateOffsets.
8242         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
8243         and not a proxy class.
8244         (setFields): Set accessible true for serialPersistentFields.
8245         (getClassUID): Same for suid. And check if suid is of type long.
8246         (hasClassInitializer): Don't throw NoSuchMethodError.
8247
8248 2003-01-03  Mark Wielaard  <mark@klomp.org>
8249
8250         * java/io/FileInputStream.java (finalize): Don't explicitly
8251         finalize FileDescriptor.
8252
8253 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
8254
8255         * configure.host (sparc*-*): Enable bytecode interpreter.
8256
8257 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
8258
8259         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
8260         Don't throw RemoteException.
8261         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
8262         throw RemoteException.
8263
8264 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
8265
8266         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
8267         proxyHost): New static fields.
8268         (<clinit>): Initialize new fields.
8269         (connect): Use proxy if necessary.
8270         (usingProxy): Implement.
8271
8272 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
8273
8274         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
8275         (TreeIterator.remove): Prefer IllegalStateException over
8276         ConcurrentModificationException, to match Sun.
8277
8278 2002-12-22  Anthony Green  <green@redhat.com>
8279
8280         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
8281
8282 2003-01-02  Mark Wielaard  <mark@klomp.org>
8283
8284         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
8285         public.
8286         (HTTP_USE_PROXY): Add field.
8287         (getResponseVals): Only set responseCode when not yet explicitly
8288         set by subclass.
8289
8290 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
8291             Mark Wielaard  <mark@klomp.org>
8292
8293         * java/util/zip/ZipFile.java (entries): Now HashMap.
8294         (readLeShort(DataInput, byte[])): Read from given byte array.
8295         (readLeInt(DataInput, byte[]): Likewise.
8296         (readLeShort(byte[] b, int off)): New method.
8297         (readLeInt(byte[] b, int off)): Likewise.
8298         (readEntries): Use byte arrays to read info in bigger chunks.
8299         (getEntries): Return HashMap.
8300         (getEntry): Use HashMap.
8301         (locBuf): New private field.
8302         (checkLocalHeader): Use locBuf to read info in one chunk.
8303         (getInputStream): Use entries HashMap, wrap PartialInputStream
8304         in BufferedInputStream.
8305         (ZipEntryEnumeration): Use HashMap and Interator.
8306
8307 2003-01-02  Mark Wielaard  <mark@klomp.org>
8308             Jeroen Frijters  <jeroen@sumatra.nl>
8309
8310         * java/net/URLClassLoader.java (Resource.getCodeSource):
8311         Fix check certs == null.
8312         (getCanonicalFileURL): Removed method.
8313         (JarURLLoader): Don't call removed method.
8314         (FileURLLoader): Likewise.
8315         (FileURLLoader.getResource): Don't canonicalize file name.
8316
8317 2003-01-01  Tom Tromey  <tromey@redhat.com>
8318
8319         * Makefile.in: Rebuilt.
8320         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
8321         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
8322         java/awt/BufferCapabilities.java, java/awt/Button.java,
8323         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
8324         java/awt/Container.java, java/awt/Cursor.java,
8325         java/awt/EventQueue.java, java/awt/FileDialog.java,
8326         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
8327         java/awt/MenuBar.java, java/awt/MenuComponent.java,
8328         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
8329         java/awt/Scrollbar.java, java/awt/TextArea.java,
8330         java/awt/TextField.java, java/awt/color/CMMException.java,
8331         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
8332         java/awt/color/ProfileDataException.java,
8333         java/awt/datatransfer/Clipboard.java,
8334         java/awt/datatransfer/DataFlavor.java,
8335         java/awt/datatransfer/FlavorMap.java,
8336         java/awt/datatransfer/SystemFlavorMap.java,
8337         java/awt/dnd/DragGestureEvent.java,
8338         java/awt/dnd/DragGestureRecognizer.java,
8339         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
8340         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
8341         java/awt/im/InputMethodHighlight.java,
8342         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
8343         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
8344
8345         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
8346         `op' to BufferedImageOp.
8347
8348 2002-12-31  Tom Tromey  <tromey@redhat.com>
8349
8350         Fix for PR libgcj/7416:
8351         * javax/naming/InitialContext.java (init): Use
8352         gnu.classpath.home.url.
8353         * java/security/Security.java: Use new properties.
8354         (loadProviders): Accept base url; use it.
8355         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
8356         gnu.classpath.home.url.
8357         (gnu.classpath.home.url): Define.
8358         (gnu.classpath.vm.shortname): Likewise.
8359
8360 2002-12-31  Tom Tromey  <tromey@redhat.com>
8361             Ranjit Mathew  <rmathew@hotmail.com>
8362
8363         Fix for PR libgcj/8997:
8364         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
8365         Include platform.h.
8366         * include/posix.h (_Jv_platform_usleep): New function.
8367         * include/win32.h (_Jv_platform_usleep): New function.
8368
8369 2002-12-29  Tom Tromey  <tromey@redhat.com>
8370
8371         * gcj/javaprims.h: Updated.
8372         * scripts/classes.pl (scan): Removed stray semicolon.
8373
8374 2002-12-30  Mark Wielaard  <mark@klomp.org>
8375
8376         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
8377         if zero or smaller.
8378
8379 2002-12-30  Mark Wielaard  <mark@klomp.org>
8380
8381         * java/util/Properties (formatForOutput): Don't fall through to
8382         default case after escaping character.
8383
8384 2002-12-30  Mark Wielaard  <mark@klomp.org>
8385
8386         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8387         against count.
8388
8389 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
8390
8391         * boehm.cc: Remove stray semicolon.
8392         * interpret.cc: Likewise.
8393         * prims.cc: Likewise.
8394         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8395         earlier to ensure default arguments are processed.
8396         * gcj/array.h (JArray): Add forward declaration.
8397         (elements): Likewise.
8398         * gcj/javaprim.h: Remove stray semicolons.
8399         * include/bohm-gc.h: Likewise.
8400         * include/jni.h: Likewise.
8401         * include/jvm.h: Likewise.
8402         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8403         
8404 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
8405
8406         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8407         of catch_type.
8408         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8409         idt tables after initializing superclass.
8410         * java/lang/natClassLoader.cc (uaddr): New typedef.
8411         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8412         if they are constant pool indicies.  Don't link vtable, otable yet.
8413
8414 2002-12-21  Anthony Green  <green@redhat.com>
8415
8416         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8417         libraries.
8418         * Makefile.in: Rebuilt.
8419
8420 2002-12-19  Anthony Green  <green@redhat.com>
8421
8422         * Makefile.am (ordinary_java_source_files): Add
8423         org/xml/sax/helpers/NewInstance.java.
8424         * Makefile.in: Rebuilt.
8425         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8426         org/xml/sax/helpers/package.html: New files.
8427         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8428         http://www.saxproject.org.
8429
8430 2002-12-19  Andrew Haley  <aph@redhat.com>
8431
8432         * java/util/natResourceBundle.cc: Include
8433         ArrayIndexOutOfBoundsException.h.
8434         (getCallingClassLoader): Don't put upper bound on stack search.
8435         Catch ArrayIndexOutOfBoundsException.
8436
8437 2002-12-19  Tom Tromey  <tromey@redhat.com>
8438
8439         * libtool-version: Increased `current'.
8440
8441 2002-12-19  Tom Tromey  <tromey@redhat.com>
8442
8443         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8444         comment.
8445         * java/lang/ClassLoader.java (defineClass): Use chained
8446         exception when rethrowing.
8447         * defineclass.cc (handleClassBegin): Mark class as interpreted.
8448         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8449         constants.
8450         * resolve.cc (_Jv_PrepareMissingMethods): New function.
8451         (_Jv_PrepareClass): Use it.
8452         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8453         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8454         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8455         (Class): _Jv_PrepareMissingMethods now friend.
8456         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8457         Record `NULL' for system class loader.
8458         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
8459         system class loader.
8460         (_Jv_FindClassInCache): Likewise.
8461         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
8462         (_Jv_FindClass): Special case system class loader.
8463         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8464         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8465         vtable slots.
8466         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8467         in a final class.
8468         (_getDeclaredMethod): Don't return synthetic methods.
8469         (getDeclaredMethods): Likewise.
8470         (_getMethod): Likewise.
8471         (_getMethods): Likewise.
8472
8473 2002-12-18  Raif Naffah  <raif@fl.net.au>
8474
8475         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8476         canonical form after divide().
8477         (modInverse): Likewise.
8478
8479 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8480             Mark Wielaard  <mark@klomp.org>
8481
8482         * java/security/SecurityRandom (digest): Removed field.
8483         (SecureRandom): Check all providers for case-insensitive SecureRandom
8484         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
8485         if necessary.
8486         (getInstance(String,Provider,boolean): New method.
8487         (getInstance(String)): Use new method.
8488         (getInstance(String,String)): Likewise.
8489         (getInstance(String,Provider)): Likewise.
8490
8491 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8492
8493         * java/security/Security.java (loadProviders): Increment i only once.
8494
8495 2002-12-12  Mark Wielaard  <mark@klomp.org>
8496
8497         * java/lang/ClassLoader.java (resolveClass0): Transform
8498         ClassNotFoundException to NoClassDefFoundError. Transform all other
8499         throwables to LinkageError.
8500
8501 2002-12-11  Tom Tromey  <tromey@redhat.com>
8502
8503         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
8504
8505         * java/lang/ClassLoader.java (loadedClasses): New field.
8506         (defineClass): Fixed indentation.  Put new class in
8507         loadedClasses.
8508         (findLoadedClass): Implement here.
8509         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
8510
8511 2002-12-10  Tom Tromey  <tromey@redhat.com>
8512
8513         * Makefile.in: Rebuilt.
8514         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8515         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
8516         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
8517         * java/lang/natClassLoader.cc
8518         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
8519
8520 2002-12-10  Mark Wielaard  <mark@klomp.org>
8521             Tom Tromey  <tromey@redhat.com>
8522
8523         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
8524         (JarURLLoader): Use it.
8525         (FileURLLoader): Likewise.
8526         (JarURLResource.getURL): Use chained exception.
8527         (FileResource.getURL): Likewise.
8528         (FileURLLoader.getResource): Use canonical file name.
8529         (addURL): Indentation fix.
8530
8531 2002-12-10  Tom Tromey  <tromey@redhat.com>
8532
8533         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
8534         From Laurent Bardet <l.bardet@magic.fr>.
8535
8536 2002-12-09  Tom Tromey  <tromey@redhat.com>
8537
8538         * include/win32.h (_Jv_platform_solib_prefix): New define.
8539         (_Jv_platform_solib_suffix): Likewise.
8540         * include/posix.h (_Jv_platform_solib_prefix): New define.
8541         (_Jv_platform_solib_suffix): Likewise.
8542         * java/lang/natRuntime.cc: Include StackTrace.h.
8543         (_load): Use findLibrary and new platform defines.
8544         (nativeGetLibname): Use new platform defines.
8545
8546         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
8547         `t' won't be null.
8548
8549 2002-12-08  Mark Wielaard  <mark@klomp.org>
8550
8551         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
8552         cache remote jar files.
8553         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
8554         add File.separator to URL when it is a directory.
8555         * java/lang/ClassLoader.java: Add Classpath javadoc.
8556         (parent): final.
8557         (getParent): Add (disabled) security check.
8558         (findLibrary): New default method.
8559         * java/net/JarURLConnection.java (getManifest): Implement.
8560         (getInputStream): Only create InputStream when entry exists.
8561         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
8562         when they exist.
8563         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
8564
8565 2002-12-08  Mark Wielaard  <mark@klomp.org>
8566
8567         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
8568         (lastDefaultLocale): New field.
8569         (getBundle): When Locale.getDefault != lastDefaultLocale reset
8570         resourceBundleCache.
8571
8572 2002-12-06  Mark Wielaard  <mark@klomp.org>
8573
8574         * java/net/InetAddress.java (toString): Use hostname when not null,
8575         don't do an explicit reverse getHostName() lookup.
8576         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
8577         NullPointerException.
8578
8579 2002-12-06  Tom Tromey  <tromey@redhat.com>
8580
8581         * include/java-interp.h (class _Jv_InterpMethod): Added
8582         JV_MARKOBJ_DECL.
8583         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
8584         mark `prepared' field of interpreted method.
8585         * interpret.cc (compile): Use _Jv_AllocBytes.
8586
8587 2002-12-05  Andrew Haley  <aph@redhat.com>
8588
8589         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
8590         #ifdef (HAVE_BACKTRACE) around the whole function body.
8591
8592 2002-12-05  Tom Tromey  <tromey@redhat.com>
8593
8594         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
8595         * resolve.cc: Don't include AbstractMethodError.h.
8596         (_Jv_abstractMethodError): Removed.
8597         * defineclass.cc (handleMethodsBegin): Initialize method index to
8598         -1.
8599         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
8600         method index for "new" final method.
8601         (_Jv_SetVTableEntries): Compare index against -1 instead of using
8602         isVirtualMethod.  Added `flags' argument.
8603         (_Jv_MakeVTable): Throw exception for abstract method in concrete
8604         class.
8605
8606 2002-12-04  Tom Tromey  <tromey@redhat.com>
8607
8608         * java/net/SocketPermission.java (hashCode): Rewrote.
8609
8610 2002-12-04  Tom Tromey  <tromey@redhat.com>
8611
8612         * Makefile.in: Rebuilt.
8613         * Makefile.am (nat_source_files): Added natVMSecurityManager,
8614         natResourceBundle.
8615         * java/util/ResourceBundle.java (Security): Removed.
8616         (getCallingClassLoader): Now native.
8617         * java/util/natResourceBundle.cc: New file.
8618         * java/lang/natVMSecurityManager.cc: New file.
8619         * java/lang/VMSecurityManager.java (getClassContext): Now native.
8620
8621 2002-12-03  Mark Wielaard  <mark@klomp.org>
8622
8623         * java/util/jar/JarFile.java (manifest): Not final.
8624         (manifestRead): New field.
8625         (JarFile): Don't read Manifest in constructor.
8626         (getManifest): New method.
8627         (JarEnumeration.nextElement): Use new method.
8628         (getEntry): Likewise.
8629         * java/util/zip/ZipFile.java (name): Final.
8630         (raf): Likewsie.
8631         (entries): Change type to Hashtable.
8632         (closed): New field.
8633         (ZipFile): Don't read enties in constructor.
8634         (readEntries): Use Hashtable.
8635         (close): Set new close flag and set entries to null inside
8636         synchronized block.
8637         (entries): Contruct enumeration using new getEntries() method and
8638         entries Hashtable.
8639         (getEntryIndex): Removed.
8640         (getEntries): New method.
8641         (getEntry): Use new getEntries() method and entries Hastable.
8642         (getInputStream): Likewise.
8643         (size): Return getEntries().size().
8644         (ZipEntryEnumeration): Wrap entries Hashtable elements.
8645         * java/util/zip/ZipEntry.java (cal): Don't initialize.
8646         (time): Removed
8647         (dostime): New field.
8648         (zipFileIndex): Removed.
8649         (ZipEntry(ZipEntry)): Copy dostime.
8650         (setDOSTime): Now final and doesn't convert dos time.
8651         (getDOSTime): Likewise.
8652         (setTime): Convert dos time.
8653         (getTime): Likewise.
8654         (getCalendar): New method.
8655         (setExtra): Use setTime().
8656         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
8657
8658 2002-12-03  Tom Tromey  <tromey@redhat.com>
8659
8660         * java/lang/Character.java (forDigit): Formatting fix.
8661
8662 2002-12-03  Raif Naffah  <raif@fl.net.au>
8663
8664         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
8665         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
8666         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
8667
8668 2002-12-03  Andrew Haley  <aph@redhat.com>
8669
8670         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
8671         _Jv_PushClass.
8672         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
8673         (_Jv_PopClass): New.
8674         (_Jv_PushClass): New.
8675         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
8676         discover the ClassLoader of our caller.
8677         (_Jv_CheckArrayStore): Don't check that a class is assignment
8678         compatible with Object.
8679         * java/lang/natVMTHrowable.cc: Delete.
8680         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
8681         java.lang.VMThrowable.
8682         (StackTrace(), StackTrace(int)): New constructors.
8683         (classAt, methodAt, update, methodAtAddress): New methods.
8684         (map): New field.
8685         * java/lang/VMThrowable.java: Use StackTrace instead of
8686         natVMTHrowable.
8687         * java/lang/Class.h (getClassLoaderInternal): New.
8688         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
8689         Be friendly with gnu::gcj::runtime::StackTrace.
8690         (Object.chain): New field.
8691         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
8692         gnu::gcj::runtime::StackTrace.
8693         * gnu/gcj/runtime/natStackTrace.cc: New file.
8694         * gnu/gcj/runtime/MethodRef.java: New file.
8695         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
8696         instead of getClassLoader().
8697         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
8698         java::lang::VMThrowable.
8699         * Makefile.am (core_java_source_files): Add MethodRef.java,
8700         StackTrace.java.
8701         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
8702         * Makefile.in: Rebuild.
8703
8704 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
8705
8706         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
8707         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
8708         yes also for sh-linux* and sh[34]*-linux*.
8709         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
8710         set SIGNAL_HANDLER to use DWARF2 exception for them.
8711         * configure: Regenerate.
8712
8713 2002-12-02  Tom Tromey  <tromey@redhat.com>
8714
8715         * jni.cc: Added `name' argument.
8716         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
8717         `const char *' argument.
8718         (class _Jv_JNIEnv) [DefineClass]: Likewise.
8719
8720 2002-12-01  Tom Tromey  <tromey@redhat.com>
8721
8722         Bug compatibility, for PR libgcj/8738:
8723         * java/io/CharArrayWriter.java (close): Do nothing.
8724         (flush): Likewise.
8725         (reset): Don't touch `closed'.
8726         (write(int)): Don't throw IOException.
8727         (write(char[],int,int)): Likewise.
8728         (write(String,int,int)): Likewise.
8729         (closed): Removed.
8730
8731 2002-12-01  Mark Wielaard  <mark@klomp.org>
8732
8733         * java/lang/SecurityManager.java: Remerge comments, indenting and
8734         checkXXX methods with Classpath.
8735
8736 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
8737
8738         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
8739         getNormalizedComponents): Fix calculation which was using one too
8740         many bits in the unnormalized format.
8741
8742 2002-11-29  Gary Benson  <gbenson@redhat.com>
8743
8744         For PR libgcj/8759:
8745         * java/beans/Introspector.java (flushCaches): New method.
8746         (flushFromCaches): Likewise.
8747
8748 2002-11-29  Michael Koch <konqueror@gmx.de>
8749
8750         * java/nio/channels/DatagramChannel.java
8751         (open): Added exception documentation.
8752         (write): Added exception documentation.
8753         (connect): Added exception documentation.
8754         (disconnect): Added exception documentation.
8755         (isConnected): Added exception documentation.
8756         (read): Added exception documentation.
8757         (receive): Added exception documentation.
8758         (send): Added exception documentation.
8759         (validOps): Added exception documentation.
8760         * java/nio/channels/SocketChannel.java
8761         (open): Added exception documentation.
8762         (read): Added exception documentation.
8763         (write): Added exception documentation.
8764         (connect): Added exception documentation.
8765         (finishConnect): Added exception documentation.
8766
8767 2002-11-29  Michael Koch <konqueror@gmx.de>
8768
8769         * gnu/java/nio/DatagramChannelImpl:
8770         (fd): New member variable to store file descriptor of socket.
8771         * gnu/java/nio/SelectionKeyImpl.java:
8772         (ops): Removed.
8773         (readyOps): New member variable.
8774         (interestOps): New member variable.
8775         (readyOps): Implemented.
8776         (readyOps): New method to set member variable readyOps.
8777         (interestOps): Replaced ops by interestOps.
8778         * gnu/java/nio/SelectorImpl.java:
8779         (SelectorImpl): Initialize key sets.
8780         (select): Call select with -1 instead of Long.MAX_VALUE).
8781         (java_do_select): Make it a native method.
8782         (getFDsAsArray): New helper method.
8783         (select): Remove canceled keys, give only interested file discriptors
8784         to java_do_select, set ready ops.
8785         (add): No need to initialize keys set here.
8786         (add_selected): No need to initialize selected set here.
8787         (deregisterCanceledKeys): New helper method.
8788         (register): Set interest ops, set attachments, added handling of datagram
8789         channels.
8790         * gnu/java/nio/ServerSocketChannelImpl:
8791         (SocketAccept): Renamed from NioSocketAccept.
8792         (implConfigureBlocking): Implemented.
8793         (accept): Use SocketAccept instead of NioSocketAccept.
8794         * gnu/java/nio/SocketChannelImpl:
8795         Reactivate native methods.
8796
8797 2002-11-29  Michael Koch <konqueror@gmx.de>
8798
8799         * gnu/java/nio/natByteBufferImpl.cc,
8800         gnu/java/nio/natCharBufferImpl.cc,
8801         gnu/java/nio/natDoubleBufferImpl.cc,
8802         gnu/java/nio/natFloatBufferImpl.cc,
8803         gnu/java/nio/natIntBufferImpl.cc,
8804         gnu/java/nio/natLongBufferImpl.cc,
8805         gnu/java/nio/natSelectorImpl.cc,
8806         gnu/java/nio/natServerSocketChannelImpl.cc,
8807         gnu/java/nio/natShortBufferImpl.cc,
8808         gnu/java/nio/natSocketChannelImpl.cc:
8809         New files that implement native functionalities.
8810
8811 2002-11-29  Michael Koch <konqueror@gmx.de>
8812
8813         * gnu/java/nio/ByteBufferImpl.java
8814         (ByteBufferImpl): Moved position() after limit.
8815         (nio_*): Use native implementation.
8816         * gnu/java/nio/CharBufferImpl.java:
8817         Reformated.
8818         (endian): New member variable string endianess of buffer.
8819         (CharBufferImpl): Moved position() after limit.
8820         (nio_*): Use native implementation.
8821         (subSequence): Implemented.
8822         * gnu/java/nio/DoubleBufferImpl.java
8823         (DoubleBufferImpl): Moved position() after limit.
8824         (nio_*): Use native implementation.
8825         * gnu/java/nio/FloatBufferImpl.java
8826         Reformated.
8827         (FloatBufferImpl): Moved position() after limit.
8828         (nio_*): Use native implementation.
8829         * gnu/java/nio/IntBufferImpl.java
8830         Added needed imports, Reformated.
8831         (IntBufferImpl): Moved position() after limit.
8832         (nio_*): Use native implementation.
8833         * gnu/java/nio/LongBufferImpl.java
8834         Reformated.
8835         (LongBufferImpl): Moved position() after limit.
8836         (nio_*): Use native implementation.
8837         * gnu/java/nio/ShortBufferImpl.java
8838         Reformated.
8839         (ShortBufferImpl): Moved position() after limit.
8840         (nio_*): Use native implementation.
8841
8842 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
8843
8844         * java/util/Locale.java (toString): Improve efficiency if country
8845         and variant are both empty.
8846
8847 2002-11-26  Tom Tromey  <tromey@redhat.com>
8848
8849         * verify.cc (pop_init_ref): New method.
8850         (verify_instructions_0) [op_iaload, op_laload, op_faload,
8851         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
8852         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
8853         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
8854         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
8855         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
8856         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
8857         let `this' argument be uninitialized.  Don't let `null' be passed
8858         as `this' to construtor.
8859
8860 2002-11-26  Mark Wielaard  <mark@klomp.org>
8861
8862         * javax/transaction/HeuristicCommitException.java: Classpath merge.
8863         * javax/transaction/HeuristicMixedException.java: Likewise.
8864         * javax/transaction/HeuristicRollbackException.java: Likewise.
8865         * javax/transaction/InvalidTransactionException.java: Likewise.
8866         * javax/transaction/NotSupportedException.java: Likewise.
8867         * javax/transaction/RollbackException.java: Likewise.
8868         * javax/transaction/Status.java: Likewise.
8869         * javax/transaction/Synchronization.java: Likewise.
8870         * javax/transaction/SystemException.java: Likewise.
8871         * javax/transaction/Transaction.java: Likewise.
8872         * javax/transaction/TransactionManager.java: Likewise.
8873         * javax/transaction/TransactionRequiredException.java: Likewise.
8874         * javax/transaction/TransactionRolledbackException.java: Likewise.
8875         * javax/transaction/UserTransaction.java: Likewise.
8876         * javax/transaction/xa/XAException.java: Likewise.
8877         * javax/transaction/xa/XAResource.java: Likewise.
8878         * javax/transaction/xa/Xid.java: Likewise.
8879
8880 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
8881
8882         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
8883         define.
8884         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
8885         * include/posix.h (socklen_t): Define if not already defined.
8886
8887 2002-11-25  Tom Tromey  <tromey@redhat.com>
8888
8889         * verify.cc (type::compatible): Backed out broken change.
8890
8891         * verify.cc (type::compatible): Check initialization status
8892         first.
8893         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
8894         Don't use NULLCHECK.
8895
8896 2002-11-23  H.J. Lu <hjl@gnu.org>
8897
8898         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
8899         Include ../config/accross.m4.
8900         * aclocal.m4; Rebuild.
8901         * configure: Likewise.
8902
8903 2002-11-23  Mark Wielaard  <mark@klomp.org>
8904
8905         * javax/naming/AuthenticationException.java: Update copyright header.
8906         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
8907         * javax/naming/Binding.java: Likewise.
8908         * javax/naming/CannotProceedException.java: Likewise.
8909         * javax/naming/CommunicationException.java: Likewise.
8910         * javax/naming/CompositeName.java: Likewise.
8911         * javax/naming/CompoundName.java: Likewise.
8912         * javax/naming/ConfigurationException.java: Likewise.
8913         * javax/naming/Context.java: Likewise.
8914         * javax/naming/ContextNotEmptyException.java: Likewise.
8915         * javax/naming/InitialContext.java: Likewise.
8916         * javax/naming/InsufficientResourcesException.java: Likewise.
8917         * javax/naming/InterruptedNamingException.java: Likewise.
8918         * javax/naming/LimitExceededException.java: Likewise.
8919         * javax/naming/LinkException.java: Likewise.
8920         * javax/naming/LinkLoopException.java: Likewise.
8921         * javax/naming/LinkRef.java: Likewise.
8922         * javax/naming/MalformedLinkException.java: Likewise.
8923         * javax/naming/NameAlreadyBoundException.java: Likewise.
8924         * javax/naming/NameClassPair.java: Likewise.
8925         * javax/naming/NameNotFoundException.java: Likewise.
8926         * javax/naming/NameParser.java: Likewise.
8927         * javax/naming/NamingEnumeration.java: Likewise.
8928         * javax/naming/NamingSecurityException.java: Likewise.
8929         * javax/naming/NoInitialContextException.java: Likewise.
8930         * javax/naming/NoPermissionException.java: Likewise.
8931         * javax/naming/NotContextException.java: Likewise.
8932         * javax/naming/OperationNotSupportedException.java: Likewise.
8933         * javax/naming/PartialResultException.java: Likewise.
8934         * javax/naming/Reference.java: Likewise.
8935         * javax/naming/Referenceable.java: Likewise.
8936         * javax/naming/ReferralException.java: Likewise.
8937         * javax/naming/ServiceUnavailableException.java: Likewise.
8938         * javax/naming/SizeLimitExceededException.java: Likewise.
8939         * javax/naming/TimeLimitExceededException.java: Likewise.
8940         * javax/naming/directory/Attribute.java: Likewise.
8941         * javax/naming/directory/AttributeInUseException.java: Likewise.
8942         * javax/naming/directory/AttributeModificationException.java: Likewise.
8943         * javax/naming/directory/Attributes.java: Likewise.
8944         * javax/naming/directory/BasicAttribute.java: Likewise.
8945         * javax/naming/directory/BasicAttributes.java: Likewise.
8946         * javax/naming/directory/DirContext.java: Likewise.
8947         * javax/naming/directory/InitialDirContext.java: Likewise.
8948         * javax/naming/directory/InvalidAttributeIdentifierException.java:
8949         Likewise.
8950         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
8951         * javax/naming/directory/InvalidAttributesException.java: Likewise.
8952         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
8953         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
8954         * javax/naming/directory/ModificationItem.java: Likewise.
8955         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
8956         * javax/naming/directory/SchemaViolationException.java: Likewise.
8957         * javax/naming/directory/SearchControls.java: Likewise.
8958         * javax/naming/directory/SearchResult.java: Likewise.
8959         * javax/naming/event/EventContext.java: Likewise.
8960         * javax/naming/event/EventDirContext.java: Likewise.
8961         * javax/naming/event/NamespaceChangeListener.java: Likewise.
8962         * javax/naming/event/NamingEvent.java: Likewise.
8963         * javax/naming/event/NamingExceptionEvent.java: Likewise.
8964         * javax/naming/event/NamingListener.java: Likewise.
8965         * javax/naming/event/ObjectChangeListener.java: Likewise.
8966         * javax/naming/ldap/Control.java: Likewise.
8967         * javax/naming/ldap/ControlFactory.java: Likewise.
8968         * javax/naming/ldap/ExtendedRequest.java: Likewise.
8969         * javax/naming/ldap/ExtendedResponse.java: Likewise.
8970         * javax/naming/ldap/HasControls.java: Likewise.
8971         * javax/naming/ldap/InitialLdapContext.java: Likewise.
8972         * javax/naming/ldap/LdapContext.java: Likewise.
8973         * javax/naming/ldap/LdapReferralException.java: Likewise.
8974         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
8975         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
8976         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
8977         * javax/naming/spi/DirObjectFactory.java: Likewise.
8978         * javax/naming/spi/DirStateFactory.java: Likewise.
8979         * javax/naming/spi/DirectoryManager.java: Likewise.
8980         * javax/naming/spi/InitialContextFactory.java: Likewise.
8981         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
8982         * javax/naming/spi/NamingManager.java: Likewise.
8983         * javax/naming/spi/ObjectFactory.java: Likewise.
8984         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
8985         * javax/naming/spi/ResolveResult.java: Likewise.
8986         * javax/naming/spi/Resolver.java: Likewise.
8987         * javax/naming/spi/StateFactory.java: Likewise.
8988
8989         * javax/naming/spi/NamingManager.java (ofb): Package private.
8990
8991 2002-11-21  Mark Wielaard  <mark@klomp.org>
8992
8993         * java/net/URL.java: Merge with Classpath (partly).
8994         * java/net/URLStreamHandler: Merge with Classpath.
8995
8996 2002-11-22  Michael Koch <konqueror@gmx.de>
8997
8998         * include/posix.h:
8999         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9000         * include/win32.h:
9001         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9002         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
9003
9004 2002-11-21  Michael Koch <konqueror@gmx.de>
9005
9006         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
9007         Only the new network functions should be in it.
9008
9009 2002-11-21  Michael Koch <konqueror@gmx.de>
9010
9011         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9012         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9013
9014 2002-11-21  Michael Koch <konqueror@gmx.de>
9015
9016         * java/nio/channels/AsynchronousCloseException.java,
9017         java/nio/channels/CancelledKeyException.java,
9018         java/nio/channels/ClosedByInterruptException.java,
9019         java/nio/channels/ConnectionPendingException.java,
9020         java/nio/channels/FileLockInterruptionException.java,
9021         java/nio/channels/IllegalSelectorException.java,
9022         java/nio/channels/NoConnectionPendingException.java,
9023         java/nio/channels/NonReadableChannelException.java,
9024         java/nio/channels/NonWritableChannelException.java,
9025         java/nio/channels/NotYetBoundException.java,
9026         java/nio/channels/NotYetConnectedException.java,
9027         java/nio/channels/OverlappingFileLockException.java,
9028         java/nio/channels/UnresolvedAddressException.java,
9029         java/nio/channels/UnsupportedAddressTypeException.java:
9030         New files.
9031         * Makefile.am (ordinary_java_source_files): Added new files.
9032         * Makefile.in: Regenerated.
9033
9034 2002-11-21  Michael Koch <konqueror@gmx.de>
9035
9036         * include/posix.h
9037         (_Jv_socket): New method.
9038         (_Jv_connect): New method.
9039         (_Jv_close): New method.
9040         (_Jv_platform_close_on_exec): Prefixed system function with "::".
9041         (_Jv_bind): New method.
9042         (_Jv_listen): New method.
9043         (_Jv_write): New method.
9044         (_Jv_read): New method.
9045         * include/win32.h
9046         (_Jv_socket): New method.
9047         (_Jv_connect): New method.
9048         (_Jv_close): New method.
9049         (_Jv_bind): New method.
9050         (_Jv_listen): New method.
9051         (_Jv_write): New method.
9052         (_Jv_read): New method.
9053         * java/net/natNetworkInterface.cc:
9054         Include platform.h, removed inclusion of socket.h
9055         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
9056         ::close() by _Jv_close().
9057         * java/net/natPlainDatagramSocketImpl.cc:
9058         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
9059         added some new lines to make code more readable.
9060         (create): Replaced ::socket() by _Jv_socket().
9061         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9062         * java/net/natPlainSocketImpl.cc:
9063         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
9064         removed include of socket.h, removed some windows defines
9065         (now in include/win32.h).
9066         (create): Replaced ::socket() by _Jv_socket().
9067         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9068         (write): Replaced ::read by _Jv_write().
9069         (read): Replaced ::read by _Jv_read().
9070
9071 2002-11-20  Michael Koch <konqueror@gmx.de>
9072
9073         * Makefile.am (ordinary_java_source_files):
9074         Added java/nio/channels/FileChannel.java.
9075         * Makefile.in: Regenerated.
9076
9077 2002-11-20  Michael Koch <konqueror@gmx.de>
9078
9079         * java/io/FileInputStream.java
9080         (getChannel): New method.
9081         * java/io/FileOutputStream.java
9082         (getChannel): New method.
9083         * java/net/ServerSocket.java
9084         (bind): Removed duplicate code and called another bind method instead.
9085         * java/nio/channels/SelectionKey.java
9086         (isValid): Removed wrong exception documentation.
9087         * java/nio/channels/ServerSocketChannel.java
9088         (accept): Added exception documentation.
9089         (open): Fixed typo, added exception documentation.
9090         * java/nio/channels/spi/AbstractSelectableChannel.java
9091         (implCloseChannel): Added exception documentation.
9092         (add): Reformated.
9093         (register): Added exception documentation.
9094
9095 2002-11-20  Andreas Jaeger  <aj@suse.de>
9096
9097         * configure: Regenerated with new libtool.m4.
9098
9099 2002-11-19  Tom Tromey  <tromey@redhat.com>
9100
9101         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
9102         `referent'.
9103         (finalize_referred_to_object): Don't modify `referent' or `copy'
9104         fields.
9105         (add_to_hash): Correctly set `n->next' when updating list.
9106         * java/lang/ref/Reference.java (enqueue): Return false if already
9107         enqueued.
9108
9109 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
9110
9111         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
9112         to function and function pointer declarations in accordance with
9113         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
9114         based on whether __GCJ_JNI_IMPL__ has been defined or not.
9115         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
9116         JNI function definitions.
9117
9118 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9119
9120         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
9121         that was causing CoderResults to be cached, not WeakReferences
9122         to CoderResults.
9123
9124 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
9125
9126         * java/security/KeyStore.java (getInstance): Fix
9127         comment and throw IllegalArgumentException if
9128         given provider is null.
9129         (getInstance): New method for jdk1.4 compatibility.
9130
9131 2002-11-18  Michael Koch <konqueror@gmx.de>
9132
9133         * java/net/PlainSocketImpl.java: Fix imports.
9134
9135 2002-11-18  Michael Koch <konqueror@gmx.de>
9136
9137         * java/nio/channels/SelectionKey.java
9138         (isValid): Added exception documentation.
9139         * java/nio/channels/Selector.java
9140         (open): Declare "throws IOException".
9141
9142 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9143
9144         * java/nio/charset/Charset.java
9145         (<clinit>): New method.
9146         (encode): Synchronize use of cached encoder object.
9147         (decode): Synchronize use of cached encoder object.
9148
9149 2002-11-18  Michael Koch <konqueror@gmx.de>
9150
9151         * gnu/java/nio/ByteBufferImpl.java,
9152         gnu/java/nio/CharBufferImpl.java,
9153         gnu/java/nio/DatagramChannelImpl.java,
9154         gnu/java/nio/DoubleBufferImpl.java,
9155         gnu/java/nio/FileChannelImpl.java,
9156         gnu/java/nio/FloatBufferImpl.java,
9157         gnu/java/nio/IntBufferImpl.java,
9158         gnu/java/nio/LongBufferImpl.java,
9159         gnu/java/nio/PipeImpl.java,
9160         gnu/java/nio/SelectionKeyImpl.java,
9161         gnu/java/nio/SelectorImpl.java,
9162         gnu/java/nio/SelectorProviderImpl.java,
9163         gnu/java/nio/ServerSocketChannelImpl.java,
9164         gnu/java/nio/ShortBufferImpl.java,
9165         gnu/java/nio/SocketChannelImpl.java,
9166         java/nio/DoubleBuffer.java,
9167         java/nio/FloatBuffer.java,
9168         java/nio/IntBuffer.java,
9169         java/nio/LongBuffer.java,
9170         java/nio/ShortBuffer.java,
9171         java/nio/channels/FileChannel.java: New files.
9172
9173 2002-11-18  Michael Koch <konqueror@gmx.de>
9174
9175         * Makefile.am (ordinary_java_source_files):
9176         Added java/nio/ReadOnlyBufferException.java and
9177         java/nio/channels/ClosedSelectorException.java.
9178         * Makefile.in: Regenerated.
9179
9180 2002-11-18  Michael Koch <konqueror@gmx.de>
9181
9182         * java/net/PlainSocketImpl.java: Reworked imports.
9183         * java/net/ServerSocket.java
9184         (ServerSocket): Create socket.
9185         * java/net/SocketAddress.java: Documentation added.
9186         * java/net/natPlainSocketImpl.cc: Reindented.
9187         * java/nio/ReadOnlyBufferException.java: New file
9188         * java/nio/channels/ClosedChannelException.java: Documentation added.
9189         * java/nio/channels/ClosedSelectorException.java: New file.
9190
9191 2002-11-17  Mark Wielaard  <mark@klomp.org>
9192
9193         * java/net/HttpURLConnection.java ((getPermission): Take port
9194         into consideration.
9195         (getErrorStream): Implement.
9196
9197 2002-11-17  Mark Wielaard  <mark@klomp.org>
9198
9199         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9200
9201 2002-11-16  Mark Wielaard  <mark@klomp.org>
9202
9203         Integrate work by Raif S. Naffah (raif@fl.net.au)
9204         * java/security/DummyKeyPairGenerator.java (clone): New method.
9205         * java/security/DummyMessageDigest.java (clone): New method.
9206         (engineUpdate): Now public.
9207         (engineReset): Likewise.
9208         (engineDigest): Likewise.
9209         (engineGetDigestLength): New method.
9210         * java/security/DummySignature.java (clone): New method.
9211         * java/security/KeyPairGenerator.java (provider): Now package private.
9212         (getInstance(String)): Use getInstance(String,Provider).
9213         (getInstance(String,String): Use getInstance(String,Provider)
9214         (getInstance(String,Provider): New method.
9215         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9216         * java/security/KeyPairGeneratorSpi.java (clone): New method.
9217         * java/security/MessageDigest.java (provider): Now package private.
9218         (getInstance(String): Use getInstance(String,Provider).
9219         (getInstance(String,String): Use getInstance(String,Provider)
9220         (getInstance(String,Provider): New method.
9221         * java/security/Provider.java (toCanonicalKey): New method.
9222         (get): New method that uses toCanonicalKey().
9223         (put): Use toCanonicalKey().
9224         (remove): Likewise.
9225         * java/security/Security.java (insertProviderAt): Provider index is one
9226         based, not zero based.
9227         (addProvider): Likewise.
9228         (removeProvider): Likewise.
9229         * java/security/Signature.java (provider): Now package private.
9230         (getInstance(String)): Use getInstance(String,Provider).
9231         (getInstance(String,String): Use getInstance(String,Provider)
9232         (getInstance(String,Provider): New method.
9233         (getInstance(String,String,Provider): Don't cast DummySignature.
9234
9235 2002-11-15  Tom Tromey  <tromey@redhat.com>
9236
9237         For PR libgcj/8593:
9238         * java/util/zip/GZIPInputStream.java (read): Check file size.
9239         Look in inflater for remaining input bytes.
9240         (read4): Added buf and offset arguments.
9241
9242 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
9243
9244         * java/applet/AppletContext.java: Fix typo and remove redundant
9245         modifiers.
9246
9247 2002-11-14  Tom Tromey  <tromey@redhat.com>
9248
9249         * java/lang/natRuntime.cc (insertSystemProperties): Set
9250         gnu.classpath.home.
9251
9252 2002-11-13  Michael Koch <konqueror@gmx.de>
9253
9254         * java/nio/ByteBuffer.java
9255         (allocate): New method.
9256         (wrap): New method.
9257         (put): New method.
9258         (get): New method.
9259
9260 2002-11-13  Michael Koch <konqueror@gmx.de>
9261
9262         * java/nio/channels/AlreadyConnectedException.java:
9263         Removed unneeded import.
9264         (AlreadyConnectedException): Documentation added.
9265         * java/nio/channels/Pipe.java
9266         (SinkChannel.SinkChannel): Documentation added.
9267         (SinkChannel.validOps): New method.
9268         (SourceChannel.SourceChannel): Documentation added.
9269         (SourceChannel.validOps): New method.
9270         (Pipe): Documentation added.
9271         (open): Documentation added.
9272         (SinkChannel.channel): Documentation added.
9273         (SourceChannel.channel): Documentation added.
9274         * java/nio/channel/SelectableChannel.java
9275         (SelectableChannel): Documentation added.
9276         (blockingLock): Documentation added.
9277         (configureBlocking):Documentation added.
9278         (isBlocking):Documentation added.
9279         (isRegistered):Documentation added.
9280         (keyFor):Documentation added.
9281         (provider):Documentation added.
9282         (register): Documentation added.
9283         (validOps): Documentation added.
9284         * jaba/nio/channels/SelectionKey.java
9285         (SelectionKey): Documentation added.
9286         (attach): Documentation added.
9287         (attachment): Documentation added.
9288         (isAcceptable): Documentation added.
9289         (isConnetable): Documentation added.
9290         (isReadable): Documentation added.
9291         (isWritable): Documentation added.
9292         (cancel): Documentation added.
9293         (channel): Documentation added.
9294         (interestOps): Documentation added.
9295         (isValid): Documentation added.
9296         (readyOps): Documentation added.
9297         (selector): Documentation added.
9298         * jaba/nio/channels/Selector.java
9299         (Selector): Documentation added.
9300         (open): Documentation added.
9301         (close): Documentation added.
9302         (isOpen): Documentation added.
9303         (keys): Documentation added.
9304         (provider): Documentation added.
9305         (select): Documentation added.
9306         (selectedKeys): Documentation added.
9307         (selectNow): Documentation added.
9308         (wakeup): Documentation added.
9309         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9310         (AbstractInterruptibleChannel): Documentation added.
9311         (opened): Default to true;
9312         (begin): Documentation added.
9313         (close): Set opened to false, documentation added.
9314         (isOpen): Documentation added.
9315         * java/nio/channels/spi/AbstractSelectionKey.java
9316         (AbstractSelectionKey): Documentation added.
9317         (cancel): Documentation added.
9318         (isValid): Documentation added.
9319         * java/nio/channels/spi/AbstractSelector.java
9320         (AbstractSelector): Documentation added.
9321         (begin): Documentation added.
9322         (close): Documentation added.
9323         (isOpen): Documentation added.
9324         (deregister): Documentation added.
9325         (end): Documentation added.
9326         (provider): Documentation added.
9327         (implCloseSelector): Documentation added.
9328         (register): Documentation added.
9329         * java/nio/channels/spi/SelectorProvider.java
9330         (SelectorProvider): Documentation added.
9331         (openDatagramChannel): Documentation added.
9332         (openPipe): Documentation added.
9333         (openSelector): Documentation added.
9334         (openServerSocketChannel): Documentation added.
9335         (openSocketChannel): Documentation added.
9336         (provider): Documentation added.
9337
9338 2002-11-12  Michael Koch <konqueror@gmx.de>
9339
9340         * java/nio/Buffer.java: Implemented.
9341         * java/nio/CharBuffer.java: New file.
9342         * java/nio/InvalidMarkException.java: New file.
9343         * java/nio/channels/DatagramChannel.java: Implemented.
9344         * java/nio/channels/ServerSocketChannel.java: Implemented.
9345         * java/nio/channels/SocketChannel.java: Implemented.
9346         * java/nio/channels/spi/AbstractChannel.java: Removed.
9347         * java/nio/channels/spi/AbstractSelectableChannel.java:
9348         Implemented.
9349         * java/nio/charset/Charset.java:
9350         Merge from Classpath.
9351         * java/nio/charset/CharsetDecoder.java: New file.
9352         * java/nio/charset/CharsetEncoder.java: New file.
9353         * java/nio/charset/CoderResult.java: New file.
9354         * Makefile.am (ordinary_java_source_files): Added new files.
9355         * Makefile.in: Regenerated.
9356
9357 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9358
9359         * gnu/java/nio/charset/ISO_8859_1.java,
9360         gnu/java/nio/charset/Provider.java,
9361         gnu/java/nio/charset/US_ASCII.java,
9362         gnu/java/nio/charset/UTF_16.java,
9363         gnu/java/nio/charset/UTF_16BE.java,
9364         gnu/java/nio/charset/UTF_16Decoder.java,
9365         gnu/java/nio/charset/UTF_16Encoder.java,
9366         gnu/java/nio/charset/UTF_16LE.java,
9367         gnu/java/nio/charset/UTF_8.java: New files.
9368
9369 2002-11-11  Michael Koch <konqueror@gmx.de>
9370
9371         * java/nio/charset/CharacterCodingException.java:
9372         This class must be public.
9373         * java/nio/charset/CoderMalfunctionError.java:
9374         This class must be public.
9375         * java/nio/charset/CodingErrorAction.java:
9376         This class must be public.
9377         * java/nio/charset/IllegalCharsetNameException.java:
9378         This class must be public, better implementation.
9379         * java/nio/charset/MalformedInputException.java:
9380         This class must be public, better implementation.
9381         * java/nio/charset/UnmappableCharacterException.java:
9382         This class must be public, better implementation.
9383         * java/nio/charset/UnsupportedCharsetException.java:
9384         This class must be public, better implementation.
9385
9386 2002-11-11  Michael Koch <konqueror@gmx.de>
9387
9388         * java/nio/BufferOverflowException.java,
9389         java/nio/BufferUnderflowException.java: New file.
9390         * Makefile.am (ordinary_java_source_files):
9391         Added new files.
9392         * Makefile.in: Regenerated.
9393
9394 2002-11-10  Tom Tromey  <tromey@redhat.com>
9395
9396         * java/awt/Container.java (validate): Use tree lock.
9397         (getComponent): Likewise.
9398         (getComponents): Likewise.
9399         (addImpl): Likewise.
9400         (remove): Likewise.
9401         (removeAll): Likewise.
9402         (processEvent): Fixed indentation.
9403         (getComponentAt): Use tree lock.
9404         (findComponentAt): Likewise.
9405         (removeNotify): Likewise.
9406         (isAncestorOf): Likewise.
9407         (list): Likewise.
9408         (visitChildren): Likewise.
9409         (findNextFocusComponent): Likewise.
9410         (addNotifyContainerChildren): Likewise.
9411         (getAccessibleChildrenCount): Likewise.
9412         (getAccessibleChild): Likewise.
9413
9414         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9415         (getSize): Likewise.
9416         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9417         (getSize): Likewise.
9418         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9419         (calcSize): Likewise.
9420         * java/awt/CardLayout.java (getSize): Use tree lock.
9421         (gotoComponent): Likewise.
9422         (layoutContainer): Likewise.
9423
9424         * java/io/natFileDescriptorWin32.cc (read): Handle case where
9425         count is 0.
9426         * java/io/natFileDescriptorPosix.cc (read): Handle case where
9427         count is 0.
9428
9429         * java/io/Externalizable.java, java/io/FilePermission.java,
9430         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9431         java/io/SerializablePermission.java, java/text/Format.java,
9432         java/util/AbstractMap.java, java/util/HashMap.java,
9433         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9434         versions from Classpath.
9435
9436 2002-11-10  Anthony Green  <green@redhat.com>
9437
9438         * java/util/jar/Attributes.java (Name): Fix name check.
9439
9440 2002-11-10  Mark Wielaard  <mark@klomp.org>
9441
9442         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9443         with getName() as message.
9444         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9445         type as message.
9446
9447         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9448         unused.
9449
9450 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
9451
9452         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9453         for Win32. JNICALL has been defined to __stdcall to be compatible
9454         with Sun's JDKs.
9455
9456 2002-11-10  Tom Tromey  <tromey@redhat.com>
9457
9458         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9459         (setRows): Check newRows, not rows.
9460
9461         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9462
9463 2002-11-09  Tom Tromey  <tromey@redhat.com>
9464
9465         * java/applet/Applet.java, java/applet/AppletContext.java,
9466         java/applet/AppletStub.java, java/applet/AudioClip.java,
9467         java/awt/CardLayout.java,
9468         java/awt/ContainerOrderFocusTraversalPolicy.java,
9469         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9470         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9471         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9472         java/awt/color/ICC_ColorSpace.java,
9473         java/awt/color/ICC_Profile.java,
9474         java/awt/color/ICC_ProfileGray.java,
9475         java/awt/color/ICC_ProfileRGB.java,
9476         java/awt/datatransfer/DataFlavor.java,
9477         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9478         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9479         New versions from Classpath.
9480         * Makefile.in: Rebuilt.
9481         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9482         ICC_ProfileRGB.
9483
9484         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
9485         display policy.
9486
9487         * java/awt/List.java (processEvent): Added missing `else's.
9488
9489         * java/awt/Window.java (show): validate() before showing.  Make
9490         parent displayable.
9491         (isDisplayable): New method.
9492
9493 2002-11-07  Mark Wielaard  <mark@klomp.org>
9494
9495         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
9496         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
9497
9498         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
9499         annotation.
9500         (loadClass): Take String as codebases.
9501         (getClassAnnotation): Use MyClassLoader annotations.
9502         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
9503         call exportObject(this).
9504
9505         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9506         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
9507         (setAnnotation): Don't set locBytesStream and locStream.
9508         (replaceObject): Removed.
9509         (flush): Don't test locStream.
9510         (getLocBytes): LikeWise.
9511         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
9512         (leaseCache): New field.
9513         (dirty): Use leaseCache.
9514         (LeaseRecord): New inner class.
9515         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
9516         explicitly call exportObject().
9517         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
9518         false to communicate with Sun JDK130.
9519         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
9520         * gnu/java/rmi/server/RMIObjectInputStream.java
9521         (UnicastConnectionManager): Removed field.
9522         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
9523         Use UnicastServer.getExportedRef().
9524         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
9525         (expireTime): Likewise.
9526         (CONNECTION_TIMEOUT): Likewise.
9527         (disconnect): Call sock.close().
9528         (isExpired): New method.
9529         (resetTime): Likewise.
9530         (run): Use do while loop and catch Exception for discardConnection().
9531         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
9532         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
9533         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
9534         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
9535         (exportObject): Use refcache.
9536         (unexportObject): Likewise.
9537         (getExportedRef): New method.
9538         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
9539         constructor.
9540         (exportObject): Save manager.serverobj.
9541         (getStub): New method.
9542
9543 2002-11-07  Mark Wielaard  <mark@klomp.org>
9544
9545         * java/lang/reflect/natField.cc (getBoolean): Use getType().
9546         (getByte): Likewise.
9547         (getShort): Likewise.
9548         (getInt): Likewise.
9549         (getLong): Likewise.
9550         (getFloat): Likewise.
9551         (getDouble): Likewise.
9552         (get): Likewise.
9553         (setChar): Likewise.
9554         (setByte): Likewise.
9555         (setShort): Likewise.
9556         (setInt): Likewise.
9557         (setLong): Likewise.
9558         (setFloat): Likewise.
9559         (setDouble): Likewise.
9560
9561 2002-11-07  Michael Koch <konqueror@gmx.de>
9562
9563         * java/awt/Choice.java,
9564         java/awt/Container.java,
9565         java/awt/GridBagLayout.java:
9566         Fixed documentation.
9567         * java/awt/peer/ContainerPeer.java:
9568         Reindented.
9569
9570 2002-11-07  Michael Koch <konqueror@gmx.de>
9571
9572         * java/awt/color/ICC_Profile.java:
9573         Added missing constants.
9574         * java/awt/color/ICC_ColorSpace.java
9575         (getMinValue): Added dummy implementation.
9576         (getMaxValue): Added dummy implementation.
9577         * java/awt/datatransfer/DataFlavor.java
9578         (imageFlavor): Added.
9579         (isMimeTypeEqual): Must be final.
9580         (getDefaultRepresentationClass): Must be non-static.
9581         (getDefaultRepresentationClassAsString): Must be non-static.
9582         * java/awt/dnd/DragSourceContext.java
9583         (dragExit): Corrected argument.
9584         (dragDropEnd): Corrected argument.
9585         * java/awt/dnd/DragSourceListener.java.java
9586         (dragExit): Corrected argument.
9587         (dragDropEnd): Corrected argument.
9588         * java/awt/font/TextHitInfo.java
9589         (toString): Added stubbed implementation.
9590         * java/awt/geom/PathIterator.java:
9591         The constants must be static.
9592         * java/awt/image/VolatileImage.java
9593         (IMAGE_INCOMPATIBLE): Fixed typo.
9594         * java/awt/image/renderable/RenderableImage.java
9595         (HINTS_OBSERVED): Must be static.
9596         * java/beans/BeanInfo.java:
9597         Constants must be final.
9598
9599 2002-11-06  Tom Tromey  <tromey@redhat.com>
9600
9601         From svens@it.uu.se.  For PR libgcj/8481.
9602         * java/util/Random.java (nextInt(int)): Only use 31 bits.
9603
9604 2002-11-06  Tom Tromey  <tromey@redhat.com>
9605
9606         * jni.cc (array_from_valist): Assume that jlong won't be
9607         promoted.
9608
9609 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
9610
9611         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
9612         Return 20.
9613         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
9614         Return 16.
9615
9616 2002-11-03  Tom Tromey  <tromey@redhat.com>
9617
9618         * java/lang/ClassLoader.java (loadClass): Call loadClass on
9619         VMClassLoader, not findClass.
9620
9621 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
9622
9623         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
9624         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
9625         _Jv_DetermineVTableIndex, to determine vtable offset.
9626         (_Jv_DetermineVTableIndex): Remove.
9627         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
9628
9629         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
9630
9631 2002-11-03  Tom Tromey  <tromey@redhat.com>
9632
9633         * java/nio/channels/AlreadyConnectedException.java: Extend
9634         IllegalStateException, per spec.
9635
9636 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
9637
9638         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
9639
9640 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9641
9642         * java/util/ArrayList.java (readObject, writeObject): Only read/write
9643         size items.
9644
9645 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9646
9647         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
9648         initial estimated size to avoid enlarge buffer frequently.
9649
9650 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9651
9652         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
9653         ClassLoader when null.
9654         (ProxyType.hashCode): Loader null check no longer needed.
9655         (ProxyType.sameTypes): New method.
9656         (ProxyType.equals): Use new method.
9657
9658 2002-10-31  Mark Wielaard  <mark@klomp.org>
9659
9660         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
9661         length of String.
9662         * java/net/URLEncoder.java (encode): Likewise.
9663
9664 2002-10-31  Mark Wielaard  <mark@klomp.org>
9665
9666         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
9667         when stream is closed.
9668         (closeEntry): Likewise.
9669         (read): Likewise.
9670         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
9671         ZipException when no entry active.
9672         (closeEntry): Likewise.
9673         (write): Likewise.
9674
9675 2002-11-02  Tom Tromey  <tromey@redhat.com>
9676
9677         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
9678         * java/lang/natClass.cc (initializeClass): Don't return just
9679         because self==thread.
9680
9681         For PR java/8415:
9682         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
9683         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
9684
9685 2002-11-02  Andreas Schwab  <schwab@suse.de>
9686
9687         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
9688         pass GCJFLAGS.
9689         (FLAGS_TO_PASS): Define.
9690         * Makefile.in: Regenerated.
9691
9692 2002-11-01  Michael Koch  <konqueror@gmx.de>
9693
9694         * java/nio/ByteOrder.java: New file.
9695         * java/nio/channels/DatagramChannel.java:
9696         (DatagramChannel): New constructor.
9697         * java/nio/channels/Pipe.java: New file.
9698         * java/nio/channels/SelectableChannel.java: New file.
9699         * java/nio/channels/SelectionKey.java: New file.
9700         * java/nio/channels/Selector.java: New file.
9701         * java/nio/channels/ServerSocketChannel.java
9702         (ServerSocketChannel): New constructor.
9703         * java/nio/channels/SocketChannel.java
9704         (SocketChannel): New constructor.
9705         * java/nio/channels/Pipe.java: New file.
9706         * java/nio/channels/spi/AbstractChannel.java: New file.
9707         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
9708         * java/nio/channels/spi/AbstractSelectableChannel.java:
9709         License added
9710         (AbstractSelectableChannel): New stubbed method.
9711         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
9712         * java/nio/channels/spi/AbstractSelector.java: New file.
9713         * java/nio/channels/spi/SelectorProvider.java: New file.
9714         * java/nio/charset/Charset.java: New file.
9715         * java/nio/charset/CoderMalfunctionError.java: New file.
9716         * java/nio/charset/CodingErrorAction.java: New file.
9717         * java/nio/charset/spi/CharsetProvider.java
9718         (charsetForName): Uncommented.
9719         * Makefile.am (java_native_source_files): Added new files.
9720         * Makefile.in: Regenerated.
9721
9722 2002-11-01  Michael Koch  <konqueror@gmx.de>
9723
9724         * java/net/InetAddress.java:
9725         (isAnyLocalAddress): Implemented.
9726         (isLoopbackAddress): Implemented, comment added.
9727         (isLinkLocalAddress): Implemented, documentation added.
9728         (isSiteLocalAddress): Implemented, documentation added.
9729         (isMCGlobal): Implemented, documentation added.
9730         (isMCNodeLocal): Implemented, documentation added.
9731         (isMCLinkLocal): Implemented, documentation added.
9732         (isMCSiteLocal): Implemented, documentation added.
9733         (isMCOrgLocal): Implemented, documentation added.
9734         (getHostName): Documentation added.
9735         (getCanonicalHostName): Implemented, documentation added.
9736         (getAddress): Documentation added.
9737         (hashCode): Documentation added.
9738         (equals): Documentation added.
9739         (toString): Fixed implementation.
9740         (getByAddress): Use Inet4Address and Inet6Address.
9741         (lookup): New linewrap.
9742         (getByName): SecurityManager check added, support Inet4Address and
9743         Inet6address, comments added.
9744         (getAllByName): SecurityManager check added, comments added.
9745         * java/net/Inet6Address.java:
9746         (Inet6Address): Initialize parent class with addr instead of null.
9747         * java/net/URL.java
9748         (equals): Documentation added.
9749         (getFile): Documentation added.
9750         (hashCode): Documentation added.
9751         * java/net/natInetAddress.cc:
9752         (aton): Fix IPv6 support.
9753         * java/net/natPlainDatagramSocketImpl.cc:
9754         (peek): Throw PortUnreachableException when suitable.
9755         (peekData): Throw PortUnreachableException when suitable.
9756         (send): Throw PortUnreachableException when suitable.
9757         (receive): Throw PortUnreachableException when suitable.
9758
9759 2002-10-27  Mark Wielaard  <mark@klomp.org>
9760
9761         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
9762         argument.
9763         (readLeShort): Likewise and use byte[].
9764         (readLeInt): Likewise.
9765         (readEntries): Use new versions of methods and use byte[] for reading
9766         a complete zip entry. Add ZipFile name to exceptions.
9767         (entries): Add ZipFile name to exceptions.
9768         (getEntry): Likewise.
9769         (checkLocalHeader): Use new versions of methods and add ZipFile name
9770         to exceptions.
9771
9772 2002-10-31  Mark Anderson  <mark@panonet.net>
9773
9774         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
9775         added
9776
9777 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
9778
9779         * configure.in: Disable hash sync when not using threads.
9780         * configure: Regenerated.
9781
9782 2002-10-24  Tom Tromey  <tromey@redhat.com>
9783
9784         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
9785         (_Jv_FindSymbolInExecutable): Removed argument name.
9786         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
9787         java.library.path is set.
9788
9789         * gij.cc (help): Document --showversion.
9790         (version): Don't exit.
9791         (main): Handle --showversion.  Exit if --version given.
9792
9793 2002-10-23  Tom Tromey  <tromey@redhat.com>
9794
9795         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
9796         (array_from_valist): Correctly handle promotion for jint, jlong,
9797         jfloat, and jdouble.
9798
9799 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
9800
9801         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
9802         GetFileAttributesEx( ) to find file length and modification times,
9803         as the latter is not present on Windows 95.
9804
9805 2002-10-21  Michael Koch  <konqueror@gmx.de>
9806
9807         * java/net/URL.java
9808         (URL): Activate SecurityManager checks.
9809         (equals): Use URLStreamHandler implementation instead of doing it
9810         alone. This allows special protocol stream handlers to change default
9811         behaviour.
9812         (hashCode): Use URLStreamHandler implementation instead of doing it
9813         alone. This allows special protocol stream handlers to change default
9814         behaviour.
9815         * java/net/URLStreamHandler.java
9816         (equals): Implemented default URL equality check.
9817         (hostsEqual): Implemented default URL equality check.
9818         (hashCode): Implemented default URL hashCode algorithm.
9819         * java/net/natPlainDatagramSocketImpl.cc:
9820         No lines longer then 80 characters.
9821
9822 2002-10-20  Adam Megacz <adam@xwt.org>
9823
9824         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
9825         * configure.in: enabled hash sync on Win32
9826         * include/win32-threads.h (_Jv_ThreadId_t): added.
9827         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
9828         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
9829         removed some posix-isms, use Thread::sleep() instead of usleep,
9830         added code to clear bottom three bits if platform has a broken
9831         linker.
9832         * include/win32-threads.h (_Jv_ThreadId_t): added.
9833
9834 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
9835
9836         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
9837         runtime property "gnu.gcj.progname" containing the name used to
9838         invoke the current Java program (similar to argv[0] for C
9839         programs).
9840
9841 2002-10-15  Tom Tromey  <tromey@redhat.com>
9842
9843         Fix for PR libgcj/8234:
9844         * java/util/zip/natInflater.cc (reset): Reset avail_in.
9845         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
9846
9847 2002-10-13  Mark Wielaard  <mark@klomp.org>
9848
9849         * mauve-libgcj: Enable Mauve tests that compile now.
9850
9851 2002-10-11  Mark Wielaard  <mark@klomp.org>
9852
9853         Fix for PR libgcj/8142
9854         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
9855         loading native modules.
9856
9857 2002-10-10  Michael Koch  <konqueror@gmx.de>
9858
9859         * javax/swing/AbstractListModel.java
9860         (getListDataListeners): New stubbed method.
9861         javax/swing/DefaultBoundedRangeModel.java
9862         (getChangeListeners): New stubbed method.
9863         javax/swing/DefaultSingleSelectionModel.java
9864         (getChangeListeners): New stubbed method.
9865
9866 2002-10-10  Michael Koch  <konqueror@gmx.de>
9867
9868         * gcj/.cvsignore: New file to ignore files generated during build.
9869         * include/.cvsignore: New file to ignore files generated during build.
9870
9871 2002-10-10  Michael Koch  <konqueror@gmx.de>
9872
9873         * java/net/HttpURLConnection.java
9874         (getPermission): New method.
9875         (getErrorStream): New stub method.
9876         (getHeaderFieldDate): New stub method.
9877         * java/net/Inet4Address.java:
9878         (isLinkLocalAddress): Typo fixed.
9879         * java/net/InetAddress.java:
9880         (readResolve): New stubbed method (for serialization).
9881         (isAnyLocalAddress): New stubbed method.
9882         (isLoopbackAddress): New stubbed method.
9883         (isLinkLocalAddress): New stubbed method.
9884         (isSiteLocalAddress): New stubbed method.
9885         (isMCGlobal): New stubbed method.
9886         (isMCNodeGlobal): New stubbed method.
9887         (isMCLinkLocal): New stubbed method.
9888         (isMCSiteLocal): New stubbed method.
9889         (isMCOrgLocal): New stubbed method.
9890         (getCanonicalHostName): New stubbed method.
9891         (getByAddress): Create instances of Inet4Address/Inet6Address,
9892         instead of InetAddress, documentation added.
9893         * java/net/MulticastSocket.java
9894         (getInterface): Removed FIXME.
9895         (getNetworkInterface): New method.
9896         (setNetworkInterface): New method.
9897         * java/net/NetworkInterface.java:
9898         (toString): Use property "line.separator" instead of "\n".
9899         * java/net/URLConnection.java
9900         (getContent): New stubbed method.
9901         * java/net/URLStreamHandler.java:
9902         (equals): New stubbed method.
9903         (hostsEqual): New stubbed method.
9904         (hashCode): New stubbed method.
9905         * java/net/natNetworkInterface.cc:
9906         (getRealNetworkInterfaces): Create Inet4Address object
9907         instead of InetAddress.
9908
9909 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9910
9911         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
9912         unsigned long temporary to implement insn_iushr shifts.
9913
9914 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9915
9916         * configure.host [s390*-*]: Enable Java interpreter.
9917         Enable hash synchronization.  Add sysdeps dir.
9918         * sysdep/s390/locks.h: New file.
9919
9920 2002-10-06  Mark Wielaard  <mark@klomp.org>
9921
9922         * java/lang/Thread.java (setDaemon): Check startable_flag,
9923         not isAlive().
9924
9925 2002-10-07  Michael Koch  <konqueror@gmx.de>
9926
9927         * java/nio/Buffer.java: New stub file.
9928         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
9929         of class Charset.
9930         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
9931         * Makefile.in: Regenerated.
9932
9933 2002-10-07  Michael Koch  <konqueror@gmx.de>
9934
9935         * java/nio/ByteBuffer.java:
9936         removed import of not commited class.
9937
9938 2002-10-07  Michael Koch  <konqueror@gmx.de>
9939
9940         * java/nio/ByteBuffer.java,
9941         java/nio/MappedByteBuffer.java:
9942         New files, forgot to add these dummies.
9943         * Makefile.am (java_native_source_files): Added new files.
9944         * Makefile.in: Regenerated.
9945
9946 2002-10-07  Michael Koch  <konqueror@gmx.de>
9947
9948         * java/nio/channels/AlreadyConnectedException.java,
9949         java/nio/channels/ClosedChannelException.java,
9950         java/nio/channels/ReadableByteChannel.java,
9951         java/nio/channels/InterruptibleChannel.java,
9952         java/nio/channels/Channel.java,
9953         java/nio/channels/ByteChannel.java,
9954         java/nio/channels/GatheringByteChannel.java,
9955         java/nio/channels/ScatteringByteChannel.java,
9956         java/nio/channels/WritableByteChannel.java,
9957         java/nio/charset/CharacterCodingException.java,
9958         java/nio/charset/IllegalCharsetNameException.java,
9959         java/nio/charset/MalformedInputException.java,
9960         java/nio/charset/UnmappableCharacterException.java,
9961         java/nio/charset/UnsupportedCharsetException.java,
9962         java/nio/charset/spi/CharsetProvider.java: New file.
9963         These files are exceptions or interfaces,
9964         no real or abstract classes.
9965         * Makefile.am (java_native_source_files): Added new files.
9966         * Makefile.in: Regenerated.
9967
9968 2002-10-05  Michael Koch  <konqueror@gmx.de>
9969
9970         * java/net/InetAddress.java
9971         (getByAddress): Fixed documentation.
9972         (getByAddress): New method.
9973         * java/net/Inet4Address.java: New file.
9974         * java/net/URL.java
9975         (URL): Documentation added.
9976         (getContent): Documentation added.
9977         (getContent): New stubbed method.
9978         (getQuery): New method.
9979         (openConnection): Documentation added.
9980         (openStream): Documentation added.
9981         (setURLStreamHandlerFactory): Documentation added.
9982         * java/net/URI.java: New stub file.
9983         * Makefile.am
9984         (java_native_source_files): Added java/net/Inet4Address.java,
9985         java/net/Inet6Address.java and java/net/URI.java.
9986         * Makefile.in: Regenerated.
9987
9988 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
9989
9990         * java/lang/ProtectionDomain.java (linesep): Remove field.
9991         (toString): Use System.getProperty("line.separator").
9992
9993 2002-10-04  Michael Koch  <konqueror@gmx.de>
9994
9995         * java/security/Identity.java: Added serialVersionUID.
9996         * java/security/KeyPair.java: Added serialVersionUID.
9997         * java/security/Provider.java: Added serialVersionUID.
9998         * java/security/SecureRandom.java: Added serialVersionUID.
9999         * java/security/SecureRandomSpi.java: Added serialVersionUID.
10000         * java/security/SignedObject.java: Added serialVersionUID.
10001         * java/security/cert/Certificate.java: Added serialVersionUID.
10002
10003 2002-10-04  Mark Wielaard <mark@klomp.org>
10004
10005         * java/security/Security.java: Use java.home or gnu.classpath.home
10006         to load providers.
10007         (loadProviders): Extra dir argument.
10008         (getProvider): Return null when not found.
10009
10010 2002-10-04  Mark Wielaard  <mark@klomp.org>
10011
10012         * java/lang/Throwable.java: Remerge with Classpath.
10013
10014 2002-10-04  Michael Koch  <konqueror@gmx.de>
10015
10016         * java/net/InetAddress.java:
10017         (isMulticastAddress): Added documentation.
10018         (getHostAddress): Added documentation.
10019         (toString): Added documentation.
10020         (getByAddress): Fixed documentation.
10021         (getByName): Added documentation.
10022         (getAllByName): Added documentation.
10023         (getLocalHost): Added documentation.
10024
10025 2002-10-04  Michael Koch  <konqueror@gmx.de>
10026
10027         * java/beans/beancontext/BeanContextChildSupport.java:
10028         Added serialVersionUID.
10029         * java/text/Collator.java: (compare): Made documentation HTML-aware.
10030         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
10031         * javax/naming/Name.java: Added serialVersionUID.
10032
10033 2002-10-03  Adam Megacz <adam@xwt.org>
10034
10035         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
10036         some functionality that isn't supported yet on WIN32.
10037
10038 2002-10-03  Tom Tromey  <tromey@redhat.com>
10039
10040         * Makefile.in: Rebuilt.
10041         * Makefile.am (awt_java_source_files): Added new files.
10042
10043 2002-10-03  Michael Koch  <konqueror@gmx.de>
10044
10045         * java/net/InetAddress.java
10046         (class InetAddress): Removed final keyword.
10047         (equals): Fixed typo.
10048         (getByAddress): New method.
10049
10050 2002-10-03  Michael Koch  <konqueror@gmx.de>
10051
10052         * java/awt/dnd/Autoscroll.java:
10053         New file, merge from Classpath.
10054         * java/awt/dnd/DragSourceAdapter.java:
10055         (dragExit): Fixed typos in argument type.
10056         (dragDropEnd): Fixed typos in argument type.
10057         * java/awt/dnd/DragSourceDropEvent.java:
10058         New file, merge from Classpath.
10059         * java/awt/dnd/DropTarget.java:
10060         Added stubs, merge from Classpath.
10061         * java/awt/dnd/DropTargetAdapter.java:
10062         New file, merge from Classpath.
10063         * java/awt/dnd/DropTargetContext.java:
10064         New file, merge from Classpath.
10065         * java/awt/dnd/DropTargetDragEvent.java:
10066         New file, merge from Classpath.
10067         * java/awt/dnd/DropTargetDropEvent.java:
10068         New file, merge from Classpath.
10069         * java/awt/dnd/DropTargetEvent.java:
10070         New file, merge from Classpath.
10071         * java/awt/dnd/DropTargetListener.java:
10072         New file, merge from Classpath.
10073         * java/awt/dnd/MouseDragGestureRecognizer.java:
10074         New file, merge from Classpath.
10075         * java/awt/dnd/peer/DropTargetContextPeer.java:
10076         New file, merge from Classpath.
10077
10078 2002-10-03  Michael Koch  <konqueror@gmx.de>
10079
10080         * java/net/DatagramPacket.java
10081         (setLength): Fixed typo and be HTML-aware.
10082         * java/net/InetSocketAddress.java
10083         (InetSocketAddress): Correct initialization of hostname, fixed typo.
10084         (equals): Added comment about equality of InetSocketAddress objects.
10085         * java/net/ServerSocket.java
10086         (accept): Added checks.
10087         (isClosed): New stubbed method.
10088         * java/net/SocketOptions.java: Reindention.
10089         * java/net/SocketPermission
10090         (SocketPermission): Documentation fixed.
10091
10092 2002-10-03  Michael Koch  <konqueror@gmx.de>
10093
10094         * java/net/DatagramSocket.java
10095         (receive): Check with SecurityManager AFTER the packet is received,
10096         check if connected to multicast address, documentation added.
10097         (send): Only check SecurityManager if connected, check address of
10098         packet to send.
10099         (connect): Implemented, documentation added.
10100         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
10101         * java/net/InetSocketAddress.java
10102         (whole file): Reindented.
10103         (hostname): New attribute.
10104         (InetSocketAddress): Initialize new attribute.
10105         (getAddress): Documentation added.
10106         (getHostName): Documentation added.
10107         (getPort): Documentation added.
10108         (hashCode): Documentation added.
10109         (isUnresolved): Documentation added.
10110         (toString): Conform to output of JDK 1.4.1, documentation added.
10111         * java/net/MulticastSocket.java
10112         (joinGroup): Removed FIXME, documentation added.
10113         (leaveGroup): Removed FIXME, documentation added.
10114         (send): Documentation added.
10115         * java/net/Socket.java
10116         (inputShutdown): New variable.
10117         (outputShutdown): New variable.
10118         (Socket): Initialize new variables.
10119         (getRemoteSocketAddress): Check if connected.
10120         (shutdownInput): Set new variable.
10121         (shutdownOutput): Set new variable.
10122         (isConnected): New method.
10123         (isClosed): New method.
10124         (isInputShutdown): New method.
10125         (isOutputShutdown): New method.
10126         * java/net/URLStreamHandler.java
10127         (URLStreamHandler): New method.
10128         (openConnection): Added documentation.
10129         (parseURL): Added documentation.
10130         (getHostAddress): New method.
10131         (getDefaultPort): New method.
10132
10133 2002-10-02  Tom Tromey  <tromey@redhat.com>
10134
10135         * java/rmi/activation/ActivationDesc.java,
10136         java/rmi/activation/ActivationGroupDesc.java,
10137         java/rmi/activation/ActivationGroupID.java,
10138         java/rmi/activation/ActivationID.java: New versions from
10139         Classpath.
10140
10141 2002-09-30  Bo Thorsen  <bo@suse.de>
10142
10143         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10144
10145 2002-09-30  Tom Tromey  <tromey@redhat.com>
10146
10147         * java/io/ObjectInputStream.java (resolveProxyClass): New method
10148         from Classpath.
10149         * Makefile.in: Rebuilt.
10150         * Makefile.am (rmi_java_source_files): Added new files.
10151         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10152         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10153         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10154         Classpath.
10155         * gnu/java/rmi/dgc/DGCImpl.java,
10156         gnu/java/rmi/dgc/DGCImpl_Skel.java,
10157         gnu/java/rmi/dgc/DGCImpl_Stub.java,
10158         gnu/java/rmi/registry/RegistryImpl_Skel.java,
10159         gnu/java/rmi/registry/RegistryImpl_Stub.java,
10160         gnu/java/rmi/server/RMIHashes.java,
10161         gnu/java/rmi/server/RMIObjectInputStream.java,
10162         gnu/java/rmi/server/RMIObjectOutputStream.java,
10163         gnu/java/rmi/server/UnicastConnection.java,
10164         gnu/java/rmi/server/UnicastConnectionManager.java,
10165         gnu/java/rmi/server/UnicastRef.java,
10166         gnu/java/rmi/server/UnicastServer.java,
10167         gnu/java/rmi/server/UnicastServerRef.java,
10168         java/rmi/MarshalledObject.java,
10169         java/rmi/server/RMIClassLoader.java,
10170         java/rmi/server/RemoteObject.java,
10171         java/rmi/server/UnicastRemoteObject.java,
10172         java/security/SecureClassLoader.java: Merged from Classpath.
10173
10174 2002-09-29  Anthony Green  <green@redhat.com>
10175
10176         * java/lang/reflect/UndeclaredThrowableException.java: New file.
10177         Imported from GNU Classpath.
10178         * java/lang/reflect/natProxy.cc: New file.
10179         * java/lang/reflect/InvocationHandler.java: New file.  Imported
10180         from GNU Classpath.
10181         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
10182         Classpath.
10183         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10184         Classpath.
10185         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10186         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10187         New statics.
10188         * gcj/javaprims.h ("Java"): Add new classes.
10189         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10190         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10191         java/lang/reflect/Proxy$$ProxyType.h): And this.
10192         (inner_nat_headers): Add these new headers.
10193         (ordinary_java_source_files): Add new files.
10194         (nat_source_files): Add new file.
10195         * Makefile.in: Rebuilt.
10196
10197 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
10198
10199         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10200         a single configuration.
10201
10202 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10203
10204         * java/util/TimeZone.java (getDSTSavings): New method.
10205         Fixes PR libgcj/7786.
10206
10207 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10208
10209         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10210         to see if `the_method == 0' before looking up vtable index.
10211         Fixes PR libgcj/7709.
10212
10213 2002-09-25  Tom Tromey  <tromey@redhat.com>
10214
10215         * java/lang/natClassLoader.cc:
10216         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10217         * resolve.cc: Include NoClassDefFoundError.h, not
10218         ClassNotFoundException.h.
10219         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
10220
10221         * defineclass.cc: Don't include ClassNotFoundException.h.
10222
10223         * resolve.cc: Include StringBuffer.
10224         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
10225
10226         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
10227         allocated but not initialized.
10228
10229 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10230
10231         Fix for PR libgcj/7766:
10232         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
10233         (getNextEntry): Set it.
10234         (closeEntry): Likewise.
10235         (read): Likewise.
10236         (close): Likewise.
10237         (available): Use it.
10238
10239 2002-09-25  Michael Koch  <konqueror@gmx.de>
10240
10241         * java/net/DatagramSocket.java
10242         (DatagramSocket): Initialize new instance variables.
10243         (close): Reset new instance variables.
10244         (getLocalAddress): Remove unneeded SecurityManager usage.
10245         (getLocalPort): Check if socket is already bound.
10246         (isConnected): New method.
10247         (getInetAddress): Implemented.
10248         (getPort): Better Implementation, documentation fixed.
10249         (getRemoteSocketAddress): New method.
10250         * java/net/JarURLConnection.java
10251         (element): Typo fixed.
10252         (getMainAttributes): New method.
10253         (getAttributes): New method (stub only).
10254         (getManifest): New method (stub only).
10255         * java/net/NetPermission.java: Added serialVersionsUID.
10256         * java/net/Socket.java
10257         (connect): Check blocking mode of associated channel,
10258         documentation added.
10259         (getLocalSocketAddress): Better implementation.
10260         (getRemoteSocketAddress): Implemented.
10261         (isBound): New method.
10262         (setSendBufferSize): Documentation added.
10263         * java/net/SocketAddress.java: Added serialVersionsUID.
10264         * java/net/SocketPermission.java: Added serialVersionsUID.
10265         * java/net/URL.java
10266         (URL): Wrap for shorter lines, initialize new instance variables,
10267         documentation added.
10268         (equals): Check new instance variables too.
10269         (getContent): Documentation added.
10270         (getPath): Documentation added.
10271         (getAuthority): New method.
10272         (getHost): Documentation added.
10273         (getPort): Documentation added.
10274         (getDefaultPort): New method.
10275         (getProtocol): Documentation added.
10276         (getUserInfo): Documentation added.
10277         (set): Initialize new instance variables, documentation added.
10278         * java/net/URLStreamHandler.java
10279         (setURL): New method.
10280         * java/net/natPlainDatagramSocketImpl.cc
10281         (connect): Fix exception name.
10282         (disconnect): Fix exception name.
10283
10284 2002-09-25  Michael Koch  <konqueror@gmx.de>
10285
10286         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
10287         * java/nio/channels/DatagramChannel.java:
10288         extends AbstractSelectableChannel
10289         * java/nio/channels/ServerSocketChannel.java:
10290         extends AbstractSelectableChannel
10291         * java/nio/channels/SocketChannel.java:
10292         extends AbstractSelectableChannel
10293         * Makefile.am (ordinary_java_source_files):
10294         java/nio/channels/spi/AbstractSelectableChannel.java added.
10295         * Makefile.in: Regenerated.
10296
10297 2002-09-25  Michael Koch  <konqueror@gmx.de>
10298
10299         * java/net/DatagramSocket.java
10300         (DatagramSocket): Exception documentation added.
10301         (bind): Exception documentation added, addded SecurityManager check,
10302         added SocketAddress type check.
10303         (getSoTimeout): Check impl.
10304         (receive): Fix SecurityManager check, check impl, documentation added.
10305         (send): Check channel mode, documentation added.
10306         (connect): New method.
10307         (disconnect): Implemented.
10308         (getLocalSocketAddress): New method.
10309         (getReceiveBufferSize): Check impl.
10310         (setReuseAddress): Check impl.
10311         (getReuseAddress): Check impl.
10312         (setBroadcast): Check impl.
10313         (getBroadcast): Check impl.
10314         (setTrafficClass): Check impl, Documentation cleared.
10315         (getTrafficClass): Check impl.
10316         (getSendBufferSize): Check impl.
10317         (setReceiveBufferSize): Check impl, documentation added.
10318         (setSendBufferSize): Documentation added.
10319         (setDatagramSocketImplFactory): New method.
10320         * java/net/HttpURLConnection.java
10321         (HTTP_INTERNAL_ERROR): The correct code is 500.
10322         (HTTP_NOT_IMPLEMENTED): Added new constant.
10323         (setFollowRedirects): Documentation added.
10324         (getInstanceFollowRedirects): New method.
10325         (setInstanceFollowRedirects): New method.
10326         (setRequestMethod): Documentation added.
10327         (getResponseCode): Documentation added.
10328         (getResponseMessage): Documentation added.
10329         * java/net/JarURLConnection.java
10330         (JarURLConnection): protected since JDK 1.4.
10331         (getJarEntry): java.io.IOException to IOException, documentation added.
10332         (getJarFile): Documentation added.
10333         * java/net/ServerSocket.java
10334         (ServerSocket): Private to public, exception added.
10335         (ServerSocket): java.io.IOException to IOException, documentation added.
10336         (bind): Check socket address type, documentation added.
10337         (bind): java.io.IOException to IOException, documentation added.
10338         (accept): Documentation added.
10339         (implAccept): Check ch is not non-blocking, documentation added.
10340         (setSoTimeout): Documentation fixed.
10341         (setReceiveBufferSize): Documentation added.
10342         * java/net/Socket.java
10343         (Socket): Documentation added.
10344         (bind): Documentation added.
10345         (connect): Check socket address type, documentation added.
10346         (getRemoteSocketAddress): New method.
10347         (getLocalSocketAddress): New method.
10348         (setSoLinger): Documentation added.
10349         (getReuseAddress): New method.
10350         (setReuseAddress): New method.
10351         (getTrafficClass): New method.
10352         (setTrafficClass): New method.
10353         * java/net/URLStreamHandler.java
10354         (openConnection): java.io.IOException to IOException.
10355         (parseURL): Documentation added.
10356         (sameFile): public to protected, documentation added.
10357         (setURL): Documentation added.
10358         * java/nio/IllegalBlockingModeException.java: New file.
10359         * Makefile.am (ordinary_java_source_files):
10360         added java/nio/IllegalBlockingModeException.java
10361         * Makefile.in: Regenerated.
10362
10363 2002-09-25  Michael Koch  <konqueror@gmx.de>
10364
10365         * java/net/DatagramPacket
10366         (DatagramPacket): Exception documentation added.
10367         (setData): Likewise.
10368         (setSocketAddress): Likewise.
10369         * java/net/DatagramSocketImpl.java
10370         (peek): Documentation addded.
10371         (peekData): Documentation addded.
10372         (send): Documentation addded.
10373         (receive): Documentation addded.
10374         (connect): New method.
10375         (disconnect): New method.
10376         (joinGroup): New abstract method.
10377         (leaveGroup): New abstract method.
10378         * java/net/InetSocketAddress.java
10379         (InetSocketAddress): Documentation added.
10380         (equals): final keyword added.
10381         (getAddress): final keyword added.
10382         (getHostName): final keyword added.
10383         (getPort): final keyword added.
10384         (hashCode): final keyword added.
10385         (isUnresolved): final keyword added.
10386         * java/net/MulticastSocket.java
10387         (MulticastSocket): Documentation added.
10388         (MulticastSocket): New method.
10389         (joinGroup): Documentation added.
10390         (joinGroup): New method.
10391         (leaveGroup): Documentation added.
10392         (leaveGroup): New method.
10393         (send): Documentation added.
10394         * java/net/NetworkInterface.java
10395         (getByName): Documentation added.
10396         (getByInetAddress): Documentation added.
10397         (getNetworkInterfaces): Documentation added.
10398         * java/net/PlainDatagramSocketImpl.java
10399         (connect): New method.
10400         (disconnect): New method.
10401         * java/net/SocketImpl.java
10402         (create): Documentation added.
10403         (shutdownInput): Convert public to protected, as it always was.
10404         (shutdownOutput): Convert public to protected, as it always was.
10405         * java/net/SocketOptions.java
10406         (whole file): Reintented.
10407         * java/net/URLClassLoader.java
10408         (URLClassLoader): SecurityManager check added, documentation added.
10409         (findResources): Documentation added.
10410         (findClass): Documentation added.
10411         (newInstance): More correct method arguments.
10412         * java/net/URLConnection.java
10413         (connect): Documentation added.
10414         (getContent): Documentation added.
10415         (getPermission): Documentation added.
10416         (getInputStream): Documentation added.
10417         (getOutputStream): Documentation added.
10418         (setDoInput): Throw correct exception, documentation added.
10419         (setDoOutput): Throw correct exception, documentation added.
10420         (setAllowUserInteraction): Throw correct exception, documentation added.
10421         (setUseCaches): Throw correct exception, documentation added.
10422         (setIfModifiedSince): Throw correct exception, documentation added.
10423         (setRequestProperty): Throw exception, documentation added.
10424         (addRequestProperty): Throw exception, documentation added.
10425         (getRequestProperty): Throw exception, documentation added.
10426         (getRequestProperties): Documentation added.
10427         (setContentHandlerFactory): Documentation added.
10428         (guessContentTypeFromName): protected to public.
10429         (setFileNameMap): Documentation added.
10430         * java/net/URLDecoder.java
10431         (URLDecoder): New method.
10432         (decode): Documentation added.
10433         (whole file): Reindented.
10434         * java/net/URLEncoder.java
10435         (encode): Documentation added.
10436         * java/net/natPlainDatagramSocketImpl.cc
10437         (connect): New method.
10438         (disconnect): New method.
10439         * javax/naming/RefAddr:
10440         (addrType): addrType was never final.
10441         (equals): Fix typo in method name.
10442         * javax/naming/BinaryRefAddr:
10443         (equals): Fix typo in method name.
10444
10445 2002-09-22  Tom Tromey  <tromey@redhat.com>
10446
10447         Fix for PR libgcj/6576:
10448         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10449         didn't find a given bundle.
10450         (getBundle): Don't require base bundle.
10451         (setParent): Removed old comment.
10452         (tryLocalBundle): Try components even if preceding components were
10453         empty.
10454
10455 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10456
10457         * Makefile.am (all-multi): Fix multilib parallel build.
10458
10459 2002-09-21  Michael Koch  <konqueror@gmx.de>
10460
10461         * java/net/Socket.java
10462         (sendUrgentData): New method.
10463         (getChannel): New method.
10464         * java/net/ServerSocket.java
10465         (getChannel): New method.
10466         (isBound): New method.
10467         * java/net/DatagramSocket.java
10468         (DatagramSocket): Two new methods.
10469         (bind): New method.
10470         (getChannel): New method.
10471         (isBound): New method.
10472         (send): Added newline to to make shorter lines.
10473         * java/net/PlainDatagramSocketImpl.java
10474         (mcastGrp): Added argument.
10475         (join): Use new mcastGrp.
10476         (leave): Use new mcastGrp.
10477         (joinGroup): New method.
10478         (leaveGroup): New method.
10479         * java/net/natPlainDatagramSocketImpl.cc
10480         (mcastGrp): Added argument, no yet really implemented.
10481         (getOption): Added newline for shorter lines.
10482         * java/net/natPlainSocketImpl.cc
10483         (read, setOption, getOption): Added newline for shorter lines.
10484
10485 2002-09-19  Tom Tromey  <tromey@redhat.com>
10486
10487        * java/lang/ClassLoader.java (resolveClass0): Set cause for
10488        newly-created exception.
10489
10490 2002-09-18  Michael Koch  <konqueror@gmx.de>
10491
10492         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10493         java/util/regex/PatternSyntaxException.java:
10494         Merge with classpath, new files.
10495         * Makefile.am (core_java_source_files):
10496         Added java/util/regex/Matcher.java,
10497         java/util/regex/Pattern.java,
10498         java/util/regex/PatternSyntaxException.java
10499         * Makefile.in: Regenerated.
10500         * include/config.h.in: Added HAVE_NET_IF_H.
10501         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
10502         Removed #if 0 ... #endif.
10503
10504 2002-09-17  Michael Koch  <konqueror@gmx.de>
10505
10506         * java/net/natNetworkInterface.cc:
10507         Removed unneed and yet wrong includes.
10508
10509 2002-09-17  Michael Koch  <konqueror@gmx.de>
10510
10511         * java/net/NetworkInterface.java: New file.
10512         * java/net/natNetworkInterface.java: New file.
10513         * configure.in: Added check for net/if.h.
10514         * configure: Regenerated.
10515         * Makefile.am
10516         (ordinary_java_source_files): Added NetworkInterface.java.
10517         (nat_source_files): Added natNetworkInterface.cc.
10518         * Makefile.in: Regenerated.
10519
10520 2002-09-16  Tom Tromey  <tromey@redhat.com>
10521
10522         * java/net/URLClassLoader.java (findClass): Code source for a
10523         class from a jar is not necessarily a jar: URL.
10524
10525 2002-09-16  Michael Koch  <konqueror@gmx.de>
10526
10527         * java/lang/AssertionError.java:
10528         Merge with classpath, fixes HTML.
10529         * java/rmi/server/LogStream.java:
10530         Merge with classpath, fixes some constants.
10531         * java/net/server/RemoteServer.java:
10532         Merge with classpath, adds serialVersionUID.
10533         * javax/naming/BinaryRefAddr.java:
10534         Merge with classpath, s/equal/equals/.
10535         * javax/naming/NamingException.java:
10536         Merge with classpath, fixed typo.
10537         * javax/naming/RefAddr.java:
10538         Merge with classpath, s/equal/equals/.
10539         * java/awt/Toolkit.java:
10540         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
10541         and typo fixed.
10542
10543 2002-09-15  Adam Megacz <adam@xwt.org>
10544
10545         * java/net/natPlainSocketImpl.cc: fixed typo.
10546
10547 2002-09-15  Adam Megacz <adam@xwt.org>
10548
10549         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
10550         which don't work on Win32 (yet).
10551
10552 2002-09-14  Adam Megacz <adam@xwt.org>
10553
10554         * java/net/natPlainDatagramSocket.cc: removed #include
10555         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
10556         * include/win32.h: included definition for IP_TOS to satisfy
10557         natPlainDatagramSocket.cc
10558
10559 2002-09-13  Michael Koch  <konqueror@gmx.de>
10560
10561         * java/net/DatagramPacket.java (DatagramPacket):
10562         Added linebreak for 80 chars per line.
10563         * java/net/JarURLConection.java
10564         (getInputStreami, getJarEntry): Likewise.
10565         * java/net/SocketPErmission.java
10566         (SocketPermission class docu, implies): Likewise.
10567         * java/net/URLClassLoader.java (findResources): Likewise.
10568         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
10569
10570 2002-09-13  Michael Koch  <konqueror@gmx.de>
10571
10572         * java/nio/channels/DatagramChannel.java,
10573         java/nio/channels/ServerSocketChannel.java
10574         java/nio/channels/SocketChannel.java:
10575         New dummy files to make java.net fully JDK 1.4 compatible
10576         * Makefile.am (ordinary_java_source_files): Added
10577         java/net/DatagramSocketImplFactory.java (long forgotten),
10578         java/nio/SocketChannel.java,
10579         java/nio/ServerSocketChannel.java,
10580         java/nio/DatagramChannel.java
10581         * Makefile.in: Regenrated.
10582
10583 2002-09-12  Michael Koch  <konqueror@gmx.de>
10584
10585         * java/net/DatagramSocketImpl.java
10586         (peekData): New method.
10587         * java/net/PlainDatagramSocketImpl.java
10588         (peekData): New method.
10589         * java/net/natPlainDatagramSocketImpl.cc
10590         (peekData): New method.
10591         * java/net/URLConnection
10592         (getPermission): New method.
10593         (addRequestProperty): New method.
10594         (getRequestProperties): New method.
10595         (guessContentTypeFromStream): New method, not really implemented.
10596         (URLConnection): Added/updated documentation.
10597         (connect): Added/updated documentation.
10598         (getURL): Added/updated documentation.
10599         (getContentLength): Added/updated documentation.
10600         (getContentType: Added/updated documentation.
10601         (getContentEncoding): Added/updated documentation.
10602         (getExpiration): Added/updated documentation.
10603         (getDate): Added/updated documentation.
10604         (getLastModified): Added/updated documentation.
10605         (getHeaderField): Added/updated documentation.
10606         (getHeaderFields): Added/updated documentation.
10607         (getHeaderFieldInt): Added/updated documentation.
10608         (getHeaderFieldDate): Added/updated documentation.
10609         (getHeaderFieldKey): Added/updated documentation.
10610         (getContent): Added/updated documentation.
10611         (getInputStream): Added/updated documentation.
10612         (getOutputStream): Added/updated documentation.
10613         (toString): Added/updated documentation.
10614         (setDoInput): Added/updated documentation.
10615         (getDoInput): Added/updated documentation.
10616         (setDoOutput): Added/updated documentation.
10617         (getDoOutput): Added/updated documentation.
10618         (setAllowUserInteraction): Added/updated documentation.
10619         (getAllowUserInteraction): Added/updated documentation.
10620         (setDefaultAllowUserInteraction): Added/updated documentation.
10621         (getDefaultAllowUserInteraction): Added/updated documentation.
10622         (setUseCaches): Added/updated documentation.
10623         (getUseCaches): Added/updated documentation.
10624         (setIfModifiedSince): Added/updated documentation.
10625         (getIfModifiedSince): Added/updated documentation.
10626         (getDefaultUseCaches): Added/updated documentation.
10627         (setDefaultUseCaches): Added/updated documentation.
10628         (setRequestProperty): Added/updated documentation.
10629         (getRequestProperty): Added/updated documentation.
10630         (setDefaultRequestProperty): Added/updated documentation.
10631         (getDefaultRequestProperty): Added/updated documentation.
10632         (setContentHandlerFactory): Added/updated documentation.
10633         (guessContentTypeFromName): Added/updated documentation.
10634         (getFileNameMap): Added/updated documentation.
10635         (setFileNameMap): Added/updated documentation.
10636
10637 2002-09-11  Michael Koch  <konqueror@gmx.de>
10638
10639         * java/net/Socket.java
10640         (Socket): protected to public (since JDK 1.4). Added @specnote.
10641         (bind): New method.
10642         (connect): Two new methods.
10643         (getKeepalive): Get correct socket option.
10644         (setKeepalive): Set correct socket option.
10645         (getOOBInline): New method.
10646         (setOOBInline): New method.
10647         * java/net/ServerSocket.java
10648         (bind): Two new methods.
10649         (getInetAddress): Reimplemented, catch exception.
10650         (getLocalSocketAddress): New method.
10651         (setReuseAddress): New method.
10652         (getReuseAdress): New method.
10653         (setReceiveBufferSize): New method.
10654         (getReceiveBufferSize): New method.
10655         (toString): Made string JDK 1.4 compliant.
10656
10657 2002-09-10  Michael Koch  <konqueror@gmx.de>
10658
10659         * java/net/SocketImpl.java
10660         (connect): New method.
10661         (supportsUrgentData): New method.
10662         (sendUrgentData): New method.
10663         * java/net/PlainSocketImpl.java
10664         (connect): One new method and two new implementation.
10665         (sendUrgentData): New method.
10666         * java/natPlainSocketImpl.cc
10667         (connect): Arguments changed, added support for timeouts.
10668         (getOption): Another __java_boolean to jboolean.
10669
10670 2002-09-07  Adam Megacz <adam@xwt.org>
10671
10672         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
10673         definition of IP_TOS.
10674
10675 2002-09-04  Michael Koch  <konqueror@gmx.de>
10676
10677         * java/net/DatagramSocket.java
10678         (DatagramSocket): Added documentation.
10679         (close): Likewise.
10680         (getLocalAddress): Likewise.
10681         (getLocalPort): Likewise.
10682         (receive): Likewise.
10683         (send): Likewise.
10684         (setSoTimeout): Likewise.
10685         (connect): New method.
10686         (disconnect): New method.
10687         (getInetAddress): New method (FIXME)
10688         (getPort): New method.
10689         (setReuseAddress): New method.
10690         (getReuseAddress): New method.
10691         (setBroadcast): New method.
10692         (getBroadcast): New method.
10693         (setTrafficClass): New method.
10694         (getTrafficClass): New method.
10695         * java/net/MulticastSocket.java):
10696         (getTTL): Added @see in documentation.
10697         (setTTL): Added @see in documentation.
10698         (setLoopbackMode): New method.
10699         (getLoopbackMode): New method.
10700         * java/net/PlainSocketImpl.java:
10701         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10702         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10703         * java/net/PlainDatagramSocketImpl.java
10704         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10705         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10706         * java/net/natPlainSocketImpl.cc
10707         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10708         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10709         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10710         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10711         This should also fix SO_KEEPALIVE
10712         * java/net/natPlainDatagramSocketImpl.cc
10713         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10714         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10715         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10716         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10717
10718 2002-09-04  Michael Koch  <konqueror@gmx.de>
10719
10720         * java/net/SocketOptions.java: added static variables to be JDK 1.4
10721         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
10722         IP_MULTICAST_LOOP, IP_TOS
10723
10724 2002-09-03  Tom Tromey  <tromey@redhat.com>
10725
10726         * java/lang/Class.h (_getDeclaredMethod): Declare.
10727         (_getMethod): Now private.
10728         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
10729         getDeclaredMethod.  Now returns NULL on failure.
10730         * java/lang/Class.java (_getDeclaredMethod): Declare.
10731         (getDeclaredMethod): No longer native; implements access checks.
10732
10733 2002-09-01  Mark Wielaard  <mark@klomp.org>
10734
10735         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
10736         (sanitizeStack): Correctly reset unknown and interpreter counters,
10737         detect interpreter runtime frames.
10738         (demangleInterpreterMethod): New method.
10739         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
10740         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
10741         filling in addrs[].
10742
10743 2002-09-02  Michael Koch  <konqueror@gmx.de>
10744
10745         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
10746         re-indented documentation.
10747
10748 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10749
10750         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
10751         public, per 1.4 spec.  Fixes PR libgcj/7785.
10752
10753 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
10754
10755         * Makefile.in: Rebuilt.
10756         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
10757
10758 2002-08-29  Tom Tromey  <tromey@redhat.com>
10759
10760         * java/net/JarURLConnection.java (getCertificates): New method
10761         from Classpath.
10762         * java/net/URLClassLoader.java (URLClassLoader): Extends
10763         SecureClassLoader.
10764         (definePackage): New method from Classpath.
10765         (getPermissions): Likewise.
10766         (newInstance): Likewise.
10767         (findClass): Construct CodeSource for new class (from Classpath).
10768         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
10769         methods.
10770         * java/net/URL.java (getUserInfo): New method.
10771         (set(String,String,int,String,String,String,String,String)): New
10772         method.
10773         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
10774         (shutdownInput, shutdownOutput): Declare.
10775         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
10776         Define.
10777         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
10778         (getOption): Likewise.
10779         (shutdownInput): New method.
10780         (shutdownOutput): Likewise.
10781         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
10782         keepalive.
10783         (getOption): Likewise.
10784         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
10785         * java/net/Socket.java (setKeepAlive): New method.
10786         (getKeepAlive): Likewise.
10787         (shutdownInput, shutdownOutput): New methods.
10788
10789 2002-08-29  Michael Koch  <konqueror@gmx.de>
10790
10791         * java/net/DatagramPacket.java: updated to JDK 1.4 API
10792         new methods are:
10793         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
10794           address),
10795         DatagramPacket(byte[] buf, int length, SocketAddress address),
10796         void setSocketAddress(SocketAddress address)
10797         public SocketAddress getSocketAddress()
10798
10799 2002-08-29  Tom Tromey  <tromey@redhat.com>
10800
10801         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
10802         ftruncate is missing.
10803         * configure, include/config.h.in: Rebuilt.
10804         * acconfig.h (HAVE_FTRUNCATE): Mention.
10805         * configure.in: Check for ftruncate.
10806
10807 2002-08-29  Tom Tromey  <tromey@redhat.com>
10808
10809         * include/jvm.h (struct _Jv_frame_info): New structure.
10810         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
10811         java-interp.h.
10812         (lookupInterp): New method.
10813         (getAddrAsString): Use _Jv_frame_info.
10814         (dladdrLookup): Likewise.
10815         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
10816         interpreted frame.
10817         (lookupInterp): Declare.
10818         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
10819         (fillInStackTrace): Collect information on interpreted frames.
10820         Use _Jv_frame_info.
10821         * interpret.cc: Include Thread.h.
10822         (run): Create and push _Jv_MethodChain object.
10823         (_Jv_EndOfInterpreter): New global.
10824         * java/lang/Thread.java (interp_frame): New field.
10825         * include/java-interp.h (struct _Jv_MethodChain): New structure.
10826         Include NameFinder.h.
10827
10828 2002-08-28  Tom Tromey  <tromey@redhat.com>
10829
10830         * java/lang/Class.h: Include Package.h.
10831         (Class::getProtectionDomain): Declare.
10832         (Class::getPackage): Declare.
10833
10834 2002-08-28  Michael Koch <konqueror@gmx.de>
10835
10836         * java/net/InetSocketAddress.java: Added some documentation and argument
10837         checks for the port numbers.
10838         * java/net/DatagramSocketImplFactory.java: New file.
10839
10840 2002-08-28  Michael Koch <konqueror@gmx.de>
10841
10842         * java/net/Authenticator.java: added some documentation.
10843
10844 2002-08-27  Tom Tromey  <tromey@redhat.com>
10845
10846         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
10847         class.
10848         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
10849
10850 2002-08-27  Michael Koch <konqueror@gmx.de>
10851
10852         * java/net/BindException.java,
10853         java/net/JarURLConnection.java,
10854         java/net/FileNameMap.java,
10855         java/net/HttpURLConnection.java,
10856         java/net/InetSocketAddress.java,
10857         java/net/DatagramPacket.java,
10858         java/net/DatagramSocket.java,
10859         java/net/DatagramSocketImpl.java,
10860         java/net/MulticastSocket.java,
10861         java/net/PasswordAuthentication.java,
10862         java/net/ServerSocket.java,
10863         java/net/Socket.java,
10864         java/net/URLClassLoader.java,
10865         java/net/URLConnection.java: add/update of some @since/@deprecated
10866
10867 2002-08-27  Tony Kimball <alk@pobox.com>
10868             Tom Tromey  <tromey@redhat.com>
10869
10870         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
10871         define.
10872         (::close): Removed.
10873         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
10874         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
10875         (::close): Removed.
10876         (PlainSocketImpl::close): Use NATIVE_CLOSE.
10877         * include/win32.h (getcwd): Removed declaration.  Include io.h.
10878
10879 2002-08-25  Adam Megacz <adam@xwt.org>
10880
10881         * include/win32.h (getcwd): copied function declaration as
10882         temporary fix for header confusion.
10883
10884 2002-08-24  Mark Wielaard <mark@klomp.org>
10885
10886         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
10887         (core_java_source_files): Add VMThrowable.java and NameFinder.java
10888         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
10889         and natNameFinder.cc.
10890         * Makefile.in: Regenerate.
10891         * prims.cc: Use trace_enabled from VMThrowable.
10892         * name-finder.cc: Removed.
10893         * gcj/javaprims.h: Add class VMThrowable.
10894         * gnu/gcj/runtime/NameFinder.java: New file.
10895         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
10896         * include/name-finder.h: Removed.
10897         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
10898         method stackTraceString().
10899         (printStackTrace (PrintWriter)): Likewise.
10900         (stackTraceString): Complete rewrite of old printStackTrace using
10901         StringBuffer.
10902         (stackTraceStringBuffer): New helper method for stackTraceString().
10903         (fillInStackTrace): Delegate to VMTrowable.
10904         (getStackTrace): Likewise.
10905         (getStackTrace0): Removed.
10906         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
10907         (setStackTrace): Copy given array.
10908         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
10909         * java/lang/VMThrowable.java: New class.
10910         * java/lang/natVMThrowable.cc: New file.
10911
10912 2003-08-23  Michael Koch  <konqueror@gmx.de>
10913
10914         * java/net/URLConnection.java,
10915         java/netJarURLConnection.java,
10916         gnu/gcj/protocol/core/Connection.java,
10917         gnu/gcj/protocol/file/Connection.java,
10918         gnu/gcj/protocol/http/Connection.java: Added implementation of
10919         getHeaderFields().
10920
10921 2002-08-22  Tom Tromey  <tromey@redhat.com>
10922
10923         * gij.cc (help): Document -cp and -classpath.
10924         (main): Handle -classpath.
10925
10926 2002-08-21  Tom Tromey  <tromey@redhat.com>
10927
10928         * Makefile.in: Rebuilt.
10929         * Makefile.am (ordinary_java_source_files): Added
10930         SocketAddress.java, InetSocketAddress.java.
10931         * java/net/PortUnreachableException.java: Merged with Classpath.
10932         * java/net/SocketTimeoutException.java: Likewise.
10933         * java/net/URISyntaxException.java: Likewise.
10934         * java/net/SocketAddress.java: New class from Classpath.
10935         * java/net/InetSocketAddress.java: Likewise.
10936
10937 2003-08-21  Michael Koch  <konqueror@gmx.de>
10938
10939         * java/net/Authenticator.java: updated JDK 1.4
10940         * java/net/ContentHandler.java: updated JDK 1.4
10941
10942 2002-08-20  Michael Koch  <konqueror@gmx.de>
10943
10944         * java/net/URISyntaxException.java: New file.
10945         * java/net/SocketTimeoutException.java: New file.
10946         * java/net/PortUnreachableException.java: New file.
10947         * Makefile.am: Updated.
10948         * Makefile.in: Rebuilt.
10949
10950 2002-08-18  Mark Wielaard  <mark@klomp.org>
10951
10952         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
10953         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10954         MessageDigestSpi (fixes Classpath bug #783).
10955
10956 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10957
10958         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
10959         (startProcess): Allocate path for chdir in async-signal-safe way.
10960
10961 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10962
10963         Fix for PR libgcj/7570 and PR libgcj/7578:
10964         * java/lang/natPosixProcess.cc: Include java/io/File.h.
10965         (startProcess): Handle new `dir' argument.
10966         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
10967         argument.
10968         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
10969         argument.
10970         (startProcess): Likewise.
10971         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
10972         argument.
10973         * java/lang/Runtime.java (execInternal): Added `dir' argument.
10974         (exec): Don't create new environment if ENV==null.  Pass DIR to
10975         execInternal.
10976         * java/lang/natRuntime.cc: Include java/io/File.h.
10977         (execInternal): Added `dir' argument.
10978
10979 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
10980
10981         * java/io/RandomAccessFile.java (skipBytes): Return number of
10982         bytes skipped.
10983
10984 2002-08-01  Mark Wielaard  <mark@klomp.org>
10985
10986         Reenable patch since shared library troubles on powerpc are solved:
10987         * gnu/java/security/provider/Gnu.java: Reference all implementation
10988         classes by using Class.getName().
10989         * gnu/java/security/der/DEREncodingException.java,
10990         gnu/java/security/provider/DERReader.java,
10991         gnu/java/security/provider/DERWriter.java,
10992         gnu/java/security/provider/DSAKeyPairGenerator.java,
10993         gnu/java/security/provider/DSAParameterGenerator.java,
10994         gnu/java/security/provider/DSAParameters.java,
10995         gnu/java/security/provider/DSASignature.java,
10996         gnu/java/security/provider/GnuDSAPrivateKey.java,
10997         gnu/java/security/provider/GnuDSAPublicKey.java,
10998         gnu/java/security/provider/MD5.java,
10999         gnu/java/security/util/Prime.java: New classes
11000         * Makefile.am (ordinary_java_source_files): Add above files.
11001         * Makefile.in: Regenerate.
11002         * gnu/java/security/provider/DefaultPolicy.java
11003         (getPermissions): Don't maintain static class variable of Permissions.
11004         * gnu/java/security/provider/SHA.java
11005         (engineUpdate): algorithm change.
11006         (engineDigest): algorithm change.
11007
11008 2002-08-09  Mark Wielaard  <mark@klomp.org>
11009
11010         * java/awt/image/MemoryImageSource.java: Change constructor to take
11011         int[] not byte[].
11012         * java/awt/Graphics2D.java: Uncomment methods that can now be
11013         compiled.
11014         * java/awt/GridBagLayout.java: New stub implementation.
11015         * javax/swing/text/html/HTML.java: Stub implementation.
11016         * javax/swing/text/html/parser/ParserDelegator.java: New stub
11017         implementation.
11018
11019         * Makefile.am: Add new files.
11020         * Makefile.in: Rebuilt.
11021
11022 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11023
11024         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
11025         methods in Graphics2D.
11026
11027 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11028
11029         AWT/Swing merge from GNU Classpath.
11030
11031         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
11032         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
11033         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
11034         java/awt/color/ProfileDataException.java,
11035         java/awt/CompositeContext.java, java/awt/Composite.java,
11036         java/awt/ContainerOrderFocusTraversalPolicy.java,
11037         java/awt/datatransfer/FlavorTable.java,
11038         java/awt/DefaultFocusTraversalPolicy.java,
11039         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
11040         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
11041         java/awt/dnd/DragGestureListener.java,
11042         java/awt/dnd/DragGestureRecognizer.java,
11043         java/awt/dnd/DragSourceAdapter.java,
11044         java/awt/dnd/DragSourceContext.java,
11045         java/awt/dnd/DragSourceDragEvent.java,
11046         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
11047         java/awt/dnd/DragSourceListener.java,
11048         java/awt/dnd/DragSourceMotionListener.java,
11049         java/awt/dnd/DropTarget.java,
11050         java/awt/dnd/InvalidDnDOperationException.java,
11051         java/awt/dnd/peer/DragSourceContextPeer.java,
11052         java/awt/event/AWTEventListenerProxy.java,
11053         java/awt/event/MouseWheelEvent.java,
11054         java/awt/event/MouseWheelListener.java,
11055         java/awt/event/WindowFocusListener.java,
11056         java/awt/event/WindowStateListener.java,
11057         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
11058         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
11059         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
11060         java/awt/geom/FlatteningPathIterator.java,
11061         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
11062         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
11063         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
11064         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
11065         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
11066         java/awt/image/ImagingOpException.java,
11067         java/awt/image/RasterFormatException.java,
11068         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
11069         java/awt/image/VolatileImage.java,
11070         java/awt/image/WritableRenderedImage.java,
11071         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
11072         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
11073         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
11074         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
11075         java/awt/PageAttributes.java, java/awt/print/Book.java,
11076         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
11077         java/awt/print/Paper.java, java/awt/print/Printable.java,
11078         java/awt/print/PrinterAbortException.java,
11079         java/awt/print/PrinterException.java,
11080         java/awt/print/PrinterGraphics.java,
11081         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
11082         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
11083         java/awt/Stroke.java, java/awt/TexturePaint.java,
11084         javax/accessibility/AccessibleAction.java,
11085         javax/accessibility/AccessibleBundle.java,
11086         javax/accessibility/AccessibleComponent.java,
11087         javax/accessibility/AccessibleContext.java,
11088         javax/accessibility/AccessibleEditableText.java,
11089         javax/accessibility/AccessibleExtendedComponent.java,
11090         javax/accessibility/AccessibleExtendedTable.java,
11091         javax/accessibility/AccessibleHyperlink.java,
11092         javax/accessibility/AccessibleHypertext.java,
11093         javax/accessibility/AccessibleIcon.java,
11094         javax/accessibility/Accessible.java,
11095         javax/accessibility/AccessibleKeyBinding.java,
11096         javax/accessibility/AccessibleRelation.java,
11097         javax/accessibility/AccessibleRelationSet.java,
11098         javax/accessibility/AccessibleResourceBundle.java,
11099         javax/accessibility/AccessibleRole.java,
11100         javax/accessibility/AccessibleSelection.java,
11101         javax/accessibility/AccessibleState.java,
11102         javax/accessibility/AccessibleStateSet.java,
11103         javax/accessibility/AccessibleTable.java,
11104         javax/accessibility/AccessibleTableModelChange.java,
11105         javax/accessibility/AccessibleText.java,
11106         javax/accessibility/AccessibleValue.java,
11107         javax/swing/AbstractAction.java,
11108         javax/swing/AbstractButton.java,
11109         javax/swing/AbstractCellEditor.java,
11110         javax/swing/AbstractListModel.java,
11111         javax/swing/AbstractSet.java, javax/swing/Action.java,
11112         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
11113         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
11114         javax/swing/border/CompoundBorder.java,
11115         javax/swing/border/EmptyBorder.java,
11116         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
11117         javax/swing/border/LineBorder.java,
11118         javax/swing/border/MatteBorder.java,
11119         javax/swing/border/TitledBorder.java,
11120         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
11121         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
11122         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
11123         javax/swing/CellRendererPane.java,
11124         javax/swing/colorchooser/AbstractColorChooserPanel.java,
11125         javax/swing/colorchooser/ColorChooserComponentFactory.java,
11126         javax/swing/colorchooser/ColorSelectionModel.java,
11127         javax/swing/colorchooser/DefaultColorSelectionModel.java,
11128         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
11129         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
11130         javax/swing/DefaultBoundedRangeModel.java,
11131         javax/swing/DefaultButtonModel.java,
11132         javax/swing/DefaultCellEditor.java,
11133         javax/swing/DefaultCellRenderer.java,
11134         javax/swing/DefaultComboBoxModel.java,
11135         javax/swing/DefaultDesktopManager.java,
11136         javax/swing/DefaultFocusManager.java,
11137         javax/swing/DefaultListCellRenderer.java,
11138         javax/swing/DefaultListModel.java,
11139         javax/swing/DefaultListSelectionModel.java,
11140         javax/swing/DefaultSingleSelectionModel.java,
11141         javax/swing/DesktopManager.java,
11142         javax/swing/event/AncestorEvent.java,
11143         javax/swing/event/AncestorListener.java,
11144         javax/swing/event/CaretEvent.java,
11145         javax/swing/event/CaretListener.java,
11146         javax/swing/event/CellEditorListener.java,
11147         javax/swing/event/ChangeEvent.java,
11148         javax/swing/event/ChangeListener.java,
11149         javax/swing/event/DocumentEvent.java,
11150         javax/swing/event/DocumentListener.java,
11151         javax/swing/event/EventListenerList.java,
11152         javax/swing/event/HyperlinkEvent.java,
11153         javax/swing/event/HyperlinkListener.java,
11154         javax/swing/event/InternalFrameAdapter.java,
11155         javax/swing/event/InternalFrameEvent.java,
11156         javax/swing/event/InternalFrameListener.java,
11157         javax/swing/event/ListDataEvent.java,
11158         javax/swing/event/ListDataListener.java,
11159         javax/swing/event/ListSelectionEvent.java,
11160         javax/swing/event/ListSelectionListener.java,
11161         javax/swing/event/MenuDragMouseEvent.java,
11162         javax/swing/event/MenuDragMouseListener.java,
11163         javax/swing/event/MenuEvent.java,
11164         javax/swing/event/MenuKeyEvent.java,
11165         javax/swing/event/MenuKeyListener.java,
11166         javax/swing/event/MenuListener.java,
11167         javax/swing/event/MouseInputAdapter.java,
11168         javax/swing/event/MouseInputListener.java,
11169         javax/swing/event/PopupMenuEvent.java,
11170         javax/swing/event/PopupMenuListener.java,
11171         javax/swing/event/SwingPropertyChangeSupport.java,
11172         javax/swing/event/TableColumnModelEvent.java,
11173         javax/swing/event/TableColumnModelListener.java,
11174         javax/swing/event/TableModelEvent.java,
11175         javax/swing/event/TableModelListener.java,
11176         javax/swing/event/TreeExpansionEvent.java,
11177         javax/swing/event/TreeExpansionListener.java,
11178         javax/swing/event/TreeModelEvent.java,
11179         javax/swing/event/TreeModelListener.java,
11180         javax/swing/event/TreeSelectionEvent.java,
11181         javax/swing/event/TreeSelectionListener.java,
11182         javax/swing/event/TreeWillExpandListener.java,
11183         javax/swing/event/UndoableEditEvent.java,
11184         javax/swing/event/UndoableEditListener.java,
11185         javax/swing/filechooser/FileFilter.java,
11186         javax/swing/filechooser/FileSystemView.java,
11187         javax/swing/filechooser/FileView.java,
11188         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11189         javax/swing/Icon.java, javax/swing/ImageIcon.java,
11190         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11191         javax/swing/JApplet.java, javax/swing/JButton.java,
11192         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11193         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11194         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11195         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11196         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11197         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11198         javax/swing/JLayeredPane.java, javax/swing/JList.java,
11199         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11200         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11201         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11202         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11203         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11204         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11205         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11206         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11207         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11208         javax/swing/JTextField.java, javax/swing/JTextPane.java,
11209         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11210         javax/swing/JToolTip.java, javax/swing/JTree.java,
11211         javax/swing/JViewport.java, javax/swing/JWindow.java,
11212         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11213         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11214         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11215         javax/swing/MenuSelectionManager.java,
11216         javax/swing/MutableComboBoxModel.java,
11217         javax/swing/OverlayLayout.java,
11218         javax/swing/plaf/ActionMapUIResource.java,
11219         javax/swing/plaf/basic/BasicBorders.java,
11220         javax/swing/plaf/basic/BasicButtonUI.java,
11221         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11222         javax/swing/plaf/basic/BasicDefaults.java,
11223         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11224         javax/swing/plaf/basic/BasicIconFactory.java,
11225         javax/swing/plaf/basic/BasicLabelUI.java,
11226         javax/swing/plaf/basic/BasicListUI.java,
11227         javax/swing/plaf/basic/BasicLookAndFeel.java,
11228         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11229         javax/swing/plaf/basic/BasicPanelUI.java,
11230         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11231         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11232         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11233         javax/swing/plaf/basic/BasicTextUI.java,
11234         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11235         javax/swing/plaf/basic/BasicTreeUI.java,
11236         javax/swing/plaf/basic/BasicViewportUI.java,
11237         javax/swing/plaf/BorderUIResource.java,
11238         javax/swing/plaf/ButtonUI.java,
11239         javax/swing/plaf/ColorChooserUI.java,
11240         javax/swing/plaf/ColorUIResource.java,
11241         javax/swing/plaf/ComboBoxUI.java,
11242         javax/swing/plaf/ComponentInputMapUIResource.java,
11243         javax/swing/plaf/ComponentUI.java,
11244         javax/swing/plaf/DesktopIconUI.java,
11245         javax/swing/plaf/DesktopPaneUI.java,
11246         javax/swing/plaf/DimensionUIResource.java,
11247         javax/swing/plaf/FileChooserUI.java,
11248         javax/swing/plaf/FontUIResource.java,
11249         javax/swing/plaf/IconUIResource.java,
11250         javax/swing/plaf/InputMapUIResource.java,
11251         javax/swing/plaf/InsetsUIResource.java,
11252         javax/swing/plaf/InternalFrameUI.java,
11253         javax/swing/plaf/LabelUI.java,
11254         javax/swing/plaf/ListUI.java,
11255         javax/swing/plaf/MenuBarUI.java,
11256         javax/swing/plaf/MenuItemUI.java,
11257         javax/swing/plaf/OptionPaneUI.java,
11258         javax/swing/plaf/PanelUI.java,
11259         javax/swing/plaf/PopupMenuUI.java,
11260         javax/swing/plaf/ProgressBarUI.java,
11261         javax/swing/plaf/RootPaneUI.java,
11262         javax/swing/plaf/ScrollBarUI.java,
11263         javax/swing/plaf/ScrollPaneUI.java,
11264         javax/swing/plaf/SeparatorUI.java,
11265         javax/swing/plaf/SliderUI.java,
11266         javax/swing/plaf/SplitPaneUI.java,
11267         javax/swing/plaf/TabbedPaneUI.java,
11268         javax/swing/plaf/TableHeaderUI.java,
11269         javax/swing/plaf/TableUI.java,
11270         javax/swing/plaf/TextUI.java,
11271         javax/swing/plaf/ToolBarUI.java,
11272         javax/swing/plaf/ToolTipUI.java,
11273         javax/swing/plaf/TreeUI.java,
11274         javax/swing/plaf/UIResource.java,
11275         javax/swing/plaf/ViewportUI.java,
11276         javax/swing/ProgressMonitorInputStream.java,
11277         javax/swing/ProgressMonitor.java,
11278         javax/swing/Renderer.java,
11279         javax/swing/RepaintManager.java,
11280         javax/swing/RootPaneContainer.java,
11281         javax/swing/Scrollable.java,
11282         javax/swing/ScrollPaneConstants.java,
11283         javax/swing/ScrollPaneLayout.java,
11284         javax/swing/SingleSelectionModel.java,
11285         javax/swing/SizeRequirements.java,
11286         javax/swing/SizeSequence.java,
11287         javax/swing/SwingConstants.java,
11288         javax/swing/SwingUtilities.java,
11289         javax/swing/table/AbstractTableModel.java,
11290         javax/swing/table/DefaultTableCellRenderer.java,
11291         javax/swing/table/DefaultTableColumnModel.java,
11292         javax/swing/table/DefaultTableModel.java,
11293         javax/swing/table/TableCellEditor.java,
11294         javax/swing/table/TableCellRenderer.java,
11295         javax/swing/table/TableColumn.java,
11296         javax/swing/table/TableColumnModel.java,
11297         javax/swing/table/TableModel.java,
11298         javax/swing/text/AbstractDocument.java,
11299         javax/swing/text/AttributeSet.java,
11300         javax/swing/text/BadLocationException.java,
11301         javax/swing/text/Caret.java,
11302         javax/swing/text/CharacterIterator.java,
11303         javax/swing/text/ComponentView.java,
11304         javax/swing/text/DefaultCaret.java,
11305         javax/swing/text/DefaultEditorKit.java,
11306         javax/swing/text/Document.java,
11307         javax/swing/text/EditorKit.java,
11308         javax/swing/text/Element.java,
11309         javax/swing/text/GapContent.java,
11310         javax/swing/text/JTextComponent.java,
11311         javax/swing/text/Keymap.java,
11312         javax/swing/text/MutableAttributeSet.java,
11313         javax/swing/text/PlainDocument.java,
11314         javax/swing/text/PlainEditorKit.java,
11315         javax/swing/text/Position.java,
11316         javax/swing/text/Segment.java,
11317         javax/swing/text/StyledDocument.java,
11318         javax/swing/text/StyledEditorKit.java,
11319         javax/swing/text/Style.java,
11320         javax/swing/text/TextAction.java,
11321         javax/swing/text/ViewFactory.java,
11322         javax/swing/text/View.java,
11323         javax/swing/Timer.java,
11324         javax/swing/ToggleButtonModel.java,
11325         javax/swing/ToolTipManager.java,
11326         javax/swing/tree/AbstractLayoutCache.java,
11327         javax/swing/tree/DefaultMutableTreeNode.java,
11328         javax/swing/tree/DefaultTreeCellEditor.java,
11329         javax/swing/tree/DefaultTreeCellRenderer.java,
11330         javax/swing/tree/DefaultTreeModel.java,
11331         javax/swing/tree/DefaultTreeSelectionModel.java,
11332         javax/swing/tree/ExpandVetoException.java,
11333         javax/swing/tree/FixedHeightLayoutCache.java,
11334         javax/swing/tree/MutableTreeNode.java,
11335         javax/swing/tree/RowMapper.java,
11336         javax/swing/tree/TreeCellEditor.java,
11337         javax/swing/tree/TreeCellRenderer.java,
11338         javax/swing/tree/TreeModel.java,
11339         javax/swing/tree/TreeNode.java,
11340         javax/swing/tree/TreePath.java,
11341         javax/swing/tree/TreeSelectionModel.java,
11342         javax/swing/tree/VariableHeightLayoutCache.java,
11343         javax/swing/UIDefaults.java,
11344         javax/swing/UIManager.java,
11345         javax/swing/undo/AbstractUndoableEdit.java,
11346         javax/swing/undo/CannotRedoException.java,
11347         javax/swing/undo/CannotUndoException.java,
11348         javax/swing/undo/CompoundEdit.java,
11349         javax/swing/undo/StateEditable.java,
11350         javax/swing/undo/StateEdit.java,
11351         javax/swing/undo/UndoableEdit.java,
11352         javax/swing/undo/UndoableEditSupport.java,
11353         javax/swing/undo/UndoManager.java,
11354         javax/swing/UnsupportedLookAndFeelException.java,
11355         javax/swing/ViewportLayout.java,
11356         javax/swing/WindowConstants.java: New files, from GNU Classpath.
11357
11358         * java/awt/ActiveEvent.java,
11359         java/awt/Adjustable.java, java/awt/AWTError.java,
11360         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
11361         java/awt/AWTException.java, java/awt/AWTPermission.java,
11362         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
11363         java/awt/Color.java, java/awt/Component.java,
11364         java/awt/ComponentOrientation.java, java/awt/Container.java,
11365         java/awt/datatransfer/MimeTypeParseException.java,
11366         java/awt/datatransfer/Transferable.java,
11367         java/awt/datatransfer/UnsupportedFlavorException.java,
11368         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
11369         java/awt/event/ActionListener.java,
11370         java/awt/event/AdjustmentEvent.java,
11371         java/awt/event/AdjustmentListener.java,
11372         java/awt/event/AWTEventListener.java,
11373         java/awt/event/ComponentAdapter.java,
11374         java/awt/event/ComponentEvent.java,
11375         java/awt/event/ComponentListener.java,
11376         java/awt/event/ContainerAdapter.java,
11377         java/awt/event/ContainerEvent.java,
11378         java/awt/event/ContainerListener.java,
11379         java/awt/event/FocusAdapter.java,
11380         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
11381         java/awt/event/HierarchyBoundsAdapter.java,
11382         java/awt/event/HierarchyBoundsListener.java,
11383         java/awt/event/HierarchyEvent.java,
11384         java/awt/event/HierarchyListener.java,
11385         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
11386         java/awt/event/InputMethodListener.java,
11387         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11388         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11389         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11390         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11391         java/awt/event/MouseListener.java,
11392         java/awt/event/MouseMotionAdapter.java,
11393         java/awt/event/MouseMotionListener.java,
11394         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11395         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11396         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11397         java/awt/event/WindowListener.java, java/awt/Font.java,
11398         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11399         java/awt/geom/Ellipse2D.java,
11400         java/awt/geom/IllegalPathStateException.java,
11401         java/awt/geom/Line2D.java,
11402         java/awt/geom/NoninvertibleTransformException.java,
11403         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11404         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11405         java/awt/geom/RoundRectangle2D.java,
11406         java/awt/GraphicsConfiguration.java,
11407         java/awt/IllegalComponentStateException.java,
11408         java/awt/image/IndexColorModel.java,
11409         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11410         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11411         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11412         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11413         java/awt/MenuItem.java, java/awt/PaintContext.java,
11414         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11415         java/awt/Polygon.java, java/awt/PrintGraphics.java,
11416         java/awt/PrintJob.java, java/awt/Rectangle.java,
11417         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11418         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11419         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11420
11421         * java/awt/im/spi/InputMethod.java,
11422         java/awt/im/spi/InputMethodContext.java,
11423         java/awt/im/spi/InputMethodDescriptor.java,
11424         java/awt/image/renderable/ContextualRenderedImageFactory.java,
11425         java/awt/image/renderable/ParameterBlock.java,
11426         java/awt/image/renderable/RenderContext.java,
11427         java/awt/image/renderable/RenderableImage.java,
11428         java/awt/image/renderable/RenderableImageOp.java,
11429         java/awt/image/renderable/RenderableImageProducer.java,
11430         java/awt/image/renderable/RenderedImageFactory.java: New files from
11431         classpath.
11432
11433         * gnu/java/awt/EventModifier.java,
11434         gnu/java/awt/image/ImageDecoder.java,
11435         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11436
11437         * gnu/awt/xlib/XGraphicsConfiguration.java,
11438         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11439         API.
11440
11441         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11442         GNU Classpath.
11443
11444         * Makefile.am: Add new files.
11445         * Makefile.in: Rebuilt.
11446
11447 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11448
11449         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11450         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11451         findResource, getResources, findResources): Add javadoc from classpath.
11452         (getSystemResources): Implemented.
11453
11454 2002-08-01  Mark Wielaard  <mark@klomp.org>
11455
11456         Revert patch that breaks libgcj shared library on powerpc:
11457         * gnu/java/security/provider/Gnu.java: Reverse referencing all
11458         implementation classes by using Class.getName(). Uses Strings again.
11459         * gnu/java/security/der/DEREncodingException.java,
11460         gnu/java/security/provider/DERReader.java,
11461         gnu/java/security/provider/DERWriter.java,
11462         gnu/java/security/provider/DSAKeyPairGenerator.java,
11463         gnu/java/security/provider/DSAParameterGenerator.java,
11464         gnu/java/security/provider/DSAParameters.java,
11465         gnu/java/security/provider/DSASignature.java,
11466         gnu/java/security/provider/GnuDSAPrivateKey.java,
11467         gnu/java/security/provider/GnuDSAPublicKey.java,
11468         gnu/java/security/provider/MD5.java,
11469         gnu/java/security/util/Prime.java: Removed.
11470         * Makefile.am (ordinary_java_source_files): Remove above files.
11471         * Makefile.in: Regenerate.
11472         * gnu/java/security/provider/DefaultPolicy.java
11473         (getPermissions): Revert to maintaining static class variable of
11474         Permissions.
11475         * gnu/java/security/provider/SHA.java
11476         (engineUpdate): Revert algorithm change.
11477         (engineDigest): Revert algorithm change.
11478
11479 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
11480
11481         * configure.host: Add SH support.
11482         * sysdep/sh/locks.h: New file.
11483
11484 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11485
11486         * java/awt/Frame.java (Frame): Remove println calls.
11487
11488 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
11489
11490         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
11491         * configure: Rebuilt.
11492
11493 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11494
11495         * sysdep/powerpc/locks.h: Formatting.
11496         (_LARX): Define.
11497         (_STCX): Define.
11498         (compare_and_swap): Use _LARX and _STCX.
11499         (compare_and_swap_release): Likewise.
11500
11501 2002-07-26  Tom Tromey  <tromey@redhat.com>
11502
11503         * java/net/Authenticator.java: New version from Classpath.
11504         * java/net/DatagramSocketImpl.java: New version from Classpath.
11505
11506 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11507
11508         * configure.host: Add powerpc64*-* entry.
11509
11510 2002-07-26  Tom Tromey  <tromey@redhat.com>
11511
11512         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
11513         fcntl.h.
11514
11515 2002-07-24  Tom Tromey  <tromey@redhat.com>
11516
11517         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
11518         argument to _load.
11519
11520 2002-07-24  Tom Tromey  <tromey@redhat.com>
11521             Tony Kimball <alk@pobox.com>
11522
11523         * java/io/natFileDescriptorWin32.cc (setLength): New method.
11524         * java/io/natFileDescriptorPosix.cc (setLength): New method.
11525         * java/io/RandomAccessFile.java (setLength): New method.
11526         * java/io/natFileDescriptorEcos.cc (setLength): New method.
11527         * java/io/FileDescriptor.java (setLength): New method.
11528
11529 2002-07-24  Mark Wielaard  <mark@klomp.org>
11530
11531         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
11532         * java/io/ObjectInputStream.java (setBooleanField): Before setting
11533         field call setAccessible(true).
11534         (setByteField): Likewise.
11535         (setCharField): Likewise.
11536         (setDoubleField): Likewise.
11537         (setFloatField): Likewise.
11538         (setIntField): Likewise.
11539         (setLongField): Likewise.
11540         (setShortField): Likewise.
11541         (setObjectField): Likewise.
11542
11543 2002-07-24  Tom Tromey  <tromey@redhat.com>
11544
11545         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
11546         use toString() to format array element.
11547
11548 2002-07-23  Mark Wielaard  <mark@klomp.org>
11549
11550         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11551         MessageDigestSpi (fixes Classpath bug #783).
11552
11553 2002-07-21  Mark Wielaard  <mark@klomp.org>
11554
11555         * gnu/java/security/provider/Gnu.java: Reference all implementation
11556         classes by using Class.getName().
11557
11558 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
11559
11560         * java/lang/ieeefp.h: Add x86-64 support.
11561         * configure.in: Likewise.
11562         * configure.host: Likewise.
11563         * configure: Regenerated.
11564         * sysdep/x86-64/locks.h: New file with x86-64 locks.
11565
11566 2002-07-16  Mark Wielaard  <mark@klomp.org>
11567
11568         * java/io/StreamTokenizer.java (pushBack): Update documentation.
11569         (whitespaceChars): call resetChar().
11570
11571 2002-07-15  Tom Tromey  <tromey@redhat.com>
11572
11573         * Makefile.in: Rebuilt.
11574         * Makefile.am (awt_java_source_files): Added new files.
11575         * java/beans/ExceptionListener.java: Merged with Classpath.
11576         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
11577         * java/beans/PropertyChangeListener.java: Merged with Classpath.
11578         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
11579         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
11580         * java/beans/VetoableChangeListener.java: Merged with Classpath.
11581         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
11582         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
11583
11584 2002-07-14  Mark Wielaard  <mark@klomp.org>
11585
11586         * gnu/java/security/der/DEREncodingException.java,
11587         gnu/java/security/provider/DERReader.java,
11588         gnu/java/security/provider/DERWriter.java,
11589         gnu/java/security/provider/DSAKeyPairGenerator.java,
11590         gnu/java/security/provider/DSAParameterGenerator.java,
11591         gnu/java/security/provider/DSAParameters.java,
11592         gnu/java/security/provider/DSASignature.java,
11593         gnu/java/security/provider/GnuDSAPrivateKey.java,
11594         gnu/java/security/provider/GnuDSAPublicKey.java,
11595         gnu/java/security/provider/MD5.java,
11596         gnu/java/security/util/Prime.java: New files from Classpath.
11597         * Makefile.am (ordinary_java_source_files): Add new files.
11598         * Makefile.in: Regenerate.
11599
11600 2002-07-14  C. Brian Jones <cbj@gnu.org>
11601
11602         * gnu/java/security/provider/DefaultPolicy.java
11603         (getPermissions): do not maintain static class variable of
11604         Permissions
11605         * gnu/java/security/provider/SHA.java
11606         (engineUpdate): algorithm change
11607         (engineDigest): algorithm change
11608
11609 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
11610
11611         For PR libgcj/7292:
11612         * java/lang/Character.java (toString(char)): Now static.
11613
11614 2002-07-12  Mark Wielaard  <mark@klomp.org>
11615
11616         * java/lang/natThrowable.cc (printRawStackTrace): removed.
11617         (getStackTrace0): new method.
11618         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
11619         (printStackTrace(PrintWriter)): replace with pure java implementation.
11620         (printRawStackTrace): removed.
11621         (getStackTrace0): new method.
11622         * java/lang/StackTraceElement.java (toString): add extra whitespace.
11623         * gcj/javaprims.h: regenerate class list.
11624         * include/name-finder.h (lookup): new returns StackTraceElement*.
11625         (method_name, file_name): fields removed.
11626         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
11627         (~_Jv_name_finder): close new descriptors.
11628         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
11629         (createStackTraceElement): new method.
11630         (lookup): returns StackTraceElement*, uses createStackTraceElement().
11631
11632 2002-07-10  Tom Tromey  <tromey@redhat.com>
11633
11634         * configure: Rebuilt.
11635         * configure.in: Use `test' after `&&'.  From Chris Faylor.
11636
11637 2002-07-08  Mark Wielaard  <mark@klomp.org>
11638
11639         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
11640         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
11641         java.sql.DatabaseMetaData.TestJdbc20
11642
11643 2002-07-05  Tony Kimball  <alk@pobox.com>
11644
11645         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
11646
11647 2002-07-04  Tom Tromey  <tromey@redhat.com>
11648             Jeff Sturm  <jsturm@one-point.com>
11649
11650         Fix for PR libgcj/7060:
11651         * java/lang/Class.h (_getMethod): Renamed from getMethod.
11652         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
11653         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
11654         * java/lang/Class.java (getMethod): New Java implementation;
11655         complies with spec.
11656         (_getMethod): New native method.
11657
11658 2002-07-02  Tom Tromey  <tromey@redhat.com>
11659             David Hovemeyer  <daveho@cs.umd.edu>
11660
11661         * java/text/ChoiceFormat.java
11662         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
11663         in check loop.
11664         * java/text/MessageFormat.java
11665         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
11666         to MessageFormat.
11667
11668 2002-07-01  Tom Tromey  <tromey@redhat.com>
11669
11670         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
11671         StringTokenizer on null string.  For PR libgcj/7180.
11672         From daveho@cs.umd.edu.
11673
11674 2002-06-24  Tom Tromey  <tromey@redhat.com>
11675
11676         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
11677         (IntegerClass): Likewise.
11678         * java/lang/natClass.cc (CloneableClass): Removed.
11679         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
11680         ConstructorClass): Likewise.
11681         * java/lang/natClassLoader.cc (CloneableClass): Removed.
11682         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
11683         SerializableClass): Likewise.
11684         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
11685         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
11686         LongClass, FloatClass, DoubleClass): Likewise.
11687
11688         * verify.cc (branch_prepass): Updated for change to exception
11689         handler type.
11690         (verify_instructions_0): Likewise.
11691         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
11692         (handleExceptionTableEntry): Updated for change to exception
11693         handler type.
11694         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
11695         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
11696         (union _Jv_InterpPC): New.
11697         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
11698         (class _Jv_InterpMethod): Added new `prepared' field.
11699         (class _Jv_InterpMethod): Added `compile' method.  Removed
11700         `continue1' and `find_exception'.  Changed arguments to `run'.
11701         * interpret.cc (union insn_slot): New.
11702         (find_exception): Removed.
11703         (run_normal): Removed most logic.
11704         (run_synch_object): Likewise; also, use JvSynchronize.
11705         (run_synch_class): Likewise.
11706         (run): Removed.
11707         (continue1): Renamed as `run'.  Compile bytecode if required.
11708         Add new code to allow refinement of direct-threaded code at
11709         runtime.  Handle exceptions.
11710         (SAVE_PC): Removed.
11711         (compile): New method.
11712         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
11713         (NULLARRAYCHECK): Don't use SAVE_PC.
11714         (pc_t): New typedef.
11715         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
11716         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
11717
11718 2002-06-23  Tom Tromey  <tromey@redhat.com>
11719
11720         * configure: Rebuilt.
11721         * configure.in (INTERPRETER): New subst.
11722         (AM_RUNTESTFLAGS): Don't subst.
11723
11724         * Makefile.in: Rebuilt.
11725         * Makefile.am ($(srcdir)/java/lang/Object.h,
11726         $(srcdir)/java/lang/Class.h): Added dummy targets.
11727
11728 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11729
11730         Reformat JDBC classes and add new JDK 1.4 classes and methods.
11731
11732         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
11733         java/sql/Savepoint.java: New files.
11734         * java/sql/Array.java, java/sql/BatchUpdateException.java,
11735         java/sql/Blob.java, java/sql/CallableStatement.java,
11736         java/sql/Clob.java, java/sql/Connection.java,
11737         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
11738         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
11739         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
11740         java/sql/Ref.java, java/sql/ResultSet.java,
11741         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
11742         java/sql/SQLException.java, java/sql/SQLInput.java,
11743         java/sql/SQLOutput.java, java/sql/SQLWarning.java
11744         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
11745         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
11746         (JDK 1.4) specification.
11747         * javax/sql/ConnectionEvent.java,
11748         javax/sql/ConnectionEventListener.java,
11749         javax/sql/ConnectionPoolDataSource.java,
11750         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
11751         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
11752         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
11753         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
11754         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
11755         javax/sql/XADataSource.java: New files.
11756         * Makefile.am: Add new files.
11757         * Makefile.in: Rebuilt.
11758
11759 2002-06-20  Tom Tromey  <tromey@redhat.com>
11760
11761         For PR libgcj/7073:
11762         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
11763         exists.
11764         * defineclass.cc (handleClassBegin): Superclass for interface is
11765         `null'.
11766
11767 2002-06-18  Tom Tromey  <tromey@redhat.com>
11768
11769         * gcj/javaprims.h: Updated class declaration list.
11770         * Makefile.in: Rebuilt.
11771         * Makefile.am (core_java_source_files): Removed
11772         BasicMapEntry.java.
11773         * java/util/BasicMapEntry.java: Removed.
11774
11775 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
11776
11777         * java/net/natPlainDatagramSocketImpl.cc (receive):
11778         Check bounds of argument to FD_SET.
11779         (setOption): Throw exception if socket is closed.
11780
11781         * java/net/natPlainSocketImpl.cc (accept, read):
11782         Check bounds of argument to FD_SET.
11783         (setOption): Throw exception if socket is closed.
11784
11785 2002-06-18  Tom Tromey  <tromey@redhat.com>
11786
11787         * gcj/javaprims.h: Updated class declaration list.
11788         * Makefile.in: Rebuilt.
11789         * Makefile.am (core_java_source_files): Added
11790         PropertyPermissionCollection.java.
11791         * java/lang/Thread.java (group, name): Now package-private.
11792         * java/lang/ThreadGroup.java: Re-merge with Classpath.
11793         * java/util/AbstractList.java: Likewise.
11794         * java/util/AbstractMap.java: Likewise.
11795         * java/util/Calendar.java: Likewise.
11796         * java/util/Collections.java: Likewise.
11797         * java/util/HashMap.java: Likewise.
11798         * java/util/Hashtable.java: Likewise.
11799         * java/util/LinkedHashMap.java: Likewise.
11800         * java/util/LinkedList.java: Likewise.
11801         * java/util/List.java: Likewise.
11802         * java/util/ListResourceBundle.java: Likewise.
11803         * java/util/Map.java: Likewise.
11804         * java/util/Observable.java: Likewise.
11805         * java/util/Properties.java: Likewise.
11806         * java/util/PropertyPermission.java: Likewise.
11807         * java/util/PropertyPermissionCollection.java: Likewise.
11808         * java/util/PropertyResourceBundle.java: Likewise.
11809         * java/util/Random.java: Likewise.
11810         * java/util/SimpleTimeZone.java: Likewise.
11811         * java/util/StringTokenizer.java: Likewise.
11812         * java/util/TimerTask.java: Likewise.
11813         * java/util/TreeMap.java: Likewise.
11814         * java/util/WeakHashMap.java: Likewise.
11815         * java/util/jar/Attributes.java: Likewise.
11816         * java/util/jar/JarException.java: Likewise.
11817         * java/util/jar/Manifest.java: Likewise.
11818
11819 2002-06-17  Tom Tromey  <tromey@redhat.com>
11820
11821         * gcj/javaprims.h: Updated class declaration list.
11822         * Makefile.in: Rebuilt.
11823         * Makefile.am (core_java_source_files): Added new file.
11824         * java/util/EventListenerProxy.java: New file.
11825         * java/util/EventListener.java: Re-merge with Classpath.
11826         * java/util/EventObject.java: Re-merge with Classpath.
11827
11828 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
11829
11830         * java/lang/ClassNotFoundException.java: New Classpath version.
11831
11832 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
11833
11834         * java/rmi/activation/ActivateFailedException.java: Remerge from
11835         Classpath version.
11836         * java/rmi/activation/ActivationException.java: Ditto.
11837         * java/rmi/activation/UnknownGroupException.java: Ditto.
11838         * java/rmi/activation/UnknownObjectException.java: Ditto.
11839         * java/rmi/server/ExportException: Ditto.
11840         * java/rmi/server/ServerCloneException: Ditto.
11841         * java/rmi/server/ServerNotActiveException: Ditto.
11842         * java/rmi/server/SkeletonMismatchException: Ditto.
11843         * java/rmi/server/SkeletonNotFoundException: Ditto.
11844         * java/rmi/server/SocketSecurityException: Ditto.
11845
11846 2002-06-16  Tom Tromey  <tromey@redhat.com>
11847
11848         * gcj/javaprims.h: Updated class declaration list.
11849
11850         * java/io/LineNumberInputStream.java: Merged with Classpath.
11851
11852         * java/lang/RuntimeException.java: Re-merge with Classpath.
11853         * java/util/ArrayList.java: Likewise.
11854         * java/util/Arrays.java: Likewise.
11855         * java/util/BitSet.java: Likewise.
11856         * java/util/Dictionary.java: Likewise.
11857         * java/util/IdentityHashMap.java: Likewise.
11858         * java/util/MissingResourceException.java: Likewise.
11859         * java/util/Observer.java: Likewise.
11860         * java/util/TooManyListenersException.java: Likewise.
11861         * java/util/zip/DataFormatException.java: Likewise.
11862         * java/util/zip/ZipException.java: Likewise.
11863
11864 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
11865
11866         * java/rmi/AccessException.java: Remerge from Classpath.
11867         * java/rmi/AlreadyBoundException.java: Ditto.
11868         * java/rmi/ConnectException.java: Ditto.
11869         * java/rmi/ConnectIOException.java: Ditto.
11870         * java/rmi/MarshalException.java: Ditto.
11871         * java/rmi/NoSuchObjectException.java: Ditto.
11872         * java/rmi/NotBoundException.java: Ditto.
11873         * java/rmi/RemoteException.java: Ditto.
11874         * java/rmi/RMISecurityException.java: Ditto.
11875         * java/rmi/ServerError.java: Ditto.
11876         * java/rmi/ServerException.java: Ditto.
11877         * java/rmi/ServerRuntimeException.java: Ditto.
11878         * java/rmi/StubNotFoundException.java: Ditto.
11879         * java/rmi/UnexpectedExcpetion.java: Ditto.
11880         * java/rmi/UnknownHostException.java: Ditto.
11881         * java/rmi/UnmarshalException.java: Ditto.
11882
11883 2002-06-15  Tom Tromey  <tromey@redhat.com>
11884
11885         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
11886         * java/lang/ArithmeticException.java: Likewise.
11887         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
11888         * java/lang/ArrayStoreException.java: Likewise.
11889         * java/lang/Byte.java: Likewise.
11890         * java/lang/CharSequence.java: Likewise.
11891         * java/lang/ClassCastException.java: Likewise.
11892         * java/lang/ClassCircularityError.java: Likewise.
11893         * java/lang/ClassFormatError.java: Likewise.
11894         * java/lang/CloneNotSupportedException.java: Likewise.
11895         * java/lang/Cloneable.java: Likewise.
11896         * java/lang/Comparable.java: Likewise.
11897         * java/lang/Compiler.java: Likewise.
11898         * java/lang/Error.java: Likewise.
11899         * java/lang/ExceptionInInitializerError.java: Likewise.
11900         * java/lang/IllegalAccessError.java: Likewise.
11901         * java/lang/IllegalAccessException.java: Likewise.
11902         * java/lang/IllegalArgumentException.java: Likewise.
11903         * java/lang/IllegalMonitorStateException.java: Likewise.
11904         * java/lang/IllegalStateException.java: Likewise.
11905         * java/lang/IllegalThreadStateException.java: Likewise.
11906         * java/lang/IncompatibleClassChangeError.java: Likewise.
11907         * java/lang/IndexOutOfBoundsException.java: Likewise.
11908         * java/lang/InheritableThreadLocal.java: Likewise.
11909         * java/lang/InstantiationError.java: Likewise.
11910         * java/lang/InstantiationException.java: Likewise.
11911         * java/lang/InternalError.java: Likewise.
11912         * java/lang/InterruptedException.java: Likewise.
11913         * java/lang/LinkageError.java: Likewise.
11914         * java/lang/NegativeArraySizeException.java: Likewise.
11915         * java/lang/NoClassDefFoundError.java: Likewise.
11916         * java/lang/NoSuchFieldError.java: Likewise.
11917         * java/lang/NoSuchFieldException.java: Likewise.
11918         * java/lang/NoSuchMethodError.java: Likewise.
11919         * java/lang/NoSuchMethodException.java: Likewise.
11920         * java/lang/NullPointerException.java: Likewise.
11921         * java/lang/NumberFormatException.java: Likewise.
11922         * java/lang/OutOfMemoryError.java: Likewise.
11923         * java/lang/Process.java: Likewise.
11924         * java/lang/Runnable.java: Likewise.
11925         * java/lang/RuntimePermission.java: Likewise.
11926         * java/lang/SecurityException.java: Likewise.
11927         * java/lang/Short.java: Likewise.
11928         * java/lang/StackOverflowError.java: Likewise.
11929         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
11930         * java/lang/ThreadDeath.java: Likewise.
11931         * java/lang/ThreadLocal.java: Likewise.
11932         * java/lang/UnknownError.java: Likewise.
11933         * java/lang/UnsatisfiedLinkError.java: Likewise.
11934         * java/lang/UnsupportedClassVersionError.java: Likewise.
11935         * java/lang/UnsupportedOperationException.java: Likewise.
11936         * java/lang/VerifyError.java: Likewise.
11937         * java/lang/VirtualMachineError.java: Likewise.
11938         * java/lang/reflect/InvocationTargetException.java: Likewise.
11939         * java/net/BindException.java: Likewise.
11940         * java/net/ConnectException.java: Likewise.
11941         * java/net/MalformedURLException.java: Likewise.
11942         * java/net/NoRouteToHostException.java: Likewise.
11943         * java/net/ProtocolException.java: Likewise.
11944         * java/net/SocketException.java: Likewise.
11945         * java/net/UnknownHostException.java: Likewise.
11946         * java/net/UnknownServiceException.java: Likewise.
11947
11948         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
11949         * java/io/CharConversionException.java: Likewise.
11950         * java/io/EOFException.java: Likewise.
11951         * java/io/FileNotFoundException.java: Likewise.
11952         * java/io/IOException.java: Likewise.
11953         * java/io/InterruptedIOException.java: Likewise.
11954         * java/io/InvalidClassException.java: Likewise.
11955         * java/io/InvalidObjectException.java: Likewise.
11956         * java/io/NotActiveException.java: Likewise.
11957         * java/io/NotSerializableException.java: Likewise.
11958         * java/io/ObjectStreamException.java: Likewise.
11959         * java/io/ObjectStreamConstants.java: Likewise.
11960         * java/io/OptionalDataException.java: Likewise.
11961         * java/io/PipedInputStream.java: Likewise.
11962         * java/io/PushbackInputStream.java: Likewise.
11963         * java/io/StreamCorruptedException.java: Likewise.
11964         * java/io/SyncFailedException.java: Likewise.
11965         * java/io/UTFDataFormatException.java: Likewise.
11966         * java/io/UnsupportedEncodingException.java: Likewise.
11967         * java/io/WriteAbortedException.java: Likewise.
11968
11969 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
11970
11971         * java/text/ChoiceFormat.java: Update comments from Classpath.
11972         * java/text/ParseException.java (serialVersionUID): New
11973         field from Classpath.
11974         * java/text/ParseException.java: Update formatting & comments
11975         from Classpath.
11976
11977 2002-06-15  Tom Tromey  <tromey@redhat.com>
11978
11979         * java/util/zip/InflaterInputStream.java (read): Loop if data has
11980         been read but none output by inflater.
11981         * java/util/zip/natDeflater.cc (reset): Set is_finished.
11982         * java/util/zip/natInflater.cc (reset): Set dist_needed and
11983         is_finished.
11984         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
11985         version.
11986         * java/util/zip/ZipFile.java: Replaced with Classpath version.
11987         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
11988         * java/util/zip/ZipInputStream.java: Replaced with Classpath
11989         version.
11990         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
11991
11992 2002-06-13  Tom Tromey  <tromey@redhat.com>
11993
11994         * java/lang/natString.cc (init): Handle case where DONT_COPY is
11995         true and OFFSET!=0.
11996         * java/lang/String.java (String(char[],int,int,boolean): New
11997         constructor.
11998         * java/lang/Long.java: Imported new version from Classpath.
11999         * java/lang/Number.java: Likewise.
12000         * java/lang/Integer.java: Likewise.
12001         * java/lang/Long.java: Likewise.
12002         * java/lang/Float.java: Likewise.
12003         * java/lang/Boolean.java: Likewise.
12004         * java/lang/Double.java: Likewise.
12005         * java/lang/Void.java: Likewise.
12006
12007 2002-06-12  Tom Tromey  <tromey@redhat.com>
12008
12009         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
12010         Fixes PR libgcj/6652.
12011
12012 2002-06-10  Tom Tromey  <tromey@redhat.com>
12013
12014         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
12015         (Class::getPackagePortion): Likewise.
12016         * java/lang/Class.java (desiredAssertionStatus): New method from
12017         Classpath.
12018         (getPackagePortion): Likewise.
12019         * java/lang/VMClassLoader.java (defaultAssertionStatus,
12020         packageAssertionStatus, classAssertionStatus): New methods from
12021         Classpath.
12022         * java/lang/ClassLoader.java (defaultAssertionStatus,
12023         systemPackageAssertionStatus, packageAssertionStatus,
12024         systemClassAssertionStatus, classAssertionStatus): New fields from
12025         Classpath.
12026         (setDefaultAssertionStatus, setPackageAssertionStatus,
12027         setClassAssertionStatus, clearAssertionStatus): New methods from
12028         Classpath.
12029         * Makefile.in: Rebuilt.
12030         * Makefile.am (core_java_source_files): Added AssertionError.java.
12031         * java/lang/AssertionError.java: New from Classpath.
12032
12033 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12034
12035         * configure.host: Disable hash synchronization and slow_pthread_self
12036         for cygwin.
12037
12038 2002-06-06  Adam Megacz <adam@xwt.org>
12039
12040         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
12041         locking, just like the Sun JVM does.
12042
12043 2002-06-05  H.J. Lu  (hjl@gnu.org)
12044
12045         * Makefile.am (libgcj_convenience.la): Revert the last change.
12046         (libgcj.la): Likewise.
12047         * Makefile.in: Regenerated.
12048
12049 2002-06-04  H.J. Lu  (hjl@gnu.org)
12050
12051         * Makefile.am (libgcj_convenience.la): New target.
12052         (libgcj.la): Depend on libgcj_convenience.la.
12053         * Makefile.in: Regenerated.
12054
12055 2002-06-04  H.J. Lu  (hjl@gnu.org)
12056
12057         * configure.in (--with-newlib): New option:
12058         Check ${with_newlib} instead of ${with_cross_host} for newlib.
12059         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
12060         Linux.
12061         * configure: Regenerated.
12062
12063 2002-06-04  Tom Tromey  <tromey@redhat.com>
12064
12065         * java/util/natTimeZone.cc: Include <stdio.h>.
12066
12067 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
12068
12069         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
12070         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
12071         Set SIGNAL_HANDLER=include/s390-linux.h.
12072         * configure: Regenerate.
12073         * include/s390-linux.h: New file.
12074
12075 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12076
12077         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
12078         not "stackTrace".
12079
12080 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12081
12082         Merge JDK 1.4 java.security changes from classpath.
12083
12084         * java/security/AccessControlException.java: Merge from Classpath.
12085         * java/security/AccessController.java: Likewise.
12086         * java/security/AllPermission.java: Likewise.
12087         * java/security/BasicPermission.java: Likewise.
12088         * java/security/Certificate.java: Likewise.
12089         * java/security/CodeSource.java: Likewise.
12090         * java/security/DigestException.java: Likewise.
12091         * java/security/DigestOutputStream.java: Likewise.
12092         * java/security/DomainCombiner.java: Likewise.
12093         * java/security/GeneralSecurityException.java: Likewise.
12094         * java/security/Guard.java: Likewise.
12095         * java/security/GuardedObject.java: Likewise.
12096         * java/security/InvalidAlgorithmParameterException.java: Likewise.
12097         * java/security/InvalidKeyException.java: Likewise.
12098         * java/security/InvalidParameterException.java: Likewise.
12099         * java/security/Key.java: Likewise.
12100         * java/security/KeyException.java: Likewise.
12101         * java/security/KeyManagementException.java: Likewise.
12102         * java/security/KeyStoreException.java: Likewise.
12103         * java/security/MessageDigest.java: Likewise.
12104         * java/security/NoSuchAlgorithmException.java: Likewise.
12105         * java/security/NoSuchProviderException.java: Likewise.
12106         * java/security/Permission.java: Likewise.
12107         * java/security/PermissionCollection.java: Likewise.
12108         * java/security/Permissions.java: Likewise.
12109         * java/security/Policy.java: Likewise.
12110         * java/security/Principal.java: Likewise.
12111         * java/security/PrivateKey.java: Likewise.
12112         * java/security/PrivilegedAction.java: Likewise.
12113         * java/security/PrivilegedActionException.java: Likewise.
12114         * java/security/PrivilegedExceptionAction.java: Likewise.
12115         * java/security/ProtectionDomain.java: Likewise.
12116         * java/security/ProviderException.java: Likewise.
12117         * java/security/PublicKey.java: Likewise.
12118         * java/security/SecureClassLoader.java: Likewise.
12119         * java/security/SecurityPermission.java: Likewise.
12120         * java/security/SignatureException.java: Likewise.
12121         * java/security/UnrecoverableKeyException.java: Likewise.
12122         * java/security/UnresolvedPermission.java: Likewise.
12123         * java/security/acl/AclNotFoundException.java: Likewise.
12124         * java/security/acl/LastOwnerException.java: Likewise.
12125         * java/security/acl/NotOwnerException.java: Likewise.
12126         * java/security/cert/CRLException.java: Likewise.
12127         * java/security/cert/CertificateEncodingException.java: Likewise.
12128         * java/security/cert/CertificateException.java: Likewise.
12129         * java/security/cert/CertificateExpiredException.java: Likewise.
12130         * java/security/cert/CertificateFactory.java: Likewise.
12131         * java/security/cert/CertificateNotYetValidException.java: Likewise.
12132         * java/security/cert/CertificateParsingException.java: Likewise.
12133         * java/security/spec/InvalidKeySpecException.java: Likewise.
12134         * java/security/spec/InvalidParameterSpecException.java: Likewise.
12135
12136         * java/security/cert/CertPath.java: New file.
12137         * java/security/cert/CertPathBuilderException.java: New file.
12138         * java/security/cert/CertPathValidatorException.java: New file.
12139         * java/security/cert/CertStoreException.java: New file.
12140
12141         * Makefile.am: Add new CertPath classes.
12142         * Makefile.in: Rebuilt.
12143
12144         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12145
12146 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12147
12148         Merge JDK 1.4 exception chaining support from classpath.
12149
12150         * java/lang/Throwable.java: Merge 1.4 support from classpath.
12151         (stackTraceBytes): Rename from stackTrace.
12152         * java/lang/Exception.java: Merge from classpath.
12153         * java/lang/StackTraceElement: New file from classpath.
12154         * gcj/javaprims.h: Rebuild CNI namespace declarations.
12155         * Makefile.am: Add StackTraceElement.
12156         * Makefile.in: Rebuilt.
12157
12158 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12159
12160         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12161         they build first.
12162         * Makefile.in: Rebuilt.
12163
12164 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12165
12166         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12167         * configure.in: Likewise.
12168         * aclocal.m4: Regenerate.
12169         * configure: Regenerate.
12170
12171 2002-05-13  Tom Tromey  <tromey@redhat.com>
12172
12173         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12174         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12175         Include platform.h.
12176
12177         Fixes PR libgcj/6389:
12178         * Makefile.in: Rebuilt.
12179         * Makefile.am (nat_source_files): Added natTimeZone.cc.
12180         * java/util/natTimeZone.cc: New file.
12181         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12182         * java/lang/System.java: Merged with Classpath.
12183         * java/lang/Runtime.java: Merged with Classpath.
12184         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12185         security check.
12186         (setIn0): Renamed from setIn; don't run security check.
12187         (setOut0): Renamed from setOut; don't run security check.
12188         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12189         init_properties): Moved to natRuntime.cc.
12190         Moved many includes to natRuntime.cc.
12191         (isWordsBigEndian): New method.
12192         * java/lang/natRuntime.cc: Include Long.h, also other includes
12193         previously in natSystem.cc.
12194         (maxMemory): New function.
12195         (exitInternal): Renamed from `_exit'.
12196         (exit): Removed.
12197         (init): Don't set finalize_on_exit.
12198         (exitInternal): Use `finalizeOnExit'.
12199         (file_encoding, getpwuid_adaptor): New functions from
12200         natSystem.cc.
12201         (insertSystemProperties): New method, renamed from
12202         System::init_properties.  Don't set user.timezone.
12203         (_load): Don't call checkLink.
12204         (execInternal): New method.
12205         (availableProcessors): Likewise.
12206         (nativeGetLibname): Likewise.
12207
12208 2002-05-11  Mark Wielaard  <mark@klomp.org>
12209
12210         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12211         space characters.
12212         (previous_internal): Likewise.
12213
12214 2002-05-09  Tom Tromey  <tromey@redhat.com>
12215
12216         * jni.cc (_Jv_JNIFunctions): Fixed typo.
12217
12218         * java/util/ResourceBundle.java: New version from Classpath.
12219         * java/util/Locale.java: Likewise.
12220
12221 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
12222
12223         * testsuite/lib/libjava.exp (libjava_arguments): Append all
12224         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
12225         LD_LIBRARY_PATH.
12226
12227 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
12228
12229         * libjava/Makefile.am (all_java_source_files): New variable.
12230         (all_java_class_files): Likewise.
12231         .java.class: New rule.
12232         (CLEANFILES): Remove tmp-list.
12233         * libjava/Makefile.in: Regenerated.
12234
12235 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
12236
12237         * testsuite/lib/libjava.exp (test_libjava_from_javac):
12238         Append .exe to executable names.  Fix for cygwin.
12239
12240 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
12241
12242         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
12243         script entry, and set LD to it when configuring multilibs.
12244         * configure: Rebuilt.
12245
12246 2002-05-07  Tom Tromey  <tromey@redhat.com>
12247
12248         * java/lang/natString.cc (unintern): Fixed typo.
12249
12250 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12251
12252         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
12253         with -no-install on *-*-cygwin*.
12254
12255 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12256
12257         * testsuite/lib/libjava.exp (test_libjava_from_source):
12258         Add comment explaining last patch
12259
12260 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
12261
12262         * testsuite/lib/libjava.exp (test_libjava_from_source):
12263         Append .exe to executable names.  If no suffix is present,
12264         then ".exe" is added by default on win32.  Harmless
12265         elsewhere so always do it.
12266
12267 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
12268             Tom Tromey  <tromey@redhat.com>
12269
12270         * java/lang/natSystem.cc (getSystemTimeZone): Use
12271         HAVE_UNDERSCORE_TIMEZONE.
12272         * include/config.h.in: Rebuilt.
12273         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
12274         * aclocal.m4, configure: Rebuilt.
12275         * acinclude.m4: Run AC_EXEEXT.
12276         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
12277         Add test for `_timezone'.
12278
12279 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
12280
12281         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12282         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
12283         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12284         * Makefile.in: Rebuilt.
12285
12286 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
12287
12288         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
12289         use sigaction instead of __libc_sigaction.
12290
12291 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12292
12293         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
12294         (libjava_init): Use it to find libgcj.spec.
12295         (libjava_arguments): Likewise.
12296
12297 2002-05-02  David S. Miller  <davem@redhat.com>
12298
12299         PR bootstrap/6525
12300         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
12301         __libc_sigaction on Sparc.
12302
12303 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
12304
12305         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
12306         sys/filio.h, if present.
12307
12308 2002-04-30  Tom Tromey  <tromey@redhat.com>
12309
12310         * java/io/BufferedReader.java (fill): Handle case where markPos
12311         point to ignored \n.  Fixes PR libgcj/6301.
12312
12313 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
12314
12315         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
12316
12317 2002-04-29  Adam King <aking@dreammechanics.com>
12318
12319         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
12320         of file in APPEND mode.
12321
12322 2002-04-25  David S. Miller  <davem@redhat.com>
12323
12324         PR target/6422
12325         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
12326         program counter to next program counter minus 8.  Update
12327         comments in this macro to explain why.
12328
12329 2002-04-26  Tom Tromey  <tromey@redhat.com>
12330
12331         * verify.cc (construct_primitive_array_type) [void_type]: New
12332         case.
12333         (branch_prepass): Added dummy entries for unused instruction
12334         values.
12335         (verify_instructions_0): Likewise.
12336         * interpret.cc (continue1): Comment fix.
12337         * include/java-insns.h (op_xxxunusedxxx1): Removed.
12338         * Makefile.in: Rebuilt.
12339         * Makefile.am: Added -Wswitch-enum.
12340
12341 2002-04-24  Tom Tromey  <tromey@redhat.com>
12342
12343         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
12344         correct length of UTF-8 encoded name.  Strip leading `/'.
12345         (_Jv_RegisterResource): Use _Jv_Malloc.
12346
12347 2002-04-23  Adam Megacz <adam@xwt.org>
12348
12349         * win32.cc, include/win32.cc (backtrace): Added this function
12350         because Win32 does not supply it.
12351
12352 2002-04-21  David S. Miller  <davem@redhat.com>
12353
12354         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
12355         magic instruction reading sequence.
12356
12357 2002-04-21  Mark Wielaard  <mark@klomp.org>
12358
12359         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
12360
12361 2002-04-19  David S. Miller  <davem@redhat.com>
12362
12363         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
12364         arg.
12365         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
12366         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
12367         on Sparc too.
12368         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
12369         for 64-bit sparc.
12370         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
12371         * sysdeps/sparc/locks.h: New file.
12372         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
12373         on all sparc Solaris configurations.  Set to
12374         include/dwarf2-signal.h on sparc Linux.
12375         * configure: Regenerate
12376         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
12377
12378 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
12379
12380         * configure: Rebuilt.
12381         * configure.in (backtrace): Function doesn't work on IA-64.
12382
12383 2002-04-17  Adam King <aking@dreammechanics.com>
12384
12385         * java/io/File.java (normalizePath): Add Win32 support for auto
12386         conversion of a '/' path separator to Win32's '\' separator.
12387
12388 2002-04-16  Tom Tromey  <tromey@redhat.com>
12389
12390         Fix for PR libgcj/6081:
12391         * Makefile.in: Rebuilt.
12392         * Makefile.am (install-data-local): Use GNU make trick to avoid
12393         shell limit.
12394
12395 2002-04-16  Adam King <aking@dreammechanics.com>
12396             Tom Tromey  <tromey@redhat.com>
12397
12398         * java/io/natFileWin32.cc (performList): Return the correct array
12399         type.  Don't duplicate the creation of a File since it's already
12400         done earlier in the method and the existing code would cause a
12401         ArrayStoreException.  Don't use fixed-size array.
12402         (_access, _stat, attr, getCanonicalPath, performMkdir,
12403         performRenameTo): Don't use fixed-size array.
12404         (getCanonicalPath): Use throw, not _Jv_Throw.
12405
12406 2002-04-15  DJ Delorie  <dj@redhat.com>
12407
12408         * configure.in: Allow building in $srcdir.
12409         * configure: Regenerated.
12410
12411 2002-04-14  Mark Wielaard <mark@klomp.org>
12412
12413         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12414         * java/net/natSocketImpl.cc (close): Likewise.
12415
12416 2002-04-14  Mark Wielaard <mark@klomp.org>
12417
12418         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12419
12420 2002-04-13  Adam King <aking@dreammechanics.com>
12421
12422         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12423         the f/F/d/D modifiers.
12424
12425 2002-04-12  Anthony Green  <green@redhat.com>
12426
12427         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12428         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12429         * Makefile.in: Rebuilt.
12430         * configure.in: Substitute gcc_version.
12431         * configure: Rebuilt.
12432
12433 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12434
12435         * configure.host: Set can_unwind_signal on hosts which support it.
12436         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12437         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12438         exceptions and can_unwind_signal isn't set.
12439         * configure: Rebuilt.
12440
12441 2002-04-11  Tom Tromey  <tromey@redhat.com>
12442
12443         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12444
12445 2002-04-11  Adam King <aking@dreammechanics.com>
12446             Tom Tromey  <tromey@redhat.com>
12447
12448         * include/jvm.h (_Jv_ThrowBadArrayIndex,
12449         _Jv_ThrowNullPointerException): Mark as noreturn.
12450         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12451         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
12452         fixes.
12453
12454 2002-04-10  Tom Tromey  <tromey@redhat.com>
12455
12456         * Makefile.in: Rebuilt.
12457         * Makefile.am (java/lang/Thread.h): Mark
12458         _Jv_AttachCurrentThreadAsDaemon as friend.
12459         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12460         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12461         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12462         function.
12463         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12464         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12465         (_Jv_JNI_InvokeFunctions): Added
12466         _Jv_JNI_AttachCurrentThreadAsDaemon.
12467         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12468         (JNI_GetDefaultJavaVMInitArgs): Likewise.
12469         (JNI_CreateJavaVM): Likewise.
12470         (_Jv_JNI_AttachCurrentThread): Likewise.
12471         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12472         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12473         (_Jv_JNIFunctions): Initialize new fields.
12474         (_Jv_JNI_NewDirectByteBuffer): New function.
12475         (_Jv_JNI_GetDirectBufferAddress): Likewise.
12476         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12477         * include/jni.h (JNI_VERSION_1_4): New macro.
12478         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12479         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12480         (JNINativeInterface::NewDirectByteBuffer): New field.
12481         (JNINativeInterface::GetDirectBufferAddress): New field.
12482         (JNINativeInterface::GetDirectBufferCapacity): New field.
12483         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12484         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
12485         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
12486
12487 2002-04-09  Tom Tromey  <tromey@redhat.com>
12488
12489         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
12490
12491 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
12492
12493         Fix for PR libgcj/6187:
12494         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
12495         distance.
12496
12497 2002-04-07  Mark Wielaard <mark@klomp.org>
12498
12499         * java/util/AbstractMap.java (putAll): Use entrySet size.
12500         (toString): Explicitly use getKey() and getValue().
12501
12502 2002-04-07  Mark Wielaard <mark@klomp.org>
12503
12504         * java/util/Hashtable.java (contains): Remove NullPointer check.
12505         (containsValue): Add NullPointer check.
12506         (remove): Always throw NullPointerException when key
12507         is null.
12508
12509 2002-04-07  Adam King <aking@dreammechanics.com>
12510
12511         * java/lang/natSystem.cc (init_properties): Call new function
12512         _Jv_platform_initProperties.
12513         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
12514         support for the System properties os.name, os.arch, os.version,
12515         user.name, user.home, and user.dir.
12516         * include/posix.h, include/win32.h, posix.cc: New function
12517         _Jv_platform_initProperties.
12518
12519 2002-04-06  Mark Wielaard <mark@klomp.org>
12520
12521         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
12522
12523 2002-04-06  Mark Wielaard <mark@klomp.org>
12524
12525         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
12526         all of the remaining elements.
12527         * java/util/Vector.java (addAll(int,Collection)): Likewise.
12528         (removeRange): If toIndex == fromIndex do
12529         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12530         (removeAll): Always throw NullPointerException when collection is
12531         null.
12532         (retrainAll): Likewise.
12533
12534 2002-04-05  Mark Wielaard <mark@klomp.org>
12535
12536         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
12537         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12538
12539 2002-04-05  Adam Megacz <adam@xwt.org>
12540
12541         * exception.cc (abort): added static modifier
12542
12543 2002-04-04  Adam Megacz <adam@xwt.org>
12544
12545         * include/win32.h (_Jv_platform_close_on_exec): added inline
12546         modifier.
12547
12548 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
12549
12550         * configure.host: Add case statement to support generic port
12551         properties.  Add *-*-freebsd* section.
12552
12553 2002-04-04  Mark Wielaard  <mark@klomp.org>
12554
12555         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
12556         test.
12557         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
12558         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
12559         that depend on awt code and BufferedByteOutputStream.interrupt.
12560
12561 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12562
12563         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
12564         incorrect "hi" value when count > 40.
12565
12566 2002-04-03  Mark Wielaard  <mark@klomp.org>
12567
12568         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
12569         ordering.
12570
12571 2002-04-02  Tom Tromey  <tromey@redhat.com>
12572
12573         * java/lang/natClassLoader.cc (findClass): Compare against `3',
12574         not `0'.
12575
12576 2002-04-02  Mark Wielaard  <mark@klomp.org>
12577
12578         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
12579         list of testsuite crashers.
12580
12581 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12582
12583         * java/util/IdentityHashMap.java (put): Set new threshold correctly
12584         when resizing table.
12585
12586 2002-04-01  Mark Wielaard  <mark@klomp.org>
12587
12588         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
12589         NegativeArraySizeException
12590         (clear(int)): Use sign extended shift.
12591         (flip(int)): Likewise.
12592         (get(int)): Likewise.
12593         (nextClearBit(int)): Likewise.
12594         (nextSetBit(int)): Likewise.
12595         (set(int)): Likewise.
12596
12597 2002-04-01  Mark Wielaard  <mark@klomp.org>
12598
12599         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
12600         that can be compiled now and add testsuite crashers to ignore list.
12601
12602 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
12603
12604         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
12605
12606         * libgcj.spec.in: Override libgcc, not lib.
12607         * libgcj-test.spec.in: Likewise.
12608
12609 2002-03-29  Tom Tromey  <tromey@redhat.com>
12610
12611         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
12612         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
12613
12614 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
12615
12616         * java/net/PlainDatagramSocketImpl.java
12617         (close): Use native implementation.
12618         (finalize): New method.
12619
12620         * java/net/PlainSocketImpl.java (finalize): New method.
12621
12622         * java/net/natPlainDatagramSocketImpl.cc
12623         (java/io/FileDescriptor.h): Don't include.
12624         (close): Implement method here.
12625         (create): Don't assign fd.
12626
12627         * java/net/natPlainSocketImpl.cc
12628         (java/io/FileDescriptor.h): Don't include.
12629         (create): Don't assign fd.
12630         (accept): Likewise.
12631         (close): Synchronize.
12632
12633 2002-03-27  Richard Henderson  <rth@redhat.com>
12634
12635         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
12636
12637 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12638
12639         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12640         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
12641         instead of syscall on IA-64.
12642         Add FIXME comment.
12643
12644 2002-03-27  Anthony Green  <green@redhat.com>
12645
12646         * libgcj.spec.in: Add CHECKREFSPEC.
12647         * configure.in: Ditto.
12648         * configure.host: Ditto.  Check references for xscale-elf.
12649         * configure: Rebuilt.
12650
12651 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
12652
12653         * include/dwarf2-signal.h: Temporarily back out last change.
12654
12655 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
12656
12657         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
12658
12659 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12660
12661         * configure.in, configure: enable dwarf2-exception-style
12662         exception handling on IA-64.
12663         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12664         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
12665         Add FIXME comment.
12666
12667 2002-03-25  Tom Tromey  <tromey@redhat.com>
12668
12669         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
12670         (jv_convert_LDFLAGS): Likewise.
12671         (gij_LDFLAGS): Likewise.
12672         (rmic_LDFLAGS): Likewise.
12673         (rmiregistry_LDFLAGS): Likewise.
12674         * configure.in (THREADLDFLAGS): New subst; set correctly for
12675         *BSD.
12676
12677 2002-03-25  Tom Tromey  <tromey@redhat.com>
12678
12679         For PR libgcj/5303:
12680         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
12681         and --version.
12682         (help): New method.
12683         (version): Likewise.
12684         * gnu/gcj/convert/Convert.java (version): Removed extraneous
12685         "GNU".
12686         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
12687         "GNU".
12688
12689 2002-03-25  Tom Tromey  <tromey@redhat.com>
12690
12691         * java/awt/Component.java (processEvent): Check ComponentEvent
12692         after KeyEvent.
12693
12694 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12695
12696         * java/io/PushbackReader.java: Reformat.
12697
12698         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
12699         calculate correct number of bytes skipped.
12700
12701         Based on patch from Intel's ORP team:
12702         * java/io/PushbackInputStream.java (available): Calculate correct
12703         number of bytes in buffer.
12704         (read): Remove redundant bound check. Return bytes from both the
12705         buffer and the stream.
12706
12707 2002-03-24  Tom Tromey  <tromey@redhat.com>
12708
12709         * java/awt/TextComponent.java (TextComponent): Editable by
12710         default.
12711
12712         * java/awt/MenuItem.java (eventMask): No longer private.
12713         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
12714         superclass if we didn't handle event.
12715         * java/awt/Checkbox.java (dispatchEventImpl): New method.
12716         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
12717         * java/awt/Choice.java (dispatchEventImpl): New method.
12718         * java/awt/List.java (dispatchEventImpl): New method.
12719         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
12720         * java/awt/TextComponent.java (dispatchEventImpl): New method.
12721         * java/awt/TextField.java (dispatchEventImpl): New method.
12722
12723 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
12724
12725         * java/beans/IntrospectionException.java: Update to 1.4.
12726         * java/beans/PropertyVetoException.java: Ditto.
12727
12728 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
12729
12730         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
12731         Arrays.equals instead of ArrayHelper.equalsArray.
12732
12733 2002-03-24  C. Brian Jones <cbj@gnu.org>
12734
12735         * java/beans/Introspector.java: added new static final fields
12736         introduced in 1.2, lots of other updates remain to be done
12737
12738 2002-03-24  C. Brian Jones <cbj@gnu.org>
12739
12740         * java/beans/Introspector.java: reformatting
12741
12742 2002-03-24  C. Brian Jones <cbj@gnu.org>
12743
12744         * java/beans/Introspector.java: default beanInfoSearchPath will
12745         not include sun.beans.infos given we provide no such package and
12746         the API doesn't really require it; gnu.java.beans.info is the
12747         default.
12748
12749 2002-03-24  Mark Wielaard  <mark@klomp.org>
12750
12751         Thanks to Orp developers
12752         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
12753         switch TRUE and FALSE return values.
12754
12755 2002-03-23  Tom Tromey  <tromey@redhat.com>
12756
12757         * include/name-finder.h (_Jv_name_finder::myclose): New method.
12758         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
12759
12760 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
12761
12762         * java/util/GregorianCalendar.java (minimums, maximums): Correct
12763         MONTH entry.  Fixes PR libgcj/6045.
12764
12765 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
12766
12767         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
12768
12769 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12770
12771         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
12772         not release_set.
12773         * sysdep/powerpc/locks.h (write_barrier): New function.
12774         * sysdep/i386/locks.h (write_barrier): New function.
12775
12776 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
12777
12778         * include/jni.h Use correct C comments.
12779
12780 2002-03-18  Tom Tromey  <tromey@redhat.com>
12781
12782         * include/jni.h (JNIIMPORT): New macro.
12783         (JNIEXPORT): Likewise.
12784         (JNICALL): Likewise.
12785
12786 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12787
12788         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
12789         systems.
12790
12791 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
12792
12793         * include/i386-signal.h (old_i386_kernel_sigaction): New.
12794         INIT_SEGV: Use old_i386_kernel_sigaction.
12795         INIT_FP: Likewise.
12796
12797 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12798
12799         * java/lang/natSystem.cc (init_properties): Update VM version
12800         properties.
12801         * configure.in: Set GCJVERSION.
12802         * acconfig.h: Add GCJVERSION.
12803         * configure: Rebuilt.
12804         * include/config.h.in: Rebuilt.
12805
12806 2002-03-17  Anthony Green  <green@redhat.com>
12807
12808         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
12809
12810 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12811
12812         Build a single libgcj.so, without separate gc and zlib libraries.
12813         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
12814         SYS_ZLIBS if system zlib is used.
12815         * configure: Rebuilt.
12816         * Makefile.am: Use boehm-gc and zlib convenience libraries.
12817         * Makefile.in: Rebuilt.
12818         * libtool-version: Increment .so version number.
12819
12820         * Makefile.am: Escape quotes in echo.
12821         * Makefile.in: Rebuilt.
12822
12823 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12824
12825         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
12826         * Makefile.in: Rebuilt.
12827
12828 2002-03-15  Anthony Green  <green@redhat.com>
12829
12830         * configure.host (FILE): New macro for specifing File
12831         implementation.
12832         * configure: Rebuilt.
12833         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
12834
12835 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
12836
12837         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
12838         already implicitly brought in from libgcj.la.
12839         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12840         * Makefile.in: Rebuilt.
12841
12842 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
12843
12844         * THANKS: Fix punctuation, alphabetization.
12845
12846 2002-03-15  Tom Tromey  <tromey@redhat.com>
12847             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12848
12849         Fix for PR libgcj/5944.
12850         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
12851
12852 2002-03-15  Anthony Green  <green@redhat.com>
12853
12854         * configure.in (tool_include_dir): Define.
12855         * configure: Rebuilt.
12856         * gcj/Makefile.am: Install libgcj-config.h relative to
12857         tool_include_dir.
12858         * gcj/Makefile: Rebuilt.
12859         * gcj/libgcj-config.h: Add warning comment.
12860
12861 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
12862
12863         * configure.host (powerpc*-darwin*): Enable interpreter.
12864
12865 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12866
12867         * include/posix.h: Add multiple include header protection.
12868         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
12869
12870 2002-03-10  Adam Megacz <adam@xwt.org>
12871
12872         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
12873
12874 2002-03-10  Tom Tromey  <tromey@redhat.com>
12875
12876         * java/awt/GridLayout.java (layoutContainer): Handle case where
12877         there are no items in container.
12878
12879         * java/lang/Win32Process.java: Added comment.
12880         * include/posix.h (_Jv_platform_close_on_exec): New function.
12881         Include fcntl.h.
12882         * include/win32.h (_Jv_platform_close_on_exec): New function.
12883         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
12884         flag.
12885         (accept): Likewise.
12886         * java/net/natPlainDatagramSocketImpl.cc (create): Set
12887         close-on-exec flag.
12888         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
12889         flag.
12890
12891 2002-03-09  Tom Tromey  <tromey@redhat.com>
12892
12893         * verify.cc (state::NO_STACK): New constant.
12894         (state::is_unmerged_ret_state): Handle case where stacktop is
12895         NO_STACK.
12896         (state::merge): Handle NO_STACK merges.
12897         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
12898         for instruction following jsr.
12899         (stacktop, stackdepth): Removed unused variables.
12900         (pop_jump): Ignore case where all remaining states are skipped.
12901
12902 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12903
12904         * java/awt/ImageMediaEntry: Removed.
12905         * java/awt/MediaEntry: Removed.
12906
12907 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12908
12909         Hashtable synchronization for PowerPC.
12910         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
12911         slow_pthread_self. Set up symlink for sysdeps directory.
12912         * configure: Rebuild.
12913         * configure.host: Document more shell variables. Set sysdeps_dir
12914         for most platforms. Set slow_pthread_self for i686. Set
12915         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
12916         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
12917         that memory barrier is emitted where required.
12918         * prims.cc: 64-bit align static primitive class instances.
12919         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
12920         read_barrier() to enforce ordering of reads.
12921         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
12922         primitives for PowerPC.
12923         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
12924         moved from natObject.cc.
12925         * sysdep/alpha/locks.h: Likewise.
12926         * sysdep/ia64/locks.h: Likewise.
12927         * sysdep/generic/locks.h: Likewise.
12928         * java/lang/natObject.cc: Move thread synchronization primitives to
12929         system-dependent headers.
12930
12931 2002-03-09  Adam Megacz  <adam@xwt.org>
12932
12933         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
12934         bytes read and no failure code returned.
12935
12936 2002-03-09  Adam Megacz  <adam@xwt.org>
12937
12938         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
12939         definitions to simulate -mthreads.
12940
12941 2002-03-09  Adam Megacz  <adam@xwt.org>
12942
12943         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
12944         avoid precision loss.
12945
12946 2002-03-09  Per Bothner  <per@bothner.com>
12947
12948         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
12949         * gnu/gcj/xlib/XImage.java:  Likewise.
12950         * gnu/gcj/xlib/XColor.java:  Likewise.
12951
12952 2002-03-09  Adam Megacz  <adam@xwt.org>
12953
12954         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
12955         IOException so that Throwable.printStackTrace fails correctly.
12956
12957 2002-03-08  Adam Megacz  <adam@xwt.org>
12958
12959         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
12960         fixed.
12961
12962 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12963
12964         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
12965         truncated to int.
12966
12967 2002-03-08  Tom Tromey  <tromey@redhat.com>
12968
12969         * include/jni.h: Include stdio.h.
12970
12971 2002-03-08  Tom Tromey  <tromey@redhat.com>
12972
12973         * posix.cc (internal_gettimeofday): New function.
12974         (_Jv_select): Use it.
12975
12976 2002-03-07  Adam Megacz  <adam@xwt.org>
12977
12978         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
12979         WIN32, and added thunks for read(), write(), and close().
12980         * java/net/natPlainSocketImpl.cc (accept, read, read):
12981         Disabled timeouts on WIN32 pending discussion.
12982
12983 2002-03-07  Adam Megacz  <adam@xwt.org>
12984
12985         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
12986         returns jlong. Added implementation
12987         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
12988         returns jlong.
12989         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
12990         returns jlong.
12991         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
12992         returns jlong.
12993         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
12994         _Jv_platform_gettimeofday signature.
12995
12996 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12997
12998         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
12999         (read): Call recv() directly, not _Jv_recv().
13000
13001 2002-03-06  Tom Tromey  <tromey@redhat.com>
13002
13003         * java/io/natFileDescriptorEcos.cc (init): Don't use
13004         GetStdHandle.
13005         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
13006         is negative.
13007         (init): Don't use GetStdHandle.
13008
13009         * include/config.h.in: Rebuilt.
13010         * configure: Rebuilt.
13011         * Makefile.in: Rebuilt.
13012
13013 2002-03-06  Adam Megacz  <adam@xwt.org>
13014
13015         * java/io/FileDescriptor.java: Initialize in/out/err in init().
13016         * java/io/natFileDescriptorWin32.cc (init()): Added function.
13017         * java/io/natFileDescriptorPosix.cc (init()): Added function.
13018         * java/io/natFileDescriptorEcos.cc (init()): Added function.
13019
13020 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
13021
13022         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
13023         the code for generating include/java-chartables.h.
13024         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
13025         merge with Classpath.
13026         * scripts/unicode-muncher.pl: Copy from Classpath.
13027         * scritps/MakeCharTables.java: New file.
13028         * gnu/gcj/convert/Blocks-3.txt: New file.
13029         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
13030         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
13031         * gnu/java/lang/CharData.java: Copy from Classpath.
13032         * Makefile.am (ordinary_java_source_files): Add
13033         gnu/java/lang/CharData.java.
13034         * configure.in: Remove --enable-fast-character option.
13035         * java/lang/Character.java: Merge algorithms and Javadoc with
13036         Classpath.
13037         * java/lang/natCharacter.cc: Implement Unicode lookup table more
13038         efficiently.
13039         * include/java-chardecomp.h: Regenerate.
13040         * include/java-chartables.h: Regenerate.
13041
13042 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13043
13044         * java/awt/MediaTracker.java: Implemented.
13045         * Makefile.am: Add MediaTracker.
13046         * Makefile.in: Rebuilt.
13047
13048 2002-03-05  Tom Tromey  <tromey@redhat.com>
13049
13050         * java/lang/natPosixProcess.cc (fail): Removed.
13051         (startProcess): Simplified error-handling.  Preserve
13052         LD_LIBRARY_PATH across exec.
13053
13054         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
13055         AbstractMethodError.
13056
13057 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13058
13059         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
13060         * Makefile.in: Rebuilt.
13061
13062 2002-03-03 Mark Wielaard <mark@klomp.org>
13063
13064         * java/util/Timer (TaskQueue.stop): set elements to zero.
13065
13066 2002-02-28  Anthony Green  <green@redhat.com>
13067
13068         * java/lang/reflect/natMethod.cc (result): Add void* element.
13069         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
13070         constructor test.
13071
13072 2002-02-27  Adam Megacz <adam@xwt.org>
13073
13074         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
13075         '#undef STRICT'.
13076
13077 2002-02-26  Tom Tromey  <tromey@redhat.com>
13078
13079         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
13080         * gij.cc (version): Use __VERSION__.
13081         * include/config.h.in: Rebuilt.
13082         * acconfig.h (GCJVERSION): Removed.
13083         * configure: Rebuilt.
13084         * configure.in (GCJVERSION): Removed.
13085
13086 2002-02-26  Andreas Schwab  <schwab@suse.de>
13087
13088         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
13089         glibcpp_CXX, since libjava uses even another CXX.
13090         * aclocal.m4, configure: Regenerated.
13091
13092 2002-02-26  Tom Tromey  <tromey@redhat.com>
13093
13094         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
13095         `1'.
13096
13097 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13098
13099         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
13100         dependency tracking for .java files.
13101         * Makefile.in: Rebuilt.
13102
13103 2002-02-24  Adam Megacz  <adam@xwt.org>
13104
13105         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
13106         typo. Sorry.
13107
13108 2002-02-24  Adam Megacz  <adam@xwt.org>
13109
13110         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
13111         for Win32, changed #ifdefs to check WIN32 instead of the
13112         (now-obsolete) USE_WINSOCK, and removed support for socket
13113         timeouts on Win32 pending further discussion.
13114
13115 2002-02-24  Adam Megacz  <adam@xwt.org>
13116
13117         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
13118         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
13119         delete
13120
13121 2002-02-24  Adam Megacz  <adam@xwt.org>
13122
13123         * java/lang/Win32Process.java: Created a dummy class to allow
13124         build process to run to completion.
13125
13126 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
13127
13128         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
13129         Define ffi_result union for ffi_call result.  Cast
13130         ffi_result members to jvalue.
13131
13132 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
13133
13134         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
13135         * testsuite/Makefile.in: Likewise.
13136
13137 2002-02-20  Per Bothner  <per@bothner.com>
13138
13139         * java/net/URL.java (getPath):  New JDK 1.3 method.
13140
13141         * java/net/URLStreamHandler.java (parseURL):
13142         It is wrong to prepend '/' to the file part of a relative url.
13143
13144         * java/net/URLStreamHandler.java (parseURL):
13145         Minor optizations - append '/' rather than "/".
13146
13147         * java/net/URLStreamHandler.java (parseURL):
13148         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13149         We probably should canonicalize for a context-relative url, though.
13150         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
13151         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
13152         (sameFile):  New method.  Uses canonicalizeFilename.
13153
13154 2002-02-22  Tom Tromey  <tromey@redhat.com>
13155
13156         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13157         java.vendor and java.vm.vendor.
13158         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13159         recent copyright date.
13160         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13161         * gij.cc (version): Print `Inc'.
13162
13163 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13164
13165         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13166         * aclocal.m4, configure: Rebuilt.
13167
13168 2002-02-20  Per Bothner  <per@bothner.com>
13169
13170         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
13171         and/or output streams immediately here, instead of using File.exists.
13172         (inputStream, outputStream):  New fields to save open streams.
13173         (getInputStream, getOutputStream):  Use already-opened streams.
13174
13175 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13176
13177         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13178         Use it.
13179         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13180         * aclocal.m4, configure, Makefile.in: Rebuilt.
13181
13182 2002-02-19  Tom Tromey  <tromey@redhat.com>
13183
13184         Fix for PR libgcj/5696:
13185         * verify.cc (is_assignable_from_slow): Never call
13186         _Jv_IsAssignableFrom.
13187         (verify_instructions_0): Added new debug statement.
13188         (state::print): Print information about whether local has
13189         changed.
13190         (state::merge): Don't call note_variable when merging locals.
13191         (state::set_exception): Removed old FIXME comment.
13192
13193 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13194
13195         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13196         enable SO_BROADCAST.
13197
13198 2002-02-18  Jason Merrill  <jason@redhat.com>
13199
13200         * name-finder.cc (toHex): Use word mode, not long long.
13201
13202         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13203
13204 2002-02-15  Tom Tromey  <tromey@redhat.com>
13205
13206         Fix for PR libgcj/5695:
13207         * verify.cc (is_assignable_from_slow): Check to see if target is
13208         an Object before checking to see if source is an interface.
13209         (verify_instructions_0) [op_invokeinterface]: Handle case where
13210         we're making an interface call on Object.
13211
13212 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13213
13214         * Makefile.in: Rebuilt with Eric's change below.
13215
13216         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13217         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13218         Removed functions which are now implemented in Math.java.
13219
13220 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13221
13222         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
13223         * Makefile.am (core_java_source_files): Add
13224         java/lang/StrictMath.java.
13225         * java/lang/Math.java: Merge with Classpath.
13226         * java/lang/StrictMath.java: New file - merge with Classpath.
13227
13228 2002-02-14  Mark Wielaard  <mark@klomp.org>
13229
13230         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
13231         package as a workaround for gcj 3.0.x
13232
13233 2002-02-14  Mark Wielaard <mark@klomp.org>
13234
13235         * java/security/BasicPermission.java: extends with fully qualified
13236         classname as workaround for gcj 3.0.4.
13237
13238 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13239
13240         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
13241         around gcj bug of wrong emitted qualifier for inherited method.
13242         * java/net/SocketImpl.java (setOption, getOption): Ditto.
13243         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
13244         constructor to reduce amount of emitted bytecode. While this
13245         happens to work around a jikes 1.15 bug, it is still a useful
13246         patch even for correct compilers.
13247         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
13248         * gnu/java/rmi/server/UnicastRemoteCall.java
13249         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
13250
13251 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13252
13253         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
13254         * java/net/SocketImpl.java: Ditto.
13255         * java/rmi/server/RMIClassLoader.java: Ditto.
13256         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
13257
13258 2002-02-14  Mark Wielaard <mark@klomp.org>
13259
13260         Thanks to Takashi Okamoto
13261         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
13262         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
13263         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
13264
13265 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13266
13267         Fix for PR libgcj/5670:
13268         * verify.cc (is_assignable_from_slow): If `source' is interface,
13269         recursively look for merge with `target'.
13270
13271 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
13272
13273         * include/jni.h: Fix typo.
13274
13275 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
13276
13277         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
13278         correctly.
13279
13280 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13281
13282         Fix for PR libgcj/5671:
13283         * verify.cc (state::merge): Handle case where we're merging
13284         against an interface.
13285
13286 2002-02-12  Tom Tromey  <tromey@redhat.com>
13287
13288         * exception.cc (std::abort): Mark as noreturn.
13289
13290 2002-02-12  Adam Megacz <adam@xwt.org>
13291
13292         * java/lang/Win32Process.java: Filled in a placeholder
13293         implementation so Win32 will build.
13294
13295 2002-02-12  Adam Megacz <adam@xwt.org>
13296
13297         * java/io/natFilePosix.cc: Copied this from natFile.cc.
13298         * java/io/natFile.cc: Removed from repository.
13299         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
13300
13301 2002-02-12  Adam Megacz <adam@xwt.org>
13302
13303         * win32.cc: Added two #includes to make win32.cc compile.
13304
13305 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13306
13307         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
13308         declarations.
13309         (_Jv_InitGC): Don't bother locking, as this is always called from a
13310         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
13311
13312 2002-02-11  Adam Megacz <adam@xwt.org>
13313
13314         * include/win32.h: Added _Jv_platform_gettimeofday.
13315         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
13316
13317 2002-02-11  Adam Megacz <adam@xwt.org>
13318
13319         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
13320         Added #undef STRICT to make windows.h and
13321         java/lang/reflect/Modifier.h cooperate.
13322
13323 2002-02-11  Adam Megacz <adam@xwt.org>
13324
13325         * java/io/natFileWin32.cc: Created a placeholder class with lots
13326         of FIXMEs.
13327
13328 2002-02-11  Adam Megacz <adam@xwt.org>
13329
13330         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
13331         std::abort() to simply abort(). Also added "fake" std::abort() so
13332         we can #include unwind-pe.h without having to link against
13333         libstdc++-v3.
13334
13335 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
13336
13337         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
13338
13339 2002-02-08  Tom Tromey  <tromey@redhat.com>
13340
13341         * interpret.cc (convert): New function.
13342         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
13343         convert.
13344         Include Long.h.
13345
13346 2002-02-08  Anthony Green  <green@redhat.com>
13347
13348         * configure.host: Add support for xscale-elf embedded target.
13349
13350 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
13351
13352         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
13353         dereferenced.
13354         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
13355         frame.
13356
13357 2002-02-07  Tom Tromey  <tromey@redhat.com>
13358
13359         * java/io/natFile.cc (_access): Use __builtin_alloca.
13360         (_stat): Likewise.
13361         (attr): Likewise.
13362         (getCanonicalPath): Likewise.
13363         (performList): Likewise.
13364         (performMkdir): Likewise.
13365         (performSetReadOnly): Likewise.
13366         (performRenameTo): Likewise.
13367         (performSetLastModified): Likewise.
13368         (performCreate): Likewise.
13369         (performDelete): Likewise.
13370
13371 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13372
13373         * HACKING: Fix URL for the automake-gcj.
13374
13375 2002-02-07  Tom Tromey  <tromey@redhat.com>
13376
13377         * java/lang/natThrowable.cc: Updated copyright.
13378         * java/io/natFileWin32.cc: Updated copyright.
13379         * java/io/natFileDescriptorWin32.cc: Updated copyright.
13380         * win32-threads.cc: Updated copyright.
13381         * name-finder.cc: Updated copyright.
13382         * include/name-finder.h: Updated copyright.
13383
13384         * include/name-finder.h: Conditionally include sys/wait.h.
13385         * include/config.h.in: Rebuilt.
13386
13387         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13388         Size buffer based on real size of string.
13389         (_stat): Likewise.
13390         (attr): Likewise.
13391         (getCanonicalPath): Likewise.
13392         (performList): Likewise.
13393         (performMkdir): Likewise.
13394         (performSetReadOnly): Likewise.
13395         (unixroot): Removed.
13396         (performRenameTo): Likewise.
13397         (performSetLastModified): Likewise.
13398         (performCreate): Likewise.
13399         (performDelete): Likewise.
13400         (performListRoots): Always return new array.
13401
13402         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13403         * win32.cc (win32_exception_handler): Now static.
13404         * include/win32.h (_Jv_platform_initialize): Declare.
13405         (win32_exception_handler): Don't declare.
13406         * java/lang/natSystem.cc (currentTimeMillis): Use
13407         _Jv_platform_gettimeofday.
13408         * posix.cc (_Jv_platform_gettimeofday): Renamed.
13409         (_Jv_select): Use new name.
13410         (_Jv_platform_initialize): New function.
13411         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13412         _Jv_gettimeofday.
13413         (_Jv_platform_initialize): Declare.
13414
13415         * configure: Rebuilt.
13416         * configure.in: Removed unnecessary parens.
13417
13418 2002-02-06  Adam Megacz <adam@xwt.org>
13419
13420        * configure.in: Changed mingw) to *mingw*).
13421        * win32.cc: Created this file.
13422        * win32.h: Created this file.
13423        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13424        win32_exception_handler from prims.cc to win32.cc, added
13425        header in win32.h.
13426        * prims.cc: removed some #ifdef-WIN32'd headers which are no
13427        longer needed now that we have platform.h
13428
13429 2002-02-06  Adam Megacz <adam@xwt.org>
13430
13431         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13432         use uint<n>_t instead of LONG and BYTE
13433
13434 2002-02-06  Adam Megacz <adam@xwt.org>
13435
13436         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13437
13438 2002-02-06  Anthony Green  <green@redhat.com>
13439
13440         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13441         Implement missing method stubs.
13442         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13443         targets.
13444         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13445         concept of timezones.
13446         (init_properties): Don't refer to _Jv_Environment_Properties
13447         when this feature is not available.
13448         * include/config.h.in: Rebuilt.
13449         * acconfig.h: Add DISABLE_MAIN_ARGS.
13450         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13451         * configure: Rebuilt.
13452         * configure.in: Add --disable-main-args option.  Test for
13453           opendir function.  Replace AC_CHECK_SIZEOF with
13454           AC_COMPILE_CHECK_SIZEOF.
13455         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13456         * aclocal.m4: Rebuilt.
13457         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13458
13459 2002-02-06  Tom Tromey  <tromey@redhat.com>
13460
13461         * verify.cc (require_array_type): If argument is a null array of
13462         references, return null as the element type.
13463
13464 2002-02-06  Mark Wielaard  <mark@klomp.org>
13465
13466         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13467         duplicate of a wide type.
13468
13469 2002-02-06  Tom Tromey  <tromey@redhat.com>
13470
13471         * verify.cc (type::isnull): New method.
13472         (require_array_type): Handle case where array is null.
13473         (verify_instructions_0) [op_arraylength]: Likewise.
13474
13475 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13476
13477         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13478         Symlink PLATFORMH to platform.h.
13479         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13480         PLATFORMOBJS.
13481         * java/lang/natSystem.cc: #include platform.h not posix.h.
13482         * Makefile.in: Rebuilt with libgcj automake.
13483         * configure: Rebuilt.
13484
13485 2002-02-05  Richard Henderson  <rth@redhat.com>
13486
13487         * Makefile.in: Undo munging last change.
13488
13489 2002-02-04  Adam Megacz <adam@xwt.org>
13490
13491         * win32.cc: Created it.
13492         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
13493         which is set to posix.cc or win32.cc.
13494         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
13495
13496 2002-02-04  Adam Megacz <adam@xwt.org>
13497
13498         * configure.in: Corrected mingw case branches; added * before
13499         and after.
13500
13501 2002-02-04  Adam Megacz <adam@xwt.org>
13502
13503         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
13504         if compiling for win32
13505
13506 2002-02-04  Adam Megacz <adam@xwt.org>
13507
13508         * win32-threads.cc: #undef STRICT after gc.h inclusion
13509
13510 2002-02-02  Tom Tromey  <tromey@redhat.com>
13511
13512         * Makefile.in: Rebuilt.
13513
13514 2002-02-02  Jason Merrill  <jason@redhat.com>
13515
13516         * Makefile.am (clean-nat): New target.
13517
13518 2002-02-02  Tom Tromey  <tromey@redhat.com>
13519
13520         * java/io/natFile.cc: Removed old "FIXME" comments.
13521
13522 2002-02-01  Tom Tromey  <tromey@redhat.com>
13523
13524         * java/lang/natPosixProcess.cc (myclose): New function.
13525         (fail): Use it.
13526         (startProcess): Likewise.
13527
13528 2002-02-01  Adam Megacz <adam@xwt.org>
13529
13530         * prims.cc: Added #undef STRICT after #include<windows.h>.
13531
13532 2002-02-01  Adam Megacz <adam@xwt.org>
13533
13534         * prims.cc
13535         (_Jv_CreateJavaVM): We now use WIN32 instead of
13536         USE_WIN32_SIGNALLING and USE_WINSOCK.
13537         (win32_exception_handler): Now throws an exception out of
13538         the signal handler; assumes SJLJ.
13539
13540 2002-02-01  Adam Megacz <adam@xwt.org>
13541
13542         * win32-threads.cc:
13543         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
13544         wait() algorithm to make it safe.
13545         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
13546         Added lazy creation of Win32 Events for better performance
13547         (really_start): This now uses GC_CreateThread so boehm-gc
13548         knows about new threads even when statically linked.
13549
13550 2002-02-01  Adam Megacz <adam@xwt.org>
13551
13552         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
13553         enable safer wait() algorithm.
13554         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
13555         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
13556         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
13557         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
13558         instead of mutex.
13559         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
13560
13561 2002-02-01  Adam Megacz <adam@xwt.org>
13562
13563         * configure.in: Added support for mingw.
13564         * java/lang/Win32Process.java: Created as empty file.
13565         * java/lang/natWin32Process.cc: Created as empty file.
13566
13567 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
13568
13569         PR java/4972
13570         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
13571         for libiconv in LIBICONV variable.
13572         * configure: Regenerated.
13573
13574 2002-01-31  Tom Tromey  <tromey@redhat.com>
13575
13576         * verify.cc (state::enter_subroutine): New method.
13577         (handle_jsr_insn): Use it.
13578         (state::merge): When processing a `ret', correctly use
13579         subroutine's state to determine which local variables have
13580         changed.
13581         (push_exception_jump): Don't let stack overflow.
13582
13583 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
13584
13585         * gnu/gcj/convert/Convert.java: Only include one copyright year in
13586         --version output.
13587
13588 2002-01-30  Tom Tromey  <tromey@redhat.com>
13589
13590         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
13591         parameter for `recv' return type.
13592
13593         * verify.cc (handle_ret_insn): Check for subroutine merge here...
13594         (state::merge): ... not here.
13595         (subr_entry_info): New structure.
13596         (entry_points): New field.
13597         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
13598         entry_points.
13599
13600 2002-01-29  Tom Tromey  <tromey@redhat.com>
13601
13602         * java/awt/List.java (addNotify): Correctly check to see if peer
13603         does not exist.
13604
13605         * java/awt/GridLayout.java (layoutContainer): Use number of rows
13606         to compute height of each cell, and number of columns to compute
13607         width of each cell.
13608         * java/awt/Window.java (getOwnedWindows): Don't return null.
13609         * java/awt/FlowLayout.java (layoutContainer): Set width and height
13610         of component.  Increment x using horizontal gap, not vertical
13611         gap.
13612
13613 2002-01-28  Tom Tromey  <tromey@redhat.com>
13614
13615         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
13616         `nargs' byte is number of words, not number of arguments.
13617
13618 2002-01-27  Tom Tromey  <tromey@redhat.com>
13619
13620         * java/awt/event/MouseEvent.java (modifiers): Removed field.
13621         (when): Likewise.
13622         * java/awt/event/InputEvent.java (modifiers, when): Now
13623         package-private.
13624
13625         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
13626         and to-do list.
13627         (state::merge): Use current class' class loader.
13628         (state::print): Print subroutine.
13629         (state::merge): Don't look at subroutine of unmerged `ret'.
13630
13631 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
13632
13633         * nogc.cc: Remove warnings.
13634         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
13635         New functions.
13636
13637 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13638
13639         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
13640         int, int):  Remove empty "if" statement to work around compiler bug.
13641         (newPixels(int[], ColorModel, int, int): Likewise.
13642
13643 2002-01-25  Per Bothner  <per@bothner.com>
13644
13645         * verify.cc (verify_fail):  Change from being a top-level function
13646         to e method of _Jv_BytecodeVerifier.  Emit current method name.
13647         Pass the current verifier to type: and state: methods as needed,
13648         for better error messages, and for resolve.
13649         (resolve):  Pass current class's loader for Class.forName and
13650         _Jv_FindClassFromSignature, rather than using the default loader.
13651         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
13652         (get_type_val_for_signature):  Make non-static.
13653         (various methods):  Pass start_PC implicitly, not explicitly.
13654
13655 2002-01-25  Tom Tromey  <tromey@redhat.com>
13656
13657         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
13658         loop termination condition.
13659         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
13660         width.
13661
13662 2002-01-24  Tom Tromey  <tromey@redhat.com>
13663
13664         * java/awt/Shape.java: Merged with Classpath.
13665         * java/awt/Scrollbar.java: Merged with Classpath.
13666
13667         * java/awt/Container.java (addNotify): Unconditionally call
13668         addNotifyContainerChildren and superclass addNotify.
13669
13670         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
13671         getAlpha, not getBlue.
13672
13673 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13674
13675         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
13676
13677         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
13678         (grabPixels(long)): Wait to be notified that the ImageProducer has
13679         completed.
13680
13681 2002-01-24  Per Bothner  <per@bothner.com>
13682
13683         * verify.cc (is_assignable_from_slow): If target is an interface,
13684         we must still check the source's superclass before giving up.
13685
13686 2002-01-24  Tom Tromey  <tromey@redhat.com>
13687
13688         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
13689
13690 2002-01-23  Tom Tromey  <tromey@redhat.com>
13691
13692         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
13693         `else'.
13694
13695         * Makefile.in: Rebuilt.
13696         * Makefile.am (awt_java_source_files): Added new files.
13697         * java/awt/Toolkit.java: Merged with Classpath.
13698         * java/awt/PrintGraphics.java: New file from Classpath.
13699         * java/awt/PrintJob.java: New file from Classpath.
13700         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
13701         * java/awt/datatransfer/ClipboardOwner.java: New file from
13702         Classpath.
13703         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
13704         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
13705         * java/awt/datatransfer/MimeTypeParseException.java: New file from
13706         Classpath.
13707         * java/awt/datatransfer/StringSelection.java: New file from
13708         Classpath.
13709         * java/awt/datatransfer/SystemFlavorMap.java: New file from
13710         Classpath.
13711         * java/awt/datatransfer/Transferable.java: New file from
13712         Classpath.
13713         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
13714         from Classpath.
13715
13716         * Makefile.in: Rebuilt.
13717         * Makefile.am (awt_java_source_files): Added new files.
13718         * java/awt/image/AreaAveragingScaleFilter.java: New file from
13719         Classpath.
13720         * java/awt/image/CropImageFilter.java: New file from Classpath.
13721         * java/awt/image/FilteredImageSource.java: New file from
13722         Classpath.
13723         * java/awt/image/ImageFilter.java: New file from Classpath.
13724         * java/awt/image/MemoryImageSource.java: New file from Classpath.
13725         * java/awt/image/PixelGrabber.java: New file from Classpath.
13726         * java/awt/image/RGBImageFilter.java: New file from Classpath.
13727         * java/awt/image/ReplicateScaleFilter.java: New file from
13728         Classpath.
13729         * java/awt/image/ImageProducer.java: Replaced with Classpath
13730         version.
13731         * java/awt/image/ImageObserver.java: Replaced with Classpath
13732         version.
13733         * java/awt/image/ImageConsumer.java: Replaced with Classpath
13734         version.
13735         * java/awt/GridBagConstraints.java (clone): Catch
13736         CloneNotSupportedException.
13737
13738 2002-01-23  Per Bothner  <per@bothner.com>
13739
13740         * java/lang/reflect/natField.cc (setAddr):  New function.
13741         Calls getAddr and then checks that the field isn't final.
13742         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
13743         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
13744         (set):  Call setAddr before check that new value has right type,
13745         to better match specified semantics.
13746
13747 2002-01-22  Tom Tromey  <tromey@redhat.com>
13748
13749         * java/awt/TextField.java: Replaced with Classpath version.
13750         * java/awt/TextArea.java: Replaced with Classpath version.
13751         * java/awt/TextComponent.java: Replaced with Classpath version.
13752
13753         * java/awt/GridBagConstraints.java: Updated copyright.
13754
13755 2002-01-22  Mark Wielaard <mark@klomp.org>
13756
13757         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
13758         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
13759         java/awt/Dialog.java java/awt/FileDialog.java
13760         java/awt/Font.java java/awt/FontMetrics.java
13761         java/awt/Image.java java/awt/ImageMediaEntry.java
13762         java/awt/Insets.java java/awt/List.java
13763         java/awt/MediaEntry.java java/awt/MediaTracker.java
13764         java/awt/Menu.java java/awt/MenuBar.java
13765         java/awt/MenuContainer.java java/awt/MenuShortcut.java
13766         java/awt/PaintContext.java java/awt/Panel.java
13767         java/awt/PopupMenu.java java/awt/SystemColor.java
13768         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
13769         java/awt/peer/CheckboxMenuItemPeer.java
13770         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
13771         java/awt/peer/ComponentPeer.java
13772         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
13773         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
13774         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
13775         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
13776         java/awt/peer/MenuBarPeer.java
13777         java/awt/peer/MenuComponentPeer.java
13778         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
13779         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
13780         java/awt/peer/ScrollPanePeer.java
13781         java/awt/peer/ScrollbarPeer.java
13782         java/awt/peer/TextAreaPeer.java
13783         java/awt/peer/TextComponentPeer.java
13784         java/awt/peer/TextFieldPeer.java
13785         java/awt/peer/WindowPeer.java: Add license clarification.
13786
13787 2002-01-22  Mark Wielaard <mark@klomp.org>
13788
13789         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
13790         gnu/gcj/runtime/StringBuffer.java
13791         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
13792         gnu/java/awt/ComponentDataBlitOp.java
13793         gnu/java/awt/GLightweightPeer.java
13794         gnu/java/beans/BeanInfoEmbryo.java
13795         gnu/java/beans/EmptyBeanInfo.java
13796         gnu/java/beans/ExplicitBeanInfo.java
13797         gnu/java/beans/IntrospectionIncubator.java
13798         gnu/java/beans/editors/ColorEditor.java
13799         gnu/java/beans/editors/FontEditor.java
13800         gnu/java/beans/editors/NativeBooleanEditor.java
13801         gnu/java/beans/editors/NativeByteEditor.java
13802         gnu/java/beans/editors/NativeDoubleEditor.java
13803         gnu/java/beans/editors/NativeFloatEditor.java
13804         gnu/java/beans/editors/NativeIntEditor.java
13805         gnu/java/beans/editors/NativeLongEditor.java
13806         gnu/java/beans/editors/NativeShortEditor.java
13807         gnu/java/beans/editors/StringEditor.java
13808         gnu/java/beans/info/ComponentBeanInfo.java
13809         gnu/java/io/ClassLoaderObjectInputStream.java
13810         gnu/java/io/NullOutputStream.java
13811         gnu/java/io/ObjectIdentityWrapper.java
13812         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
13813         gnu/java/lang/reflect/TypeSignature.java
13814         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
13815         gnu/java/locale/Calendar_en.java
13816         gnu/java/locale/Calendar_nl.java
13817         gnu/java/locale/LocaleInformation.java
13818         gnu/java/locale/LocaleInformation_de.java
13819         gnu/java/locale/LocaleInformation_en.java
13820         gnu/java/locale/LocaleInformation_nl.java
13821         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
13822         gnu/java/rmi/registry/RegistryImpl.java
13823         gnu/java/rmi/rmic/Compile_gcj.java
13824         gnu/java/rmi/rmic/Compiler.java
13825         gnu/java/rmi/rmic/CompilerProcess.java
13826         gnu/java/rmi/rmic/RMIC.java
13827         gnu/java/rmi/rmic/TabbedWriter.java
13828         gnu/java/rmi/server/ProtocolConstants.java
13829         gnu/java/rmi/server/RMIDefaultSocketFactory.java
13830         gnu/java/rmi/server/RMIHashes.java
13831         gnu/java/rmi/server/RMIObjectInputStream.java
13832         gnu/java/rmi/server/RMIObjectOutputStream.java
13833         gnu/java/rmi/server/UnicastConnection.java
13834         gnu/java/rmi/server/UnicastConnectionManager.java
13835         gnu/java/rmi/server/UnicastRef.java
13836         gnu/java/rmi/server/UnicastRemoteCall.java
13837         gnu/java/rmi/server/UnicastRemoteStub.java
13838         gnu/java/rmi/server/UnicastServer.java
13839         gnu/java/rmi/server/UnicastServerRef.java
13840         gnu/java/security/provider/DefaultPolicy.java
13841         gnu/java/security/provider/Gnu.java
13842         gnu/java/security/provider/SHA.java
13843         gnu/java/security/provider/SHA1PRNG.java
13844         gnu/java/text/BaseBreakIterator.java
13845         gnu/java/text/CharacterBreakIterator.java
13846         gnu/java/text/LineBreakIterator.java
13847         gnu/java/text/SentenceBreakIterator.java
13848         gnu/java/text/WordBreakIterator.java
13849         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
13850         java/applet/AppletContext.java java/applet/AppletStub.java
13851         java/applet/AudioClip.java java/awt/AWTError.java
13852         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
13853         java/awt/AWTException.java java/awt/AWTPermission.java
13854         java/awt/ActiveEvent.java java/awt/BorderLayout.java
13855         java/awt/Button.java java/awt/Canvas.java
13856         java/awt/CardLayout.java java/awt/Checkbox.java
13857         java/awt/CheckboxGroup.java java/awt/Component.java
13858         java/awt/ComponentOrientation.java java/awt/Container.java
13859         java/awt/Dimension.java java/awt/Event.java
13860         java/awt/EventDispatchThread.java java/awt/EventQueue.java
13861         java/awt/FlowLayout.java java/awt/Frame.java
13862         java/awt/Graphics.java java/awt/Graphics2D.java
13863         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
13864         java/awt/IllegalComponentStateException.java
13865         java/awt/ItemSelectable.java java/awt/Label.java
13866         java/awt/LayoutManager.java java/awt/LayoutManager2.java
13867         java/awt/MenuComponent.java java/awt/MenuItem.java
13868         java/awt/Paint.java java/awt/Point.java
13869         java/awt/Rectangle.java java/awt/RenderingHints.java
13870         java/awt/Transparency.java java/awt/Window.java
13871         java/awt/color/ColorSpace.java
13872         java/awt/color/ICC_ColorSpace.java
13873         java/awt/color/ICC_Profile.java
13874         java/awt/event/HierarchyBoundsAdapter.java
13875         java/awt/event/HierarchyBoundsListener.java
13876         java/awt/event/HierarchyEvent.java
13877         java/awt/event/HierarchyListener.java
13878         java/awt/geom/AffineTransform.java
13879         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
13880         java/awt/geom/IllegalPathStateException.java
13881         java/awt/geom/Line2D.java
13882         java/awt/geom/NoninvertibleTransformException.java
13883         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
13884         java/awt/geom/Rectangle2D.java
13885         java/awt/geom/RectangularShape.java
13886         java/awt/geom/RoundRectangle2D.java
13887         java/awt/image/BufferedImage.java
13888         java/awt/image/ColorModel.java
13889         java/awt/image/ComponentColorModel.java
13890         java/awt/image/ComponentSampleModel.java
13891         java/awt/image/DataBuffer.java
13892         java/awt/image/DataBufferByte.java
13893         java/awt/image/DataBufferInt.java
13894         java/awt/image/DataBufferUShort.java
13895         java/awt/image/DirectColorModel.java
13896         java/awt/image/PackedColorModel.java
13897         java/awt/image/Raster.java java/awt/image/RasterOp.java
13898         java/awt/image/SampleModel.java
13899         java/awt/image/SinglePixelPackedSampleModel.java
13900         java/awt/image/WritableRaster.java
13901         java/beans/AppletInitializer.java
13902         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
13903         java/beans/Beans.java java/beans/Customizer.java
13904         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
13905         java/beans/FeatureDescriptor.java
13906         java/beans/IndexedPropertyDescriptor.java
13907         java/beans/IntrospectionException.java
13908         java/beans/Introspector.java java/beans/MethodDescriptor.java
13909         java/beans/ParameterDescriptor.java
13910         java/beans/PropertyChangeEvent.java
13911         java/beans/PropertyChangeListener.java
13912         java/beans/PropertyChangeSupport.java
13913         java/beans/PropertyDescriptor.java
13914         java/beans/PropertyEditor.java
13915         java/beans/PropertyEditorManager.java
13916         java/beans/PropertyEditorSupport.java
13917         java/beans/PropertyVetoException.java
13918         java/beans/SimpleBeanInfo.java
13919         java/beans/VetoableChangeListener.java
13920         java/beans/VetoableChangeSupport.java
13921         java/beans/Visibility.java
13922         java/beans/beancontext/BeanContext.java
13923         java/beans/beancontext/BeanContextChild.java
13924         java/beans/beancontext/BeanContextChildComponentProxy.java
13925         java/beans/beancontext/BeanContextChildSupport.java
13926         java/beans/beancontext/BeanContextContainerProxy.java
13927         java/beans/beancontext/BeanContextEvent.java
13928         java/beans/beancontext/BeanContextMembershipEvent.java
13929         java/beans/beancontext/BeanContextMembershipListener.java
13930         java/beans/beancontext/BeanContextProxy.java
13931         java/beans/beancontext/BeanContextServiceAvailableEvent.java
13932         java/beans/beancontext/BeanContextServiceProvider.java
13933         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
13934         java/beans/beancontext/BeanContextServiceRevokedEvent.java
13935         java/beans/beancontext/BeanContextServiceRevokedListener.java
13936         java/beans/beancontext/BeanContextServices.java
13937         java/beans/beancontext/BeanContextServicesListener.java
13938         java/io/BufferedInputStream.java
13939         java/io/BufferedOutputStream.java java/io/BufferedReader.java
13940         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
13941         java/io/ByteArrayOutputStream.java
13942         java/io/CharArrayReader.java java/io/CharArrayWriter.java
13943         java/io/CharConversionException.java java/io/DataInput.java
13944         java/io/DataInputStream.java java/io/DataOutput.java
13945         java/io/EOFException.java java/io/Externalizable.java
13946         java/io/FileFilter.java java/io/FileNotFoundException.java
13947         java/io/FilePermission.java java/io/FileReader.java
13948         java/io/FileWriter.java java/io/FilenameFilter.java
13949         java/io/FilterInputStream.java java/io/FilterOutputStream.java
13950         java/io/FilterReader.java java/io/FilterWriter.java
13951         java/io/IOException.java java/io/InputStream.java
13952         java/io/InterruptedIOException.java
13953         java/io/InvalidClassException.java
13954         java/io/InvalidObjectException.java
13955         java/io/NotActiveException.java
13956         java/io/NotSerializableException.java java/io/ObjectInput.java
13957         java/io/ObjectInputStream.java
13958         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
13959         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
13960         java/io/ObjectStreamConstants.java
13961         java/io/ObjectStreamException.java
13962         java/io/ObjectStreamField.java
13963         java/io/OptionalDataException.java java/io/OutputStream.java
13964         java/io/PipedInputStream.java java/io/PipedOutputStream.java
13965         java/io/PipedReader.java java/io/PipedWriter.java
13966         java/io/PrintWriter.java java/io/PushbackInputStream.java
13967         java/io/PushbackReader.java java/io/Reader.java
13968         java/io/SequenceInputStream.java java/io/Serializable.java
13969         java/io/SerializablePermission.java
13970         java/io/StreamCorruptedException.java
13971         java/io/StreamTokenizer.java
13972         java/io/StringBufferInputStream.java java/io/StringReader.java
13973         java/io/StringWriter.java java/io/SyncFailedException.java
13974         java/io/UTFDataFormatException.java
13975         java/io/UnsupportedEncodingException.java
13976         java/io/WriteAbortedException.java java/io/Writer.java
13977         java/lang/AbstractMethodError.java
13978         java/lang/ArithmeticException.java
13979         java/lang/ArrayIndexOutOfBoundsException.java
13980         java/lang/ArrayStoreException.java java/lang/Boolean.java
13981         java/lang/Byte.java java/lang/CharSequence.java
13982         java/lang/ClassCastException.java
13983         java/lang/ClassCircularityError.java
13984         java/lang/ClassFormatError.java
13985         java/lang/ClassNotFoundException.java
13986         java/lang/CloneNotSupportedException.java
13987         java/lang/Cloneable.java java/lang/Comparable.java
13988         java/lang/Compiler.java java/lang/Double.java
13989         java/lang/Error.java java/lang/Exception.java
13990         java/lang/ExceptionInInitializerError.java
13991         java/lang/Float.java java/lang/IllegalAccessError.java
13992         java/lang/IllegalAccessException.java
13993         java/lang/IllegalArgumentException.java
13994         java/lang/IllegalMonitorStateException.java
13995         java/lang/IllegalStateException.java
13996         java/lang/IllegalThreadStateException.java
13997         java/lang/IncompatibleClassChangeError.java
13998         java/lang/IndexOutOfBoundsException.java
13999         java/lang/InheritableThreadLocal.java
14000         java/lang/InstantiationError.java
14001         java/lang/InstantiationException.java java/lang/Integer.java
14002         java/lang/InternalError.java
14003         java/lang/InterruptedException.java
14004         java/lang/LinkageError.java java/lang/Long.java
14005         java/lang/NegativeArraySizeException.java
14006         java/lang/NoClassDefFoundError.java
14007         java/lang/NoSuchFieldError.java
14008         java/lang/NoSuchFieldException.java
14009         java/lang/NoSuchMethodError.java
14010         java/lang/NoSuchMethodException.java
14011         java/lang/NullPointerException.java java/lang/Number.java
14012         java/lang/NumberFormatException.java
14013         java/lang/OutOfMemoryError.java java/lang/Package.java
14014         java/lang/Process.java java/lang/Runnable.java
14015         java/lang/RuntimeException.java
14016         java/lang/RuntimePermission.java
14017         java/lang/SecurityException.java
14018         java/lang/SecurityManager.java java/lang/Short.java
14019         java/lang/StackOverflowError.java java/lang/StringBuffer.java
14020         java/lang/StringIndexOutOfBoundsException.java
14021         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
14022         java/lang/ThreadLocal.java java/lang/UnknownError.java
14023         java/lang/UnsatisfiedLinkError.java
14024         java/lang/UnsupportedClassVersionError.java
14025         java/lang/UnsupportedOperationException.java
14026         java/lang/VerifyError.java java/lang/VirtualMachineError.java
14027         java/lang/Void.java java/lang/ref/PhantomReference.java
14028         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
14029         java/lang/ref/SoftReference.java
14030         java/lang/ref/WeakReference.java
14031         java/lang/reflect/AccessibleObject.java
14032         java/lang/reflect/InvocationTargetException.java
14033         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
14034         java/lang/reflect/ReflectPermission.java
14035         java/math/BigDecimal.java java/math/BigInteger.java
14036         java/net/Authenticator.java java/net/BindException.java
14037         java/net/ConnectException.java java/net/ContentHandler.java
14038         java/net/ContentHandlerFactory.java
14039         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
14040         java/net/FileNameMap.java java/net/MalformedURLException.java
14041         java/net/MulticastSocket.java java/net/NetPermission.java
14042         java/net/NoRouteToHostException.java
14043         java/net/PasswordAuthentication.java
14044         java/net/ProtocolException.java java/net/ServerSocket.java
14045         java/net/Socket.java java/net/SocketException.java
14046         java/net/SocketImpl.java java/net/SocketImplFactory.java
14047         java/net/SocketOptions.java java/net/SocketPermission.java
14048         java/net/URLDecoder.java java/net/URLEncoder.java
14049         java/net/URLStreamHandlerFactory.java
14050         java/net/UnknownHostException.java
14051         java/net/UnknownServiceException.java
14052         java/rmi/AccessException.java
14053         java/rmi/AlreadyBoundException.java
14054         java/rmi/ConnectException.java
14055         java/rmi/ConnectIOException.java
14056         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
14057         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
14058         java/rmi/NotBoundException.java
14059         java/rmi/RMISecurityException.java
14060         java/rmi/RMISecurityManager.java java/rmi/Remote.java
14061         java/rmi/RemoteException.java java/rmi/ServerError.java
14062         java/rmi/ServerException.java
14063         java/rmi/ServerRuntimeException.java
14064         java/rmi/StubNotFoundException.java
14065         java/rmi/UnexpectedException.java
14066         java/rmi/UnknownHostException.java
14067         java/rmi/UnmarshalException.java
14068         java/rmi/activation/Activatable.java
14069         java/rmi/activation/ActivateFailedException.java
14070         java/rmi/activation/ActivationDesc.java
14071         java/rmi/activation/ActivationException.java
14072         java/rmi/activation/ActivationGroup.java
14073         java/rmi/activation/ActivationGroupDesc.java
14074         java/rmi/activation/ActivationGroupID.java
14075         java/rmi/activation/ActivationID.java
14076         java/rmi/activation/ActivationInstantiator.java
14077         java/rmi/activation/ActivationMonitor.java
14078         java/rmi/activation/ActivationSystem.java
14079         java/rmi/activation/Activator.java
14080         java/rmi/activation/UnknownGroupException.java
14081         java/rmi/activation/UnknownObjectException.java
14082         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
14083         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
14084         java/rmi/registry/Registry.java
14085         java/rmi/registry/RegistryHandler.java
14086         java/rmi/server/ExportException.java
14087         java/rmi/server/LoaderHandler.java
14088         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
14089         java/rmi/server/Operation.java
14090         java/rmi/server/RMIClassLoader.java
14091         java/rmi/server/RMIClientSocketFactory.java
14092         java/rmi/server/RMIFailureHandler.java
14093         java/rmi/server/RMIServerSocketFactory.java
14094         java/rmi/server/RMISocketFactory.java
14095         java/rmi/server/RemoteCall.java
14096         java/rmi/server/RemoteObject.java
14097         java/rmi/server/RemoteRef.java
14098         java/rmi/server/RemoteServer.java
14099         java/rmi/server/RemoteStub.java
14100         java/rmi/server/ServerCloneException.java
14101         java/rmi/server/ServerNotActiveException.java
14102         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
14103         java/rmi/server/SkeletonMismatchException.java
14104         java/rmi/server/SkeletonNotFoundException.java
14105         java/rmi/server/SocketSecurityException.java
14106         java/rmi/server/UID.java
14107         java/rmi/server/UnicastRemoteObject.java
14108         java/rmi/server/Unreferenced.java
14109         java/security/AccessControlContext.java
14110         java/security/AccessControlException.java
14111         java/security/AccessController.java
14112         java/security/AlgorithmParameterGenerator.java
14113         java/security/AlgorithmParameterGeneratorSpi.java
14114         java/security/AlgorithmParameters.java
14115         java/security/AlgorithmParametersSpi.java
14116         java/security/AllPermission.java
14117         java/security/BasicPermission.java
14118         java/security/Certificate.java java/security/CodeSource.java
14119         java/security/DigestException.java
14120         java/security/DigestInputStream.java
14121         java/security/DigestOutputStream.java
14122         java/security/DomainCombiner.java
14123         java/security/DummyKeyPairGenerator.java
14124         java/security/DummyMessageDigest.java
14125         java/security/DummySignature.java
14126         java/security/GeneralSecurityException.java
14127         java/security/Guard.java java/security/GuardedObject.java
14128         java/security/Identity.java java/security/IdentityScope.java
14129         java/security/InvalidAlgorithmParameterException.java
14130         java/security/InvalidKeyException.java
14131         java/security/InvalidParameterException.java
14132         java/security/Key.java java/security/KeyException.java
14133         java/security/KeyFactory.java java/security/KeyFactorySpi.java
14134         java/security/KeyManagementException.java
14135         java/security/KeyPair.java java/security/KeyPairGenerator.java
14136         java/security/KeyPairGeneratorSpi.java
14137         java/security/KeyStore.java
14138         java/security/KeyStoreException.java
14139         java/security/KeyStoreSpi.java
14140         java/security/MessageDigest.java
14141         java/security/MessageDigestSpi.java
14142         java/security/NoSuchAlgorithmException.java
14143         java/security/NoSuchProviderException.java
14144         java/security/Permission.java
14145         java/security/PermissionCollection.java
14146         java/security/Permissions.java java/security/Policy.java
14147         java/security/Principal.java java/security/PrivateKey.java
14148         java/security/PrivilegedAction.java
14149         java/security/PrivilegedActionException.java
14150         java/security/PrivilegedExceptionAction.java
14151         java/security/ProtectionDomain.java
14152         java/security/Provider.java
14153         java/security/ProviderException.java
14154         java/security/PublicKey.java
14155         java/security/SecureClassLoader.java
14156         java/security/SecureRandom.java
14157         java/security/SecureRandomSpi.java java/security/Security.java
14158         java/security/SecurityPermission.java
14159         java/security/Signature.java
14160         java/security/SignatureException.java
14161         java/security/SignatureSpi.java
14162         java/security/SignedObject.java java/security/Signer.java
14163         java/security/UnrecoverableKeyException.java
14164         java/security/UnresolvedPermission.java
14165         java/security/acl/Acl.java java/security/acl/AclEntry.java
14166         java/security/acl/AclNotFoundException.java
14167         java/security/acl/Group.java
14168         java/security/acl/LastOwnerException.java
14169         java/security/acl/NotOwnerException.java
14170         java/security/acl/Owner.java java/security/acl/Permission.java
14171         java/security/cert/CRL.java
14172         java/security/cert/CRLException.java
14173         java/security/cert/Certificate.java
14174         java/security/cert/CertificateEncodingException.java
14175         java/security/cert/CertificateException.java
14176         java/security/cert/CertificateExpiredException.java
14177         java/security/cert/CertificateFactory.java
14178         java/security/cert/CertificateFactorySpi.java
14179         java/security/cert/CertificateNotYetValidException.java
14180         java/security/cert/CertificateParsingException.java
14181         java/security/cert/X509CRL.java
14182         java/security/cert/X509CRLEntry.java
14183         java/security/cert/X509Certificate.java
14184         java/security/cert/X509Extension.java
14185         java/security/interfaces/DSAKey.java
14186         java/security/interfaces/DSAKeyPairGenerator.java
14187         java/security/interfaces/DSAParams.java
14188         java/security/interfaces/DSAPrivateKey.java
14189         java/security/interfaces/DSAPublicKey.java
14190         java/security/interfaces/RSAKey.java
14191         java/security/interfaces/RSAPrivateCrtKey.java
14192         java/security/interfaces/RSAPrivateKey.java
14193         java/security/interfaces/RSAPublicKey.java
14194         java/security/spec/AlgorithmParameterSpec.java
14195         java/security/spec/DSAParameterSpec.java
14196         java/security/spec/DSAPrivateKeySpec.java
14197         java/security/spec/DSAPublicKeySpec.java
14198         java/security/spec/EncodedKeySpec.java
14199         java/security/spec/InvalidKeySpecException.java
14200         java/security/spec/InvalidParameterSpecException.java
14201         java/security/spec/KeySpec.java
14202         java/security/spec/PKCS8EncodedKeySpec.java
14203         java/security/spec/RSAKeyGenParameterSpec.java
14204         java/security/spec/RSAPrivateCrtKeySpec.java
14205         java/security/spec/RSAPrivateKeySpec.java
14206         java/security/spec/RSAPublicKeySpec.java
14207         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14208         java/sql/BatchUpdateException.java java/sql/Blob.java
14209         java/sql/CallableStatement.java java/sql/Clob.java
14210         java/sql/Connection.java java/sql/DataTruncation.java
14211         java/sql/DatabaseMetaData.java java/sql/Date.java
14212         java/sql/Driver.java java/sql/DriverManager.java
14213         java/sql/DriverPropertyInfo.java
14214         java/sql/PreparedStatement.java java/sql/Ref.java
14215         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14216         java/sql/SQLData.java java/sql/SQLException.java
14217         java/sql/SQLInput.java java/sql/SQLOutput.java
14218         java/sql/SQLWarning.java java/sql/Statement.java
14219         java/sql/Struct.java java/sql/Time.java
14220         java/sql/Timestamp.java java/sql/Types.java
14221         java/text/Annotation.java
14222         java/text/AttributedCharacterIterator.java
14223         java/text/AttributedString.java
14224         java/text/AttributedStringIterator.java
14225         java/text/BreakIterator.java java/text/CharacterIterator.java
14226         java/text/ChoiceFormat.java java/text/Collator.java
14227         java/text/DateFormat.java java/text/DateFormatSymbols.java
14228         java/text/DecimalFormat.java
14229         java/text/DecimalFormatSymbols.java
14230         java/text/FieldPosition.java java/text/Format.java
14231         java/text/MessageFormat.java java/text/NumberFormat.java
14232         java/text/ParseException.java java/text/ParsePosition.java
14233         java/text/SimpleDateFormat.java
14234         java/text/StringCharacterIterator.java
14235         java/util/AbstractCollection.java java/util/AbstractList.java
14236         java/util/AbstractMap.java
14237         java/util/AbstractSequentialList.java
14238         java/util/AbstractSet.java java/util/ArrayList.java
14239         java/util/Arrays.java java/util/BasicMapEntry.java
14240         java/util/BitSet.java java/util/Calendar.java
14241         java/util/Collection.java java/util/Collections.java
14242         java/util/Comparator.java
14243         java/util/ConcurrentModificationException.java
14244         java/util/Date.java java/util/Dictionary.java
14245         java/util/EmptyStackException.java java/util/Enumeration.java
14246         java/util/EventListener.java java/util/EventObject.java
14247         java/util/GregorianCalendar.java java/util/HashMap.java
14248         java/util/HashSet.java java/util/Hashtable.java
14249         java/util/IdentityHashMap.java java/util/Iterator.java
14250         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
14251         java/util/LinkedList.java java/util/List.java
14252         java/util/ListIterator.java java/util/ListResourceBundle.java
14253         java/util/Locale.java java/util/Map.java
14254         java/util/MissingResourceException.java
14255         java/util/NoSuchElementException.java
14256         java/util/Observable.java java/util/Observer.java
14257         java/util/Properties.java java/util/PropertyPermission.java
14258         java/util/PropertyResourceBundle.java java/util/Random.java
14259         java/util/RandomAccess.java java/util/ResourceBundle.java
14260         java/util/Set.java java/util/SimpleTimeZone.java
14261         java/util/SortedMap.java java/util/SortedSet.java
14262         java/util/Stack.java java/util/StringTokenizer.java
14263         java/util/TimeZone.java java/util/Timer.java
14264         java/util/TimerTask.java
14265         java/util/TooManyListenersException.java
14266         java/util/TreeMap.java java/util/TreeSet.java
14267         java/util/Vector.java java/util/WeakHashMap.java
14268         java/util/jar/Attributes.java java/util/jar/JarEntry.java
14269         java/util/jar/JarException.java java/util/jar/JarFile.java
14270         java/util/jar/JarInputStream.java
14271         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
14272         java/util/zip/Adler32.java java/util/zip/CRC32.java
14273         java/util/zip/CheckedInputStream.java
14274         java/util/zip/CheckedOutputStream.java
14275         java/util/zip/Checksum.java
14276         java/util/zip/DataFormatException.java
14277         java/util/zip/Deflater.java
14278         java/util/zip/DeflaterOutputStream.java
14279         java/util/zip/GZIPInputStream.java
14280         java/util/zip/GZIPOutputStream.java
14281         java/util/zip/Inflater.java
14282         java/util/zip/InflaterInputStream.java
14283         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
14284         java/util/zip/ZipException.java java/util/zip/ZipFile.java
14285         java/util/zip/ZipInputStream.java
14286         java/util/zip/ZipOutputStream.java
14287         javax/naming/BinaryRefAddr.java
14288         javax/naming/InvalidNameException.java javax/naming/Name.java
14289         javax/naming/NamingException.java javax/naming/RefAddr.java
14290         javax/naming/StringRefAddr.java: Add license clarification.
14291
14292 2002-01-22  Tom Tromey  <tromey@redhat.com>
14293
14294         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
14295         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
14296         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
14297         version.
14298         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
14299         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
14300         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
14301         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
14302         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
14303         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
14304         * java/awt/peer/FontPeer.java: Replace with Classpath version.
14305         * java/awt/peer/FramePeer.java: Replace with Classpath version.
14306         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
14307         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
14308         * java/awt/peer/ListPeer.java: Replace with Classpath version.
14309         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
14310         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
14311         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
14312         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
14313         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
14314         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
14315         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
14316         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
14317         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
14318         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
14319         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
14320         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
14321         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
14322         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
14323         (minimumSize, preferredSize, reshape): Likewise.
14324         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
14325         getColorModel): New methods.
14326         * java/awt/PopupMenu.java: Merged with Classpath.
14327         * java/awt/MenuBar.java: Merged with Classpath.
14328         * java/awt/SystemColor.java: Replace with Classpath version.
14329         * java/awt/Panel.java: Merged with Classpath.
14330         * java/awt/PaintContext.java: Updated copyright.
14331         * java/awt/MenuShortcut.java: Merged with Classpath.
14332         * java/awt/MenuContainer.java: Merged with Classpath.
14333         * java/awt/Menu.java: Merged with Classpath.
14334         * java/awt/MediaEntry.java: New file from Classpath.
14335         * java/awt/MediaTracker.java: New file from Classpath.
14336         * java/awt/List.java: Merged with Classpath version.
14337         * java/awt/Insets.java: Merged with Classpath version.
14338         * java/awt/ImageMediaEntry.java: New file from Classpath.
14339         * java/awt/Image.java: Replaced with Classpath version.
14340         * java/awt/FontMetrics.java: Merged with Classpath version.
14341         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
14342         constant.
14343         * java/awt/Font.java: Merged with Classpath version.
14344         * java/awt/Dialog.java: Merged with Classpath version.
14345         * java/awt/Color.java: Merged with Classpath version.
14346         * java/awt/Choice.java: Merged with Classpath version.
14347         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
14348         * java/awt/Adjustable.java: Replace with Classpath version.
14349         * java/awt/MenuItem.java (paramString): Don't include class name
14350         or brackets.  Call superclass paramString.
14351         * java/awt/MenuComponent.java (toString): Call paramString.
14352         (paramString): Compute string; don't call toString.
14353         * java/awt/Label.java (paramString): Don't include class name
14354         or brackets.  Call superclass paramString.
14355         * java/awt/Checkbox.java (paramString): Don't include class name
14356         or brackets.  Call superclass paramString.
14357         * java/awt/Button.java (paramString): Don't include class name or
14358         brackets.  Call superclass paramString.
14359         * java/awt/MenuComponent.java (getTreeLock): Now protected.
14360
14361 2002-01-20  Andreas Schwab  <schwab@suse.de>
14362
14363         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
14364         function and of parameter recv_func to ssize_t, as specified by
14365         POSIX.
14366
14367 2002-01-19  Per Bothner  <per@bothner.com>
14368
14369         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
14370         uncompressed_size in readiness for next entry.
14371
14372 2002-01-18  Tom Tromey  <tromey@redhat.com>
14373
14374         * java/net/natPlainSocketImpl.cc: Include
14375         IllegalArgumentException.h.
14376         (_Jv_recv): New template function.
14377         (BooleanClass): Removed.
14378         (read): Use _Jv_recv.
14379         (setOption): Use Boolean::class$.  Throw exception if object is
14380         not Boolean or Integer.
14381
14382 2002-01-17  Tom Tromey  <tromey@redhat.com>
14383
14384         * java/awt/MenuComponent.java: Merged with Classpath.
14385         * java/awt/MenuItem.java: Merged with Classpath.
14386         * java/awt/Button.java: Merged with Classpath.
14387
14388         * java/awt/ActiveEvent.java: Updated copyright.
14389
14390         * java/awt/AWTError.java: Replaced with Classpath version.
14391         * java/awt/AWTException.java: Replaced with Classpath version.
14392         * java/awt/IllegalComponentStateException.java: Replaced with
14393         Classpath version.
14394
14395 2002-01-16  Tom Tromey  <tromey@redhat.com>
14396
14397         * java/awt/Canvas.java (serialVersionUID): New constant.
14398         Updated copyright.  Added javadoc from Classpath.
14399         * java/awt/ItemSelectable.java: Replaced with Classpath version.
14400
14401         * java/awt/CheckboxGroup.java: Merged with Classpath.
14402         * java/awt/Checkbox.java: Merged with Classpath.
14403
14404         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
14405         Classpath.
14406         * java/awt/Point.java: Updated copyright.
14407
14408         * java/awt/Point.java (toString): Use getClass().getName().
14409         Added javadoc.
14410
14411         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14412         commented code.
14413         (hash): Correctly compute initial value for `h'.
14414
14415         * java/awt/Label.java: Merged with Classpath.
14416
14417 2002-01-15  Tom Tromey  <tromey@redhat.com>
14418
14419         * java/awt/AWTPermission.java: Updated copyright.
14420
14421         * java/awt/LayoutManager2.java: Merged with Classpath.
14422         * java/awt/LayoutManager.java: Merged with Classpath.
14423         * java/awt/GridLayout.java: Updated copyright and javadoc.
14424         (getSize): Use `parent.ncomponents'.  Handle insets.
14425         (layoutContainer): Use `parent.ncomponents'.  Handle case where
14426         there are fewer children than columns.  Correctly compute size of
14427         each cell in the grid.  Handle case where there isn't enough
14428         space.
14429         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
14430         all users.
14431         (gotoComponent): Use parent.ncomponents.  Ensure child exists
14432         before calling setVisible() on it.  Last item is `num - 1', not
14433         `num'.
14434         (layoutContainer): Hoist invariants out of loop.
14435
14436         Start of AWT merge with Classpath:
14437         * Makefile.in: Rebuilt.
14438         * Makefile.am (awt_java_source_files): Reference files in
14439         gnu/java/awt, not gnu/gcj/awt.
14440         * java/awt/image/BufferedImage.java: Updated copyright.
14441         * java/awt/image/ComponentColorModel.java: Updated copyright.
14442         * java/awt/image/ComponentSampleModel.java: Updated copyright.
14443         * java/awt/image/DataBuffer.java: Updated copyright.
14444         * java/awt/image/DataBufferByte.java: Updated copyright.
14445         * java/awt/image/DataBufferInt.java: Updated copyright.
14446         * java/awt/image/DataBufferUShort.java: Updated copyright.
14447         * java/awt/image/IndexColorModel.java: Updated copyright.
14448         * java/awt/image/PackedColorModel.java: Updated copyright.
14449         * java/awt/image/Raster.java: Updated copyright.
14450         * java/awt/image/RasterOp.java: Updated copyright.
14451         * java/awt/image/SampleModel.java: Updated copyright.
14452         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14453         * java/awt/image/WritableRaster.java: Updated copyright.
14454         * java/awt/color/ColorSpace.java: Updated copyright.
14455         * java/awt/color/ICC_ColorSpace.java: Updated copyright
14456         * java/awt/color/ICC_Profile.java: Updated copyright.
14457         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14458         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14459         * java/awt/event/HierarchyEvent.java: Updated copyright.
14460         * java/awt/event/HierarchyListener.java: Updated copyright.
14461         * java/awt/geom/AffineTransform.java: Updated copyright.
14462         * java/awt/geom/Dimension2D.java: Updated copyright.
14463         * java/awt/geom/Ellipse2D.java: Updated copyright.
14464         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14465         * java/awt/geom/Line2D.java: Updated copyright.
14466         * java/awt/geom/NoninvertibleTransformException.java: Updated
14467         copyright.
14468         * java/awt/geom/PathIterator.java: Updated copyright.
14469         * java/awt/geom/Point2D.java: Updated copyright.
14470         * java/awt/geom/Rectangle2D.java: Updated copyright.
14471         * java/awt/geom/RectangularShape.java: Updated copyright.
14472         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14473         * java/awt/Toolkit.java: Updated import for file moves.
14474         * java/awt/Rectangle.java: Updated copyright; added javadoc from
14475         Classpath.
14476         (hashCode): New method from Classpath.
14477         * java/awt/Graphics2D.java: Updated copyright.
14478         * java/awt/Transparency.java: Updated copyright.
14479         * java/awt/Paint.java: Updated copyright.
14480         * java/awt/Graphics.java: New version from Classpath.
14481         * java/awt/EventDispatchThread.java: Updated copyright.
14482         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14483         children.
14484         (gotoComponent): Wrap around on next/previous.
14485         * gnu/gcj/awt/BitMaskExtent.java: Removed.
14486         * gnu/gcj/awt/Buffers.java: Removed.
14487         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
14488         * gnu/gcj/awt/GLightweightPeer.java: Removed.
14489         * gnu/java/awt/BitMaskExtent.java: Added.
14490         * gnu/java/awt/Buffers.java: Added.
14491         * gnu/java/awt/ComponentDataBlitOp.java: Added.
14492         * gnu/java/awt/GLightweightPeer.java: Added.
14493         * java/awt/geom/Line2D.java (clone): Ignore
14494         CloneNotSupportedException.
14495         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
14496         * java/awt/Frame.java: Merged with Classpath.
14497         * java/awt/RenderingHints.java: Copyright update.
14498         * java/awt/Paint.java: Copyright update.
14499         * java/awt/image/DirectColorModel.java: Merged with Classpath.
14500         * java/awt/image/ColorModel.java: Merged with Classpath.
14501         * java/awt/Window.java (show): New Implementation from Classpath.
14502         (isShowing): Use super.isShowing().
14503         * java/awt/EventQueue.java: Merged with Classpath.
14504         * java/awt/AWTEventMulticaster.java (save): Throw
14505         RuntimeException.
14506         (saveInternal): Likewise.
14507         * java/awt/AWTEvent.java: Now implements Serializable.
14508         * java/awt/Event.java: Copyright update.
14509         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
14510         * java/awt/image/BufferedImage.java: Copyright update.
14511         * java/awt/GraphicsConfiguration.java: Copyright update.
14512         * java/awt/Component.java: (addNotify): Don't call
14513         addNotifyContainerChildren().
14514         (addNotifyContainerChildren): Removed.
14515         (setPeer): New method from Classpath.
14516         (setTreeLock): Likewise.
14517         (setVisible): Rewrote.
14518         (show): Use it.
14519         (hide): Likewise.
14520         (validate): Set `valid'.
14521         (checkImage(Image,ImageObserver)): Implementation from Classpath.
14522         (createImage(ImageProducer)): Likewise.
14523         (prepareImage): Likewise.
14524         * java/awt/Container.java (addImpl): Handle case where constraint
14525         is not a String.  Post event via system event queue.
14526         (remove): Post event via system event queue.
14527         (validateTree): Only validate child if it is invalid.
14528         (getAlignmentX): Call super method as default.
14529         (getAlignmentY): Likewise.
14530         (addContainerListener): Now synchronized.
14531         (removeContainerListener): Likewise.
14532         (addNotifyContainerChildren): Now private.
14533         * java/awt/ComponentOrientation.java: Updated copyright.  Added
14534         @author.
14535         * java/awt/FlowLayout.java (serialVersionUID): New field.
14536         (setAlignment): Better exception message.
14537         (layoutContainer): Don't compute component's preferred size unless
14538         we're going to use it.
14539         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
14540         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
14541         (firstLine, lastLine, firstItem, lastItem): New fields.
14542         (addLayoutComponent): Handle case where constraints is null.
14543         Also, handle relative locations.
14544         (removeLayoutComponent): Handle relative locations.
14545         (MIN, MAX, PREF): New constants.
14546         (calcCompSize): New method.
14547         (calcSize): New method.
14548         (minimumLayoutSize): Use it.
14549         (preferredLayoutSize): Likewise.
14550         (maximumLayoutSize): Likewise.
14551         (toString): Include more information.
14552         (setBounds): New method.
14553         (layoutContainer): Use libgcj implementation; extended to handle
14554         relative locations.
14555
14556 2002-01-15  Tom Tromey  <tromey@redhat.com>
14557
14558         * java/lang/Float.java (equals): Preserve old code.
14559         * java/lang/Double.java (equals): Preserve old code.
14560
14561 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
14562
14563         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
14564         * java/lang/Float.java (equals, compare): Ditto.
14565
14566 2002-01-13  Mark Wielaard  <mark@klomp.org>
14567
14568         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
14569         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
14570         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
14571         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
14572
14573 2002-01-11  Mark Wielaard  <mark@klomp.org>
14574
14575         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
14576         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
14577         InetAddress.
14578         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
14579         * java/net/Socket.java: Merge with Classpath.
14580         * java/net/ServerSocket.java: Likewise.
14581
14582 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
14583
14584         * interpret.cc (NULLARRAYCHECK): New macro.
14585         (SAVE_PC): Just store `pc'.
14586         (find_exception): Subtract one from `pc' here.
14587         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14588         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14589         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14590         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
14591         don't call SAVE_PC.
14592         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
14593         call SAVE_PC.
14594
14595 2002-01-11  Tom Tromey  <tromey@redhat.com>
14596
14597         * java/lang/natSystem.cc (init_properties): Only look for default
14598         locale if LC_MESSAGES is defined.
14599         * aclocal.m4, configure, include/config.h.in: Rebuilt.
14600         * configure.in: Call AM_LC_MESSAGES.
14601         * acinclude.m4 (AM_LC_MESSAGES): New macro.
14602
14603 2002-01-10  Tom Tromey  <tromey@redhat.com>
14604
14605         For PR libgcj/5303:
14606         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
14607         --version.  Recognize GNU-style long options.  Print GNU-style
14608         error messages.
14609         (usage): Print GNU-style help.  Exit with status 0.
14610         (error): New method.
14611         (run): Print error message if no class names found.
14612         (main): Don't print usage on error.
14613
14614 2002-01-09  Tom Tromey  <tromey@redhat.com>
14615
14616         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
14617         property.
14618         (help, version): Use println(), not println("").
14619
14620         For PR libgcj/5303:
14621         * gnu/gcj/convert/Convert.java (error): Program is called
14622         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
14623         -1.
14624         (main): Handle --help and --version.
14625         (help): New method.
14626         (version): Likewise.
14627
14628 2002-01-08  Tom Tromey  <tromey@redhat.com>
14629
14630         * Makefile.in: Rebuilt.
14631         * Makefile.am (ordinary_java_source_files): Added new files.
14632         * gnu/java/locale/LocaleInformation.java: Extend
14633         LocaleInformation_en.
14634         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
14635         and time/date formats.
14636         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
14637         generated.
14638         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
14639         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
14640         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
14641         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
14642         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
14643         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
14644         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
14645         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
14646         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
14647         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
14648         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
14649         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
14650         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
14651         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
14652         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
14653         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
14654         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
14655         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
14656         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
14657         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
14658         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
14659         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
14660         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
14661         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
14662         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
14663         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
14664         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
14665         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
14666         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
14667         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
14668         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
14669         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
14670         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
14671         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
14672         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
14673         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
14674         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
14675         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
14676         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
14677         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
14678         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
14679         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
14680         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
14681         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
14682         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
14683         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
14684         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
14685         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
14686         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
14687         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
14688         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
14689         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
14690         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
14691         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
14692         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
14693         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
14694         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
14695         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
14696         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
14697         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
14698         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
14699         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
14700         * gnu/java/locale/LocaleInformation_es_US.java: New file.
14701         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
14702         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
14703         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
14704         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
14705         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
14706         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
14707         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
14708         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
14709         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
14710         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
14711         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
14712         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
14713         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
14714         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
14715         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
14716         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
14717         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
14718         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
14719         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
14720         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
14721         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
14722         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
14723         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
14724         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
14725         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
14726         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
14727         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
14728         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
14729         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
14730         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
14731         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
14732         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
14733         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
14734         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
14735         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
14736         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
14737         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
14738         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
14739         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
14740         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
14741         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
14742         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
14743         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
14744         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
14745         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
14746         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
14747         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
14748         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
14749         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
14750         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
14751         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
14752         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
14753         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
14754         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
14755         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
14756         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
14757         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
14758         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
14759         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
14760         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
14761         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
14762         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
14763         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
14764         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
14765         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
14766         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
14767         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
14768
14769         For PR libgcj/5031:
14770         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
14771         choose default locale.
14772
14773         * Makefile.in: Rebuilt.
14774         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
14775
14776 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
14777
14778         * java/net/natPlainSocketImpl.cc: Added timeout handling for
14779         sockets.
14780         (close): New function closes the socket.
14781         (write): New functions for output to socket.
14782         (read): New functions for reading from socket.
14783         * java/net/PlainSocketImpl.java: Glue for new timeout
14784         implementation.
14785         (write): Call the native impl.
14786         (read): Likewise.
14787         (getInputStream): Get a stream to read from the socket.
14788         (getOutputStream): Get a stream to write to the socket.
14789
14790 2002-01-08  Tom Tromey  <tromey@redhat.com>
14791
14792         * resolve.cc (_Jv_PrepareClass): Enable verifier.
14793
14794 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
14795
14796         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
14797         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
14798
14799 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
14800
14801         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
14802         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14803         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14804         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14805         insn_bastore, insn_castore, insn_sastore]: Use it.
14806         (continue1) [insn_arraylength]: Check for null array.
14807
14808 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
14809
14810         * configure, include/config.h.in: Rebuilt.
14811         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
14812         * configure.in: Call AC_STRUCT_TIMEZONE.
14813
14814 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
14815
14816         * configure.host: Disable the interpreter for Darwin.
14817
14818 2002-01-04  Tom Tromey  <tromey@redhat.com>
14819
14820         * java/lang/Thread.java (stop): No longer synchronized.
14821         (start): Likewise.
14822
14823 2002-01-02  Tom Tromey  <tromey@redhat.com>
14824
14825         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
14826         patch.
14827
14828 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
14829
14830         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
14831         PPC Darwin, not for all of Darwin.