OSDN Git Service

2003-10-11 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-10-11  Michael Koch  <konqueror@gmx.de>
2
3         * java/text/AttributedCharacterIterator.java,
4         java/text/CharacterIterator.java:
5         Removed redundant modifiers.
6
7 2003-10-11  Michael Koch  <konqueror@gmx.de>
8
9         * java/sql/Array.java,
10         java/sql/Blob.java,
11         java/sql/CallableStatement.java,
12         java/sql/Clob.java,
13         java/sql/Connection.java,
14         java/sql/DatabaseMetaData.java,
15         java/sql/Driver.java,
16         java/sql/ParameterMetaData.java,
17         java/sql/PreparedStatement.java,
18         java/sql/Ref.java,
19         java/sql/ResultSet.java,
20         java/sql/ResultSetMetaData.java,
21         java/sql/SQLData.java,
22         java/sql/SQLInput.java,
23         java/sql/SQLOutput.java,
24         java/sql/Savepoint.java,
25         java/sql/Statement.java,
26         java/sql/Struct.java:
27         Removed redundant modifiers.
28
29 2003-10-11  Michael Koch  <konqueror@gmx.de>
30
31         * java/nio/channels/Channel.java,
32         java/nio/channels/GatheringByteChannel.java,
33         java/nio/channels/ReadableByteChannel.java,
34         java/nio/channels/ScatteringByteChannel.java,
35         java/nio/channels/WritableByteChannel.java:
36         Removed redundant modifiers.
37
38 2003-10-11  Michael Koch  <konqueror@gmx.de>
39
40         * java/rmi/activation/ActivationInstantiator.java,
41         java/rmi/activation/ActivationMonitor.java,
42         java/rmi/activation/ActivationSystem.java,
43         java/rmi/activation/Activator.java,
44         java/rmi/dgc/DGC.java,
45         java/rmi/registry/Registry.java,
46         java/rmi/registry/RegistryHandler.java,
47         java/rmi/server/LoaderHandler.java,
48         java/rmi/server/RMIClientSocketFactory.java,
49         java/rmi/server/RMIFailureHandler.java,
50         java/rmi/server/RMIServerSocketFactory.java,
51         java/rmi/server/RemoteCall.java,
52         java/rmi/server/RemoteRef.java,
53         java/rmi/server/ServerRef.java,
54         java/rmi/server/Skeleton.java,
55         java/rmi/server/Unreferenced.java:
56         Removed redundant modifiers.
57
58 2003-10-11  Michael Koch  <konqueror@gmx.de>
59
60         * java/net/ContentHandlerFactory.java,
61         java/net/DatagramSocketImplFactory.java,
62         java/net/FileNameMap.java,
63         java/net/SocketImplFactory.java,
64         java/net/SocketOptions.java,
65         java/net/URLStreamHandlerFactory.java:
66         Removed redundant modifiers.
67
68 2003-10-11  Michael Koch  <konqueror@gmx.de>
69
70         * java/io/Externalizable.java,
71         java/io/FileFilter.java,
72         java/io/FilePermission.java,
73         java/io/ObjectInput.java,
74         java/io/ObjectInputValidation.java,
75         java/io/ObjectOutput.java,
76         java/io/ObjectStreamClass.java,
77         java/io/ObjectStreamConstants.java,
78         java/io/Serializable.java:
79         Removed redundant modifiers.
80
81 2003-10-11  Ingo Proetel  <proetel@aicas.com>
82
83         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
84         codebase and context classloader.
85
86 2003-10-11  Michael Koch  <konqueror@gmx.de>
87
88         * java/beans/beancontext/BeanContext.java,
89         java/beans/beancontext/BeanContextChild.java,
90         java/beans/beancontext/BeanContextChildComponentProxy.java,
91         java/beans/beancontext/BeanContextChildSupport.java,
92         java/beans/beancontext/BeanContextContainerProxy.java,
93         java/beans/beancontext/BeanContextMembershipListener.java,
94         java/beans/beancontext/BeanContextProxy.java,
95         java/beans/beancontext/BeanContextServiceProvider.java,
96         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
97         java/beans/beancontext/BeanContextServiceRevokedListener.java,
98         java/beans/beancontext/BeanContextServices.java,
99         java/beans/beancontext/BeanContextServicesListener.java:
100         Removed redundant modifiers.
101
102 2003-10-11  Michael Koch  <konqueror@gmx.de>
103
104         * java/beans/AppletInitializer.java,
105         java/beans/BeanInfo.java,
106         java/beans/Customizer.java,
107         java/beans/DesignMode.java,
108         java/beans/PropertyEditor.java,
109         java/beans/Visibility.java:
110         Removed redundant modifiers.
111
112 2003-10-11  Michael Koch  <konqueror@gmx.de>
113
114         * java/awt/print/Pageable.java,
115         * java/awt/print/Printable.java,
116         java/awt/print/PrinterGraphics.java:
117         Removed redundant modifiers.
118
119 2003-10-11  Michael Koch  <konqueror@gmx.de>
120
121         * java/awt/peer/ButtonPeer.java,
122         java/awt/peer/CheckboxMenuItemPeer.java,
123         java/awt/peer/CheckboxPeer.java,
124         java/awt/peer/ChoicePeer.java,
125         java/awt/peer/ComponentPeer.java,
126         java/awt/peer/ContainerPeer.java,
127         java/awt/peer/DialogPeer.java,
128         java/awt/peer/FileDialogPeer.java,
129         java/awt/peer/FramePeer.java,
130         java/awt/peer/LabelPeer.java,
131         java/awt/peer/ListPeer.java,
132         java/awt/peer/MenuBarPeer.java,
133         java/awt/peer/MenuComponentPeer.java,
134         java/awt/peer/MenuItemPeer.java,
135         java/awt/peer/MenuPeer.java,
136         java/awt/peer/PopupMenuPeer.java,
137         java/awt/peer/RobotPeer.java,
138         java/awt/peer/ScrollPanePeer.java,
139         java/awt/peer/ScrollbarPeer.java,
140         java/awt/peer/TextAreaPeer.java,
141         java/awt/peer/TextComponentPeer.java,
142         java/awt/peer/TextFieldPeer.java,
143         java/awt/peer/WindowPeer.java:
144         Removed redundant modifiers.
145
146 2003-10-11  Michael Koch  <konqueror@gmx.de>
147
148         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
149         * gnu/java/nio/ServerSocketChannelImpl.java
150         (serverSocket): Made it a NIOServerSocket.
151         (impl): Removed.
152         (ServerSocketChannelImpl): Initialize only serverSocket.
153         (initServerSocket): Removed.
154         (getNativeFD): Rewritten.
155         (implConfigureBlocking): Set socket timeout and removed comment.
156         (accept): Rewritten.
157         * gnu/java/nio/SocketChannelImpl.java
158         (impl): New variable.
159         (connected): Removed.
160         (SocketChannelImpl): Initialize impl too.
161         (getImpl): New method.
162         (isConnected): Rewritten.
163         (read): Rewritten, set position in buffer correctly.
164         (write): Set position in buffer correctly.
165         * java/net/ServerSocket.java (getImpl): New method.
166         * gnu/java/nio/NIOServerSocket.java,
167         gnu/java/nio/natNIOServerSocket.cc: New files.
168         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
169         * Makefile.am
170         (ordinary_java_source_files):
171         Added gnu/java/nio/NIOServerSocket.java.
172         (nat_source_files):
173         Removed gnu/java/nio/natServerSocketChannelImpl.cc
174         and added gnu/java/nio/natNIOServerSocket.cc.
175         * Makefile.in: Regenerated.
176
177 2003-10-11  Michael Koch  <konqueror@gmx.de>
178
179         * java/awt/ActiveEvent.java,
180         java/awt/datatransfer/ClipboardOwner.java,
181         java/awt/datatransfer/FlavorMap.java,
182         java/awt/datatransfer/Transferable.java,
183         java/awt/dnd/Autoscroll.java,
184         java/awt/dnd/peer/DragSourceContextPeer.java,
185         java/awt/dnd/peer/DropTargetContextPeer.java,
186         java/awt/dnd/peer/DropTargetPeer.java,
187         java/awt/font/MultipleMaster.java,
188         java/awt/font/OpenType.java,
189         java/awt/im/spi/InputMethodDescriptor.java,
190         java/awt/image/ImageObserver.java,
191         java/awt/image/ImageConsumer.java,
192         java/awt/image/ImageProducer.java,
193         java/awt/image/RGBImageFilter.java,
194         java/awt/image/RasterOp.java,
195         java/awt/image/renderable/RenderableImage.java:
196         Removed redundant modifiers.
197
198 2003-10-11  Michael Koch  <konqueror@gmx.de>
199
200         * gnu/awt/j2d/DirectRasterGraphics.java,
201         gnu/java/awt/EmbeddedWindowSupport.java:
202         Removed redundant modifiers.
203
204 2003-10-09  Michael Koch  <konqueror@gmx.de>
205
206         * gnu/java/nio/SelectorImpl.java (register):
207         Use ServerSocketChannelSelectionKey for server socket channels,
208         removed unneeded comments.
209         * gnu/java/nio/ServerSocketChannelImpl.java
210         (ServerSocketChannelImpl): Made class public final.
211         (impl): New member variable.
212         (ServerSocketChannelImpl): Initialize member variables correctly.
213         (initServerSocket): New method.
214         (getNativeFD): Likewise.
215         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
216         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
217         * Makefile.am (ordinary_java_source_files):
218         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
219         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
220         * Makefile.in: Regenrated.
221
222 2003-10-09  Michael Koch  <konqueror@gmx.de>
223
224         * java/nio/channels/spi/AbstractSelectableChannel.java
225         (registered): Made private.
226         (blocking): Likewise.
227         (LOCK): Likewise.
228         (provider): Likewise.
229         (keys): Made it a private LinkedList.
230         (AbstractSelectableChannel): Initialize keys.
231         (isRegistered): New implementation.
232         (locate): Rewritten.
233         (register): Rewritten.
234         * java/nio/channels/spi/AbstractSelectionKey.java
235         (ok): Removed.
236         (cancelled): New member variable.
237         (cancel): Rewritten.
238         (isValid): Rewritten.
239         * java/nio/channels/spi/AbstractSelector.java:
240         Some methods moved.
241         (closed): Make private.
242         (provider): Likewise.
243         (cancelledKeys): New member variable.
244         (AbstractSelector): Initialize cancelledKeys.
245         (cancelKey): New method.
246
247 2003-10-09  Tom Tromey  <tromey@redhat.com>
248
249         * java/lang/ClassLoader.java (setSigners): Implemented.
250         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
251         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
252         Initialize new fields.
253         * java/lang/Class.java (getSigners): Now native.
254         (setSigners): Declare.
255         * java/lang/natClass.cc (getSigners): New method.
256         (getSigners): Likewise.
257         * java/lang/Class.h (Class::signers): New field.
258         (Class::setSigners): New method.
259
260 2003-10-09  Michael Koch  <konqueror@gmx.de>
261
262         * java/rmi/server/RMIClassLoader.java:
263         Removed unused imports, little reformatings.
264         (getClassLoader): New method, implementation was part of old loadCLass
265         method.
266         (loadClass): Simplified by moving functionality to new method and
267         reworking the code a bit.
268         (getClassAnnotation): Merged documentation from classpath.
269
270 2003-10-09  Michael Koch  <konqueror@gmx.de>
271
272         * java/math/BigInteger.java
273         (add): Removed unused local variable len.
274
275 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
276
277         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
278         modality check.
279         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
280         Initialize insets to use latest insets.
281         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
282         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
283         field.
284         (postConfigureEvent): Update latestInsets field when insets
285         change.  Remove call to setSize.  Move validate call outside of
286         if blocks.
287         (setVisible): Call setBounds before showing window.
288         (nativeSetVisible): New native method.
289         * java/awt/Window.java (show): Show visible owned windows.
290         (hide): Hide visible owned windows.
291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
292         (awt_event_handler): Implement modality using GTK grabs.
293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
294         (global_gtk_window_group): New global variable.
295         (gtkInit): Initialize global_gtk_window_group.
296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
297         Clamp width and height values to at least 1.  Add this window to
298         the global GTK window group.
299         (setVisible): Rename to nativeSetVisible.
300         (setup_window): Remove function.
301         (setSize): Clamp width and height values to at least 1.
302         (nativeSetBounds): Likewise.
303         (gdk_window_get_root_geometry): Remove function.
304         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
305         and setup_window declarations.  Declare global_gtk_window_group.
306
307         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
308         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
309         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
310         (gtkWidgetSetForeground): New method.
311         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
312         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
313         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
314         (setBackground, setForeground): Implement.
315         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
316         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
317         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
318         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
319         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
321         Position PangoLayout relative to text's baseline.
322         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
323
324         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
325         for CENTER and RIGHT alignments.
326
327 2003-10-08  Michael Koch  <konqueror@gmx.de>
328
329         * java/security/Security.java: Reformated.
330
331 2003-10-08  Michael Koch  <konqueror@gmx.de>
332
333         * java/text/SimpleDateFormat.java
334         (compileFormat): Replace Character.isLetter() test with
335         Character.isLowerCase() || Character.isUpperCase().
336
337 2003-10-08  Tom Tromey  <tromey@redhat.com>
338
339         * java/lang/StrictMath.java (toDegrees): Multiply before
340         dividing.
341         (toRadians): Likewise.
342
343 2003-10-08  C. Brian Jones  <cbj@gnu.org>
344
345         * java/lang/Math.java
346         (toRadians): multiply before dividing to reduce decimal error
347         (toDegrees): ditto
348
349 2003-10-08  Michael Koch  <konqueror@gmx.de>
350
351         * gnu/gcj/protocol/core/Connection.java,
352         gnu/gcj/protocol/core/CoreInputStream.java,
353         gnu/gcj/protocol/core/Handler.java,
354         gnu/gcj/protocol/core/natCoreInputStream.cc,
355         gnu/gcj/protocol/file/Connection.java,
356         gnu/gcj/protocol/file/Handler.java,
357         gnu/gcj/protocol/gcjlib/Connection.java,
358         gnu/gcj/protocol/gcjlib/Handler.java,
359         gnu/gcj/protocol/http/Connection.java,
360         gnu/gcj/protocol/http/Handler.java,
361         gnu/gcj/protocol/jar/Connection.java,
362         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
363         * gnu/java/net/protocol/core/Connection.java,
364         gnu/java/net/protocol/core/CoreInputStream.java,
365         gnu/java/net/protocol/core/Handler.java,
366         gnu/java/net/protocol/core/natCoreInputStream.cc,
367         gnu/java/net/protocol/file/Connection.java,
368         gnu/java/net/protocol/file/Handler.java,
369         gnu/java/net/protocol/gcjlib/Connection.java,
370         gnu/java/net/protocol/gcjlib/Handler.java,
371         gnu/java/net/protocol/http/Connection.java,
372         gnu/java/net/protocol/http/Handler.java,
373         gnu/java/net/protocol/jar/Connection.java,
374         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
375         * gnu/gcj/runtime/FirstThread.java,
376         java/net/URL.java: Use moved protocol handlers.
377         * Makefile.am
378         (ordinary_java_source_files): Moved files.
379         (nat_source_files): Likewise.
380         * Makefile.in: Regenerated.
381
382 2003-10-08  Michael Koch  <konqueror@gmx.de>
383
384         * gnu/java/nio/SocketChannelImpl.java
385         (read): Write only read data to buffer.
386
387 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
388
389         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
390         out.
391         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
392         (JCL_free): Attach "unused" attribute to env parameter.
393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
399         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
401         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
402         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
403         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
404         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
405         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
406         parameters.
407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
408         (initNativeState): Pass 0 as info argument to
409         gtk_selection_add_target.
410         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
411         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
412         unused method implementations.
413         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
414         (awt_event_handler): Add break statement after default label.
415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
416         (drawPixels): Remove unused variable i.
417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
418         (setEnabled): Remove method implementation.
419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
420         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
421         argument.
422         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
423         unused function.
424         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
425         (menu_pos): Assign TRUE to push_in.
426         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
427         argument.
428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
429         (create): Remove unused variable layout.
430         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
431         Pass window_widget, rather than window, to
432         gtk_widget_set_size_request.
433         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
434         structure initialization with NULL values.
435         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
436
437 2003-10-08  Michael Koch  <konqueror@gmx.de>
438
439         * java/util/LinkedList.java:
440         Removed whitespace to match classpath's version again.
441
442 2003-10-08  Michael Koch  <konqueror@gmx.de>
443
444         * java/util/prefs/Preferences.java
445         (defaultFactoryClass): Fixed class name.
446         (getFactory): Create instance of class returned by Class.forName(),
447         reformated code.
448
449 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
450
451         * javax/swing/table/AbstractTableModel.java
452         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
453         helped stop pulling my hair on this +1 then -1 tricky thing!
454
455 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
456
457         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
458         Remove unused parameters.
459         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
460         Likewise.
461         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
462         (keyevent_state_to_awt_mods): Export function.
463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
464         (getCaretPosition): Fix TextArea case.
465         (textcomponent_commit_cb): Get exact event time and modifier
466         state.
467         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
468
469 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
470
471         * java/net/InetSocketAddress.java
472         (InetSocketAddress): Made exception more clear.
473         (equals): Handle case when addr is null.
474         (toString): Likewise.
475         * java/net/NetworkInterface.java
476         (static): Load native library.
477         (getNetworkInterfaces): Rewritten.
478
479 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
480
481         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
482         field.
483         (initializeInsets): New method.
484         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
485         setBounds unconditionally.
486         (setBounds): Convert coordinates if parent is a Window.
487         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
488         field to GtkComponentPeer.
489         (GtkContainerPeer): Don't initialize insets.
490         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
491         New method.
492         (create): Call new GtkWindowPeer create method.
493         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
494         New method.
495         (create): Call new GtkWindowPeer create method.
496         (setBounds): Remove method.
497         (postConfigureEvent): Likewise.
498         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
499         type constants with GDK window type constants.
500         (create(int,boolean,int,int,GtkWindowPeer)): New method.
501         (create(int,boolean)): Likewise.
502         (create()): Call create(int,boolean).
503         (nativeSetBounds): New native method declaration.
504         (setBounds): Call native method declaration.
505         (setSize): New native method declaration.
506         (setBoundsCallback): Likewise.
507         (postConfigureEvent): Handle change in insets.  Call setSize and
508         setBoundsCallback methods.
509         * java/awt/Window.java (Window): Set visible to false.
510         (setBoundsCallback): New method.
511         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
512         (gtkWidgetGetLocationOnScreen): If this component is not a
513         container, adjust the location returned based on the peer's
514         allocation.
515         (set(String,boolean)): Revert change from 2003-09-19.
516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
517         (awt_event_handler): Fix inset calculation.
518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
519         glue for Window.setBoundsCallback.
520         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
521         Set up stacking order, window decorations and window manager
522         hints.
523         (setBoundsCallback): New method.
524         (setSize): New method.
525         (nativeSetBounds): New method.
526         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
527
528 2003-10-02  Tom Tromey  <tromey@redhat.com>
529
530         * java/lang/VMClassLoader.java (loadClass): Now native.
531         * java/lang/natClassLoader.cc (loadClass): Implement.
532         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
533
534 2003-10-02  Michael Koch  <konqueror@gmx.de>
535
536         * java/net/InetAddress.java
537         (zeros): Removed.
538         (ANY_IF): Initalizie in static block.
539         (static): Load library with native methods here and initialize ANY_IF.
540         (isAnyLocalAddress): Check if equal to ANY_IF.
541         (equals): Use addr directly instead of addr1. Simplify for loop.
542         (toString): Rename "result" to "host" and add IP address allways.
543         (getLocalHost): Merged documentation from classpath.
544         * java/net/ServerSocket.java
545         (ServerSocket): New package-private constructor used by java.nio.
546         * java/net/URLConnection.java
547         (getRequestProperties): Check if already connected.
548
549 2003-10-02  Michael Koch  <konqueror@gmx.de>
550
551         * java/nio/ByteBufferHelper.java:
552         Rewrote all methods by suggestions from Eric Blake.
553
554 2003-10-02  Michael Koch  <konqueror@gmx.de>
555
556         * java/net/URL.java
557         (DEFAULT_SEARCH_PATH): New static variable.
558         (ph_cache): Made it a HashMap.
559         (getURLStreamHandler): Rename propVal to ph_search_path and use
560         DEFAULT_SEARCH_PATH.
561
562 2003-10-02  Michael Koch  <konqueror@gmx.de>
563
564         * javax/swing/table/AbstractTableModel.java
565         (findColumnName): Prevent from NullPointerException if argument
566         columnName is null.
567
568 2003-10-02  Michael Koch  <konqueror@gmx.de>
569
570         * javax/swing/table/AbstractTableModel.java:
571         This patch is based on a patch done by Arnaud Vandyck
572         <arnaud.vandyck@ulg.ac.be>.
573         (getColumnName): Fixed method documentation.
574         (findColumn): Likewise.
575         (getColumnClass): Likewise.
576         (isCellEditable): Likewise.
577         (setValueAt): Likewise.
578         (addTableModelListener): Likewise.
579         (removeTableModelListener): Likewise.
580         (getTableModelListeners): New method.
581
582 2003-10-02  Michael Koch  <konqueror@gmx.de>
583
584         * javax/swing/table/AbstractTableModel.java:
585         Reformated.
586
587 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
588
589         Fix PR libgcj/12475
590         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
591         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
592
593 2003-10-01  Tom Tromey  <tromey@redhat.com>
594
595         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
596
597 2003-10-01  Andrew Haley  <aph@redhat.com>
598
599         * java/lang/natClass.cc (initializeClass): Check for otable and
600         atable.
601         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
602         loops using for().  Search superinterfaces.  Check for fields as
603         well as methods.  Initialize atable as well as otable: check for
604         static methods as well as virtual methods.
605         * java/lang/Class.h (struct _Jv_AddressTable): New.
606         (atable): New.
607         (atable_syms): New.
608         * include/jvm.h (_Jv_equalUtf8Consts): constify.
609         * prims.cc (_Jv_equalUtf8Consts): constify.
610
611 2003-09-29  Tom Tromey  <tromey@redhat.com>
612
613         PR libgcj/10596:
614         * include/jvm.h (_Jv_FinalizeString,
615         _Jv_RegisterStringFinalizer): Declare.
616         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
617         unintern.
618         (intern): Updated.
619         (_Jv_NewStringUtf8Const): Likewise.
620         * java/lang/ref/natReference.cc (finalize_referred_to_object):
621         Add special case when finalizing a String.
622         (in_hash): New function.
623         (_Jv_RegisterStringFinalizer): Likewise.
624         (maybe_add_finalize): Likewise.
625
626 2003-09-29  Michael Koch  <konqueror@gmx.de>
627
628         * java/net/InetAddress.java:
629         (isMulticastAddress): Dont use local variable to store address length.
630         Let the compiler optimize this.
631         (getHostName): Merged dcoumentation from classpath.
632         (getAddress): Likewise.
633         (getHostAddress): Likewise.
634         (hashCode): Likewise.
635         (equals): Likewise.
636         (toString): Likewise.
637         (getByName): Likewise.
638         (getAllByName): Likewise.
639
640 2003-09-29  Michael Koch  <konqueror@gmx.de>
641
642         * java/awt/image/IndexColorModel.java: Reformated.
643
644 2003-09-29  Michael Koch  <konqueror@gmx.de>
645
646         * java/net/InetAddress.java,
647         java/net/URL.java: Reformated.
648
649 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
650
651         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
652         significant bit of descriptor. Include the vtable and sync_info 
653         fields.
654
655 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
656
657         * java/text/DateFormat.java (format): Throw IllegalArgumentException
658         if `obj' is not a Number or Date instance.
659         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
660         instead of Vector.
661
662 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
663
664         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
665         Don't call setTimeZone on calendar.
666
667 2003-09-27  Michael Koch  <konqueror@gmx.de>
668
669         * java/net/URL.java (getURLStreamHandler): Compile fixes.
670
671 2003-09-27  Michael Koch  <konqueror@gmx.de>
672
673         * java/net/URL.java (getURLStreamHandler):
674         Check if we have to use cache before trying to retrieve handler from
675         cache. Rename facName to clsName to match classpath more. Reformated
676         some little pieces.
677
678 2003-09-27  Michael Koch  <konqueror@gmx.de>
679
680         * gnu/java/nio/SelectionKeyImpl.java
681         (ch): Make package-private again. Jikes found this bug.
682         Jeff Sturm submitted PR12426 for this to bugzilla
683         to fix this bug in gcj.
684
685 2003-09-26  Michael Koch  <konqueror@gmx.de>
686
687         * java/rmi/server/RMIClassLoader.java:
688         Reformatted file, no functional code changes.
689
690 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
691
692         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
693         Save space for some pixels at the buffer end.  Added Javadoc.
694
695 2003-09-26  Tom Tromey  <tromey@redhat.com>
696
697         * java/io/ObjectOutputStream.java (writeFields): Fixed
698         indentation.
699         (putFields): Likewise.
700
701 2003-09-26  Michael Koch  <konqueror@gmx.de>
702
703         * java/nio/ByteBufferHelper.java:
704         Totally reworked with help from Eric Blake.
705
706 2003-09-26  Tom Tromey  <tromey@redhat.com>
707
708         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
709         * java/awt/geom/PathIterator.java: Documentation fixes.
710
711 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
712
713         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
714         (select): Likewise.
715         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
716
717 2003-09-25  Michael Koch  <konqueror@gmx.de>
718
719         * gnu/java/nio/DatagramChannelImpl.java
720         (getNativeFD): New method.
721         * gnu/java/nio/SelectionKeyImpl.java
722         (SelectionKeyImpl): Class made abstract.
723         (fd): Removed.
724         (SelectionKeyImpl): Remove fd argument.
725         (getNativeFD): New method.
726         * gnu/java/nio/SocketChannelImpl.java
727         (getNativeFD): New method.
728         gnu/java/nio/DatagramChannelSelectionKey.java,
729         * gnu/java/nio/SocketChannelSelectionKey.java:
730         New files.
731         * Makefile.am (ordinary_java_source_files):
732         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
733         gnu/java/nio/SocketChannelSelectionKey.java.
734         * Makefile.in: Regenerated.
735
736 2003-09-25  Michael Koch  <konqueror@gmx.de>
737
738         * java/lang/reflect/Proxy.java
739         (getProxyClass): Remove workaround for gcj 3.0.x.
740
741 2003-09-25  Michael Koch  <konqueror@gmx.de>
742
743         * gnu/java/net/PlainDatagramSocketImpl.java
744         (finalize): Moved to directly after constructor.
745         (getNativeFD): New method.
746         * gnu/java/net/PlainSocketImpl.java
747         (getNativeFD): New method.
748
749 2003-09-25  Ingo Proetel  <proetel@aicas.com>
750
751         * java/io/ObjectOutputStream.java:
752         Allow putFields be called more than once.
753
754 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
755
756         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
757         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
758         * java/awt/image/BufferedImage.java (toString): Implement.
759
760 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
761
762         * aclocal.m4: Rebuilt.
763         * configure: Rebuilt.
764
765 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
766
767         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
768         field.
769
770 2003-09-25  Michael Koch  <konqueror@gmx.de>
771
772         * gnu/java/nio/SelectorImpl.java
773         (implSelect): Renamed from java_do_select.
774         (select): Call native implSelect() and add support for Thread
775         interruption.
776         * gnu/java/nio/natSelectorImpl.cc
777         (implSelect): Renamed from java_do_select.
778
779 2003-09-25  Michael Koch  <konqueror@gmx.de>
780
781         * gnu/java/nio/SelectorImpl.java
782         (selectNow): Made final, throws IOException.
783         (select): Likewise.
784         (getFDsAsArray): Made final.
785         (selectedKeys): Likewise.
786         (wakeup): Likewise.
787         (deregisterCancelledKeys): Likewise.
788         (register): Likewise.
789         (ass): Removed.
790         (add_selected): Removed.
791         * gnu/java/nio/natSelectorImpl.cc:
792         No need to include bstring.h or gcj/cni.h.
793         (helper_put_filedescriptors): Rewritten.
794         (helper_get_filedescriptors): Rewritten.
795
796 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
797
798         * java/awt/font/FontRenderContext.java (getTransform): Return
799         copy of internal transform object. Add Javadoc.
800         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
801         winding rule as Sun J2SE.
802         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
803
804 2003-09-25  Ingo Proetel  <proetel@aicas.com>
805
806         * java/rmi/Naming.java:
807         Added comments, now accepts pseudo protocol "rmi".
808
809 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
810
811         * java/text/DecimalFormat.java (format): Don't immediatly round
812         baseNumber to long.
813         (setMinimumIntegerDigits): Call super.
814         (setMinimumFractionDigits): Likewise.
815         (setMaximumIntegerDigits): Likewise.
816         (setMaximumFractionDigits): Likewise.
817
818 2003-09-25  Michael Koch  <konqueror@gmx.de>
819
820         * gnu/java/nio/DatagramChannelImpl.java
821         (DatagramChannelImpl): Made class final.
822         (blocking): Made private.
823         (socket): Made it a NIODatagramSocket and private.
824         (DatagramChannelImpl): create NIODatagramSocket instead of
825         DatagramSocket.
826         (implConfigureBlocking): Set socket timeout.
827         (connect): Check that channel is not closed.
828         (write): Implemented.
829         (write): Rewritten.
830         (read): Implemented.
831         (read): Rewritten.
832         (receive): Implemented.
833         (send): Implemented.
834         * gnu/java/nio/SelectionKeyImpl.java
835         (readyOps): Made private.
836         (interestOps): Made private.
837         (impl): Made private.
838         (ch): Made private.
839         (readyOps): Check if selection key is valid.
840         (interestOps): Likewise.
841         * gnu/java/nio/SelectorImpl.java
842         (closed): Removed.
843         (keys): Made private.
844         (selected): Made private.
845         (finalize): New method.
846         (implCloseSelector): Rewritten.
847         (keys): Return unmodifiable Set.
848         (deregisterCancelledKeys): Fixed typo in method name.
849         * gnu/java/nio/SocketChannelImpl.java
850         (SocketChannelImpl): Made class final.
851         (socket): Made it a NIOSocket and private.
852         (blocking): Made private.
853         (connected): Made private.
854         (connectionPending): New member variable.
855         (SocketChannelImpl): New implementation.
856         (finalizer): Use isConnected().
857         (connect): Rewritten.
858         (finishConnect): Throws IOException, implemented.
859         (isConnectionPending): Return connectionPending.
860         (read): Rewritten.
861         (write): Rewritten.
862         * gnu/java/nio/NIOConstants.java: New file.
863         * Makefile.am (ordinary_java_source_files):
864         Added gnu/java/nio/NIOConstants.java.
865         * Makefile.in: Regenerated.
866
867 2003-09-25  Michael Koch  <konqueror@gmx.de>
868
869         * java/net/InetAddress.java:
870         Reorder imports, remove implementation comment.
871         (isMulticastAddress): Merged documentation from classpath.
872         * java/net/URLConnection.java
873         (setRequestProperty): Check key for null, fix documentation.
874         (adREquestProperty): Check key for null, remove wrong implementation
875         and replace it with comment to overwrite this method in subclasses,
876         fix documentation.
877
878 2003-09-25  Tom Tromey  <tromey@redhat.com>
879
880         * java/lang/reflect/Proxy.java (generate): Uncomment protection
881         domain code.
882         * java/lang/natClassLoader.cc (defineClass): Added `loader'
883         argument.
884         (linkClass0): Now in VMClassLoader.
885         (markClassErrorState0): Likewise.
886         (getSystemClassLoaderInternal): New method.
887         * java/lang/natClass.cc (initializeClass): Use
888         VMClassLoader::resolveClass.
889         * java/lang/ClassLoader.java: New version, from Classpath.
890         * java/lang/Class.java (getProtectionDomain):
891         protectionDomainPermission and unknownProtectionDomain now in
892         VMClassLoader.
893         * java/lang/Class.h: VMClassLoader now a friend class.
894         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
895         package-private.
896         * gcj/javaprims.h: Regenerated class list.
897         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
898         * java/lang/VMClassLoader.java: New version from Classpath;
899         modified for libgcj use.
900
901 2003-09-25  Michael Koch  <konqueror@gmx.de>
902
903         * java/nio/ByteBufferHelper.java:
904         New file.
905         * java/nio/ByteBufferImpl.java,
906         java/nio/DirectByteBufferImpl.java,
907         java/nio/MappedByteBufferImpl.java
908         (getType,putType): Use new helper class ByteBufferHelper.
909         * Makefile.am (ordinary_java_source_files):
910         Added java/nio/ByteBufferHelper.java.
911         * Makefile.in: Regenerated.
912
913 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
914
915         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
916         PR libgcj/12388.
917
918 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
919
920         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
921         Strings, even if buffer is already shared.
922
923 2003-09-24  Michael Koch  <konqueror@gmx.de>
924
925         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
926
927 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
928
929         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
930         (write): Likewise.
931         (SocketInputStream): Declare `read' and `write' methods native.
932         Remove implementations which called back into PlainSocketImpl.
933         Remove unneccessary overridden methods.
934         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
935         to inner class PlainSocketImpl.SocketInputStream.
936         (write): Likewise.
937         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
938         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
939         * gnu/java/net/SocketInputStream.java: Remove unused file.
940         * gnu/java/net/SocketOutputStream.java: Likewise.
941         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
942         and SocketOutputStream.
943         * Makefile.in: Rebuilt.
944
945 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
946
947         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
948
949         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
950         markers.
951
952 2003-09-22  Anthony Green  <green@redhat.com>
953
954         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
955         * configure: Rebuilt.
956
957 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
958
959         PR java/12350:
960         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
961
962 2003-09-22  Michael Koch  <konqueror@gmx.de>
963
964         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
965         compiler warning but produces a different one now.
966
967 2003-09-22  Michael Koch  <konqueror@gmx.de>
968
969         * java/net/InetAddress.java:
970         Moves around some code, reformats and adds documentation.
971         No functional changes.
972
973 2003-09-22  Michael Koch  <konqueror@gmx.de>
974
975         * java/net/JarURLConnection.java
976         (JarURLConnection): Modifed code to match classpath more, fixed comment.
977         (getCertificates): Made it more error prone.
978         (getMainAttributes): Likewise.
979         (getAttributes): Implemented.
980         (getManifest): Reformatted code.
981
982 2003-09-20  Tom Tromey  <tromey@redhat.com>
983
984         * java/awt/Component.java: Indentation cleanup from Classpath.
985
986 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
987
988        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
989        checking to follow 1.4.2 spec.
990
991 2003-08-11  Ingo Proetel  <proetel@aicas.com>
992
993         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
994         is compatible in case client and server are running in the same VM
995         (remerged from Classpath on 2003-09-20)
996
997 2003-09-19  David Daney <ddaney@avtrex.com>
998
999         * java/lang/ref/Reference.java (clear): Set referent to null and
1000         synchronize.
1001
1002 2003-09-19  Michael Koch  <konqueror@gmx.de>
1003
1004         * gnu/java/nio/NIODatagramSocket.java,
1005         gnu/java/nio/NIOSocket.java: New files.
1006         * Makefile.am (ordinary_java_source_files):
1007         Added gnu/java/nio/NIODatagramSocket.java and
1008         gnu/java/nio/NIOSocket.java.
1009         * Makefile.in: Regenerated.
1010
1011 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1012
1013         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
1014         top-level GTK window.
1015         (getArgs): Add "title" property.
1016         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
1017         "allow_shrink" and "allow_grow" properties.
1018         * java/awt/Dialog.java: Initialize resizable to true and change
1019         comments accordingly.  Initialize visible to false in
1020         constructors.
1021         * java/awt/Frame.java (dispose): Remove method.
1022         * java/awt/Window.java (ownedWindows): New field.
1023         (Window(Window,GraphicsConfiguration)): Add a weak reference to
1024         owner's ownedWindows vector.
1025         (finalize): Remove method.
1026         (hide): Hide owned windows.
1027         (dispose): Dispose of owned windows.
1028         (getOwnedWindows): Implement.
1029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
1030         unused GtkArg code.
1031         (set(String,boolean)): Clamp gboolean parameter to g_object_set
1032         to TRUE or FALSE.
1033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1034         (create): Set window's size requisition.
1035         (connectHooks): Fix indentation.
1036         (setResizable): Remove function.
1037         (static setBounds): Likewise.
1038         (setBounds): Replace call to setBounds with GTK size requisition
1039         and resize calls.
1040
1041 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
1042
1043         * win32-threads.cc: (ensure_interrupt_event_initialized) New
1044         function for lazy initialization of an auto-reset event.
1045         (_Jv_CondWait) Added thread interrupt support.
1046         (_Jv_ThreadInitData) Added initialization of interrupt support
1047         members.
1048         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
1049         (_Jv_ThreadStart) Removed unused code.
1050         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
1051         to an external caller.
1052         (_Jv_ThreadInterrupt) Implemented.
1053         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
1054         event for interrupt support as well as a mutex which regulates
1055         access to this.
1056         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
1057         event to an external caller.
1058         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
1059         process.
1060         (waitFor) Added interrupt support.
1061
1062 2003-09-19  Michael Koch  <konqueror@gmx.de>
1063
1064         * java/net/DatagramSocket.java (getLocalAddress):
1065         Renamed result variable to localAddr.
1066         * java/net/MulticastSocket.java:
1067         No need to import gnu.java.net.PlainDatagramSocketImpl.
1068
1069 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
1070
1071         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
1072         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
1073
1074 2003-09-18  Tom Tromey  <tromey@redhat.com>
1075
1076         * javax/naming/InitialContext.java: Reindented.
1077
1078 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
1079             Helmer Kraemer <hkraemer@freenet.de>
1080
1081         * javax/naming/spi/NamingManager.java (getURLContext,
1082         getObjectInstance, getStateToBind): Always use current thread's
1083         context class loader when calling Class.forName.
1084
1085 2003-09-18  Michael Koch  <konqueror@gmx.de>
1086
1087         * java/util/Timer.java (finalize): Added "throws Throwable".
1088
1089 2003-09-18  Michael Koch  <konqueror@gmx.de>
1090
1091         * java/net/DatagramSocket.java
1092         (ch): Removed.
1093         (receive): Use getChannel() instead of ch.
1094         (send): Likewise.
1095         (getChannel): Return null.
1096         * java/net/ServerSocket.java
1097         (ch): Removed.
1098         (setChannel): Removed.
1099         (implAccept): Use getChannel() instead of ch.
1100         (close): Likewise.
1101         (getChannel): Return null.
1102         * java/net/Socket.java
1103         (ch): Removed.
1104         (connect): Use getChannel() instead of ch.
1105         (setChannel): Removed.
1106         (getChannel): Return null.
1107
1108 2003-09-18  Mark Wielaard  <mark@klomp.org>
1109
1110         Reported by Guilhem Lavaux and Julian Dolby
1111         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
1112         field "serialPersistentFields", not "getSerialPersistentFields".
1113
1114 2003-09-18  Ingo Proetel  <proetel@aicas.com>
1115
1116         * java/util/TimeZone.java: Initialize lazily.
1117         * java/util/Locale.java (readManifest): Fix check for country.
1118         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
1119         traceable 
1120         * java/util/Calendar.java: Make use of ResourceBundle better
1121         traceable.
1122
1123 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
1124
1125         * java/sql/Timestamp.java
1126         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
1127
1128 2003-09-18  David P Grove  <groved@us.ibm.com>
1129
1130         * java/io/LineNumberReader (read): Don't reset pos & limit when
1131         markPos is 0.
1132
1133 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
1134
1135         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
1136         constant.
1137         (computeArguments): use computeTypicalArguments.
1138
1139         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
1140         Compile_jikes.java and RMICException.java.
1141         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
1142         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
1143         * gnu/java/rmi/rmic/RMICException.java: Likewise.
1144  
1145         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
1146  
1147         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
1148         (computeTypicalArguments): New method.
1149         (compile): Print compiler output to System.out. Collect compiler
1150         error output and use it in exception message.
1151  
1152         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
1153         (destination): Initialize to null.
1154         (run): Replace file separator with '.' when processing class.
1155         (processClass): Replace '.' with file separator when compiling
1156         classes.
1157         (findClass): Use SystemClassLoader to load class.
1158         (generateStub): Use full class name for generated stub, that puts
1159         it in right path.  Replace '.' with file separator when generating
1160         stub file name. Write just the stub class name without package
1161         information as class name, and constructor name. Write only
1162         interface names for interfaces extending java.rmi.Remote as
1163         implemented.
1164         (generateSkel): Use full class name for generated skel, that puts
1165         it in right path.  Replace '.' with file separator when generating
1166         stub file name. Write just the stub class name without package
1167         information as class name.
1168
1169 2003-09-18  Michael Koch  <konqueror@gmx.de>
1170
1171         * Makefile.am (rmi_java_source_files):
1172         Added gnu/java/rmi/rmic/Compile_kjc.java,
1173         gnu/java/rmi/rmic/Compile_jikes.java and
1174         gnu/java/rmi/rmic/RMICException.java
1175         * Makefile.in: Regenerated.
1176
1177 2003-09-17  Graydon Hoare  <graydon@redhat.com>
1178
1179         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1180         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1181         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1182         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
1183         New files.
1184
1185 2003-09-16  Graydon Hoare  <graydon@redhat.com>
1186
1187         * java/awt/BufferedImage.java (setData): Support non-component
1188         sample models.
1189         (getData): Same.
1190
1191 2003-09-10  Graydon Hoare  <graydon@redhat.com>
1192
1193         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
1194         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
1195
1196 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
1197
1198         * configure.in: Standardized help text case of
1199         --enable-hash-synchronization
1200         New configure switch --enable-libgcj-multifile and corresponding
1201         automake conditional ONESTEP.
1202         * configure: Rebuilt.
1203         * Makefile.am: Use automake conditional ONESTEP to determine
1204         whether classfiles should be compiled individually or all
1205         at once.
1206         * Makefile.in: Rebuilt.
1207
1208 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
1209
1210         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
1211         Remove method declaration.
1212         (create()): Call native create.
1213         (create(int)): New method.
1214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1215         (create): Add window_id parameter.  Call gtk_plug_new with
1216         window_id parameter.
1217         (construct): Remove method implementation.
1218
1219 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
1220
1221         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1222         (mostlyclean-local): New target patterned after clean-local
1223         which recursively deletes all libtool objects using 'libtool rm'.
1224         (clean-local): Slightly modified comment to alleviate monotony.
1225         (distclean-local): New target patterned after clean-local
1226         which recursively deletes all .d files.
1227         * Makefile.in: Rebuilt.
1228
1229 2003-09-11  Tom Tromey  <tromey@redhat.com>
1230
1231         * java/net/URLStreamHandler.java (parseURL): If original file
1232         ends with "/", so must canonical result.
1233         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1234         with nul-termination and finding previous "/".
1235
1236 2003-09-11  Michael Koch  <konqueror@gmx.de>
1237
1238         * acconfig.h: Removed most items.
1239         * configure.in: Added descriptions to AC_DEFINE macros that where in
1240         acconfig.h before.
1241         * include/config.h.in: Regenerated.
1242
1243 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
1244
1245         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1246         if one is installed. Improve Javadoc.
1247         (getSystemEventQueueImpl): Improve Javadoc.
1248
1249 2003-09-11  Tom Tromey  <tromey@redhat.com>
1250
1251         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1252         file does not exist.
1253
1254 2003-09-10  Anthony Green  <green@redhat.com>
1255
1256         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1257         Specify full name when referencing ::java::net::InetAddress.
1258         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1259         Fix argument type.
1260
1261 2003-09-10  Michael Koch  <konqueror@gmx.de>
1262
1263         * acconfig.h (__NO_MATH_INLINES): Removed.
1264         * configure.in: Removed check for g++ math inlining bug from 2000.
1265         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1266         libgcj_cxxflags.
1267         * configure: Regenerated.
1268
1269 2003-09-10  David Daney <ddaney@avtrex.com>
1270
1271         * java/util/Arrays.java (equals(all variants)): Quit using
1272         NullPointerException catching to detect null valued parameters.
1273
1274 2003-09-10  Michael Koch  <konqueror@gmx.de>
1275
1276         * java/net/DatagramSocket.java,
1277         java/net/MulticastSocket.java,
1278         java/net/ServerSocket.java,
1279         java/net/Socket.java:
1280         Use gnu.java.net.Plain*SocketImpl instead of
1281         java.net.PlainSocketImpl.
1282         * java/net/PlainDatagramSocketImpl.java,
1283         java/net/PlainSocketImpl.java,
1284         java/net/SocketInputStream.java,
1285         java/net/SocketOutputStream.java,
1286         java/net/natPlainDatagramSocketImplNoNet.cc,
1287         java/net/natPlainDatagramSocketImplPosix.cc,
1288         java/net/natPlainDatagramSocketImplWin32.cc,
1289         java/net/natPlainSocketImplNoNet.cc,
1290         java/net/natPlainSocketImplPosix.cc,
1291         java/net/natPlainSocketImplWin32.cc:
1292         Removed.
1293         * gnu/java/net/PlainDatagramSocketImpl.java,
1294         gnu/java/net/PlainSocketImpl.java,
1295         gnu/java/net/SocketInputStream.java,
1296         gnu/java/net/SocketOutputStream.java,
1297         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1298         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1299         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1300         gnu/java/net/natPlainSocketImplNoNet.cc,
1301         gnu/java/net/natPlainSocketImplPosix.cc,
1302         gnu/java/net/natPlainSocketImplWin32.cc:
1303         New files (moved from java/net).
1304         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
1305         instead of java/net/natPlain*SocketImpl.cc.
1306         * configure: Regenerated.
1307         * Makefile.am: Moved files from java/net to gnu/java/net.
1308         * Makefile.in: Regenerated.
1309
1310 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
1311
1312         * configure: Regenerate.
1313
1314 2003-09-04  Tom Tromey  <tromey@redhat.com>
1315
1316         * configure.host: Removed erroneous comment.
1317
1318         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
1319         lvalue cast; use correct rvalue cast.
1320
1321 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1322
1323         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
1324         and height arguments to GtkWindowPeer.create method call.
1325         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1326         (create(int,int,int)): New method.
1327         (create(int)): Add call to new create method.
1328         (create()): Add width and height arguments to create method
1329         call.
1330         (GtkWindowPeer): Remove call to setBounds.
1331         * java/awt/Frame.java (Frame(String)): Initialize visible field
1332         to false.
1333         (Frame(GraphicsConfiguration)): Likewise.
1334         (Frame(String,GraphicsConfiguration)): Likewise.
1335         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1336         Add width and height parameters.  Call
1337         gtk_window_set_default_size.
1338         (connectHooks): Remove unused name variable.
1339         (static setBounds): Call gtk_window_resize not
1340         gtk_widget_set_usize.
1341         (setBounds): Remove unused nchildren variable.
1342
1343 2003-08-31  Ingo Proetel  <proetel@aicas.com>
1344
1345         * java/util/logging/Logger.java: provide class and method information
1346         * java/util/logging/LogManager.java: create handlers
1347         * java/util/logging/SimpleFormatter.java: print souceClassName and
1348         sourceMethodName
1349
1350 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1351
1352         * win32.cc: fixed tab, indentation and whitespace
1353         inconsistencies
1354         removed jvm.h include
1355         added includes java/lang/UnsupportedOperationException.h,
1356         java/io/IOException.h, java/net/SocketException.h
1357         (WSAEventWrapper): class implementation
1358         (_Jv_WinStrError): implemented both overloads
1359         (_Jv_ThrowIOException): implemented both overloads
1360         (_Jv_ThrowSocketException): implemented both overloads
1361         (_Jv_select): implemented
1362         * include/win32.h: fixed tab, indentation and whitespace
1363         inconsistencies
1364         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
1365         added jvm.h include
1366         (WSAEventWrapper): added class declaration
1367         (_Jv_WinStrError): added both overload declarations
1368         (_Jv_ThrowIOException): added both overload declarations
1369         (_Jv_ThrowSocketException): added both overload declarations
1370         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
1371         (_Jv_select): added declaration
1372         (_Jv_socket): removed
1373         (_Jv_connect): removed
1374         (_Jv_close): removed
1375         (_Jv_bind): removed
1376         (_Jv_accept): removed
1377         (_Jv_listen): removed
1378         (_Jv_write): removed
1379         (_Jv_read): removed
1380         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
1381         whitespace inconsistencies
1382         replaced <windows.h> #include with <platform.h>
1383         removed jvm.h include
1384         (testCanUseGetHandleInfo): new function which tests whether Win32
1385         GetHandleInformation() call can be used with console buffer handles
1386         (only supported on >=WinNT 5.0)
1387         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
1388         (valid): rewrote implementation using GetHandleInformation()
1389         (sync):         changed exception throwing to use error string and exception
1390         helper methods declared in include/win32.h
1391         (open): likewise
1392         (write): likewise
1393         (setLength): likewise
1394         (close): likewise
1395         (seek): likewise
1396         (getFilePointer): likewise
1397         (read): likewise
1398         * java/io/natFileWin32.cc: fixed tab, indentation and
1399         whitespace inconsistencies
1400         replaced <windows.h> #include with <platform.h>
1401         removed jvm.h include
1402         (_access): use JV_TEMP_UTF_STRING
1403         (_stat): likewise
1404         (performMkDir): use JV_TEMP_UTF_STRING
1405         (performRenameTo): likewise
1406         (performDelete): likewise
1407         (performCreate): likewise
1408         (performSetReadOnly): likewise
1409         (performSetLastModified): likewise
1410         * java/lang/natWin32Process.cc: fixed tab, indentation and
1411         whitespace inconsistencies
1412         replaced <windows.h> #include with <platform.h>
1413         removed includes gcj/cni.h, jvm.h
1414         (new_string): removed
1415         (startProcess): use JV_TEMP_UTF_STRING,
1416         changed exception throwing to use error string and exception
1417         helper methods declared in include/win32.h
1418         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
1419         whitespace inconsistencies
1420         replaced <windows.h> #include with <platform.h>
1421         removed jvm.h include
1422         removed DISABLE_JAVA_NET conditional code
1423         removed POSIX conditional code not relevant to Win32
1424         (aton): use JV_TEMP_UTF_STRING
1425         removed POSIX conditional code not relevant to Win32
1426         (lookup): likewise
1427         (getLocalHostName): likewise
1428         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
1429         whitespace inconsistencies
1430         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
1431         removed DISABLE_JAVA_NET conditional code
1432         removed POSIX conditional code not relevant to Win32
1433         (winsock2GetRealNetworkInterfaces): new function to compute network
1434         interfaces via Winsock2 API
1435         (determineGetRealNetworkInterfacesFN): new function for returning
1436         a function pointer to the function used to compute network interfaces.
1437         (getRealNetworkInterfaces): implemented
1438         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
1439         whitespace inconsistencies
1440         removed gcj/cni.h include
1441         removed DISABLE_JAVA_NET conditional code
1442         removed POSIX conditional code not relevant to Win32
1443         changed net POSIXisms to Win32isms
1444         replaced _Jv socket-related calls with their real Win32 equivalents
1445         changed exception throwing to use error string and exception
1446         helper methods declared in include/win32.h
1447         (peekData): implemented timeout support
1448         (receive): likewise
1449         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
1450         whitespace inconsistencies
1451         removed gcj/cni.h and gcj/javaprims.h includes
1452         removed DISABLE_JAVA_NET conditional code
1453         removed POSIX conditional code not relevant to Win32
1454         changed net POSIXisms to Win32isms
1455         replaced _Jv socket-related calls with their real Win32
1456         equivalents
1457         changed exception throwing to use error string and exception
1458         helper methods declared in include/win32.h
1459         (throwConnectException): helper function for connect()
1460         (connect): implemented timeout support
1461         (accept): likewise
1462         (doRead): new helper function common to both read() method overloads,
1463         includes timeout support
1464         (read): implemented both overloads in terms of doRead()
1465         (available): implemented using ioctlsocket()
1466
1467 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1468
1469         * java/net/natInetAddressWin32.cc,
1470         java/net/natNetworkInterfaceWin32.cc,
1471         java/net/natPlainDatagramSocketImplWin32.cc,
1472         java/net/natPlainSocketImplWin32.cc:
1473         Readded code enclosed in DISABLE_JAVA_NET defines
1474         in preparation for MinGW cleanup / networking
1475         patch
1476
1477 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1478
1479         * Makefile.am: Fixed problems with parallel makes.
1480         (all_java_class_files): Readded definition.
1481         (all_java_class_files): New target which depends on
1482         libgcj-@gcc_version@.jar
1483         * Makefile.in: Rebuilt
1484
1485 2003-08-28  Tom Tromey  <tromey@redhat.com>
1486
1487         * Makefile.in: Rebuilt.
1488         * Makefile.am (ordinary_java_source_files): Added new files.
1489         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1490         friend.
1491         * java/net/URLClassLoader.java (findClass): Don't use
1492         findURLResource.  Use loader's getClass method.
1493         (URLLoader.getClass): New method.
1494         (addURL): Handle `gcjlib' URLs.
1495         (SoURLLoader): New class.
1496         (SoResource): Likewise.
1497         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1498         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1499         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1500         (_Jv_RegisterCoreHook): Declare.
1501         (_Jv_FindCore): Declare.
1502         * gnu/gcj/runtime/SharedLibHelper.java: New file.
1503         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1504         typedef.
1505         (core_hook): New function.
1506         (struct SharedLibDummy) [saved_core]: New field.
1507         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
1508         (register_hook): Set protection domain and class loader on new
1509         class.
1510         (finalize): Free core chain.
1511         * gnu/gcj/Core.java (Core): New constructor.
1512         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1513         SharedLibHelper.
1514         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1515         (_Jv_create_core): New function.
1516         (create): Use it.
1517         (default_register_resource): New function.
1518         (_Jv_RegisterCoreHook): New global.
1519         (_Jv_RegisterResource): Use it.
1520         (core_chain_struct): Removed.
1521         (_Jv_FindCore): New function.
1522         (_Jv_FreeCoreChain): New function.
1523
1524 2003-08-29  Michael Koch  <konqueror@gmx.de>
1525
1526         * java/net/natInetAddressWin32.cc,
1527         java/net/natNetworkInterfaceWin32.cc,
1528         java/net/natPlainDatagramSocketImplWin32.cc,
1529         java/net/natPlainSocketImplWin32.cc:
1530         Removed code enclosed in DISABLE_JAVA_NET defines.
1531
1532 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
1533
1534         * Makefile.am: (write_entries_to_file) New parameterized
1535         function for writing entries to a file one line at a time.
1536         (all_java_class_files): Removed definition.
1537         (.java.class) Removed.target.
1538         (libgcj-@gcc_version@.jar): Changed dependency to
1539         $(all_java_source_files); added compilation step which compiles
1540         all changed source files in one pass.
1541         (libgcj.la) Refactored to use write_entries_to_file.
1542         (lib-gnu-awt-xlib.la) Likewise.
1543         (install-data-local) Likewise.
1544         (write-entries-to-file-check) New target which tests write_entries_to_file.
1545         (all-recursive): Changed dependency from $(all_java_class_files)
1546         to libgcj-@gcc_version@.jar
1547         * Makefile.in: Rebuilt.
1548
1549 2003-08-26  Tom Tromey  <tromey@redhat.com>
1550
1551         * java/lang/StrictMath.java: Typo fix.
1552         * java/lang/Math.java: Typo fix.
1553
1554 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
1555
1556         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1557         of the removed Thread.
1558
1559 2003-08-26  Mark Wielaard  <mark@klomp.org>
1560
1561         Reported by David Holmes <dholmes@dltech.com.au>.
1562         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1563         Collections.synchronizedMap.
1564         * java/lang/ThreadLocal.java (valueMap): Likewise.
1565
1566 2003-08-26  Mark Wielaard  <mark@klomp.org>
1567
1568         * java/security/acl/Acl.java: Fix broken p tag.
1569         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
1570         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
1571         * javax/swing/plaf/TreeUI.java: Likewise.
1572         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1573         * java/util/Properties.java: Use the word umlaut, not &auml; in api
1574         documentation.
1575         * java/util/PropertyResourceBundle.java: Likewise and add closing code
1576         tag.
1577
1578 2003-08-26  Tom Tromey  <tromey@redhat.com>
1579
1580         * Makefile.in: Rebuilt.
1581         * Makefile.am: Removed all GNU-make-specific FIXME comments.
1582
1583         * java/lang/ref/Reference.java (get): Indentation fix.
1584         (clear): Comment fix.
1585         (enqueue): Likewise.
1586         (lock): Likewise.
1587         (referent): Likewise.
1588
1589 2003-08-26  Tom Tromey  <tromey@redhat.com>
1590
1591         PR java/12058:
1592         * java/lang/reflect/natArray.cc (set): Allow null as argument.
1593
1594         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
1595         (ProxyData.getPackage): New method.
1596         (ProxyData.getProxyData): Use package name, not Package.
1597         (ClassFactory.ClassFactory): Updated.
1598
1599 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
1600         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
1601         * Makefile.in: re-generated.
1602         * gnu/awt/j2d/IntegerGraphicsState.java
1603         (ScreenCoupledImage): new interface.
1604         (drawImage): detect ScreenCoupledImage instances.
1605         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
1606         * gnu/awt/xlib/XEventLoop.java
1607         (createEvent): re-formatted, and rearranged to avoid null pointer.
1608         * gnu/awt/xlib/XGraphics.java
1609         (drawImage): added XOffScreenImage handling.
1610         * gnu/awt/xlib/XOffScreenImage.java: new file.
1611         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
1612         * gnu/gcj/xlib/GC.java (copyArea): new native method.
1613         * gnu/gcj/xlib/XAnyEvent.java
1614         (TYPE_KEY_PRESS): new constant.
1615         (TYPE_KEY_RELEASE): new constant.
1616         (TYPE_MOTION_NOTIFY): new constant.
1617         (TYPE_ENTER_NOTIFY): new constant.
1618         (TYPE_LEAVE_NOTIFY): new constant.
1619         (TYPE_FOCUS_IN): new constant.
1620         (TYPE_FOCUS_OUT): new constant.
1621         (TYPE_KEYMAP_NOTIFY): new constant.
1622         (TYPE_GRAPHICS_EXPOSE): new constant.
1623         (TYPE_NO_EXPOSE): new constant.
1624         (TYPE_VISIBILITY_NOTIFY): new constant.
1625         (TYPE_CREATE_NOTIFY): new constant.
1626         (TYPE_DESTROY_NOTIFY): new constant.
1627         (TYPE_MAP_REQUEST): new constant.
1628         (TYPE_CONFIGURE_REQUEST): new constant.
1629         (TYPE_GRAVITY_NOTIFY): new constant.
1630         (TYPE_RESIZE_REQUEST): new constant.
1631         (TYPE_CIRCULATE_NOTIFY): new constant.
1632         (TYPE_CIRCULATE_REQUEST): new constant.
1633         (TYPE_PROPERTY_NOTIFY): new constant.
1634         (TYPE_SELECTION_CLEAR): new constant.
1635         (TYPE_SELECTION_REQUEST): new constant.
1636         (TYPE_SELECTION_NOTIFY): new constant.
1637         (TYPE_COLORMAP_NOTIFY): new constant.
1638         (TYPE_MAPPING_NOTIFY): new constant.
1639         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
1640         * gnu/gcj/xlib/natGC.cc (copyArea): new method
1641         * java/awt/Component.java (createImage): changed to use peer method.
1642
1643 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1644
1645         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
1646         name, not XLFD, to native drawString.
1647         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1648         Replace XLFD-based implementation with Pango-based
1649         implementation.
1650
1651 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1652
1653         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
1654         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
1655
1656 2003-08-21  David Daney  <ddaney@avtrex.com>
1657
1658         Fix for PR libgcj/12013:
1659         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1660         Check `cleared' field.
1661         * java/lang/ref/Reference.java (copy): Updated comments.
1662         (cleared): New field.
1663         (clear): Rewrote.
1664
1665 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
1666             Thomas Fitzsimmons  <fitzsim@redhat.com>
1667
1668         * Makefile.am (gtk_awt_peer_sources): Add
1669         gnu/java/awt/peer/GLightweightPeer.java.  Remove
1670         gnu/java/awt/GLightweightPeer.java.
1671         * gnu/java/awt/GLightweightPeer.java: Remove file.
1672         * gnu/java/awt/peer/GLightweightPeer.java: New file.
1673         * java/awt/Component.java (getToolkit): Add comment about
1674         lightweight components.
1675         * java/awt/Toolkit.java (createComponent): Return
1676         gnu.java.awt.peer.GLightweightPeer.
1677
1678 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
1679
1680         * configure.in: Fix detection of gcj when building with newlib.
1681         * configure: Regenerated.
1682
1683 2003-08-20  Graydon Hoare  <graydon@redhat.com>
1684
1685         * jni.cc: Replace "cheating" pointer-casting code with
1686         extract_from_jvalue<> template.
1687
1688 2003-08-20  Andrew Haley  <aph@redhat.com>
1689
1690         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
1691         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
1692         (classAt): Break out class lookup function into getClass().
1693         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
1694         handlers when using -fno-assume-compiled.
1695
1696 2003-08-20  Tom Tromey  <tromey@redhat.com>
1697
1698         Fix for PR libgcj/9125:
1699         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
1700         object outside of loop.  Respect lib_control setting.
1701         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
1702         field.
1703         (lib_control): New field.
1704         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
1705         (VMClassLoader): Initialize new field.
1706
1707         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1708         Set `list->reference' to DELETED_REFERENCE when removing dead
1709         object.
1710         (find_slot): Added an assert.
1711         (DELETED_REFERENCE): New define.
1712         (add_to_hash): Check for DELETED_REFERENCE.
1713         (remove_from_hash): Just return if found slot isn't ours.
1714
1715 2003-08-19  Andrew Haley  <aph@redhat.com>
1716
1717         * prims.cc (unblock_signal): New function.
1718         (catch_segv): Use it.
1719         (catch_fpe): Likewise.
1720
1721 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
1722
1723         PR libgcj/11575
1724         * java/io/natFileDescriptorWin32.cc (open): Set create
1725         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
1726         Honor EXCL when openning with WRITE flag. 
1727
1728 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
1729
1730         * include/jvm.h: New class _Jv_TempUTFString (helper class for
1731         getting a temporary C string from a jstring)
1732         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
1733         but uses a stack buffer if the string length is less than 256
1734         bytes.
1735
1736 2003-08-18  Tom Tromey  <tromey@redhat.com>
1737
1738         PR libgcj/11951:
1739         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
1740         void.  Throw VirtualMachineError if ffi fails.  Initialize return
1741         value.  Added is_jni_call argument; only wrap exception if not a
1742         JNI call.  Use descriptive message if operation not supported.
1743         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
1744         array class.
1745         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
1746         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
1747         _Jv_CallAnyMethodA.
1748         (_Jv_JNI_CallAnyMethodA): Likewise.
1749         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
1750         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
1751
1752 2003-08-13  Tom Tromey  <tromey@redhat.com>
1753
1754         * gij.cc (help): Document -? and -X.
1755
1756 2003-08-12  Graydon Hoare  <graydon@redhat.com>
1757
1758         * java/awt/Font.java: 
1759         Stub out more recent API. 
1760
1761 2003-08-12  Graydon Hoare  <graydon@redhat.com>
1762
1763         * java/awt/Color.java (getAlpha): 
1764         Prevent sign-extended alpha values.
1765
1766 2003-08-12  Tom Tromey  <tromey@redhat.com>
1767
1768         * gij.cc (main): Handle -? and -X.
1769
1770 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
1771
1772         * java/awt/Container.java
1773         (getPreferredSize): Call preferredSize.
1774         (preferredSize): Moved body of getPreferredSize here.
1775         (getMinimumSize): Call minimumSize.
1776         (minimumSize): Moved body of getMinimumSize here.
1777
1778 2003-08-11  Tom Tromey  <tromey@redhat.com>
1779
1780         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
1781         (postEvent): Removed FIXME comment.
1782         (isDispatchThread): Documented.
1783         (getCurrentEvent): New method.
1784         (dispatchEvent): Set currentEvent and lastWhen.
1785         (getMostRecentEventTime): Rewrote.
1786         (invokeLater): Documented.
1787
1788 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
1789
1790         * java/io/PrintStream.java (print): Always flush if auto_flush is
1791         set. Don't check for newline characters.
1792         (write (int)): Implement without using a temporary array.
1793         (write (byte[], int, int): Always flush if auto_flush is set. Don't
1794         check for newline characters.
1795         Fixes PR libgcj/11778.
1796
1797 2003-08-08  Andrew Haley  <aph@redhat.com>
1798
1799         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
1800         * Makefile.in: Rebuild.
1801         * java/lang/natRuntime.cc (insertSystemProperties): Add
1802         "sun.boot.class.path".
1803
1804 2003-08-07  Andrew Haley  <aph@redhat.com>
1805
1806         * java/io/PrintStream.java: Don't crash on a null string.
1807         
1808 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1809
1810         * configure.in: Don't initialize GCINCS to boehm-gc/include.
1811         * configure: Regenerate.
1812
1813 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
1814
1815         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
1816         SocketImpl. Update Javadoc.
1817         (bind): Call close() not impl.close() in event of exception.
1818         (connect): Likewise.
1819         Remove superfluous null checks throughout.
1820         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
1821         Don't create an extra socket. Fix for PR libgcj/10868.
1822         (bind): Clean up exception handling.
1823         Remove superfluous null checks throughout.
1824
1825 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
1826             Bryce McKinlay  <bryce@mckinlay.net.nz>
1827
1828         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
1829         ready-to-write argument to _Jv_Select. Reset the socket back to 
1830         non-blocking state after connecting.
1831         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
1832         Throw SocketTimeoutException not InterruptedIOException.
1833         (read): Throw SocketTimeoutException not InterruptedIOException.
1834
1835 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
1836
1837         * java/lang/Thread.java (Thread): Check for null "name" from
1838         start of private constructor, not after calling the private
1839         constructor.
1840
1841 2003-08-06  Tom Tromey  <tromey@redhat.com>
1842
1843         * java/io/FilePermission.java (equals): Use correct index for
1844         last character of path.
1845
1846 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
1847
1848         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
1849         * configure.in: Compare with_cross_host to build_alias, not build.
1850         * aclocal.m4: Regenerate.
1851         * configure: Regenerate.
1852
1853 2003-08-05  Tom Tromey  <tromey@redhat.com>
1854
1855         Fix for PR libgcj/11779:
1856         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
1857         class.
1858
1859         * java/lang/reflect/Method.java: Updated status comment.
1860         Imported javadoc from Classpath and re-ordered methods.
1861         * java/lang/reflect/Constructor.java: Reindented.  Updated
1862         status comment.  Imported javadoc from Classpath and re-ordered
1863         methods.
1864
1865 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
1866
1867         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
1868         Add keyLocation parameter.
1869         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
1870         string.
1871         (paramString): Generate keyChar string according to keyChar, not
1872         keyCode.
1873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1874         (state_to_awt_mods): Handle ALT key.
1875         (keyevent_state_to_awt_mods): New function.
1876         (get_first_keyval_from_keymap): New function.
1877         (keysym_to_awt_keycode): Get virtual key code from keymap.
1878         Handle missing VK_ values.
1879         (keysym_to_awt_keylocation): New function.
1880         (keyevent_to_awt_keychar): New function.
1881         (generates_key_typed_event): Handle non-text-component case.
1882         Handle GDK_KP_Delete and GDK_KP_Enter.
1883         (awt_event_handler): Call new functions to get postKeyEvent
1884         parameters.
1885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
1886         Update postKeyEvent method signature.
1887         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
1888         VK_ defines.
1889
1890 2003-08-05  Matthias Klose  <doko@debian.org>
1891
1892         * aclocal.m4: check for libart-config binary
1893           under the name libart2-config as well.
1894         * configure: regenerated.
1895
1896 2003-08-04  David P Grove  <groved@us.ibm.com>
1897
1898         * java/text/DecimalFormat.java (format): avoid ArithmeticException
1899         when groupingSize is 0.
1900         (parse): Likewise.
1901
1902 2003-08-04  Matthias Klose  <doko@debian.org>
1903
1904         * libart.m4: check for libart-config binary
1905           under the name libart2-config as well.
1906         * configure, aclocal.m4: regenerated.
1907
1908 2003-08-02  Michael Koch  <konqueror@gmx.de>
1909
1910         * java/nio/ByteBufferImpl.java
1911         (getChar): Check remaining bytes, fixed comment about endianess.
1912         (putChar): Likewise.
1913         (getShort): Likewise.
1914         (putShort): Likewise.
1915         (getInt): Check remaining bytes, fixed conversion, fixed comment about
1916         endianess.
1917         (putInt): Likewise.
1918         (getLong): Likewise.
1919         (putLong): Likewise.
1920         (getFloat): Likewise.
1921         (putFloat): Likewise.
1922         (getDouble): Likewise.
1923         (putDouble): Likewise.
1924         * java/nio/DirectByteBufferImpl.java
1925         (getChar): Wrapped code, fixed comment about endianess.
1926         (putchar): Likewise.
1927         (getShort): Likewise.
1928         (putShort): Likewise.
1929         (getInt): Fixed conversion, fixed comment about endianess.
1930         (putInt): Likewise.
1931         (getLong): Likewise.
1932         (putLong): Likewise.
1933         (getFloat): Likewise.
1934         (putFloat): Likewise.
1935         (getDouble): Likewise.
1936         (putDouble): Likewise.
1937         * java/nio/MappedByteBufferImpl.java
1938         (compact): Implemented.
1939         (getChar): Implemented.
1940         (putChar): Implemented.
1941         (getDouble): Implemented.
1942         (putdouble): Implemented.
1943         (getFloat): Implemented.
1944         (putFloat): Implemented.
1945         (getInt): Implemented.
1946         (putInt): Implemented.
1947         (getLong): Implemented.
1948         (putLong): Implemented.
1949         (getShort): Implemented.
1950         (putShort): Implemented.
1951         * java/nio/channels/FileChannelImpl.java
1952         (read): Set position where to access file.
1953         (write): Likewise.
1954         (transferTo): Flip buffer after read and before write.
1955         (transferFrom): Likewise.
1956
1957 2003-08-02  Michael Koch  <konqueror@gmx.de>
1958
1959         * gnu/java/lang/ArrayHelper.java
1960         (equalsArray): Reformated, added method documentation.
1961
1962 2003-08-02  Michael Koch  <konqueror@gmx.de>
1963
1964         * java/net/URL.java
1965         (URL): Added paragraph about the
1966         gnu.java.net.nocache_protocol_handlers property.
1967         (ph_cache): Renamed from handlers to match classpath's implementation.
1968         Reordered it with factory and serialVersionUID member variables.
1969         (cache_handlers): New member variable.
1970         (static): New static initializer to initialize cache_handlers from
1971         gnu.java.net.nocache_protocol_handlers property.
1972         (URL): Use ph_cache instead of handlers, reformatted some code to
1973         match classpath's implementation.
1974
1975 2003-08-01  Tom Tromey  <tromey@redhat.com>
1976
1977         Fix for PR libgcj/11241:
1978         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1979         initialCapacity is 0, set it to 1.
1980
1981 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
1982
1983         * java/net/SocketImpl.java (toString): Display the remote address
1984         of an unconnected server socket as "0.0.0.0/0.0.0.0".
1985
1986 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
1987
1988         * javax/swing/border/BevelBorder.java,
1989         javax/swing/border/EtchedBorder.java,
1990         javax/swing/border/LineBorder.java,
1991         javax/swing/border/MatteBorder.java,
1992         javax/swing/border/SoftBevelBorder.java,
1993         javax/swing/plaf/BorderUIResource.java,
1994         javax/swing/plaf/ComponentUI.java,
1995         javax/swing/plaf/TreeUI.java,
1996         javax/swing/plaf/basic/BasicBorders.java,
1997         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1998         javax/swing/plaf/basic/BasicTreeUI.java:
1999         Prepend "doc-files" to all paths to embedded Javadoc images, so
2000         that the generated documentation contains the correct URL.
2001
2002 2003-08-01  Tom Tromey  <tromey@redhat.com>
2003
2004         * configure: Rebuilt.
2005         * configure.in (tool_include_dir): Redefine to match gcc.
2006
2007 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
2008             Mark Wielaard  <mark@klomp.org>
2009             
2010         * java/math/BigDecimal (divide): Correctly handle
2011         ROUND_HALF_EVEN when amount is greater than 0.5.
2012         Simplify and optimize code.
2013
2014 2003-07-31  Tom Tromey  <tromey@redhat.com>
2015
2016         More for PR libgcj/11737:
2017         * java/io/ObjectInputStream.java (processResolution): Use
2018         getMethod.
2019         (getMethod): Make method accessible.
2020         (getField): Make field accessible.
2021         (setBooleanField): Don't call setAccessible here.
2022         (setByteField, setCharField, setDoubleField, setFloatField,
2023         setIntField, setLongField, setShortField, setObjectField):
2024         Likewise.
2025         (callReadMethod): Don't check whether method is null.  Catch
2026         NoSuchMethodException.
2027         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
2028         cause on thrown exceptions.
2029
2030 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
2031
2032         Fix for PR libgcj/11728:
2033         * java/util/HashMap.java (readObject): Set size.
2034
2035 2003-07-31  Tom Tromey  <tromey@redhat.com>
2036
2037         Fix for PR libgcj/11737:
2038         * java/io/ObjectOutputStream.java (getMethod): Make method
2039         accessible.
2040         (getField): Likewise.
2041         (writeObject): Use getMethod.
2042         Import PrivilegedAction and AccessController.
2043         (callWriteMethod): Don't check whether m is null.  Catch
2044         NoSuchMethodException.
2045
2046         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
2047         (containsAngle): Likewise.
2048         (getStartPoint): Rewrote.
2049         (getEndPoint): Likewise.
2050         (setAngleStart(Point2D)): Likewise.
2051
2052 2003-07-31  Roger Sayle  <roger@eyesopen.com>
2053             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2054
2055         * configure.in: Add new THREADCXXFLAGS variable.
2056         Handle POSIX threads on alpha*-dec-osf*.
2057         * configure: Regenerate.
2058         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
2059         * Makefile.in: Regenerate.
2060
2061 2003-07-08  Andrew Haley  <aph@redhat.com>
2062
2063         * include/i386-signal.h (RESTORE): New.
2064         (INIT_SEGV): Set restorer.
2065         (INIT_FPE): Likewise.
2066
2067 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2068
2069         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
2070         than getXLFD.
2071         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2072         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
2073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2074         (gtkSetFont): Scale size parameter by PANGO_SCALE.
2075         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
2076         Likewise.
2077         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
2078         Likewise.
2079
2080 2003-07-29  Tom Tromey  <tromey@redhat.com>
2081
2082         * defineclass.cc (handleField): Throw exception if field name is
2083         duplicated.
2084         (handleMethod): Throw exception for duplicate method.
2085
2086 2003-07-29  Tom Tromey  <tromey@redhat.com>
2087
2088         * gnu/gcj/convert/natIconv.cc (write): Handle case where
2089         output buffer is too small.
2090
2091 2003-07-28  Tom Tromey  <tromey@redhat.com>
2092
2093         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
2094         New method.
2095         Include gnu/gcj/runtime/StringBuffer.h.
2096         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
2097         native method.
2098         (String(gnu.gcj.runtime.StringBuffer)): Use it.
2099
2100 2003-07-27  Anthony Green  <green@redhat.com>
2101
2102         * configure.in: Fix newlib check.
2103         * configure: Rebuilt.
2104
2105 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2106
2107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2108         Create vbox and layout for GtkPlug.
2109
2110 2003-07-27  Michael Koch  <konqueror@gmx.de>
2111
2112         * java/awt/Window.java
2113         (Window): Removed now unused constructor. It became oboslete with the
2114         new embedded window patch.
2115
2116 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
2117             Michael Koch  <konqueror@gmx.de>
2118
2119         * gnu/java/awt/EmbeddedWindow.java
2120         (EmbeddedWindow): Extends Frame instead of Window.
2121         (window_id): New member variable to store the native window handle.
2122         (create): Removed.
2123         (EmbeddedWindow): New constructor.
2124         (addNotify): New method.
2125         (getHandler): Likewise.
2126         (setWindowPeer): New native method.
2127         * gnu/java/awt/EmbeddedWindowSupport.java
2128         (EmbeddedWindowSupport): Fixed documentation.
2129         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
2130         WindowPeer, give it an EmbeddedWindow instance instead of the raw
2131         window data.
2132         * gnu/java/awt/natEmbeddedWindow.cc
2133         (create): Removed.
2134         (setWindowPeer): New method.
2135         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
2136         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
2137         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2138         New files
2139         * gnu/java/awt/peer/gtk/GtkToolkit.java
2140         (GtkToolkit): Implements EmbeddedWindowSupport.
2141         (createEmbeddedWindow): New method.
2142         * java/awt/Window.java
2143         (Window): Removed.
2144         * Makefile.am
2145         (java_source_files): Added EmbeddedWindowPeer.java.
2146         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
2147         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
2148         * Makefile.in: Regenerated.
2149
2150 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
2151
2152         * java/lang/Win32Process.java (ConcreteProcess): Surround
2153         a command line element with quotes if it contains an
2154         embedded space or tab.
2155         * java/lang/natWin32Process.cc (startProcess): Do not
2156         surround command line elements with quotes here.
2157
2158         * configure.host: Use -fcheck-references and 
2159         -fuse-divide-subroutine for MinGW until we fix
2160         win32_exception_handler( ) in win32.cc w.r.t. Win32 
2161         Structured Exception Handling (SEH).
2162
2163         * win32.cc (_Jv_platform_initProperties): Use generic names
2164         like "x86" for the "os.arch" property to be consistent with
2165         what Sun's JDK produces. Use the wProcessorArchitecture
2166         member of the Win32 SYSTEM_INFO structure, filled in a call 
2167         to GetSystemInfo( ), instead of dwProcessorType.
2168
2169 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
2170             Ranjit Mathew  <rmathew@hotmail.com>
2171
2172         * Makefile.am: Use cross-compiling gcjh from the path for
2173         a crossed-native build.
2174         * Makefile.in: Rebuilt.
2175         * configure.in: Include libltdl in non-newlib builds.
2176         Moved determination of gcj used to build libraries to
2177         its own section. Fixed cross-compilation issues for
2178         non-newlib builds.
2179         * configure: Rebuilt.
2180
2181 2003-07-25  Tom Tromey  <tromey@redhat.com>
2182
2183         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
2184         (write): Likewise.
2185         (read): Likewise.
2186         (read): Likewise.
2187
2188 2003-07-25  Mark Wielaard  <mark@klomp.org>
2189
2190         * java/lang/natRuntime.cc (_load): Add library name to
2191         UnsatisfiedLinkError when thrown.
2192
2193 2003-07-25  Mark Wielaard  <mark@klomp.org>
2194
2195         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
2196         added.
2197         * Makefile.in: Likewise.
2198
2199 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
2200
2201         * java/awt/Component.java
2202         (getPreferredSize): Call preferredSize.
2203         (preferredSize): Moved body of getPreferredSize here.
2204         (getMinimumSize): Call minimumSize.
2205         (minimumSize): Moved body of getMinimumSize here.
2206         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
2207         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
2208         pass -1
2209         * java/awt/Container.java
2210         (validate): Don't validate if there is no peer.
2211         (update): Clear background before calling paint.
2212         * java/awt/GridBagLayout.java
2213         Completed the implementation and fixed several bugs.
2214         * java/awt/MediaTracker.java
2215         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
2216         combine flags.
2217         * java/awt/Window.java
2218         (Window): Don't call setVisible(false). Windows are invisible by
2219         default and calling virtual methods from constructor causes
2220         compatibility problems (e.g. subclasses may assume that the peer
2221         already exists).
2222
2223 2003-07-25  Michael Koch  <konqueror@gmx.de>
2224
2225         * java/awt/GridBagLayout.java:
2226         Totally reworked and partly implemented.
2227         * java/awt/GridBagLayoutInfo.java:
2228         New file.
2229
2230 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2231
2232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2233         Don't pack label in an event box.
2234
2235 2003-07-24  Tom Tromey  <tromey@redhat.com>
2236
2237         For PR libgcj/7482:
2238         * verify.cc (ref_intersection): New class.
2239         (type_val): Removed unresolved_reference_type,
2240         uninitialized_unresolved_reference_type.
2241         (is_assignable_from_slow): Rewrote.
2242         (type::data): Removed.
2243         (type::klass): New field.
2244         (type::type): Added verifier argument.
2245         (type::resolve): Removed.
2246         (type::set_uninitialized): Updated for change to type_val.
2247         (type::set_initialized): Likewise.
2248         (type::isinitialized): Likewise.
2249         (type::print): Likewise.
2250         (construct_primitive_array_type): Likewise.
2251         (type::compatible): Updated for change to type_val and to use
2252         ref_intersection.
2253         (type::isarray): Updated to use ref_intersection.
2254         (type::isinterface): Likewise.
2255         (type::element_type): Likewise.
2256         (type::to_array): Likewise.
2257         (type::verify_dimensions): Rewrote.
2258         (type::merge): Likewise.
2259         (check_class_constant): Updated for type constructor change.
2260         (check_constant): Likewise.
2261         (check_field_constant): Likewise.
2262         (get_one_type): Likewise.
2263         (initialize_stack): Likewise.
2264         (verify_instructions_0): Likewise.
2265         (verify_instructions_0) [op_invokeinterface]: Removed special
2266         case.
2267         (isect_list): New field.
2268         (_Jv_BytecodeVerifier): Initialize it.
2269         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
2270
2271 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
2272
2273         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2274         unless field size is 2.
2275
2276 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2277
2278         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2279         (connectHooks): New method.
2280         (handleEvent): Remove.
2281         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2282         (createHooks): Remove declaration.
2283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2284         (generates_key_typed_event): Change to handle only certain
2285         keyvals.
2286         (awt_event_handler): Add special handling for GtkTextView.
2287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2288         (textcomponent_commit_cb): New function.
2289         (textcomponent_changed_cb): Likewise.
2290         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2291         (connectHooks): Remove.
2292
2293 2003-07-23  Tom Tromey  <tromey@redhat.com>
2294
2295         * java/lang/natSystem.cc (arraycopy): Check for overflow.
2296
2297         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
2298
2299 2003-07-22  Tom Tromey  <tromey@redhat.com>
2300
2301         * boehm.cc (_Jv_BuildGCDescr): Wrote.
2302         Include limits.h.
2303
2304 2003-07-22  Tom Tromey  <tromey@redhat.com>
2305
2306         * java/awt/Window.java (getWarningString): Just return the
2307         string.
2308         (Window): Set warningString; check with security manager.
2309
2310 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
2311
2312         * gnu/awt/xlib/XGraphicsConfiguration.java
2313         (FontMetricsCache): Made static.
2314  
2315 2003-07-22  Tom Tromey  <tromey@redhat.com>
2316
2317         * java/net/URLEncoder.java (encode(String)): Use platform default
2318         encoding.
2319         (encode(String,String)): Convert to 2-digit upper-case hex
2320         number.
2321         (hex): New field.
2322
2323 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2324
2325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2326         (create): Remove unused method implementation.
2327         (connectHooks): Remove debug messages.
2328
2329 2003-07-20  Anthony Green  <green@redhat.com>
2330
2331         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
2332         CloneNotSupportedException.
2333         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
2334         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
2335         * gnu/gcj/xlib/GC.java (clone): Ditto.
2336         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
2337         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
2338
2339         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
2340         handler.
2341         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
2342
2343 2003-07-20  Steve Pribyl <steve@netfuel.com.>
2344
2345         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
2346         String.  Put dlerror() message into exception.
2347         Include UnsatisfiedLinkError.
2348         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
2349         String.  Now native.
2350
2351 2003-07-20  Tom Tromey  <tromey@redhat.com>
2352
2353         * java/lang/Runtime.java: Comment fix.
2354         * java/lang/ClassLoader.java (isAncestorOf): New method.
2355         (getParent): Uncommented security check.  Use isAncestorOf.
2356         * include/jvm.h (_Jv_CheckAccess): Declare.
2357         * java/lang/reflect/natConstructor.cc (newInstance): Perform
2358         access check.
2359         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
2360         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
2361         class loader to _Jv_GetArrayClass.
2362         Include ArrayIndexOutOfBoundsException.h.
2363         * java/lang/reflect/Field.java: Update comment to reflect status.
2364         (equals): Fixed indentation.
2365         * java/lang/Class.h (Class): Declare memberAccessCheck, not
2366         checkMemberAccess.  Make _Jv_CheckAccess a friend.
2367         * java/lang/Class.java (memberAccessCheck): New method from
2368         Classpath.
2369         (checkMemberAccess): Removed.
2370         (getDeclaredMethod): Use memberAccessCheck.
2371         (getField): Likewise.
2372         (getMethod): Likewise.
2373         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
2374         (_Jv_SearchMethodInClass): Likewise.
2375         * prims.cc (_Jv_CheckAccess): New function.
2376         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
2377         (_Jv_JNI_GetAnyFieldID): Likewise.
2378         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
2379         (getClassLoader): Added security check.
2380         (getConstructor): Call memberAccessCheck.
2381         (getDeclaredClasses): Likewise.
2382         (getDeclaredField): Likewise.
2383         (getDeclaredFields): Likewise.
2384         (_getConstructors): Likewise.
2385         (getDeclaredConstructor): Likewise.
2386         (getDeclaredMethods): Likewise.
2387         (getFields): Likewise.
2388         (getMethods): Likewise.
2389         (newInstance): Likewise.
2390         (_Jv_MakeVTable): Put method name in exception.
2391         * java/lang/reflect/natMethod.cc (getType): Use
2392         getClassLoaderInternal.
2393         (_Jv_GetTypesFromSignature): Likewise.
2394         (invoke): Perform access check.
2395         (_Jv_CallAnyMethodA): Removed old FIXME comments.
2396         Include ArrayIndexOutOfBoundsException.h.
2397         * java/lang/reflect/natField.cc (getType): Use
2398         getClassLoaderInternal.
2399         (_Jv_CheckFieldAccessibility): Removed.
2400         (getAddr): Use _Jv_CheckAccess; find caller.
2401         Include ArrayIndexOutOfBoundsException.h.
2402
2403 2003-07-20  Michael Koch  <konqueror@gmx.de>
2404
2405         * java/net/URL.java
2406         (URL): Fixed documentation to name an argument correcty, Reformatted
2407         one method declaration.
2408         (getURLStreamHandler): Added documentation from classpath.
2409
2410 2003-07-19  Tom Tromey  <tromey@redhat.com>
2411
2412         * mauve-libgcj: Don't run CollationElementIterator tests.
2413
2414 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
2415
2416         * java/net/URLClassLoader.java (addURL): Moved implementation to
2417         private addURLImpl() to avoid calling addURL from the constructor.
2418         (addURLImpl): Contains the code that was previously in addURL.
2419         (addURLs): Call addURLImpl(), not addURL().
2420
2421 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2422
2423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
2424         Handle missing event cases, connect to "value-changed" signal.
2425
2426 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2427
2428         * java/awt/geom/CubicCurve2D.java,
2429         java/awt/geom/Line2D.java,
2430         java/awt/geom/QuadCurve2D.java,
2431         java/awt/geom/Rectangle2D.java: 
2432         Fix path some calculations, make path iterators follow
2433         a consistent style.
2434
2435 2003-07-18  Mark Wielaard  <mark@klomp.org>
2436
2437         * java/util/logging/Handler.java (isLoggable): Check record level
2438         smaller or equal.
2439
2440 2003-07-17  Michael Koch  <konqueror@gmx.de>
2441
2442         * gnu/java/awt/peer/gtk/GtkToolkit.java:
2443         Reworked imports.
2444
2445 2003-07-14  Michael Koch  <konqueror@gmx.de>
2446
2447         * gnu/java/rmi/server/UnicastServerRef.java:
2448         New version from classpath.
2449
2450 2003-07-14  Michael Koch  <konqueror@gmx.de>
2451
2452         * java/awt/image/MemoryImageSource.java,
2453         java/beans/PropertyEditorManager.java,
2454         javax/naming/CompoundName.java,
2455         javax/naming/spi/NamingManager.java,
2456         javax/swing/AbstractButton.java,
2457         javax/swing/ButtonModel.java,
2458         javax/swing/SwingUtilities.java,
2459         javax/swing/UIManager.java,
2460         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2461         javax/swing/event/AncestorEvent.java,
2462         javax/swing/event/InternalFrameEvent.java,
2463         java/util/zip/ZipFile.java:
2464         New versions from classpath.
2465
2466 2003-07-13  Michael Koch  <konqueror@gmx.de>
2467
2468         * gnu/java/nio/FileChannelImpl.java,
2469         gnu/java/nio/natFileChannelImpl.cc: Removed.
2470         * java/io/FileInputStream.java,
2471         java/io/FileOutputStream.java,
2472         java/io/RandomAccessFile.java,
2473         java/nio/MappedByteBufferImpl.java:
2474         Import java.nio.channels.FileChannelImpl instead of
2475         gnu.java.nio.FileChannelImpl.
2476         * java/nio/channels/FileChannelImpl.java,
2477         java/nio/channels/natFileChannelImpl.cc:
2478         New files.
2479         * Makefile.am
2480         (ordinary_java_source_files):
2481         Removed gnu/java/nio/FileChannelImpl.java and added
2482         java/nio/channels/FileChannelImpl.java.
2483         (nat source_files):
2484         Removed gnu/java/nio/natFileChannelImpl.cc and added
2485         java/nio/channels/natFileChannelImpl.cc.
2486         * Makefile.in: Regenerated.
2487
2488 2003-07-13  Michael Koch  <konqueror@gmx.de>
2489
2490         * javax/swing/plaf/basic/BasicBorders.java,
2491         javax/swing/plaf/basic/BasicLabelUI.java,
2492         javax/swing/plaf/basic/BasicLookAndFeel.java,
2493         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2494         javax/swing/plaf/basic/BasicTextUI.java,
2495         javax/swing/plaf/metal/MetalLookAndFeel.java:
2496         New versions from classpath.
2497
2498 2003-07-13  Michael Koch  <konqueror@gmx.de>
2499
2500         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2501         * gnu/java/awt/peer/gtk/GdkGraphics.java
2502         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2503         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2504         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2505         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2506         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2507         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2508         * gnu/java/awt/peer/gtk/GtkClipboard.java
2509         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2510         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2511         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2512         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2513         * gnu/java/awt/peer/gtk/GtkImage.java
2514         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2515         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2516         * gnu/java/awt/peer/gtk/GtkListPeer.java
2517         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2518         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2519         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2520         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2521         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2522         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2523         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2524         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2525         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2526         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2527         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2528         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2529
2530 2003-07-13  Michael Koch  <konqueror@gmx.de>
2531
2532         * gnu/java/locale/LocaleInformation_de.java
2533         * gnu/java/locale/LocaleInformation_en.java
2534         * gnu/java/locale/LocaleInformation_nl.java
2535
2536 2003-07-13  Michael Koch  <konqueror@gmx.de>
2537
2538         * gnu/java/awt/EmbeddedWindow.java,
2539         gnu/java/awt/EmbeddedWindowSupport.java,
2540         gnu/java/awt/natEmbeddedWindow.cc:
2541         New files.
2542         * java/awt/Window.java
2543         (Window): New constructor to support embedded windows.
2544         * Makefile.am
2545         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2546         gnu/java/awt/EmbeddedWindowSupport.java.
2547         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2548         * Makefile.in: Regenerated.
2549
2550 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
2551
2552         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2553         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2554         * java/awt/im/InputContext.java: Remove a redundant
2555         partial line.
2556
2557 2003-07-09  Tom Tromey  <tromey@redhat.com>
2558
2559         * Makefile.in: Rebuilt.
2560         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2561
2562 2003-07-09  Mark Wielaard  <mark@klomp.org>
2563
2564         * java/io/ObjectOutputStream.java (writeObject): break after
2565         calling writeClassDescriptor().
2566
2567 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
2568
2569         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
2570
2571 2003-07-09  Michael Koch  <konqueror@gmx.de>
2572
2573         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2574         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2575         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2576         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2577         Explicitly import used classes.
2578         * java/awt/Container.java: New version from classpath.
2579
2580 2003-07-09  Michael Koch  <konqueror@gmx.de>
2581
2582         * libgcj.pc.in: New file.
2583         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
2584         * Makefile.in: Regenerated.
2585         * configure: Regenrated.
2586         * configure.in: Create libgcj.pc from libgcj.pc.in.
2587
2588 2003-07-08  Mark Wielaard <mark@klomp.org>
2589
2590         * gcj/cni.h: CNI now expands to Compiled Native Interface.
2591
2592         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
2593         * java/lang/fdlibm.h: Likewise.
2594
2595 2003-07-07  Adam Megacz <adam@xwt.org>
2596
2597         * posix.cc: added #include<stdio.h>
2598                 
2599 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2600
2601         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
2602         formatting.
2603
2604         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2605         (setCaretPosition, setEditable): Rely entirely on native
2606         implementation.
2607         (getArgs): Remove.
2608         (postTextEvent): New method.
2609         (handleEvent): New method.
2610         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
2611         method.
2612         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
2613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2614         (keysym_to_awt_keycode): Fix range checks.
2615         (generates_key_typed_event): New function.
2616         (awt_event_handler): Post AWT_KEY_RELEASED events to event
2617         queue.
2618         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2619         (gtkInit): Store TextComponent's postTextEvent method ID.
2620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2621         (setText): Post TEXT_VALUE_CHANGED event to event queue.
2622
2623 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2624
2625         * configure.in: Check for usleep declaration.
2626         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
2627         * configure: Regenerate.
2628         * include/config.h.in: Likewise.
2629         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
2630
2631 2003-07-01  Michael Koch  <konqueror@gmx.de>
2632
2633         * gnu/gcj/convert/natIconv.cc
2634         (iconv_init): Fixed possible memory leak by releasing allocated iconv
2635         handle.
2636
2637 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2638
2639         * glib-2.0.m4: New file.
2640         * gtk-2.0.m4: New file.
2641         * glib.m4: Remove.
2642         * gtk.m4: Remove.
2643         * configure.in: Update AM_PATH_GTK macro call to
2644         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
2645         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
2646         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2647         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2648         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
2649         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2650         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2651         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
2652         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2653         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2654         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2655         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2656         jni/gtk-peer/gthread-jni.c,
2657         jni/gtk-peer/gthread-jni.h:
2658         New versions from classpath.
2659         * aclocal.m4: Regenerate.
2660         * configure: Regenerate.
2661         * Makefile.in: Regenerate.
2662         * gcj/Makefile.in: Regenerate.
2663         * include/Makefile.in: Regenerate.
2664         * testsuite/Makefile.in: Regenerate.
2665
2666 2003-06-30  Gary Benson  <gbenson@redhat.com>
2667
2668         For PR libgcj/11349:
2669         * javax/naming/spi/NamingManager.java (getURLContext): Use
2670         correct name for factory class.
2671
2672 2003-06-28  Michael Koch  <konqueror@gmx.de>
2673
2674         * java/io/PrintStream.java
2675         (checkError): Call flush() instead of direct flushing of the Writer
2676         object.
2677         (print): Call print(String) instead of direct print method of the
2678         Writer Object.
2679         (println): Call println(String) instead of direct println method of the
2680         Writer Object.
2681         (write): Simplified.
2682
2683 2003-06-28  Michael Koch  <konqueror@gmx.de>
2684
2685         * java/net/ServerSocket.java
2686         (setChannel): New method.
2687         * java/net/Socket.java
2688         (setChannel): New method.
2689
2690 2003-06-27  Michael Koch  <konqueror@gmx.de>
2691
2692         * java/beans/beancontext/BeanContextSupport.java:
2693         New version from classpath.
2694
2695 2003-06-27  Michael Koch  <konqueror@gmx.de>
2696
2697         * java/awt/Window.java,
2698         java/awt/font/GraphicAttribute.java,
2699         java/awt/font/ImageGraphicAttribute.java,
2700         java/awt/image/DataBufferByte.java,
2701         java/awt/image/DataBufferInt.java,
2702         java/awt/image/DataBufferUShort.java,
2703         java/awt/image/DirectColorModel.java,
2704         java/awt/image/PixelGrabber.java:
2705         New versions from classpath.
2706
2707 2003-06-27  Michael Koch  <konqueror@gmx.de>
2708
2709         * java/security/Certificate.java
2710         (getGuarantor): Removed wrong @deprecated tag.
2711         (getPrincipal): Likewise.
2712         (getPublicKey): Likewise.
2713         (encode): Likewise.
2714         (decode): Likewise.
2715         (getFormat): Likewise.
2716         (toString): Likewise.
2717         * java/security/cert/PolicyQualifierInfo.java
2718         (PolicyQualifierInfo): Made final.
2719         * javax/security/auth/x500/X500Principal.java
2720         (serialVersionUID): New member variable.
2721
2722 2003-06-27  Michael Koch  <konqueror@gmx.de>
2723
2724         * java/text/Format.java
2725         (serialVersionUID): Fixed value.
2726
2727 2003-06-27  Michael Koch  <konqueror@gmx.de>
2728
2729         * java/net/Inet4Address.java
2730         (Inet4Address): Made package-private.
2731         * java/net/Inet6Address.java
2732         (Inet4Address): Made package-private.
2733
2734 2003-06-27  Michael Koch  <konqueror@gmx.de>
2735
2736         * java/io/RandomAccessFile.java
2737         (readLine): Removed wrong @deprecated tag.
2738         (getChannel): Made final.
2739
2740 2003-06-27  Michael Koch  <konqueror@gmx.de>
2741
2742         * gnu/java/nio/FileChannelImpl.java
2743         (write): Removed.
2744
2745 2003-06-27  Michael Koch  <konqueror@gmx.de>
2746
2747         * java/nio/ByteBufferImpl.java
2748         (ByteBufferImpl): Made it a package-private class
2749         * java/nio/CharBufferImpl.java
2750         (CharBufferImpl): Made it a package-private class
2751         * java/nio/DirectByteBufferImpl.java
2752         (DirectByteBufferImpl): Made it a package-private class
2753         * java/nio/DoubleBufferImpl.java
2754         (DoubleBufferImpl): Made it a package-private class
2755         * java/nio/FloatBufferImpl.java
2756         (FloatBufferImpl): Made it a package-private class
2757         * java/nio/IntBufferImpl.java
2758         (IntBufferImpl): Made it a package-private class
2759         * java/nio/LongBufferImpl.java
2760         (LongBufferImpl): Made it a package-private class
2761         * java/nio/ShortBufferImpl.java
2762         (ShortBufferImpl): Made it a package-private class
2763         * java/nio/channels/FileChannel.java
2764         (write): Made final.
2765         * java/nio/channels/ServerSocketChannel.java
2766         (ServerSocketChanne): Made protected.
2767
2768 2003-06-27  Michael Koch  <konqueror@gmx.de>
2769
2770         * javax/naming/CompositeName.java
2771         (serialVersionUID): New member variable.
2772         * javax/naming/CompoundName.java
2773         (serialVersionUID): New member variable.
2774         * javax/naming/InitialContext.java
2775         (InitialContext): Throws NamingException.
2776         (init): Likewise.
2777         * javax/naming/LinkRef.java
2778         (serialVersionUID): New member variable.
2779         (gteLinkName): Throws NamingException.
2780         * javax/naming/NamingException.java
2781         (serialVersionUID): New member variable.
2782         * javax/naming/NamingSecurityException.java
2783         (NamingSecurityException): Made abstract.
2784         (serialVersionUID): New member variable.
2785         * javax/naming/ReferralException.java
2786         (serialVersionUID): New member variable.
2787         * javax/naming/StringRefAddr.java
2788         (serialVersionUID): New member variable.
2789         * javax/naming/directory/BasicAttribute.java:
2790         Reworked imports.
2791         (serialVersionUID): New member variable.
2792         (get): Throws NamingException.
2793         (getAll): Throws NamingException.
2794         * javax/naming/directory/BasicAttributes.java:
2795         Reworked imports.
2796         (serialVersionUID): New member variable.
2797         * javax/naming/ldap/UnsolicitedNotificationEvent.java
2798         (serialVersionUID): New member variable.
2799
2800 2003-06-27  Michael Koch  <konqueror@gmx.de>
2801
2802         * Makefile.am
2803         (awt_java_source_files): Added new files:
2804         javax/swing/Popup.java,
2805         javax/swing/PopupFactory.java
2806         * Makefile.in: Regenerated.
2807
2808 2003-06-27  Michael Koch  <konqueror@gmx.de>
2809
2810         * javax/swing/JWindow.java,
2811         javax/swing/event/AncestorEvent.java,
2812         javax/swing/event/HyperlinkEvent.java,
2813         javax/swing/event/InternalFrameEvent.java,
2814         javax/swing/event/ListDataEvent.java,
2815         javax/swing/event/TableModelEvent.java,
2816         javax/swing/plaf/PopupMenuUI.java,
2817         javax/swing/plaf/SplitPaneUI.java,
2818         javax/swing/plaf/TabbedPaneUI.java,
2819         javax/swing/plaf/TextUI.java,
2820         javax/swing/plaf/TreeUI.java,
2821         javax/swing/plaf/basic/BasicTextUI.java,
2822         javax/swing/plaf/basic/BasicTreeUI.java:
2823         New versions from classpath.
2824         * javax/swing/Popup.java,
2825         javax/swing/PopupFactory.jav:
2826         New source files from classpath.
2827         * javax/swing/plaf/doc-files/TreeUI-1.png:
2828         New binary files from classpath.
2829
2830 2003-06-25  Michael Koch  <konqueror@gmx.de>
2831
2832         * Makefile.am
2833         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
2834         * Makefile.in: Regenerated.
2835
2836 2003-06-25  Michael Koch  <konqueror@gmx.de>
2837
2838         * javax/swing/plaf/ActionMapUIResource.java,
2839         javax/swing/plaf/BorderUIResource.java,
2840         javax/swing/plaf/ButtonUI.java,
2841         javax/swing/plaf/ColorChooserUI.java,
2842         javax/swing/plaf/ColorUIResource.java,
2843         javax/swing/plaf/ComboBoxUI.java,
2844         javax/swing/plaf/ComponentInputMapUIResource.java,
2845         javax/swing/plaf/ComponentUI.java,
2846         javax/swing/plaf/DesktopIconUI.java,
2847         javax/swing/plaf/DesktopPaneUI.java,
2848         javax/swing/plaf/DimensionUIResource.java,
2849         javax/swing/plaf/FileChooserUI.java,
2850         javax/swing/plaf/FontUIResource.java,
2851         javax/swing/plaf/IconUIResource.java,
2852         javax/swing/plaf/InputMapUIResource.java,
2853         javax/swing/plaf/InsetsUIResource.java,
2854         javax/swing/plaf/InternalFrameUI.java,
2855         javax/swing/plaf/LabelUI.java,
2856         javax/swing/plaf/ListUI.java,
2857         javax/swing/plaf/MenuBarUI.java,
2858         javax/swing/plaf/MenuItemUI.java,
2859         javax/swing/plaf/OptionPaneUI.java,
2860         javax/swing/plaf/PanelUI.java,
2861         javax/swing/plaf/ProgressBarUI.java,
2862         javax/swing/plaf/RootPaneUI.java,
2863         javax/swing/plaf/ScrollBarUI.java,
2864         javax/swing/plaf/ScrollPaneUI.java,
2865         javax/swing/plaf/SeparatorUI.java,
2866         javax/swing/plaf/SliderUI.java,
2867         javax/swing/plaf/TableHeaderUI.java,
2868         javax/swing/plaf/TableUI.java,
2869         javax/swing/plaf/ToolBarUI.java,
2870         javax/swing/plaf/ToolTipUI.java,
2871         javax/swing/plaf/ViewportUI.java:
2872         New versions from classpath.
2873         * javax/swing/plaf/SpinnerUI.java: 
2874         New file from classpath
2875
2876 2003-06-25  Michael Koch  <konqueror@gmx.de>
2877
2878         * java/awt/image/ColorModel.java:
2879         New version from classpath.
2880
2881 2003-06-25  Michael Koch  <konqueror@gmx.de>
2882
2883         * java/net/PlainDatagramSocketImpl.java:
2884         Partly merged with classpath, this mainly adds documentation.
2885
2886 2003-06-25  Michael Koch  <konqueror@gmx.de>
2887
2888         * java/io/ObjectInputStream.java
2889         (readClassDescriptor): New method.
2890         (readObject): Moved functionality to readClassDescriptor().
2891         * java/io/ObjectOutputStream.java
2892         (writeClassDescriptor): New method.
2893         (writeObject): Moved functionality to writeClassDescriptor().
2894
2895 2003-06-25  Michael Koch  <konqueror@gmx.de>
2896
2897         * javax/swing/plaf/basic/BasicListUI.java,
2898         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2899         Added missing methods.
2900
2901 2003-06-25  Michael Koch  <konqueror@gmx.de>
2902
2903         * javax/swing/event/AncestorEvent.java
2904         javax/swing/event/HyperlinkEvent.java
2905         javax/swing/event/InternalFrameEvent.java
2906         javax/swing/event/ListDataEvent.java
2907         javax/swing/event/TableModelEvent.java:
2908         Compile fixes.
2909
2910 2003-06-24  Michael Koch  <konqueror@gmx.de>
2911
2912         * java/net/URL.java:
2913         Renamed "handler" to "ph" in the whole file to match classpaths
2914         version.
2915         * java/net/URLStreamHandler.java:
2916         (equals): Renamed "handler" to "ph".
2917
2918 2003-06-24  Michael Koch  <konqueror@gmx.de>
2919
2920         * javax/swing/event/AncestorEvent.java,
2921         javax/swing/event/HyperlinkEvent.java,
2922         javax/swing/event/InternalFrameEvent.java,
2923         javax/swing/event/ListDataEvent.java,
2924         javax/swing/event/TableModelEvent.java,
2925         javax/swing/event/TreeWillExpandListener.java,
2926         javax/swing/plaf/ComponentUI.java,
2927         javax/swing/plaf/DesktopIconUI.java,
2928         javax/swing/plaf/DesktopPaneUI.java,
2929         javax/swing/plaf/DimensionUIResource.java,
2930         javax/swing/plaf/FileChooserUI.java,
2931         javax/swing/plaf/FontUIResource.java,
2932         javax/swing/plaf/IconUIResource.java,
2933         javax/swing/plaf/InputMapUIResource.java,
2934         javax/swing/plaf/InsetsUIResource.java,
2935         javax/swing/plaf/InternalFrameUI.java,
2936         javax/swing/plaf/LabelUI.java,
2937         javax/swing/plaf/ListUI.java,
2938         javax/swing/plaf/MenuBarUI.java,
2939         javax/swing/plaf/MenuItemUI.java,
2940         javax/swing/plaf/OptionPaneUI.java,
2941         javax/swing/plaf/PanelUI.java,
2942         javax/swing/plaf/ProgressBarUI.java,
2943         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2944         javax/swing/plaf/doc-files/ComponentUI-1.png:
2945         New versions from classpath.
2946
2947 2003-06-24  Michael Koch  <konqueror@gmx.de>
2948
2949         * java/nio/Buffer.java
2950         (cap): Made package-private.
2951         (pos): Likewise.
2952         (limit): Likewise.
2953         (mark): Likewise.
2954
2955 2003-06-24  Michael Koch  <konqueror@gmx.de>
2956
2957         * java/net/SocketImpl.java
2958         (shutdownInput): Made it non-abstract method throwing an exception
2959         like in SUNs JRE.
2960         (shutdownOutput): Likewise.
2961         * java/net/SocketInputStream.java,
2962         java/net/SocketOutputStream.java:
2963         New files from classpath.
2964
2965 2003-06-24  Michael Koch  <konqueror@gmx.de>
2966
2967         * java/awt/Font.java,
2968         java/awt/Window.java,
2969         java/awt/color/ColorSpace.java,
2970         java/awt/datatransfer/StringSelection.java,
2971         java/awt/image/ColorModel.java:
2972         New versions from classpath.
2973
2974 2003-06-24  Michael Koch  <konqueror@gmx.de>
2975
2976         * Makefile.am
2977         (awt_java_source_files): Added new files:
2978         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2979         javax/swing/plaf/basic/BasicSplitPaneUI.java
2980         * Makefile.in: Regenerated.
2981
2982 2003-06-24  Michael Koch  <konqueror@gmx.de>
2983
2984         * javax/swing/text/JTextComponent.java:
2985         New version from classpath.
2986
2987 2003-06-24  Michael Koch  <konqueror@gmx.de>
2988
2989         * javax/swing/Timer.java,
2990         javax/swing/plaf/ActionMapUIResource.java,
2991         javax/swing/plaf/ButtonUI.java,
2992         javax/swing/plaf/ColorChooserUI.java,
2993         javax/swing/plaf/ColorUIResource.java,
2994         javax/swing/plaf/ComboBoxUI.java,
2995         javax/swing/plaf/ComponentInputMapUIResource.java,
2996         javax/swing/plaf/basic/BasicBorders.java:
2997         New versions from classpath.
2998         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
2999         javax/swing/plaf/basic/BasicSplitPaneUI.java:
3000         New file from classpath.
3001         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3002         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3003         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3004         javax/swing/plaf/doc-files/ComponentUI-1.dia,
3005         javax/swing/plaf/doc-files/ComponentUI-1.png:
3006         New binary files from classpath.
3007
3008 2003-06-24  Michael Koch  <konqueror@gmx.de>
3009
3010         * java/io/LineNumberReader.java
3011         (skip): Dont do line number accounting here as this is already done in
3012         read(), simplified.
3013
3014 2003-06-21  Michael Koch  <konqueror@gmx.de>
3015
3016         * java/io/File.java
3017         (static): Load javaio lib if existing (only in classpath).
3018         (File): Revised documentation to show the correct argument name.
3019         (createTempFile): Partly merged with classpath.
3020         (compareTo): Simplified.
3021         (lastModified): Throw exception if time < 0.
3022         (deleteOnExit): Revised documentation.
3023
3024 2003-06-21  Michael Koch  <konqueror@gmx.de>
3025
3026         * java/net/PlainSocketImpl.java:
3027         Reformatted.
3028         (PlainSocketImpl): Merged class documentaion with classpath.
3029         (in): Moved.
3030         (out): Moved.
3031         (PlainSocketImpl): New empty constructor.
3032         (finalize): Moved.
3033         (setOption): Merged documentation from classpath.
3034         (getOption): Likewise.
3035         (create): Likewise.
3036         (connect): Likewise.
3037         (bind): Likewise.
3038         (listen): Likewise.
3039         (accept): Likewise.
3040         (available): Likewise.
3041         (close): Likewise.
3042         (read): Likewise.
3043         (write): Likewise.
3044         (getInputStream): Made synchronozed to get sure that only one stream
3045         object can be created for this socket, merged documentation from
3046         classpath.
3047         (getOutputStream): Likewise.
3048
3049 2003-06-21  Michael Koch  <konqueror@gmx.de>
3050
3051         * java/net/PlainSocketImpl.java:
3052         Reformatting.
3053         (static): New implicit method.
3054         (read): Made package private.
3055         (write): Likewise.
3056
3057 2003-06-21  Michael Koch  <konqueror@gmx.de>
3058
3059         * java/util/SimpleTimeZone.java:
3060         Removed unneeded import, reformatting.
3061
3062 2003-06-21  Michael Koch  <konqueror@gmx.de>
3063
3064         * java/text/DateFormat.java,
3065         java/text/SimpleDateFormat.java,
3066         java/util/Locale.java:
3067         New versions from classpath.
3068
3069 2003-06-21  Michael Koch  <konqueror@gmx.de>
3070
3071         * javax/swing/SpinnerModel.java:
3072         New file from classpath.
3073         * javax/swing/border/LineBorder.java,
3074         javax/swing/border/SoftBevelBorder.java,
3075         javax/swing/plaf/BorderUIResource.java,
3076         javax/swing/plaf/basic/BasicBorders.java:
3077         New versions from classpath.
3078         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3079         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3080         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3081         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3082         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3083         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
3084         New binary files from classpath.
3085
3086 2003-06-21  Michael Koch  <konqueror@gmx.de>
3087
3088         * java/util/logging/LogRecord.java,
3089         java/util/logging/Logger.java,
3090         java/util/logging/SocketHandler.java,
3091         java/util/logging/SimpleFormatter.java,
3092         java/util/logging/Formatter.java,
3093         java/util/logging/ErrorManager.java,
3094         java/util/logging/Handler.java,
3095         java/util/logging/FileHandler.java,
3096         java/util/logging/LogManager.java,
3097         java/util/logging/Level.java,
3098         java/util/logging/ConsoleHandler.java,
3099         java/util/logging/StreamHandler.java,
3100         java/util/logging/LoggingPermission.java,
3101         java/util/logging/Filter.java,
3102         java/util/logging/MemoryHandler.java,
3103         java/util/logging/XMLFormatter.java:
3104         New files from classpath.
3105
3106 2003-06-20  Michael Koch  <konqueror@gmx.de>
3107
3108         * java/io/ObjectStreamField.java
3109         (unshared): new member variable.
3110         (ObjectStreamField): New constructor.
3111         (isUnshared): New method.
3112
3113 2003-06-20  Michael Koch  <konqueror@gmx.de>
3114
3115         * java/net/URLStreamHandler.java
3116         (hostsEqual): Rewritten.
3117
3118 2003-06-20  Michael Koch  <konqueror@gmx.de>
3119
3120         * gnu/java/nio/MappedByteFileBuffer.java,
3121         gnu/java/nio/natMappedByteFileBuffer.cc:
3122         Removed
3123         * java/nio/MappedByteBufferImpl.java:
3124         New file.
3125         * gnu/java/nio/FileChannelImpl.java:
3126         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
3127         * Makefile.am
3128         (ordinary_java_source_files): Removed
3129         gnu/java/nio/MappedByteFileBuffer.java and added
3130         java/nio/MappedByteBufferImpl.java.
3131         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
3132         * Makefile.in: Regenerated.
3133
3134 2003-06-19  Michael Koch  <konqueror@gmx.de>
3135
3136         * gnu/java/nio/DatagramChannelImpl.java
3137         (fd): Removed.
3138         (blocking): New member variable.
3139         (socket): Likewise.
3140         (DatagramChannelImpl): Throws IOException, initialize socket.
3141         (socket):Implemented.
3142         (implCloseSelectableChannel): Throws IOException, implemented.
3143         (implConfigureBlocking): Likewise.
3144         (connect): Likewise.
3145         (disconnect): Likewise.
3146         (isConnected): Likewise.
3147         (write): Likewise.
3148         (read): Likewise.
3149         (receive): Throws IOException.
3150         (send): Likewise.
3151         * gnu/java/nio/SocketChannelImpl.java
3152         (read): Implemented.
3153         (write): Implemented.
3154
3155 2003-06-19  Michael Koch  <konqueror@gmx.de>
3156
3157         * javax/swing/JComponent.java,
3158         javax/swing/JInternalFrame.java,
3159         javax/swing/MenuSelectionManager.java,
3160         javax/swing/SwingUtilities.java,
3161         javax/swing/ToggleButtonModel.java:
3162         New versions from classpath.
3163
3164 2003-06-19  Michael Koch  <konqueror@gmx.de>
3165
3166         * java/text/CollationElementIterator.java
3167         (NULLORDER): Initialize with -1 as JDK documentation says.
3168
3169 2003-06-19  Michael Koch  <konqueror@gmx.de>
3170
3171         * java/net/HttpURLConnection.java,
3172         java/net/Inet4Address.java,
3173         java/net/Inet6Address.java,
3174         java/net/SocketImpl.java,
3175         java/net/URLClassLoader.java:
3176         Reworked import statements.
3177         * java/net/InetAddress.java
3178         (getByAddress): Simplified.
3179         * java/net/ServerSocket.java
3180         (ServerSocket): Moved special handling during bind operation to
3181         bind().
3182         (bind): Handle different cases when trying to bind a socket.
3183         * java/net/URLConnection.java
3184         (getHeaderFieldDate): Merged with classpath.
3185         (getHeaderFieldInt): Likewise.
3186
3187 2003-06-19  Michael Koch  <konqueror@gmx.de>
3188
3189         * java/util/zip/InflaterInputStream.java
3190         (InflaterInputStream): Throw NullPointerException if in is null (as
3191         JDK does).
3192
3193 2003-06-19  Michael Koch  <konqueror@gmx.de>
3194
3195         * java/awt/Font.java
3196         javax/swing/UIManager.java
3197         javax/swing/border/AbstractBorder.java
3198         javax/swing/border/BevelBorder.java
3199         javax/swing/border/Border.java
3200         javax/swing/border/CompoundBorder.java
3201         javax/swing/border/EmptyBorder.java
3202         javax/swing/border/EtchedBorder.java
3203         javax/swing/border/LineBorder.java
3204         javax/swing/border/MatteBorder.java
3205         javax/swing/border/TitledBorder.java
3206         javax/swing/plaf/BorderUIResource.java
3207         javax/swing/plaf/basic/BasicBorders.java
3208         javax/swing/plaf/basic/BasicButtonUI.java
3209         javax/swing/plaf/basic/BasicCheckBoxUI.java
3210         javax/swing/plaf/basic/BasicGraphicsUtils.java
3211         javax/swing/plaf/basic/BasicLabelUI.java
3212         javax/swing/plaf/basic/BasicRadioButtonUI.java
3213         javax/swing/plaf/basic/BasicToggleButtonUI.java:
3214         New versions from classpath.
3215         * javax/swing/border/SoftBevelBorder.java:
3216         New file from classpath.
3217         * javax/swing/border/doc-files/LineBorder-1.png,
3218         javax/swing/border/doc-files/BevelBorder-1.png,
3219         javax/swing/border/doc-files/BevelBorder-2.png,
3220         javax/swing/border/doc-files/BevelBorder-3.png,
3221         javax/swing/border/doc-files/EmptyBorder-1.png,
3222         javax/swing/border/doc-files/EtchedBorder-1.png,
3223         javax/swing/border/doc-files/EtchedBorder-2.png,
3224         javax/swing/border/doc-files/MatteBorder-1.png,
3225         javax/swing/border/doc-files/MatteBorder-2.png,
3226         javax/swing/border/doc-files/MatteBorder-3.png,
3227         javax/swing/border/doc-files/MatteBorder-4.png,
3228         javax/swing/border/doc-files/MatteBorder-5.png,
3229         javax/swing/border/doc-files/MatteBorder-6.png,
3230         javax/swing/border/doc-files/SoftBevelBorder-1.png,
3231         javax/swing/border/doc-files/SoftBevelBorder-2.png,
3232         javax/swing/border/doc-files/SoftBevelBorder-3.png,
3233         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3234         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3235         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3236         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3237         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3238         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3239         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3240         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3241         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3242         New binary files from classpath.
3243         * Makefile.am
3244         (awt_java_source_files): Added
3245         javax/swing/border/SoftBevelBorder.java.
3246         * Makefile.in: Regenerated.
3247
3248 2003-06-19  Michael Koch  <konqueror@gmx.de>
3249
3250         * gnu/java/security/x509/X509Certificate.java
3251         (writeReplace): Merged from classpath.
3252
3253 2003-06-19  Michael Koch  <konqueror@gmx.de>
3254
3255         * gnu/java/nio/FileChannelImpl.java
3256         (map_address): Made public.
3257         (FileChannelImpl): Merged with classpath.
3258         * gnu/java/nio/natFileChannelImpl.cc
3259         (nio_mmap_file): Commented out unused arguments.
3260         (nio_unmmap_file): Likewise.
3261         (niu_msync): Likewise.
3262
3263 2003-06-19  Michael Koch  <konqueror@gmx.de>
3264
3265         * java/awt/image/IndexColorModel.java:
3266         New version from classpath.
3267
3268 2003-06-18  Tom Tromey  <tromey@redhat.com>
3269
3270         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3271         on arrays.
3272         (isLoopbackAddress): Likewise.
3273         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3274         on arrays.
3275
3276 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
3277
3278         * java/lang/natVMSecurityManager.cc (getClassContext):
3279         Use maxlen instead of len for loop bound.
3280
3281 2003-06-18  Michael Koch  <konqueror@gmx.de>
3282
3283         * gnu/java/nio/SelectorImpl.java
3284         (register): Use fd with value 0 for now, will be fixed later.
3285         * gnu/java/nio/ServerSocketChannelImpl.java
3286         (fd): Removed.
3287         (local_port): Removed.
3288         (InetSocketAddress): Removed.
3289         (ServerSocketChannelImpl): Just initialize internal socket object.
3290         (implCloseSelectableChannel): Close internal socket object.
3291         (implConfigureBlocking): Added comment.
3292         (accept): Use jaba.net stuff to accept socket.
3293         * gnu/java/nio/SocketChannelImpl.java
3294         (fd): Removed.
3295         (local_port): Removed.
3296         (InetSocketAddress): Removed.
3297         (SocketCreate): Removed.
3298         (SocketConnect): Removed.
3299         (SocketBind): Removed.
3300         (SocketListen): Removed.
3301         (SocketAvailable): Removed.
3302         (SocketClose): Removed.
3303         (SocketRead): Removed.
3304         (SocketWrite): Removed.
3305         (SocketChannelImpl): Just initialize internal socket object.
3306         (implCloseSelectableChannel): Close internal socket object.
3307         (implConfigureBlocking): Fixed implementation, added comment.
3308         (connect): Use internal socket object to connect.
3309         (socket): No need for sanity checks.
3310         (read): Comment out some stuff, this will be reimplemented in the next
3311         commit.
3312         (write): Likewise.
3313         * gnu/java/nio/natFileChannelImpl.cc
3314         (nio_mmap_file): Line wrapped.
3315         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
3316         * Makefile.am
3317         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
3318         * Makefile.in: Regenerated.
3319
3320 2003-06-18  Michael Koch  <konqueror@gmx.de>
3321
3322         * java/util/Locale.java
3323         (equals): Merged from classpath.
3324
3325 2003-06-18  Michael Koch  <konqueror@gmx.de>
3326
3327         * java/net/InetAddress.java:
3328         Reformatted to better match classpath's version.
3329         * java/net/URL.java
3330         (equals): Simplified.
3331         * java/net/URLConnection.java
3332         (setDoInput): Revised documentation.
3333         (getDefaultUseCaches): Likewise.
3334         (setRequestProperty): Added @since tag.
3335
3336 2003-06-17  Michael Koch  <konqueror@gmx.de>
3337
3338         * java/net/InetSocketAddress.java
3339         (InetSocketAddress): Use wildcard address if addr is null.
3340         (InetSocketAddress): Dont duplicate implementation.
3341         (InetSocketAddress): Throw exception when hostname is null.
3342         * java/net/Socket.java:
3343         Reworked imports.
3344         (Socket): Throw exception when raddr is null, handle case when laddr
3345         is null.
3346
3347 2003-06-17  Michael Koch  <konqueror@gmx.de>
3348
3349         * java/nio/DirectByteBufferImpl.java
3350         (address): Made package private.
3351         (DirectByteBufferImpl): New constructor.
3352         * java/nio/natDirectByteBufferImpl.cc
3353         (allocateImpl): Moved to java.nio namespace, implemented.
3354         (freeImpl): Likewise.
3355         (getImpl): Likewise.
3356         (putImpl): Likewise.
3357         * jni.cc
3358         (_Jv_JNI_NewDirectByteBuffer): Implemented.
3359         (_Jv_JNI_GetDirectBufferAddress): Implemented.
3360         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
3361
3362 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3363
3364         * include/powerpc-signal.h: New File.
3365         * configure.in: Use it.
3366         * configure: Regenerated.
3367
3368 2003-06-17  Michael Koch  <konqueror@gmx.de>
3369
3370         * java/util/Locale.java
3371         (getDisplayLanguage): Made it final.
3372         (getDisplayCountry): Likewise.
3373         (getDisplayVariant): Likewise.
3374         (getDisplayName): Likewise.
3375
3376 2003-06-17  Michael Koch  <konqueror@gmx.de>
3377
3378         * java/util/PropertyResourceBundle.java:
3379         Removed unneeded import.
3380
3381 2003-06-17  Michael Koch  <konqueror@gmx.de>
3382
3383         * java/util/prefs/AbstractPreferences.java,
3384         java/util/prefs/PreferencesFactory.java:
3385         Reworked imports, removed unused imports.
3386         * java/util/prefs/Preferences.java
3387         (systemNodeForPackage): Method takes a Class not an Object.
3388         (userNodeForPackage): Likewise.
3389         (nodeForPackage): Likewise.
3390
3391 2003-06-17  Michael Koch  <konqueror@gmx.de>
3392
3393         * gnu/java/security/x509/X509Certificate.java:
3394         Explicitely import used classes.
3395
3396 2003-06-17  Michael Koch  <konqueror@gmx.de>
3397
3398         * java/util/zip/ZipEntry.java,
3399         java/util/zip/ZipFile.java,
3400         java/util/zip/ZipInputStream.java,
3401         java/util/zip/ZipOutputStream.java:
3402         Reworked imports, only import used classes.
3403
3404 2003-06-17  Michael Koch  <konqueror@gmx.de>
3405
3406         * gnu/java/lang/ArrayHelper.java,
3407         gnu/java/lang/ClassHelper.java:
3408         Reformatted to match classpath's versions.
3409
3410 2003-06-14  Michael Koch  <konqueror@gmx.de>
3411
3412         * gnu/java/nio/FileChannelImpl.java
3413         (map_address): Removed incorrect comment.        
3414         * gnu/java/nio/SelectorImpl.java
3415         (register): Remove code duplication and code for file channel handling.        
3416         * gnu/java/nio/ServerSocketChannelImpl.java
3417         (serverSocket): Renamed from sock_object.
3418         (ServerSocketChannel): Initialize serverSocket.
3419         (socket): Return serverSocket.
3420         * gnu/java/nio/SocketChannelImpl.java
3421         (socket): Renamed from sock_object.
3422         (isConnectionPenging): Simplified.
3423         (socket): Return socket.
3424 2003-06-14  Michael Koch  <konqueror@gmx.de>
3425
3426         * java/security/BasicPermission.java:
3427         New version from classpath.
3428
3429 2003-06-14  Michael Koch  <konqueror@gmx.de>
3430
3431         * javax/naming/directory/Attribute.java:
3432         New version from classpath.
3433
3434 2003-06-14  Michael Koch  <konqueror@gmx.de>
3435
3436         * java/io/BufferedReader.java,
3437         java/io/FileOutputStream.java:
3438         New versions from classpath.
3439
3440 2003-06-12  Andrew Haley  <aph@redhat.com>
3441
3442         * prims.cc (catch_segv): Create exception in handler.
3443         (catch_fpe): Likewise.  
3444         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
3445         (_Jv_ThrowSignal): Remove.
3446
3447         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
3448         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
3449         to nullp and arithexception.
3450         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3451         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3452         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3453         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3454         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3455
3456 2003-06-11  Andrew Haley  <aph@redhat.com>
3457
3458         * jni.cc (_Jv_JNI_check_types): New.
3459         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
3460         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
3461         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
3462         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
3463         
3464         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
3465         infinite loop.
3466
3467 2003-06-11  Tom Tromey  <tromey@redhat.com>
3468
3469         * java/lang/ClassLoader.java (loadClass): Not deprecated.
3470         * java/io/PrintStream.java: Not deprecated.
3471
3472 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
3473
3474         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3475         (fillOval): implemented
3476         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3477         (fillArc): implemented.
3478         * gnu/gcj/xlib/GC.java (drawArc): added native method.
3479         (fillArc): added native method.
3480         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3481         (fillArc): added native method.
3482
3483 2003-06-11  Michael Koch  <konqueror@gmx.de>
3484
3485         * java/awt/im/InputSubset.java:
3486         New version from classpath.
3487
3488 2003-06-11  Michael Koch  <konqueror@gmx.de>
3489
3490         * javax/swing/AbstractAction.java,
3491         javax/swing/AbstractButton.java,
3492         javax/swing/AbstractCellEditor.java,
3493         javax/swing/AbstractListModel.java,
3494         javax/swing/BorderFactory.java,
3495         javax/swing/Box.java,
3496         javax/swing/BoxLayout.java,
3497         javax/swing/ButtonGroup.java,
3498         javax/swing/DefaultButtonModel.java,
3499         javax/swing/DefaultListModel.java,
3500         javax/swing/DefaultListSelectionModel.java,
3501         javax/swing/FocusManager.java,
3502         javax/swing/ImageIcon.java,
3503         javax/swing/InputMap.java,
3504         javax/swing/JApplet.java,
3505         javax/swing/JButton.java,
3506         javax/swing/JCheckBox.java,
3507         javax/swing/JCheckBoxMenuItem.java,
3508         javax/swing/JColorChooser.java,
3509         javax/swing/JComboBox.java,
3510         javax/swing/JComponent.java,
3511         javax/swing/JDesktopPane.java,
3512         javax/swing/JDialog.java,
3513         javax/swing/JEditorPane.java,
3514         javax/swing/JFileChooser.java,
3515         javax/swing/JFormattedTextField.java,
3516         javax/swing/JFrame.java,
3517         javax/swing/JLabel.java,
3518         javax/swing/JLayeredPane.java,
3519         javax/swing/JList.java,
3520         javax/swing/JMenuBar.java,
3521         javax/swing/JMenuItem.java,
3522         javax/swing/JOptionPane.java,
3523         javax/swing/JPanel.java,
3524         javax/swing/JPasswordField.java,
3525         javax/swing/JPopupMenu.java,
3526         javax/swing/JProgressBar.java,
3527         javax/swing/JRadioButton.java,
3528         javax/swing/JRadioButtonMenuItem.java,
3529         javax/swing/JRootPane.java,
3530         javax/swing/JScrollBar.java,
3531         javax/swing/JScrollPane.java,
3532         javax/swing/JSeparator.java,
3533         javax/swing/JSlider.java,
3534         javax/swing/JTabbedPane.java,
3535         javax/swing/JTable.java,
3536         javax/swing/JTextField.java,
3537         javax/swing/JToggleButton.java,
3538         javax/swing/JToolBar.java,
3539         javax/swing/JToolTip.java,
3540         javax/swing/JTree.java,
3541         javax/swing/JViewport.java,
3542         javax/swing/JWindow.java,
3543         javax/swing/KeyStroke.java,
3544         javax/swing/ListSelectionModel.java,
3545         javax/swing/LookAndFeel.java,
3546         javax/swing/RepaintManager.java,
3547         javax/swing/ScrollPaneLayout.java,
3548         javax/swing/SizeRequirements.java,
3549         javax/swing/SwingConstants.java,
3550         javax/swing/Timer.java,
3551         javax/swing/UIDefaults.java,
3552         javax/swing/UIManager.java,
3553         javax/swing/border/AbstractBorder.java,
3554         javax/swing/border/CompoundBorder.java,
3555         javax/swing/colorchooser/AbstractColorChooserPanel.java,
3556         javax/swing/colorchooser/ColorChooserComponentFactory.java,
3557         javax/swing/colorchooser/ColorSelectionModel.java,
3558         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3559         javax/swing/event/AncestorEvent.java,
3560         javax/swing/event/HyperlinkEvent.java,
3561         javax/swing/event/InternalFrameAdapter.java,
3562         javax/swing/event/InternalFrameEvent.java,
3563         javax/swing/event/ListDataEvent.java,
3564         javax/swing/event/MouseInputAdapter.java,
3565         javax/swing/event/SwingPropertyChangeSupport.java,
3566         javax/swing/event/TableModelEvent.java,
3567         javax/swing/event/TreeWillExpandListener.java,
3568         javax/swing/event/UndoableEditEvent.java,
3569         javax/swing/filechooser/FileFilter.java,
3570         javax/swing/filechooser/FileSystemView.java,
3571         javax/swing/filechooser/FileView.java,
3572         javax/swing/plaf/BorderUIResource.java,
3573         javax/swing/plaf/basic/BasicDefaults.java,
3574         javax/swing/table/AbstractTableModel.java,
3575         javax/swing/table/DefaultTableCellRenderer.java,
3576         javax/swing/table/DefaultTableColumnModel.java,
3577         javax/swing/table/DefaultTableModel.java,
3578         javax/swing/table/TableColumn.java,
3579         javax/swing/text/JTextComponent.java,
3580         javax/swing/tree/AbstractLayoutCache.java,
3581         javax/swing/tree/DefaultMutableTreeNode.java,
3582         javax/swing/tree/DefaultTreeCellEditor.java,
3583         javax/swing/tree/DefaultTreeCellRenderer.java,
3584         javax/swing/tree/DefaultTreeModel.java,
3585         javax/swing/tree/DefaultTreeSelectionModel.java,
3586         javax/swing/tree/FixedHeightLayoutCache.java,
3587         javax/swing/tree/TreeCellEditor.java,
3588         javax/swing/tree/TreeModel.java,
3589         javax/swing/tree/TreeNode.java,
3590         javax/swing/tree/TreePath.java,
3591         javax/swing/tree/TreeSelectionModel.java,
3592         javax/swing/tree/VariableHeightLayoutCache.java,
3593         javax/swing/undo/AbstractUndoableEdit.java,
3594         javax/swing/undo/CompoundEdit.java,
3595         javax/swing/undo/StateEdit.java,
3596         javax/swing/undo/UndoManager.java,
3597         javax/swing/undo/UndoableEditSupport.java:
3598         New versions from classpath.
3599         * javax/swing/table/JTableHeader.java:
3600         New file from classpath.
3601         * Makefile.am
3602         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
3603         * Makefile.in: Regenerated.
3604
3605 2003-06-11  Michael Koch  <konqueror@gmx.de>
3606
3607         * java/nio/MappedByteBuffer.java,
3608         java/nio/channels/Channels.java,
3609         java/nio/channels/ServerSocketChannel.java,
3610         java/nio/channels/spi/AbstractSelector.java:
3611         Removed unneeded imports.
3612
3613 2003-06-11  Michael Koch  <konqueror@gmx.de>
3614
3615         * java/net/DatagramSocket.java:
3616         Partly merged with classpath.
3617
3618 2003-06-11  Michael Koch  <konqueror@gmx.de>
3619
3620         * java/awt/Frame.java,
3621         java/awt/Graphics.java,
3622         java/awt/Menu.java,
3623         java/awt/Robot.java,
3624         java/awt/image/ColorModel.java:
3625         New versions from classpath.
3626
3627 2003-06-10  Michael Koch  <konqueror@gmx.de>
3628
3629         * java/io/PrintStream.java:
3630         Merged version from classpath.
3631         (close): Removed sychronized keyword. This class is not garantied to
3632         be thread-safe.
3633         (write): Likewise.
3634
3635 2003-06-09  Tom Tromey  <tromey@redhat.com>
3636
3637         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
3638         field.
3639         (getDescent): Likewise, for "descent".
3640
3641 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
3642
3643         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
3644         (getMaxDescent): adjusted return value.
3645         (getAscent): modified to use metrics for 'O'.
3646         (getDescent): modified to use metrics for 'y'.
3647
3648 2003-06-08  Anthony Green  <green@redhat.com>
3649
3650         * java/net/URLStreamHandler.java (sameFile): Fix port value
3651         comparison.
3652         * java/net/URL.java (handler): Make package private.
3653         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
3654
3655 2003-06-07  Tom Tromey  <tromey@redhat.com>
3656
3657         For PR libgcj/11085:
3658         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
3659         Limit number of characters in numeric field when required.
3660         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
3661         Respect maximumIntegerDigits.
3662
3663 2003-06-08  Michael Koch  <konqueror@gmx.de>
3664
3665         * java/net/Socket.java
3666         (Socket): Dont initialize inputShutdown and outputShutdown twice,
3667         call bind() and connect() to actually do the bind and connect tasks.
3668         (bind): Connect to canonical address if bindpoint is null, create
3669         socket and bind it to bindpoint.
3670         (connect): Check for exceptions.
3671
3672 2003-06-08  Michael Koch  <konqueror@gmx.de>
3673
3674         * java/net/DatagramSocket.java
3675         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
3676         into the Multicast constructors.
3677         * java/net/DatagramSocketImpl.java
3678         (getOption): Removed.
3679         (setOption): Removed.
3680         * java/net/MulticastSocket.java
3681         (MulticastSocket): Call setReuseAddress (true).
3682         * java/net/SocketImpl.java
3683         (getOption): Removed.
3684         (setOption): Removed.
3685
3686 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
3687
3688         PR libgcj/10886:
3689         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
3690         Test for empty vector.
3691
3692 2003-06-06  Mark Wielaard  <mark@klomp.org>
3693
3694         * java/security/Security.java (secprops): Initialize.
3695         (loadProviders): Return boolean.
3696         (static): Check result of loadProvider calls. If necessary
3697         display WARNING and fallback to Gnu provider.
3698
3699 2002-06-06  James Clark  <jjc@jclark.com>
3700
3701         Fix for PR libgcj/8738:
3702         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
3703         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
3704         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
3705         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
3706         (write): Always decrease avail when count is increased.
3707         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
3708         and whether output buffer is full before increasing size.
3709
3710 2002-06-06  Mark Wielaard  <mark@klomp dot org>
3711
3712         * java/io/PrintStream.java (writeChars(char[],int, int)):
3713         Check converter.havePendingBytes().
3714         (writeChars(String,int,int)): Likewise.
3715         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
3716         Check converter.havePendingBytes() and flush buffer when stalled.
3717
3718 2003-06-07  Michael Koch  <konqueror@gmx.de>
3719
3720         * include/posix.h
3721         (O_DSYNC): Define O_DSYNC on platforms not
3722         supporting O_FSYNC (newlib).
3723
3724 2003-06-06  Mark Wielaard  <mark@klomp.org>
3725
3726         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
3727         AWTError.
3728
3729 2003-06-06  Michael Koch  <konqueror@gmx.de>
3730
3731         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3732         More compile fixes from my stupid work yesterday.
3733
3734 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
3735
3736         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
3737         if _IEEE_LIBM is undefined.
3738
3739 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
3740
3741         * libjava/include/posix.h (O_SYNC): Define if not available
3742         and a reasonable, perhaps more conservative, replacement exists.
3743         (O_DSYNC): Likewise.
3744         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
3745
3746 2003-06-05  Michael Koch  <konqueror@gmx.de>
3747
3748         * javax/swing/plaf/BorderUIResource.java,
3749         javax/swing/plaf/basic/BasicDefaults.java,
3750         javax/swing/plaf/basic/BasicOptionPaneUI.java:
3751         More compile fixes for latest Border commit. I should not commit
3752         something in this heat here ...
3753
3754 2003-06-05  Michael Koch  <konqueror@gmx.de>
3755
3756         * javax/swing/border/BevelBorder.java
3757         (BevelBorder): Removed.
3758         * javax/swing/border/EmptyBorder.java:
3759         Reformatted.
3760         (EmptyBorder): Removed.
3761         (getBorderInsets): Dont use l, r, t and b.
3762         * javax/swing/border/EtchedBorder.java
3763         (EtchedBorder): Removed.
3764         * javax/swing/border/LineBorder.java
3765         (LineBorder): Removed.
3766         * javax/swing/border/MatteBorder.java
3767         (MatteBorder): Removed.
3768         * javax/swing/border/TitledBorder.java
3769         (defaultBorder): Use other default for now.
3770         (defaultFont): Likewise.
3771         (defaultColor): Likewise.
3772
3773 2003-06-05  Michael Koch  <konqueror@gmx.de>
3774
3775         * javax/swing/border/Border.java:
3776         New version from classpath.
3777
3778 2003-06-05  Michael Koch  <konqueror@gmx.de>
3779
3780         * javax/swing/border/AbstractBorder.java,
3781         javax/swing/border/BevelBorder.java,
3782         javax/swing/border/CompoundBorder.java,
3783         javax/swing/border/EmptyBorder.java,
3784         javax/swing/border/EtchedBorder.java,
3785         javax/swing/border/LineBorder.java,
3786         javax/swing/border/MatteBorder.java,
3787         javax/swing/border/TitledBorder.java:
3788         New versions from Classpath.
3789
3790 2003-06-05  Michael Koch  <konqueror@gmx.de>
3791
3792         * java/awt/Button.java,
3793         java/awt/Checkbox.java,
3794         java/awt/CheckboxMenuItem.java,
3795         java/awt/Choice.java,
3796         java/awt/Container.java,
3797         java/awt/Dialog.java,
3798         java/awt/EventQueue.java,
3799         java/awt/FileDialog.java,
3800         java/awt/Frame.java,
3801         java/awt/Label.java,
3802         java/awt/List.java,
3803         java/awt/Menu.java,
3804         java/awt/MenuItem.java,
3805         java/awt/Panel.java,
3806         java/awt/PopupMenu.java,
3807         java/awt/Rectangle.java,
3808         java/awt/ScrollPane.java,
3809         java/awt/Scrollbar.java,
3810         java/awt/TextArea.java,
3811         java/awt/TextField.java,
3812         java/awt/Window.java,
3813         java/awt/datatransfer/DataFlavor.java,
3814         java/awt/dnd/DragSource.java,
3815         java/awt/dnd/DragSourceContext.java,
3816         java/awt/event/HierarchyEvent.java,
3817         java/awt/event/MouseWheelEvent.java,
3818         java/awt/im/InputContext.java,
3819         java/awt/image/BufferedImage.java,
3820         java/awt/image/ComponentColorModel.java,
3821         java/awt/image/Raster.java,
3822         java/awt/image/WritableRaster.java,
3823         java/awt/peer/ComponentPeer.java,
3824         java/awt/print/PageFormat.java,
3825         java/awt/print/PrinterJob.java:
3826         New versions from Classpath.
3827
3828 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
3829
3830         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
3831         numberFormat.setParseIntegerOnly(true).
3832
3833 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
3834
3835         * include/posix-threads.h: Include <machine/pal.h> on OSF.
3836
3837 2003-06-03  Andrew Haley  <aph@redhat.com>
3838
3839         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
3840         stack volatile to prevent optimization from removing it.
3841
3842 2003-05-27  Michael Koch  <konqueror@gmx.de>
3843
3844         * java/util/zip/Deflater.java
3845         (FILTERED): Merged documentation from classpath.
3846         * java/util/zip/DeflaterOutputStream.java
3847         (DeflaterOutputStream): Merged documentation and argument validity
3848         check from classpath.
3849         (deflate): Merged documentation from classpath.
3850         (finish): Likewise.
3851         * java/util/zip/Inflater.java
3852         (Inflater): Merged class documentation from classpath.
3853         (zstream): Reordered.
3854         (is_finished): Reordered.
3855         (dict_needed): Reordered.
3856         (Inflater): Reordered, merged documentation from classpath.
3857         (end): Likewise.
3858         (finalize): Merged documentation from classpath.
3859         (finished): Likewise.
3860         (getAdler): Likewise.
3861         (getRemaining): Likewise.
3862         (getTotalIn): Likewise.
3863         (getTotalOut): Likewise.
3864         (inflate): Likewise.
3865         (needsDictionary): Likewise.
3866         (needsInput): Likewise.
3867         (reset): Likewise.
3868         (setDictionary): Likewise.
3869         (setInput): Likewise.
3870
3871 2003-05-27  Michael Koch  <konqueror@gmx.de>
3872
3873         * java/net/URLConnection.java
3874         (getHeaderFieldInt): Merged with classpath.
3875
3876 2003-05-27  Michael Koch  <konqueror@gmx.de>
3877
3878         * java/io/PrintStream.java
3879         (PrintStream): Reformatted.
3880         (PrintStream): New method, merged from classpath.
3881         (write): Reformatted.
3882
3883 2003-05-27  Michael Koch  <konqueror@gmx.de>
3884
3885         * java/lang/System.java:
3886         Explicitely import needed classes.
3887
3888 2003-05-26  Michael Koch  <konqueror@gmx.de>
3889
3890         * java/net/NetPermission.java,
3891         java/net/NetworkInterface.java,
3892         java/net/PasswordAuthentication.java,
3893         java/net/SocketPermission.java:
3894         New versions from classpath.
3895
3896 2003-05-25  Michael Koch  <konqueror@gmx.de>
3897
3898         * java/io/PushbackInputStream.java,
3899         java/net/Authenticator.java,
3900         java/net/ContentHandler.java,
3901         java/net/ContentHandlerFactory.java,
3902         java/net/DatagramSocket.java,
3903         java/net/DatagramSocketImpl.java,
3904         java/net/DatagramSocketImplFactory.java,
3905         java/net/FileNameMap.java,
3906         java/net/SocketImplFactory.java,
3907         java/net/SocketOptions.java,
3908         java/net/URLStreamHandlerFactory.java:
3909         Merged new versions from classpath.
3910
3911 2003-05-25  Michael Koch  <konqueror@gmx.de>
3912
3913         * java/awt/Checkbox.java,
3914         java/awt/Dialog.java,
3915         java/awt/Font.java,
3916         java/awt/Frame.java,
3917         java/awt/ScrollPaneAdjustable.java,
3918         java/awt/Scrollbar.java,
3919         java/awt/Window.java:
3920         New versions from classpath.
3921
3922 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
3923
3924         PR libgcj/10838:
3925         * java/io/ObjectInputStream (enableResolveObject):
3926         Fixed spelling of permission name.
3927
3928 2003-05-20  Michael Koch  <konqueror@gmx.de>
3929
3930         * java/io/DataInputStream.java
3931         (convertFromUTF): Merged comment from classpath.
3932         * java/io/PrintStream.java
3933         (error_occured): Renamed from error, merged comment from classpath.
3934         (PrintStream): No need to initialized error.
3935         (checkError): Replace error with error_occurred.
3936         (setError): Likewise.
3937
3938 2003-05-20  Michael Koch  <konqueror@gmx.de>
3939
3940         * java/io/DataInputStream.java:
3941         Reformatted, Replaced < and & with html entitites in documentation.
3942         * java/io/File.java:
3943         Reformatted.
3944         * java/io/PrintWriter.java:
3945         Moved class documentation.
3946
3947 2003-05-20  Michael Koch  <konqueror@gmx.de>
3948
3949         * gnu/java/nio/ByteBufferImpl.java,
3950         gnu/java/nio/CharBufferImpl.java,
3951         gnu/java/nio/CharViewBufferImpl.java,
3952         gnu/java/nio/DirectByteBufferImpl.java,
3953         gnu/java/nio/DoubleBufferImpl.java,
3954         gnu/java/nio/DoubleViewBufferImpl.java,
3955         gnu/java/nio/FloatBufferImpl.java,
3956         gnu/java/nio/FloatViewBufferImpl.java,
3957         gnu/java/nio/IntBufferImpl.java,
3958         gnu/java/nio/IntViewBufferImpl.java,
3959         gnu/java/nio/LongBufferImpl.java,
3960         gnu/java/nio/LongViewBufferImpl.java,
3961         gnu/java/nio/natDirectByteBufferImpl.cc,
3962         gnu/java/nio/ShortBufferImpl.java,
3963         gnu/java/nio/ShortViewBufferImpl.java:
3964         Moved files to java/nio.
3965         * gnu/java/nio/SocketChannelImpl.java
3966         
3967         * java/nio/ByteBuffer.java,
3968         java/nio/CharBuffer.java,
3969         java/nio/DoubleBuffer.java,
3970         java/nio/FloatBuffer.java,
3971         java/nio/IntBuffer.java,
3972         java/nio/LongBuffer.java,
3973         java/nio/ShortBuffer.java:
3974         Dont import anything.
3975         * java/nio/ByteBufferImpl.java,
3976         java/nio/CharBufferImpl.java,
3977         java/nio/CharViewBufferImpl.java,
3978         java/nio/DirectByteBufferImpl.java,
3979         java/nio/DoubleBufferImpl.java,
3980         java/nio/DoubleViewBufferImpl.java,
3981         java/nio/FloatBufferImpl.java,
3982         java/nio/FloatViewBufferImpl.java,
3983         java/nio/IntBufferImpl.java,
3984         java/nio/IntViewBufferImpl.java,
3985         java/nio/LongBufferImpl.java,
3986         java/nio/LongViewBufferImpl.java,
3987         java/nio/natDirectByteBufferImpl.cc,
3988         java/nio/ShortBufferImpl.java,
3989         java/nio/ShortViewBufferImpl.java:
3990         Moved from gnu/java/nio.
3991         * Makefile.am
3992         (ordinary_java_source_files): Moved files from gnu/java/nio to
3993         java/nio.
3994         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
3995         to java/nio.
3996         * Makefile.in: Regenerated.
3997
3998 2003-05-19  Michael Koch  <konqueror@gmx.de>
3999
4000         * java/util/Calendar.java
4001         (get): Not final anymore since JDK 1.4
4002         (set): Likewise.
4003
4004 2003-05-19  Michael Koch  <konqueror@gmx.de>
4005
4006         * java/text/CollationKey.java:
4007         Merged copyright and dat from classpath.
4008         * java/text/RuleBasedCollator.java:
4009         Merged class documentation from classpath.
4010
4011 2003-05-19  Michael Koch  <konqueror@gmx.de>
4012
4013         * java/nio/CharBuffer.java
4014         (toString): Compile fix.
4015
4016 2003-05-19  Michael Koch  <konqueror@gmx.de>
4017
4018         * gnu/java/nio/ByteBufferImpl.java
4019         (putLong): Fixed conversion to bytes.
4020         (putDouble): Fixed conversion to bytes.
4021         * gnu/java/nio/DirectByteBufferImpl.java
4022         (putLong): Fixed conversion to bytes.
4023         (putDouble): Fixed conversion to bytes.
4024         * gnu/java/nio/FileLockImpl.java
4025         (isValid): Reformatted.
4026         * java/nio/Buffer.java
4027         (Buffer): Fixed off-by-one bug in handling mark.
4028         * java/nio/ByteBuffer.java:
4029         Added newline.
4030         * java/nio/CharBuffer.java
4031         (toString): Don't use relative get to get string data.
4032
4033 2003-05-16  Michael Koch  <konqueror@gmx.de>
4034
4035         * java/io/natFileDescriptorPosix.cc
4036         (open): Commented out the O_SYNC and O_DSYNC usage until its better
4037         tested.
4038
4039 2003-05-14  Michael Koch  <konqueror@gmx.de>
4040
4041         * gnu/java/nio/FileLockImpl.java
4042         (released): New member variable.
4043         (FileLockImpl): Initialize released.
4044         (releaseImpl): New native method.
4045         (release): Implemented.
4046         * gnu/java/nio/SelectorImpl.java: Reformatted.
4047         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
4048         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
4049         (accept): Throws IOException.
4050         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
4051         (implConfigureBlocking): Throws IOException.
4052         (connect): Likewise.
4053         (read): Likewise.
4054         (write): Likewise.
4055         * gnu/java/nio/natFileLockImpl.cc: New file.
4056         * java/nio/channels/FileLock.java: Reformatted.
4057         * Makefile.am:
4058         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
4059         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
4060         * Makefile.in: Regenerated.
4061
4062 2003-05-13  Michael Koch  <konqueror@gmx.de>
4063
4064         * gnu/java/nio/CharViewBufferImpl.java
4065         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
4066         (get): Shift bits to the right direction.
4067         (put): Likewise.
4068         * gnu/java/nio/DoubleViewBufferImpl.java
4069         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
4070         (get): Shift bits to the right direction.
4071         (put): Likewise.
4072         * gnu/java/nio/FloatViewBufferImpl.java
4073         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
4074         (get): Shift bits to the right direction.
4075         (put): Likewise.
4076         * gnu/java/nio/IntViewBufferImpl.java
4077         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
4078         (get): Shift bits to the right direction.
4079         (put): Likewise.
4080         * gnu/java/nio/LongViewBufferImpl.java
4081         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
4082         (get): Shift bits to the right direction.
4083         (put): Likewise.
4084         * gnu/java/nio/ShortViewBufferImpl.java
4085         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
4086         (get): Shift bits to the right direction.
4087         (put): Likewise.
4088
4089 2003-05-13  Michael Koch  <konqueror@gmx.de>
4090
4091         * gnu/java/nio/natDirectByteBufferImpl.cc
4092         (allocateImpl): jlong -> RawData*.
4093         (freeImpl): Likewise.
4094
4095 2003-05-13  Michael Koch  <konqueror@gmx.de>
4096
4097         * java/nio/channels/FileChannel.java
4098         (MapMode.m): Made it package-private to match JDK 1.4.
4099         * java/nio/charset/Charset.java
4100         (decode): Made it final to match JDK 1.4.
4101
4102 2003-05-13  Michael Koch  <konqueror@gmx.de>
4103
4104        * java/io/FileDescriptor.java
4105        (SYNC): New constant.
4106        (DSYNC): Likewise.
4107        (getLength): Renamed from lenght() to match classpath's
4108        FileDescriptor.java.
4109        * java/io/RandomAccessFile.java
4110        (RandomAccessFile): Removed unneeded mode check, implemented mode
4111        "rws" and "rwd", merged documentation from classpath.
4112        (setLength): Reformatted.
4113        (length): Use new getLength() of FileDescriptor.
4114        * java/io/natFileDescriptorEcos.cc
4115        (getLength): Renamed from length().
4116        * java/io/natFileDescriptorPosix.cc
4117        (open): Implemented support for SYNC and DSYNC.
4118        (seek): Use getLength() instead of length().
4119        (getLength): Renamed from length().
4120        * java/io/natFileDescriptorWin32.cc
4121        (getLength): Renamed from length().
4122        (seek): Use getLength() instead of length().
4123        (available): Likewise.
4124        * gnu/java/nio/natFileChannelImpl.cc
4125        (size): Use getLength() instead of length().
4126
4127 2003-05-13  Michael Koch  <konqueror@gmx.de>
4128
4129         * gnu/java/nio/ByteBufferImpl.java
4130         (ByteBufferImpl): All constructors revised.
4131         (slice): Reimplemented.
4132         (duplicate): Reimplemented.
4133         (asReadOnlyBuffer): Reimplemented.
4134         * java/nio/ByteBuffer.java:
4135         Reformatted.
4136         (array_offset): Renamed from "offset" to match all other buffer
4137         classes.
4138         (ByteBuffer): All constructors revised.
4139         (allocateDirect): Implemented.
4140         (allocate): New implementation, documentation reworked.
4141         (wrap): Likewise.
4142         (get): Documentation reworked.
4143         (put): New implementation, documentation reworked.
4144         (hasArray): Documentation reworked.
4145         (arrayOffset): Likewise.
4146         (hashCode): Likewise.
4147         (equals): Likewise.
4148         (compareTo): Likewise.
4149         (order): Likewise.
4150         (compact): Likewise.
4151         (isDirect): Likewise.
4152         (slice): Likewise.
4153         (duplicate): Likewise.
4154         (asReadOnlyBuffer): Likewise.
4155         * Makefile.am
4156         (ordinary_java_source_files):
4157         Added gnu/java/nio/DirectByteBufferImpl.java.
4158         (nat_source_files):
4159         Added gnu/java/nio/natDirectByteBufferImpl.cc.
4160         * Makefile.in: Regenerated.
4161
4162 2003-05-12  Michael Koch  <konqueror@gmx.de>
4163
4164         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
4165         (nio_get_*): Removed.
4166         (nio_put_*): Removed.
4167         (as*Buffer): Implemented.
4168         (compact): Implemented.
4169         (get): Documentation added.
4170         (put): Documentation added.
4171         (get*): Newly implemented.
4172         (put*): Newly implemented.
4173         * gnu/java/nio/CharBufferImpl.java: Reformatted.
4174         (CharBufferImpl): Revised.
4175         (slice): New implementation.
4176         (duplicate): New implementation.
4177         (compact): New implementation.
4178         (asReadOnlyBuffer): New implementation.
4179         (get): Documentation revised.
4180         (order): Return native byte order.
4181         * gnu/java/nio/DirectByteBufferImpl.java
4182         (allocateDirect): objects can be null not 0.
4183         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
4184         (DoubleBufferImpl): Revised.
4185         (slice): New implementation.
4186         (duplicate): New implementation.
4187         (compact): New implementation.
4188         (asReadOnlyBuffer): New implementation.
4189         (get): Documentation revised.
4190         (order): Return native byte order.
4191         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
4192         (FloatBufferImpl): Revised.
4193         (slice): New implementation.
4194         (duplicate): New implementation.
4195         (compact): New implementation.
4196         (asReadOnlyBuffer): New implementation.
4197         (get): Documentation revised.
4198         (order): Return native byte order.
4199         * gnu/java/nio/IntBufferImpl.java: Reformatted.
4200         (IntBufferImpl): Revised.
4201         (slice): New implementation.
4202         (duplicate): New implementation.
4203         (compact): New implementation.
4204         (asReadOnlyBuffer): New implementation.
4205         (get): Documentation revised.
4206         (order): Return native byte order.
4207         * gnu/java/nio/LongBufferImpl.java: Reformatted.
4208         (LongBufferImpl): Revised.
4209         (slice): New implementation.
4210         (duplicate): New implementation.
4211         (compact): New implementation.
4212         (asReadOnlyBuffer): New implementation.
4213         (get): Documentation revised.
4214         (order): Return native byte order.
4215         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
4216         (ShortBufferImpl): Revised.
4217         (slice): New implementation.
4218         (duplicate): New implementation.
4219         (compact): New implementation.
4220         (asReadOnlyBuffer): New implementation.
4221         (get): Documentation revised.
4222         (order): Return native byte order.
4223         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4224         (CharBuffer): Revised.
4225         (order): Removed.
4226         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4227         (DoubleBuffer): Revised.
4228         (allocateDirect): Removed.
4229         (order): Removed.
4230         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4231         (FloatBuffer): Revised.
4232         (allocateDirect): Removed.
4233         (order): Removed.
4234         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4235         (IntBuffer): Revised.
4236         (allocateDirect): Removed.
4237         (order): Removed.
4238         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4239         (LongBuffer): Revised.
4240         (allocateDirect): Removed.
4241         (order): Removed.
4242         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4243         (ShortBuffer): Revised.
4244         (allocateDirect): Removed.
4245         (order): Removed.
4246         * gnu/java/nio/natByteBufferImpl.cc: Removed.
4247         * gnu/java/nio/natCharBufferImpl.cc: Removed.
4248         * Makefile.am
4249         (ordinary_java_source_files): Added the following files:
4250         gnu/java/nio/CharViewBufferImpl.java,
4251         gnu/java/nio/DoubleViewBufferImpl.java,
4252         gnu/java/nio/FloatViewBufferImpl.java,
4253         gnu/java/nio/IntViewBufferImpl.java,
4254         gnu/java/nio/LongViewBufferImpl.java,
4255         gnu/java/nio/ShortViewBufferImpl.java
4256         (nat_source_files): Removed the following files:
4257         gnu/java/nio/natByteBufferImpl.cc,
4258         gnu/java/nio/natCharBufferImpl.cc
4259         * Makefile.in: Regenerated.
4260
4261 2003-05-12  Michael Koch  <konqueror@gmx.de>
4262
4263         * gnu/java/nio/CharViewBufferImpl.java,
4264         gnu/java/nio/DirectByteBufferImpl.java,
4265         gnu/java/nio/DoubleViewBufferImpl.java,
4266         gnu/java/nio/FloatViewBufferImpl.java,
4267         gnu/java/nio/IntViewBufferImpl.java,
4268         gnu/java/nio/LongViewBufferImpl.java,
4269         gnu/java/nio/ShortViewBufferImpl.java,
4270         gnu/java/nio/natDirectByteBufferImpl.cc:
4271         New files, not yet to be compiled.
4272
4273 2003-05-10  Michael Koch  <konqueror@gmx.de>
4274
4275         * javax/swing/plaf/ButtonUI.java,
4276         javax/swing/plaf/ColorUIResource.java,
4277         javax/swing/plaf/ComponentUI.java,
4278         javax/swing/plaf/DimensionUIResource.java,
4279         javax/swing/plaf/FontUIResource.java,
4280         javax/swing/plaf/IconUIResource.java,
4281         javax/swing/plaf/InsetsUIResource.java,
4282         javax/swing/plaf/LabelUI.java,
4283         javax/swing/plaf/ListUI.java,
4284         javax/swing/plaf/OptionPaneUI.java,
4285         javax/swing/plaf/PanelUI.java,
4286         javax/swing/plaf/TabbedPaneUI.java,
4287         javax/swing/plaf/TextUI.java,
4288         javax/swing/plaf/TreeUI.java,
4289         javax/swing/plaf/ViewportUI.java,
4290         javax/swing/plaf/basic/BasicBorders.java,
4291         javax/swing/plaf/basic/BasicButtonUI.java,
4292         javax/swing/plaf/basic/BasicCheckBoxUI.java,
4293         javax/swing/plaf/basic/BasicDefaults.java,
4294         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4295         javax/swing/plaf/basic/BasicIconFactory.java,
4296         javax/swing/plaf/basic/BasicLabelUI.java,
4297         javax/swing/plaf/basic/BasicListUI.java,
4298         javax/swing/plaf/basic/BasicOptionPaneUI.java,
4299         javax/swing/plaf/basic/BasicPanelUI.java,
4300         javax/swing/plaf/basic/BasicRadioButtonUI.java,
4301         javax/swing/plaf/basic/BasicScrollPaneUI.java,
4302         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4303         javax/swing/plaf/basic/BasicTextUI.java,
4304         javax/swing/plaf/basic/BasicToggleButtonUI.java,
4305         javax/swing/plaf/basic/BasicTreeUI.java,
4306         javax/swing/plaf/basic/BasicViewportUI.java,
4307         javax/swing/plaf/metal/MetalLookAndFeel.java:
4308         New versions from classpath. This adds copyrights to all files and
4309         some serialVersionUIDs.
4310
4311 2003-05-10  Michael Koch  <konqueror@gmx.de>
4312
4313         * java/nio/CharBuffer.java
4314         (offset): Make it package-private.
4315         (backing_buffer): Likewise.
4316         * java/nio/DoubleBuffer.java
4317         (offset): Make it package-private.
4318         (backing_buffer): Likewise.
4319         (put): Reformatted.
4320         * java/nio/FloatBuffer.java
4321         (offset): Make it package-private.
4322         (backing_buffer): Likewise.
4323         * java/nio/IntBuffer.java
4324         (offset): Make it package-private.
4325         (backing_buffer): Likewise.
4326         * java/nio/LongBuffer.java
4327         (offset): Make it package-private.
4328         (backing_buffer): Likewise.
4329         * java/nio/ShortBuffer.java
4330         (offset): Make it package-private.
4331         (backing_buffer): Likewise.
4332
4333 2003-05-10  Michael Koch  <konqueror@gmx.de>
4334
4335         * java/nio/CharBuffer.java
4336         (put): Fixed precondtion check.
4337         (toString): Make it work without backing array.
4338         (put): Skip one level of method calling.
4339
4340 2003-05-10  Michael Koch  <konqueror@gmx.de>
4341
4342         * java/security/Identity.java,
4343         java/security/IdentityScope.java,
4344         java/security/Key.java,
4345         java/security/KeyPair.java,
4346         java/security/PrivateKey.java,
4347         java/security/Provider.java,
4348         java/security/PublicKey.java,
4349         java/security/SecureRandom.java,
4350         java/security/SecureRandomSpi.java,
4351         java/security/SignedObject.java,
4352         java/security/Signer.java,
4353         java/security/cert/Certificate.java,
4354         java/security/cert/PKIXCertPathBuilderResult.java,
4355         java/security/cert/X509Certificate.java:
4356         New versions from classpath.
4357
4358 2003-05-09  Tom Tromey  <tromey@redhat.com>
4359
4360         * Makefile.in: Rebuilt.
4361         * Makefile.am (nat_source_files): Removed old files.
4362         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
4363         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
4364         * gnu/java/nio/natIntBufferImpl.cc: Removed.
4365         * gnu/java/nio/natLongBufferImpl.cc: Removed.
4366         * gnu/java/nio/natShortBufferImpl.cc: Removed.
4367
4368 2003-05-09  Michael Koch  <konqueror@gmx.de>
4369
4370         * gnu/java/nio/ByteBufferImpl.java
4371         (nio_cast): Removed.
4372         (ByteBufferImpl): Removed.
4373         (nio_get_Byte): Removed.
4374         (nio_put_Byte): Removed.
4375         (asByteBuffer): Removed.
4376         (asCharBuffer): Removed implementation and throw exception.
4377         (asShortBuffer): Likewise.
4378         (asIntBuffer): Likewise.
4379         (asLongBuffer): Likewise.
4380         (asFloatBuffer): Likewise.
4381         (asDoubleBuffer): Likewise.
4382         * gnu/java/nio/CharBufferImpl.java
4383         (CharBufferImpl): Removed.
4384         (nio_get_Byte): Removed.
4385         (nio_put_Byte): Removed.
4386         (asByteBuffer): Removed.
4387         * gnu/java/nio/DoubleBufferImpl.java
4388         (DoubleBufferImpl): Removed.
4389         (nio_get_Byte): Removed.
4390         (nio_put_Byte): Removed.
4391         (asByteBuffer): Removed.
4392         * gnu/java/nio/FloatBufferImpl.java
4393         (FloatBufferImpl): Removed.
4394         (nio_get_Byte): Removed.
4395         (nio_put_Byte): Removed.
4396         (asByteBuffer): Removed.
4397         * gnu/java/nio/IntBufferImpl.java
4398         (IntBufferImpl): Removed.
4399         (nio_get_Byte): Removed.
4400         (nio_put_Byte): Removed.
4401         (asByteBuffer): Removed.
4402         * gnu/java/nio/LongBufferImpl.java
4403         (LongBufferImpl): Removed.
4404         (nio_get_Byte): Removed.
4405         (nio_put_Byte): Removed.
4406         (asByteBuffer): Removed.
4407         * gnu/java/nio/ShortBufferImpl.java
4408         (ShortBufferImpl): Removed.
4409         (nio_get_Byte): Removed.
4410         (nio_put_Byte): Removed.
4411         (asByteBuffer): Removed.
4412         * gnu/java/nio/natByteBufferImpl.cc
4413         (nio_cast): Removed.
4414         (nio_get_Byte): Removed.
4415         (nio_put_Byte): Removed.
4416         * gnu/java/nio/natCharBufferImpl.cc
4417         (nio_get_Byte): Removed.
4418         (nio_put_Byte): Removed.
4419
4420 2003-05-09  Michael Koch  <konqueror@gmx.de>
4421
4422         * java/net/JarURLConnection.java
4423         (getJarEntry): Merged documentation from classpath.
4424         (getJarFile): Likewise.
4425         (getMainAttributes): Likewise.
4426         (getAttributes): Likewise.
4427         (getManifest): Likewise.
4428         (getCertificates): Reformatted.
4429         * java/net/URLConnection.java:
4430         Little classpath merge.
4431
4432 2003-05-09  Michael Koch  <konqueror@gmx.de>
4433
4434         * java/io/DataOutputStream.java
4435         (writeShort): Made it synchronized.
4436         (writeChar): Likewise.
4437         (writeInt): Likewise.
4438         (writeLong): Liekwise.
4439         (writeUTF): Made it synchronized, renamed argument to match classpath.
4440         * java/io/InputStreamReader.java
4441         (converter): Added documentation.
4442         (read): Merged documentation from classpath.
4443         * java/io/OutputStreamWriter.java
4444         (OutputStreamWriter): Merged documentation from classpath.
4445         (close): Reformatted.
4446         (getEncoding): Likewise.
4447         (flush): Likewise.
4448         (write): Merged documentation from classpath, reformatted.
4449
4450 2003-05-08  Tom Tromey  <tromey@redhat.com>
4451
4452         * configure.host <powerpc64*-*>: Set with_libffi_default and
4453         libgcj_interpreter to "yes".
4454
4455 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
4456
4457         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
4458         
4459 2003-05-06  Tom Tromey  <tromey@redhat.com>
4460
4461         * verify.cc: Reverted previous patch.
4462
4463 2003-05-06  Michael Koch  <konqueror@gmx.de>
4464
4465         * java/io/DataOutputStream.java
4466         (write): Renamed argument to "value", merged documentation from
4467         classpath.
4468         (writeBoolean): Likewise.
4469         (writeByte): Likewise.
4470         (writeShort): Likewise.
4471         (writeChar): Likewise.
4472         (writeInt): Likewise.
4473         (writeLong): Likewise.
4474         (writeFloat): Likewise.
4475         (writeDouble): Likewise.
4476         (writeBytes): Likewise.
4477         (writeChars): Likewise.
4478         (writeUTF): Likewise.
4479         * java/io/File.java
4480         (performDelete): Added documentation.
4481         (performList): Likewise.
4482         (performMkdir): Likewise.
4483         (performSetReadOnly): Likewise.
4484         (performRenameTo): Likewise.
4485         (performSetLastModified): Likewise.
4486         (delete): Made it sychronized.
4487         (renameTo): Made it sychronized.
4488         (equals): Reformatted.
4489         (isHidden): Likewise.
4490         (listFiles): Likewise.
4491         (setReadOnly): Likewise.
4492         (listRoots): Likewise.
4493         (setLastModified): Likewise.
4494         (checkRead): Likewise.
4495         (checkWrite): Likewise.
4496         * java/io/FileInputStream.java
4497         (skip): Made it sychronized, merged from classpath.
4498         * java/io/FileOutputStream.java
4499         (write): Merged from classpath.
4500         * java/io/InputStreamReader.java:
4501         (InputStreamReader): Merged documentation from classpath.
4502
4503 2003-05-05  Michael Koch  <konqueror@gmx.de>
4504
4505         * java/net/NetworkInterface.java
4506         (networkInterfaces): Removed.
4507         (getByName): Use getRealNetworkInterfaces() instead of
4508         networkInterfaces.
4509         (getByInetAddress): Likewise.
4510         (getNetworkInterfaces): Likewise.
4511         (toString): Fix output of addresses of an interface.
4512
4513 2003-05-05  Michael Koch  <konqueror@gmx.de>
4514
4515         * java/io/DataInputStream.java:
4516         Merged new documentation from classpath.
4517
4518 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
4519
4520         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4521         "version".
4522         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4523         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4524         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4525         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4526         * gnu/awt/gtk/GtkMainThread.java: Likewise.
4527         * gnu/awt/gtk/GtkToolkit.java: Likewise.
4528         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4529         * java/security/Key.java: Likewise.
4530         * java/security/PrivateKey.java: Likewise.
4531         * java/security/Provider.java: Likewise.
4532         * java/security/PublicKey.java: Likewise.
4533
4534 2003-05-02  Michael Koch  <konqueror@gmx.de>
4535
4536         * java/net/URI.java
4537         (create): Doesnt throws any exceptions.
4538         * java/net/URLConnection.java
4539         (URLConnection): Commend added.
4540         (getExpiration): The header field is called "expires" not
4541         "expiration".
4542         (getHeaderField): Merged documentation with classpath.
4543         (getHeaderFieldInt): Likewise.
4544         (getHeaderFieldDate): Likewise.
4545         (getHeaderFieldKey): Likewise.
4546         (getPermission): Likewise.
4547         (setDefaultUseCaches): Likewise.
4548         (setRequestProperty): Likewise.
4549         (addRequestProperty): Likewise.
4550         (getRequestProperty): Likewise.
4551         (getRequestProperties): Likewise.
4552         (setDefaultRequestProperty): Likewise.
4553         (getDefaultRequestProperty): Likewise.
4554         (guessContentTypeFromStream): Likewise.
4555         (getFileNameMap): Likewise.
4556         (setFileNameMap): Likewise.
4557         (setDoInput): Merged implementation and documentation with classpath.
4558         (setDoOutput): Likewise.
4559         (setAllowUserInteraction): Likewise.
4560         (setDefaultAllowUserInteraction): Likewise.
4561         (setContentHandlerFactory): Made it synchronized, merged documentation
4562         with classpath.
4563         (guessContentTypeFromName): Renamed argument fname to filename to
4564         match classpath, merged documentation with classpath.
4565
4566 2003-05-02  Michael Koch  <konqueror@gmx.de>
4567
4568         * java/net/JarURLConnection.java
4569         (JarURLConnection): Class documentation merged with classpath.
4570         (getJarFileURL): Moved and documentation merged with classpath.
4571         (getEntryName): Likewise.
4572         (JarURLConnection): Documentation merged with classpath.
4573         (getJarEntry): Likewise.
4574         (getJarFile): Likewise.
4575         * java/net/PlainDatagramSocketImpl.java:
4576         Class documentation moved.
4577         * java/net/URLConnection.java
4578         (fileNameMap): Moved and documentation merged with classpath.
4579         (factory): Likewise.
4580         (defaultAllowUserInteraction): Likewis.
4581         (defaultUseCaches): Likewise.
4582         (allowUserInteraction): Likewise.
4583         (connected): Likewise.
4584         (url): Likewise.
4585         (connect): Documentation merged with classpath.
4586         (getURL): Likewise.
4587         (getContentLength): Likewise.
4588         (getContentType): Likewise.
4589         (getContentEncoding): Likewise.
4590         (getExpiration): Likewise.
4591         (getDate): Likewise.
4592         (getLastModified): Likewise.
4593         (getHeaderField): Likewise.
4594         (getContent): Likewise.
4595         (getPermission): Likewise.
4596         (getInputStream): Likewise.
4597         (getOutputStream): Likewise.
4598         (toString): Likewise.
4599         (getDoInput): Likewise.
4600         (getDoOutput): Likewise.
4601         (setAllowUserInteraction): Likewise.
4602         (getAllowUserInteraction): Likewise.
4603         (setDefaultAllowUserInteraction): Likewise.
4604         (getDefaultAllowUserInteraction): Likewise.
4605         (setUseCaches): Likewise.
4606         (getUseCaches): Likewise.
4607         (setIfModifiedSince): Likewise.
4608         (getIfModifiedSince): Likewise.
4609         (setDefaultRequestProperty): Likewise.
4610         (getDefaultRequestProperty): Likewise.
4611         (setContentHandlerFactory): Likewise.
4612         (setFileNameMap): Likewise.
4613
4614 2003-05-02  Michael Koch  <konqueror@gmx.de>
4615
4616         * java/net/InetAddress.java:
4617         Merged class documentation with classpath.
4618         * java/net/JarURLConnection.java:
4619         Explicitely import all used classes.
4620         * java/net/URL.java:
4621         Reformatting.
4622         * java/net/ServerSocket.java,
4623         java/net/Socket.java:
4624         New versions from classpath.
4625
4626 2003-05-02  Michael Koch  <konqueror@gmx.de>
4627
4628         * gnu/java/nio/FileChannelImpl.java
4629         (read): New implementation.
4630         (implRead): New methods.
4631         (write): New implementation, call other write insteal of read method.
4632         (implWrite): New methods.
4633         (map): Added comment.
4634         (transferFrom): Implemented.
4635         (transferTo): Implemented.
4636         (lock): Added checks to throw exceptions.
4637         (truncate): Added check to throw exception.
4638         * gnu/java/nio/natFileChannelImpl.cc
4639         (implRead): New method.
4640         (implWrite): New method.
4641         * java/nio/ByteBuffer.java
4642         (hashCode): Fixed comment.
4643         (get): Fixed exception documentation.
4644         (put): Fixed exception documentation.
4645         * java/nio/CharBuffer.java:
4646         Added comment for later optimizations.
4647
4648 2003-04-30  Tom Tromey  <tromey@redhat.com>
4649
4650         PR libgcj/10582:
4651         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
4652         Removed.
4653         (type::compatible): Use _Jv_IsAssignableFrom.
4654         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
4655         (_Jv_IsAssignableFrom): Work even when source or target class is
4656         not prepared.
4657
4658 2003-04-30  Michael Koch  <konqueror@gmx.de>
4659
4660         * java/text/BreakIterator.java
4661         (clone): New method.
4662
4663 2003-04-30  Michael Koch  <konqueror@gmx.de>
4664
4665         * java/text/CollationElementIterator.java,
4666         java/text/CollationKey.java,
4667         java/text/RuleBasedCollator.java:
4668         Merged copyright and documentation from classpath and
4669         rearranged some code. No code changes done.
4670
4671 2003-04-30  Michael Koch  <konqueror@gmx.de>
4672
4673         * java/util/regex/Matcher.java
4674         (pattern): New member variable.
4675         (appendReplacement): New method.
4676         (appendTail): New method.
4677         (end): New method.
4678         (find): New method.
4679         (group): New method.
4680         (replaceFirst): Added documentation.
4681         (replaceAll): Added documentation.
4682         (groupCount): New method.
4683         (lookingAt): New method.
4684         (matches): New method.
4685         (reset): New method.
4686         (start): New method.
4687         * java/util/regex/Pattern.java
4688         (serialVersionUID): New constant.
4689         (CANON_EQ): New constant.
4690         (CASE_INSENSITIVE): New constant.
4691         (COMMENTS): New constant.
4692         (DOTALL): New constant.
4693         (MULTILINE): New constant.
4694         (UNICODE_CASE): New constant.
4695         (UNIX_LINES): New constant.
4696         (regex): New member variable.
4697         (flags): New member variable.
4698         (Pattern): New method.
4699         (compile): Documentation added.
4700         (flags): New method.
4701         (matches): Documentation added.
4702         (matcher): Documentation added.
4703         (split): Documentation added.
4704         (pattern): New method.
4705
4706 2003-04-30  Michael Koch  <konqueror@gmx.de>
4707
4708         * gnu/java/security/Engine.java,
4709         gnu/java/security/OID.java,
4710         gnu/java/security/der/BitString.java,
4711         gnu/java/security/der/DER.java,
4712         gnu/java/security/der/DERReader.java,
4713         gnu/java/security/der/DERValue.java,
4714         gnu/java/security/der/DERWriter.java,
4715         gnu/java/security/provider/DSAKeyFactory.java,
4716         gnu/java/security/provider/X509CertificateFactory.java,
4717         gnu/java/security/x509/X500DistinguishedName.java,
4718         gnu/java/security/x509/X509CRL.java,
4719         gnu/java/security/x509/X509CRLEntry.java,
4720         gnu/java/security/x509/X509Certificate.java,
4721         java/security/cert/CRLSelector.java,
4722         java/security/cert/CertPathBuilder.java,
4723         java/security/cert/CertPathBuilderResult.java,
4724         java/security/cert/CertPathBuilderSpi.java,
4725         java/security/cert/CertPathParameters.java,
4726         java/security/cert/CertPathValidator.java,
4727         java/security/cert/CertPathValidatorResult.java,
4728         java/security/cert/CertPathValidatorSpi.java,
4729         java/security/cert/CertSelector.java,
4730         java/security/cert/CertStore.java,
4731         java/security/cert/CertStoreParameters.java,
4732         java/security/cert/CertStoreSpi.java,
4733         java/security/cert/CollectionCertStoreParameters.java,
4734         java/security/cert/LDAPCertStoreParameters.java,
4735         java/security/cert/PKIXBuilderParameters.java,
4736         java/security/cert/PKIXCertPathBuilderResult.java,
4737         java/security/cert/PKIXCertPathChecker.java,
4738         java/security/cert/PKIXCertPathValidatorResult.java,
4739         java/security/cert/PKIXParameters.java,
4740         java/security/cert/PolicyNode.java,
4741         java/security/cert/PolicyQualifierInfo.java,
4742         java/security/cert/TrustAnchor.java,
4743         javax/security/auth/x500/X500Principal.java:
4744         New files from classpath.
4745         * gnu/java/io/ASN1ParsingException.java,
4746         gnu/java/io/Base64InputStream.java,
4747         gnu/java/security/der/DEREncodingException.java,
4748         gnu/java/security/provider/DSAParameters.java,
4749         gnu/java/security/provider/DSASignature.java,
4750         gnu/java/security/provider/Gnu.java,
4751         gnu/java/security/provider/GnuDSAPrivateKey.java,
4752         gnu/java/security/provider/GnuDSAPublicKey.java,
4753         java/security/AlgorithmParameterGenerator.java,
4754         java/security/AlgorithmParameters.java,
4755         java/security/KeyFactory.java,
4756         java/security/KeyPairGenerator.java,
4757         java/security/KeyStore.java,
4758         java/security/MessageDigest.java,
4759         java/security/SecureClassLoader.java,
4760         java/security/SecureRandom.java,
4761         java/security/Security.java,
4762         java/security/Signature.java,
4763         java/security/cert/Certificate.java,
4764         java/security/cert/CertificateFactory.java,
4765         java/security/cert/CertificateFactorySpi.java,
4766         java/security/cert/X509CRL.java,
4767         java/security/cert/X509Certificate.java,
4768         java/security/spec/DSAPublicKeySpec.java:
4769         New versions from classpath.
4770         * gnu/java/security/provider/DERReader.java,
4771         gnu/java/security/provider/DERWriter.java,
4772         java/security/Engine.java: Removed.
4773         * Makefile.am
4774         (java_source_files, javax_source_files): Added new files.
4775         * Makefile.in: Regenerated.
4776
4777 2003-04-29  Michael Koch  <konqueror@gmx.de>
4778
4779         * javax/swing/JTable.java
4780         (AUTO_RESIZE_ALL_COLUMNS): New constant.
4781         (AUTO_RESIZE_LAST_COLUMN): New constant.
4782         (AUTO_RESIZE_NEXT_COLUMN): New constant.
4783         (AUTO_RESIZE_OFF): New constant.
4784         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
4785         (JTable): New method.
4786         (columnAdded): New method.
4787         (columnMarginChanged): New method.
4788         (columnMoved): New method.
4789         (columnRemoved): New method.
4790         (columnSelectionChanged): New method.
4791         (editingCanceled): New method.
4792         (editingStopped): New method.
4793         (getColumnModel): New method.
4794         (getPreferredScrollableViewportSize): New method.
4795         (getScrollableBlockIncrement): New method.
4796         (getScrollableTracksViewportHeight): New method.
4797         (getScrollableTracksViewportWidth): New method.
4798         (getScrollableUnitIncrement): New method.
4799         (getSelectedRow): New method.
4800         (getSelectionModel): New method.
4801         (tableChanged): New method.
4802         (setModel): New method.
4803         (setSelectionMode): New method.
4804         (setSelectionModel): New method.
4805         (setShowGrid): New method.
4806         (valueChanged): New method.
4807         * javax/swing/text/DefaultEditorKit.java
4808         (backwardAction): New constant.
4809         (beepAction): New constant.
4810         (beginAction): New constant.
4811         (beginLineAction): New constant.
4812         (beginParagraphAction): New constant.
4813         (beginWordAction): New constant.
4814         (copyAction): New constant.
4815         (cutAction): New constant.
4816         (defaultKeyTypedAction): New constant.
4817         (deleteNextCharAction): New constant.
4818         (deletePrevCharAction): New constant.
4819         (downAction): New constant.
4820         (endAction): New constant.
4821         (endLineAction): New constant.
4822         (endOfLineStringProperty): New constant.
4823         (endParagraphAction): New constant.
4824         (endWordAction): New constant.
4825         (forwardAction): New constant.
4826         (insertBreakAction): New constant.
4827         (insertContentAction): New constant.
4828         (insertTabAction): New constant.
4829         (nextWordAction): New constant.
4830         (pageDownAction): New constant.
4831         (pageUpAction): New constant.
4832         (pasteAction): New constant.
4833         (previousWordAction): New constant.
4834         (readOnlyAction): New constant.
4835         (selectAllAction): New constant.
4836         (selectionBackwardAction): New constant.
4837         (selectionBeginAction): New constant.
4838         (selectionBeginLineAction): New constant.
4839         (selectionBeginParagraphAction): New constant.
4840         (selectionBeginWordAction): New constant.
4841         (selectionDownAction): New constant.
4842         (selectionEndAction): New constant.
4843         (selectionEndLineAction): New constant.
4844         (selectionEndParagraphAction): New constant.
4845         (selectionEndWordAction): New constant.
4846         (selectionForwardAction): New constant.
4847         (selectionNextWordAction): New constant.
4848         (selectionPreviousWordAction): New constant.
4849         (selectionUpAction): New constant.
4850         (selectLineAction): New constant.
4851         (selectParagraphAction): New constant.
4852         (selectWordAction): New constant.
4853         (upAction): New constant.
4854         (writableAction): New constant.
4855
4856 2003-04-29  Michael Koch  <konqueror@gmx.de>
4857
4858         * java/util/PropertyPermission.java:
4859         New version from classpath
4860         * java/util/ResourceBundle.java:
4861         Partly merged from classpath
4862         (getObject): Reformated.
4863         (tryBundle): Set foundBundle = null if no bundle found.
4864
4865 2003-04-29  Michael Koch  <konqueror@gmx.de>
4866
4867         * javax/swing/AbstractListModel.java,
4868         javax/swing/DefaultBoundedRangeModel.java,
4869         javax/swing/DefaultSingleSelectionModel.java:
4870         New Versions from classpath.
4871
4872 2003-04-29  Michael Koch  <konqueror@gmx.de>
4873
4874         * java/awt/Window.java
4875         (show): Call super.show() instead of setVisible() to avoid endless
4876         loop.
4877         (hide): Call super.hide() instead of setVisible() to avoid endless
4878         loop.
4879
4880 2003-04-29  Michael Koch  <konqueror@gmx.de>
4881
4882         * java/util/zip/Deflater.java,
4883         java/util/zip/DeflaterOutputStream.java:
4884         Partly merged with classpath.
4885
4886 2003-04-27  Tom Tromey  <tromey@redhat.com>
4887
4888         * java/lang/natString.cc (_Jv_AllocString): Initialize
4889         cachedHashCode.
4890         (init): Likewise.
4891         (_Jv_NewStringUtf8Const): Likewise.
4892
4893 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
4894
4895         * include/jvm.h: (_Jv_GetNbArgs) added
4896         (_Jv_GetSafeArg) added
4897         (_Jv_SetArgs) added
4898         * prims.cc: (_Jv_GetNbArgs) implemented
4899         (_Jv_GetSafeArg) implemented
4900         (_Jv_SetArgs) implemented
4901         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
4902         setting _Jv_argc and _Jv_argv
4903         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
4904         instead of _Jv_argv
4905         * java/lang/natRuntime.cc: (insertSystemProperties) use
4906         _Jv_GetSafeArg() instead of _Jv_argv
4907
4908 2003-04-23  Tom Tromey  <tromey@redhat.com>
4909
4910         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
4911         required by this object.  Search superclasses to find required
4912         alignment.
4913         (get_alignment_from_class): Use alignment of type as it appears
4914         in a struct.
4915         (ALIGNOF): New macro.
4916         (struct aligner): New helper structure.
4917
4918 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
4919
4920         * java/awt/Container.java (addImpl): Enable paint events if adding
4921         a lightweight to a heavyweight.
4922         (addNotify): Ensure that peer is created before
4923         addNotifyContainerChildren.
4924         (addNotifyContainerChildren): Enable paint events if a heavyweight
4925         container contains a lightweight.
4926
4927 2003-04-20  Tom Tromey  <tromey@redhat.com>
4928
4929         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
4930         java/io/DataInput.java, java/io/DataOutput.java: Imports from
4931         Classpath.
4932
4933 2003-04-19  Tom Tromey  <tromey@redhat.com>
4934
4935         * java/sql/Date.java, java/sql/DriverManager.java,
4936         java/sql/Time.java, java/sql/Timestamp.java: New versions from
4937         Classpath.
4938
4939         * Makefile.in: Rebuilt.
4940         * Makefile.am (ordinary_java_source_files): Added new files.
4941         * java/security/AlgorithmParameterGenerator.java,
4942         java/security/AlgorithmParameters.java, java/security/Engine.java,
4943         java/security/Identity.java, java/security/IdentityScope.java,
4944         java/security/KeyFactory.java,
4945         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
4946         java/security/MessageDigest.java, java/security/Policy.java,
4947         java/security/ProtectionDomain.java,
4948         java/security/SecureRandom.java, java/security/Security.java,
4949         java/security/Signature.java, java/security/SignatureSpi.java,
4950         java/security/SignedObject.java, java/security/Signer.java,
4951         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4952         java/security/spec/PSSParameterSpec.java,
4953         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
4954         java/security/spec/RSAOtherPrimeInfo.java: New versions from
4955         Classpath.
4956
4957 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4958
4959         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
4960         (dispose): Null metrics.
4961         * gnu/awt/xlib/XToolkit.java (sync): Implement.
4962         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
4963         finalize.
4964         (finalize): Call dispose.
4965         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
4966         (gcCachedCount): New field.
4967         (finalize): New method.
4968         (putGCInCache): New method.
4969         (getGCFromCache): New method.
4970         * gnu/gcj/xlib/GC.java (GC): Make protected.
4971         (clone): Get new GC from cache if possible.
4972         (create): New static method.
4973         (dispose): Save old GC in cache.
4974         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
4975         deleting.
4976         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
4977         is null.
4978         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
4979         * java/awt/Container.java (visitChild): Dispose gfx2 when
4980         finished.
4981
4982 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
4983
4984         * java/math/BigInteger.java (probablePrime): New.
4985         * java/math/BigDecimal.java (unscaledValue): New.
4986
4987 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
4988
4989         * java/io/File.java (getAbsolutePath): On Windows, take care
4990         of paths like "C:", "G:foo\bar", etc.
4991         (getName): Make it work correctly on Windows.
4992         (getParent): Make it work correctly on Windows. For UNIX,
4993         fix bug that causes "/" to be returned as the parent of "/",
4994         instead of null as returned by Sun's JRE.
4995
4996         * java/io/natFileWin32.cc: Change copyright owner to FSF.
4997
4998 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4999
5000         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
5001         inner class.
5002         (CACHE_SIZE_PER_DISPLAY): New field
5003         (fontMetricsCache): New field
5004         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
5005         loading ISO10646-1 fonts.
5006
5007 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
5008
5009         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
5010         characters.
5011         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
5012         characters.
5013
5014 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
5015
5016         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
5017         floating point.
5018
5019 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
5020
5021         * configure.host (*-linux*): Don't set slow_pthread_self if primary
5022         installed libpthread is either linuxthreads with floating stacks or
5023         NPTL.
5024
5025 2003-04-14  Tom Tromey  <tromey@redhat.com>
5026
5027         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
5028         of alignment.
5029
5030 2003-04-10  Tom Tromey  <tromey@redhat.com>
5031
5032         * verify.cc (pop64): Removed.
5033         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
5034         exception if top-of-stack is narrow.
5035         (initialize_stack): Check to ensure that <init> is not static and
5036         <clinit> is.
5037
5038 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
5039
5040         * java/io/ObjectStreamException
5041         * java/io/FileFilter
5042         * java/io/FilenameFilter
5043         * java/io/ObjectInput
5044         * java/io/ObjectOutput
5045         * java/io/ObjectStreamConstants
5046         Minor doc fixes, format fixes, spelling corrections, etc.
5047         * java/io/DataInput
5048         Corrected code samples in Javadocs to match reality
5049         * java/io/DataOutput
5050         * java/io/ObjectInputValidation
5051         Major documentation fixes - all Javadocs re-written or updated
5052
5053 2003-04-06  Michael Koch  <konqueror@gmx.de>
5054
5055         * java/net/URLConnection.java:
5056         Import classes directly.
5057         (URLConnection): Merged class documentation with classpath.
5058         (url): Moved, documentation from classpath added.
5059         (doInput): Moved, documentation from classpath added.
5060         (doOutput): Moved, documentation from classpath added.
5061         (allowUserInteraction): Moved.
5062         (useCaches): Moved, documentation from classpath added.
5063         (ifModifiedSince): Moved, documentation from classpath added.
5064         (connected): Moved, documentation from classpath added.
5065
5066 2003-04-06  Michael Koch  <konqueror@gmx.de>
5067
5068         * java/io/FileInputStream.java
5069         (skip): Renamed some variables to match classpath, added
5070         checks from classpath.
5071
5072 2003-03-31  Michael Koch  <konqueror@gmx.de>
5073
5074         * javax/swing/AbstractAction.java
5075         (AbstractAction): Reformatted.
5076         (serialVersionUID): New private member variable.
5077         * javax/swing/plaf/BorderUIResource.java
5078         (serialVersionUID): New private member variable.
5079         * javax/swing/plaf/basic/BasicLookAndFeel.java
5080         (serialVersionUID): New private member variable.
5081
5082 2003-03-31  Michael Koch  <konqueror@gmx.de>
5083
5084         * java/sql/Date.java
5085         (valueOf): Deprecated, reformatted.
5086         (toString): Deprecated, reformatted.
5087         * java/sql/Time.java
5088         (valueOf): Deprecated, reformatted.
5089         (toString): Deprecated, reformatted.
5090
5091 2003-03-31  Michael Koch  <konqueror@gmx.de>
5092
5093         * java/rmi/dgc/VMID.java
5094         (isUnique): Deprecated.
5095
5096 2003-03-31  Michael Koch  <konqueror@gmx.de>
5097
5098         * java/io/File.java
5099         (separator): Merged documentation from classpath.
5100         (separatorChar): Merged documentation from classpath.
5101         (pathSeparator): Merged documentation from classpath.
5102         (pathSeparatorChar): Merged documentation from classpath.
5103         (path): Merged documentation from classpath.
5104         (canRead): Merged documentation from classpath.
5105         (canWrite): Merged documentation from classpath.
5106         (createNewFile): Merged documentation from classpath.
5107         (delete): Merged documentation from classpath.
5108         (equals): Merged documentation from classpath.
5109         (exists): Merged documentation from classpath.
5110         (File): Renamed p to name to match classpath, merged documentation
5111         from classpath.
5112         (getAbsolutePath): Merged documentation from classpath.
5113         (getCanonicalPath): Merged documentation from classpath.
5114         (getCanonicalFile): Merged documentation from classpath.
5115         (getName): Merged documentation from classpath.
5116         (getParent): Merged documentation from classpath.
5117         (getParentFile): Merged documentation from classpath.
5118         (getPath): Merged documentation from classpath.
5119         (hashCode): Merged documentation from classpath.
5120         (isAbsolute): Merged documentation from classpath.
5121         (isDirectory): Merged documentation from classpath.
5122         (isFile): Merged documentation from classpath.
5123         (isHidden): Merged documentation from classpath.
5124         (lastModified): Merged documentation from classpath.
5125         (length): Merged documentation from classpath.
5126         (list): Merged documentation from classpath.
5127         (listFiles): Merged documentation from classpath.
5128         (toString): Merged documentation from classpath.
5129         (toURL): Merged documentation from classpath.
5130         (mkdir): Merged documentation from classpath.
5131         (mkdirs): Merged documentation from classpath.
5132         (createTempFile): Merged documentation from classpath.
5133         (setReadOnly): Merged documentation from classpath.
5134         (listRoots): Merged documentation from classpath.
5135         (compareTo): Merged documentation from classpath.
5136         (renameTo): Merged documentation from classpath.
5137         (setLastModified): Merged documentation from classpath.
5138         * java/io/PrintStream.java
5139         (auto_flush): Merged documentation from classpath.
5140         (PrintStream): Merged documentation from classpath.
5141         (checkError): Merged documentation from classpath.
5142         (setError): Merged documentation from classpath.
5143         (close): Merged documentation from classpath.
5144         (flush): Merged documentation from classpath.
5145         (print): Merged documentation from classpath.
5146         (println):  Merged documentation from classpath.
5147         (write): Renamed count to len to match classpath,
5148         merged documentation from classpath.
5149         * java/io/RandomAccessFile.java
5150         (readShort): Merged documentation from classpath.
5151         (readUnsignedByte): Merged documentation from classpath.
5152         (readUnsignedShort): Merged documentation from classpath.
5153         (readUTF): Merged documentation from classpath.
5154         (seek): Reformatted, merged documentation from classpath.
5155         (skipBytes): Renamed some variables to match classpath, reformatted,
5156         merged documentation from classpath.
5157         (write): Merged documentation from classpath.
5158         (writeBoolean): Merged documentation from classpath.
5159         (writeByte): Merged documentation from classpath.
5160         (writeShort): Merged documentation from classpath.
5161         (writeChar): Merged documentation from classpath.
5162         (writeInt): Merged documentation from classpath.
5163         (writeLong): Merged documentation from classpath.
5164         (writeFloat): Merged documentation from classpath.
5165         (writeDouble): Merged documentation from classpath.
5166         (writeBytes): Merged documentation from classpath.
5167         (writeChars): Merged documentation from classpath.
5168         (writeUTF): Reformatted.
5169         (getChannel): Reformatted.
5170
5171 2003-03-31  Michael Koch  <konqueror@gmx.de>
5172
5173         * java/awt/font/TextAttribute.java
5174         (readResolve): Throws java.io.InvalidObjectException.
5175
5176 2003-03-31  Michael Koch  <konqueror@gmx.de>
5177
5178         * java/rmi/server/LoaderHandler.java
5179         (loadClass): Deprecated.
5180         (getSecurityContext): Deprecated.
5181         * java/rmi/server/LogStream.java
5182         (getDefaultStream): Deprecated.
5183         (setDefaultStream): Deprecated.
5184         (getOutputStream): Deprecated.
5185         (setOutputStream): Deprecated.
5186         (write): Deprecated.
5187         (toString): Deprecated.
5188         (parseLevel): Deprecated.
5189         * java/rmi/server/Operation.java
5190         (Operation): Deprecated.
5191         (getOperation): Deprecated.
5192         (toString): Deprecated.
5193         * java/rmi/server/RemoteCall.java
5194         (getOutputStream): Deprecated.
5195         (releaseOutputStream): Deprecated.
5196         (getInputStream): Deprecated.
5197         (releaseInputStream): Deprecated.
5198         (getResultStream): Deprecated.
5199         (executeCall): Deprecated.
5200         (done): Deprecated.
5201         * java/rmi/server/RemoteRef.java
5202         (invoke): Deprecated.
5203         (newCall): Deprecated.
5204         (done): Deprecated.
5205         * java/rmi/server/RemoteStub.java
5206         (setRef): Deprecated.
5207         * java/rmi/server/Skeleton.java:
5208         No need to import java.lang.Exception explicitly.
5209         (dispatch): Deprecated.
5210         (getOperations): Deprecated.
5211
5212 2003-03-31  Michael Koch  <konqueror@gmx.de>
5213
5214         * java/rmi/dgc/VMID.java,
5215         java/rmi/registry/RegistryHandler.java,
5216         java/rmi/server/LogStream.java,
5217         java/rmi/server/Operation.java,
5218         java/rmi/server/RemoteCall.java,
5219         java/rmi/server/RemoteRef.java,
5220         java/rmi/server/RemoteStub.java:
5221         Reformatted.
5222
5223 2003-03-31  Michael Koch  <konqueror@gmx.de>
5224
5225         * javax/swing/AbstractCellEditor.java,
5226         javax/swing/AbstractListModel.java,
5227         javax/swing/ActionMap.java,
5228         javax/swing/BorderFactory.java,
5229         javax/swing/ButtonGroup.java,
5230         javax/swing/DefaultBoundedRangeModel.java,
5231         javax/swing/DefaultButtonModel.java,
5232         javax/swing/DefaultCellEditor.java,
5233         javax/swing/DefaultComboBoxModel.java,
5234         javax/swing/DefaultDesktopManager.java,
5235         javax/swing/DefaultListCellRenderer.java,
5236         javax/swing/DefaultSingleSelectionModel.java,
5237         javax/swing/InputMap.java,
5238         javax/swing/JComponent.java,
5239         javax/swing/JMenu.java,
5240         javax/swing/JSlider.java,
5241         javax/swing/KeyStroke.java,
5242         javax/swing/OverlayLayout.java,
5243         javax/swing/ScrollPaneLayout.java,
5244         javax/swing/SizeRequirements.java,
5245         javax/swing/UIManager.java,
5246         javax/swing/ViewportLayout.java,
5247         javax/swing/border/AbstractBorder.java,
5248         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5249         javax/swing/event/EventListenerList.java,
5250         javax/swing/table/AbstractTableModel.java,
5251         javax/swing/table/DefaultTableCellRenderer.java,
5252         javax/swing/table/DefaultTableColumnModel.java,
5253         javax/swing/table/DefaultTableModel.java,
5254         javax/swing/table/TableColumn.java,
5255         javax/swing/text/StyledEditorKit.java,
5256         javax/swing/tree/DefaultMutableTreeNode.java,
5257         javax/swing/tree/DefaultTreeModel.java,
5258         javax/swing/tree/DefaultTreeSelectionModel.java,
5259         javax/swing/tree/TreePath.java,
5260         javax/swing/undo/AbstractUndoableEdit.java,
5261         javax/swing/undo/StateEdit.java,
5262         javax/swing/undo/StateEditable.java,
5263         javax/swing/undo/UndoableEditSupport.java:
5264         Merges from classpath.
5265
5266 2003-03-30  Tom Tromey  <tromey@redhat.com>
5267
5268         * java/lang/String.java (data, boffset, count): Documented.
5269         (String(byte[],String)): Reformatted.
5270         (String(byte[])): Likewise.
5271         (lastIndexOf(int)): Likewise.
5272         (lastIndexOf(String)): Likewise.
5273         (substring(int)): Renamed argument to match Classpath.
5274         (String(StringBuffer)): Don't share buffer if it is nearly empty.
5275
5276         * java/lang/String.java: Miscellaneous minor formatting changes
5277         to match Classpath more closely.
5278
5279 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
5280             Tom Tromey  <tromey@redhat.com>
5281
5282         * java/lang/natString.cc (hashCode): Use cachedHashCode.
5283         (init()): Removed.
5284         (charAt): Put index in exception.
5285         (contentEquals): New method.
5286         Include StringBuffer.h.
5287         * java/lang/String.java (cachedHashCode): New field.
5288         (String()): Follow classpath implementation.
5289         (init()): Removed.
5290         (contentEquals): Declare.
5291         (subSequence): Don't declare IndexOutIfBoundsException in throws
5292         clause.
5293         (matches, replaceFirst, replaceAll, split): New methods from
5294         Classpath.
5295
5296 2003-03-29  Tom Tromey  <tromey@redhat.com>
5297
5298         * java/lang/String.java: Reordered to follow Classpath; merged in
5299         javadoc.
5300
5301         * java/text/MessageFormat.java: Removed some whitespace.
5302
5303         * Makefile.in: Rebuilt.
5304         * Makefile.am (awt_java_source_files): Added new files.
5305         * gnu/javax/rmi/PortableServer.java,
5306         gnu/javax/rmi/CORBA/DelegateFactory.java,
5307         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5308         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5309         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5310         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5311         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5312         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
5313         javax/rmi/PortableRemoteObject.java,
5314         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
5315         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5316         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
5317         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
5318         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
5319         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
5320
5321         * java/lang/natClass.cc (newInstance): Put method name in
5322         exception.
5323         (getConstructor): Likewise.
5324         (getDeclaredConstructor): Likewise.
5325         (getPrivateMethod): Likewise.
5326
5327 2003-03-28  Tom Tromey  <tromey@redhat.com>
5328
5329         * java/lang/reflect/Proxy.java: New version from Classpath.
5330         * java/lang/Package.java: New version from Classpath.
5331
5332 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
5333
5334         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
5335         * configure: Regenerate.
5336
5337 2003-03-28  Michael Koch  <konqueror@gmx.de>
5338
5339         * java/io/File.java:
5340         Import needed classes instead of whole packages, merged class
5341         documentation with classpath, moved constants and variables to top of
5342         class.
5343         * java/io/PrintStream.java:
5344         Merged class documentation with classpath, moved constants and
5345         variables to top of class.
5346         * java/io/RandomAccessFile.java
5347         (RandomAccessFile): Merged with classpath.
5348         (read): Merged with classpath).
5349         (read*): Reformatted.
5350
5351 2003-03-28  Michael Koch  <konqueror@gmx.de>
5352
5353         * java/io/FileDescriptor.java
5354         (finalize): Throws Throwable, not IOException.
5355         * java/io/ObjectOutputStream.java
5356         (PutField.put): Doesnt throws anything.
5357
5358 2003­03-28  Michael Koch  <konqueror@gmx.de>
5359
5360         * java/io/FileOutputStream.java:
5361         Merged class documentation and authors with classpath.
5362         (FileOutputStream): Partly merged with classpath.
5363         (write): Merged with classpath.
5364         (getChannel): Make it synchronized instead of explicit block in this
5365         method.
5366         * java/io/RandomAccessFile.java:
5367         Merged class documentation and authors with classpath.
5368
5369 2003-03-26  Tom Tromey  <tromey@redhat.com>
5370
5371         * java/lang/natRuntime.cc (insertSystemProperties): Set
5372         gnu.classpath.home.url.
5373         * Makefile.in: Rebuilt.
5374         * Makefile.am: Define LIBDIR.
5375
5376 2003-03-25  Michael Koch  <konqueror@gmx.de>
5377
5378         * java/io/FileInputStream.java
5379         (read): Renamed b to buf and off to offset.
5380         * java/io/FileOutputStream.java
5381         (ch): Documentation added.
5382         (FileOutputStream): Documentation added.
5383         (getFD): Documentation added.
5384         (write): Documentation added.
5385         (close): Documentation added.
5386         (getChannel): Documentation added.
5387
5388 2003-03-24  Michael Koch  <konqueror@gmx.de>
5389
5390         * java/io/DataOutputStream.java
5391         (write): Merged from classpath.
5392         * java/io/File.java:
5393         Merged copyrigth with classpath.
5394         * java/io/FileInputStream.java
5395         (getChannel): Made it synchronized instead of using a synchronized
5396         block.
5397         * java/io/FileOutputStream.java: Reformatted.
5398         * java/io/InputStreamReader.java
5399         (InputStreamReader): Renamed enc to encoding_name.
5400         (close): Merged documentation from classpath.
5401         (getEncoding): Merged documentation from classpath.
5402         (ready): Merged documentation from classpath.
5403         (read): Merged documentation from classpath.
5404         * java/io/LineNumberReader.java
5405         (lineNumber): Made it private.
5406         (LineNumberReader): Use Constant instead of a direct value.
5407         * java/io/OutputStreamWriter.java
5408         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
5409         documentation from classpath.
5410         (close): Merged documentation from classpath.
5411         (flush): Merged documentation from classpath.
5412         (write): Merged documentation from classpath.
5413         * java/io/PrintStream.java: Reformatted.
5414
5415 2003-03-24  Michael Koch  <konqueror@gmx.de>
5416
5417         * javax/swing/text/ComponentView.java
5418         (getComponent): Must be final.
5419         * javax/swing/tree/DefaultTreeCellRenderer.java:
5420         Reformatted.
5421         * javax/swing/undo/StateEditable.java:
5422         Reformatted.
5423
5424 2003-03-24  Michael Koch  <konqueror@gmx.de>
5425
5426         * java/rmi/activation/ActivationInstantiator.java:
5427         Reformatted.
5428         * java/rmi/activation/Activator.java:
5429         Reformatted.
5430         * java/rmi/registry/RegistryHandler.java:
5431         Remerged from classpath.
5432
5433 2003-03-24  Michael Koch  <konqueror@gmx.de>
5434
5435         * java/util/Date.java:
5436         Fixed documentation starting tag to make javadoc happy.
5437         * java/util/regex/Pattern.java
5438         (Pattern): Implements Serializable.
5439         * java/util/PatternSyntaxException.java
5440         (serialVersionUID): New member variable.
5441
5442 2003-03-24  Michael Koch  <koqnueror@gmx.de>
5443
5444         * java/awt/ContainerOrderFocusTraversalPolicy.java
5445         (getFirstComponent): Implemented.
5446         (getLastComponent): Implemented.
5447         (getDefaultComponent): Implemented.
5448         (setImplicitDownCycleTraversal): Fixed implementation.
5449         * java/awt/Robot.java
5450         (Robot): Added documentation.
5451         * java/awt/Toolkit.java
5452         (getFontList): Deprecated.
5453         (getFontMetrics): Deprecated.
5454         (getPrintJob): Added documentation.
5455         (getSystemSelection): Added documentation.
5456         (getLockingKeyState): Added documentation.
5457         (setLockingKeyState): Added documentation.
5458         (createCustomCursor): Added documentation.
5459         (getBestCursorSize): Added documentation.
5460         (getMaximumCursorColors): Added documentation.
5461         (isFrameStateSupported): Added documentation.
5462
5463 2003-03-24  Michael Koch  <konqueror@gmx.de>
5464
5465         * java/io/RandomAccessFile.java:
5466         More little merges with classpath. No code changes.
5467
5468 2003-03-24  Michael Koch  <konqueror@gmx.de>
5469
5470         * java/net/natInetAddressNoNet.cc:
5471         Include stddef.h.
5472         * java/net/natPlainDatagramSocketImplNoNet.cc:
5473         Fixed inlcude of java/net/DatagramPacket.h.
5474         * java/net/natPlainSocketImplNoNet.cc:
5475         Include some missing classes.
5476
5477 2003-03-24  Michael Koch  <konqueror@gmx.de>
5478
5479         * java/awt/dnd/DropTarget.java
5480         (DropTargetAutoScroller): According to the online documentation, this
5481         is protected, but in reality it is public.
5482         * java/awt/dnd/DropTargetContext.java
5483         (TransferableProxy): According to the online documentation, this
5484         is protected, but in reality it is public.
5485
5486 2003-03-24  Michael Koch  <konqueror@gmx.de>
5487
5488         * java/io/DataInputStream.java
5489         (): Wrapped documentation line.
5490         (): Fixed @return tag.
5491         * java/io/DataOutputStream.java
5492         (written): Moved to top of class.
5493         (all methods): Merged documentation from classpath.
5494         * java/io/File.java:
5495         Merged copyright year with classpath.
5496         * java/io/FileInputStream.java
5497         (all methods): Merged documentation from classpath.
5498         * java/io/LineNumberReader.java
5499         (getLineNumber): Fixed @return tag.
5500         * java/io/ObjectInputStream.java.
5501         Reformatted.
5502         * java/io/ObjectOutputStream.java:
5503         Reformatted, fixed some @see tags.
5504         * java/io/OutputStreamWriter.java:
5505         Deleted empty line.
5506         * java/io/Writer.java:
5507         Reformatted.
5508
5509 2003-03-24  Michael Koch  <konqueror@gmx.de>
5510
5511         * java/awt/Frame.java
5512         (DEFAULT_CURSOR): Fixed @deprecated tag.
5513         (setCursor): Fixed @deprecated tag.
5514
5515 2003-03-24  Michael Koch  <konqueror@gmx.de>
5516
5517         * java/beans/beancontext/BeanContextEvent.java:
5518         Reformated.
5519
5520 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
5521
5522         * java/lang/natStringBuffer.cc (regionMatches): New function.
5523         * java/lang/String.java (count): Now package-private.
5524         * java/lang/StringBuffer.java: Merged with Classpath.
5525
5526 2003-03-23  Michael Koch  <konqueror@gmx.de>
5527
5528         * java/io/BufferedOutputStream.java:
5529         Reformated.
5530         * java/io/BufferedReader.java:
5531         Reformated.
5532         * java/io/ByteArrayOutputStream.java
5533         (size): Fixed @see tag.
5534         * java/io/CharArrayWriter.java
5535         (size): Fixed @see tag.
5536         * java/io/DataInput.java:
5537         Reformated.
5538         * java/io/DataOutput.java:
5539         Reformated.
5540         * java/io/DataOutputStream.java:
5541         Merged copyright years with classpath.
5542         * java/io/Externalizable.java:
5543         Reformated.
5544         * java/io/FileFilter.java:
5545         Reformated.
5546         * java/io/FileInputStream.java:
5547         Merged copyright years with classpath.
5548         * java/io/FileOutputStream.java:
5549         Merged copyright years with classpath.
5550         * java/io/FilePermission.java
5551         (FilePermission): Replaced @XXX with FIXME:.
5552         * java/io/FileWriter.java:
5553         Reformated.
5554         * java/io/FilenameFilter.java:
5555         Reformated.
5556         * java/io/FilterInputStream.java:
5557         Reformated.
5558         * java/io/FilterOutputStream.java:
5559         Reformated.
5560         * java/io/FilterReader.java:
5561         Reformated.
5562         * java/io/FilterWriter.java:
5563         Reformated.
5564         * java/io/LineNumberInputStream.java
5565         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
5566         happy.
5567         (getLineNumber): Fixed @return tag.
5568         * java/io/ObjectInput.java:
5569         Reformated.
5570         * java/io/ObjectOutput.java:
5571         Reformated.
5572         * java/io/ObjectStreamClass.java:
5573         Reformated.
5574         * java/io/PrintStream.java:
5575         Merged copyright years with classpath.
5576         * java/io/PushbackReader.java
5577         (PushbackReader): Replaced @code with @param.
5578         * java/io/SerializablePermission.java:
5579         Reformated.
5580         * java/io/StreamTokenizer.java
5581         (resetSyntax): Fixed @see tag.
5582
5583 2003-03-22  Richard Henderson  <rth@redhat.com>
5584
5585         * sysdep/ia64/locks.h: Include ia64intrin.h.
5586         (compare_and_swap): Use __sync_bool_compare_and_swap.
5587         (compare_and_swap_release): Expose ar.ccv assignment.
5588
5589 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
5590
5591         * include/posix.h: Add suffix for darwin dynamic libraries.
5592
5593 2003-03-21  Michael Koch  <konqueror@gmx.de>
5594
5595         * javax/swing/Action.java
5596         (ACCELERATOR_KEY): New constant.
5597         (ACTION_COMMAND_KEY): Likewise.
5598         (MNEMONIC_KEY): Likewise.
5599         * javax/swing/UnsupportedLookAndFeelException.java
5600         (UnsupportedLookAndFeelException): Must be public.
5601         * javax/swing/WindowConstants.java
5602         (EXIT_ON_CLOSE): New constant.
5603         * javax/swing/text/BadLocationException.java
5604         (offset): New member variable.
5605         (BadLocationException): New implementation, documentation added.
5606         (offsetRequested): New method.
5607         * javax/swing/text/Caret.java:
5608         Reformated.
5609         * javax/swing/text/Document.java:
5610         Reformated.
5611
5612 2003-03-21  Michael Koch  <konqueror@gmx.de>
5613
5614         * java/rmi/activation/Activatable.java
5615         (serialVersionUID): New member variable.
5616         * java/rmi/activation/ActivationGroup.java
5617         (serialVersionUID): New member variable.
5618         * java/rmi/activation/ActivationGroupDesc.java
5619         (serialVersionUID): New member variable.
5620         * java/rmi/registry/Registry.java:
5621         Reformated.
5622         (Registry): Deprecated.
5623         * java/rmi/server/LoaderHandler.java
5624         Reformated.
5625         (LoaderHandler): Deprecated.
5626         * java/rmi/server/LogStream.java
5627         Reformated.
5628         (LogStream): Deprecated.
5629         * java/rmi/server/Operation.java
5630         (Operation): Deprecated.
5631         * java/rmi/server/RMIFailureHandler.java:
5632         Reformated.
5633         * java/rmi/server/RMISocketFactory.java:
5634         Reformated.
5635         * java/rmi/server/RemoteCall.java
5636         (RemoteCall): Deprecated.
5637         * java/rmi/server/RemoteStub.java:
5638         Reformated.
5639         * java/rmi/server/Skeleton.java
5640         Reformated.
5641         (Skeleton): Deprecated.
5642
5643 2003-03-21  Michael Koch  <konqueror@gmx.de>
5644
5645         * java/io/LineNumberReader.java
5646         (LineNumberReader): Merged documentation with classpath.
5647         (getLineNumber): Likewise.
5648         (setLineNumber): Likewise.
5649         (mark): Likewise.
5650         (reset): Likewise.
5651         (read): Likewise.
5652         (readLine): Likewise.
5653         (skip): Likewise.
5654
5655 2003-03-21  Michael Koch  <konqueror@gmx.de>
5656
5657         * java/rmi/RMISecurityManager.java
5658         (checkAccept): Removed.
5659         (checkAccess): Likewise.
5660         (checkAccess): Likewise.
5661         (checkAwtEventQueueAccess): Likewise.
5662         (checkConnect): Likewise.
5663         (checkCreateClassLoader): Likewise.
5664         (checkDelete): Likewise.
5665         (checkExec): Likewise.
5666         (checkExit): Likewise.
5667         (checkLink): Likewise.
5668         (checkListen): Likewise.
5669         (checkMemberAccess): Likewise.
5670         (checkMulticast): Likewise.
5671         (checkPackageAccess): Likewise.
5672         (checkPackageDefinition): Likewise.
5673         (checkPermission): Likewise.
5674         (checkPrintJobAccess): Likewise.
5675         (checkPropertiesAccess): Likewise.
5676         (checkPropertyAccess): Likewise.
5677         (checkRead): Likewise.
5678         (checkSecurityAccess): Likewise.
5679         (checkSetFactory): Likewise.
5680         (checkSystemClipboardAccess): Likewise.
5681         (checkTopLevelWindow): Likewise.
5682         (checkWrite): Likewise.
5683
5684 2003-03-20  Michael Koch  <konqueror@gmx.de>
5685
5686         * gnu/java/nio/FileChannelImpl.java
5687         (address): Removed.
5688         (map_address): New member variable.
5689         (length): Make it package private.
5690         (fd): Make it package private.
5691         (buf): Make it package private.
5692         (file_obj): Make it package private.
5693         (FileChannelImpl): New constructor.
5694         (nio_mmap_file): Use RawData instead of long.
5695         (nio_munmap_file): Use RawData instead of long.
5696         (nio_msync): Use RawData instead of long.
5697         (implCloseChannel): New implementation using map_address.
5698         (read): Reformated.
5699         (map): Implemented.
5700         (create_direct_mapped_buffer): Implemented, use RawData, throws
5701         IOException.
5702         (force): Use map_address instead of address.
5703         * gnu/java/nio/MappedByteFileBuffer.java
5704         (address): Removed.
5705         (map_address): New member variable.
5706         (MappedByteFileBuffer): Use map_address instead of address, reformated.
5707         (several methods): Use map_address instead of address, replaced long
5708         with RawData where appropriate.
5709         * gnu/java/nio/natFileChannelImpl.cc
5710         (nio_mmap_file): Replaced long with RawData.
5711         (nio_munmap_file): Replaced long with RawData.
5712         (nio_msync): Replaced long with RawData.
5713         * gnu/java/nio/natMappedByteFileBuffer.cc
5714         (several methods): Replaced long with RawData where appropriate.
5715
5716 2003-03-20  Michael Koch  <konqueror@gmx.de>
5717
5718         * java/net/InetAddress.java,
5719         java/net/JarURLConnection.java,
5720         java/net/PlainDatagramSocketImpl.java,
5721         java/net/PlainSocketImpl.java,
5722         java/net/URLConnection.java:
5723         Merged copyright statements with classpath for easier merging.
5724
5725 2003-03-20  Michael Koch  <konqueror@gmx.de>
5726
5727         * java/io/FileInputStream.java
5728         (getChannel): New implementation.
5729         * java/io/FileOutputStream.java
5730         (ch): New member variable.
5731         (getChannel): Implemented.
5732         * java/io/RandomAccessFile.java
5733         (RandomAccessFile): Throws FileNotFoundException instead of
5734         IOException.
5735         (getChannel): New method.
5736         (ch): New member variable.
5737
5738 2003-03-20  Michael Koch  <konqueror@gmx.de>
5739
5740         * java/io/DataOutputStream.java,
5741         java/io/File.java,
5742         java/io/FileInputStream.java,
5743         java/io/FileOutputStream.java,
5744         java/io/InputStreamReader.java,
5745         java/io/LineNumberReader.java,
5746         java/io/OutputStreamWriter.java,
5747         java/io/PrintStream.java,
5748         java/io/RandomAccessFile.java:
5749         Merged copyright statements with classpath for easier merging.
5750
5751 2003-03-19  Michael Koch  <konqueror@gmx.de>
5752
5753         * java/lang/Process.java:
5754         Merged from classpath.
5755
5756 2003-03-19  Michael Koch  <konqueror@gmx.de>
5757
5758         * java/io/FileOutputStream.java
5759         (FileOutputStream): New constructor, merged from classpath.
5760         * java/io/FileWriter.java
5761         (FileWriter): New constructor, merged from classpath.
5762
5763 2003-03-18  Michael Koch  <konqueror@gmx.de>
5764
5765         * java/awt/ScrollPane.java
5766         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
5767         (getViewportSize): Likewise.
5768         (addNotify): Likewise.
5769         (removeNotify): Likewise.
5770         * java/awt/ScrollPaneAdjustable.java
5771         (ScrollPaneAdjustable): No longer extends Scrollbar.
5772         * java/beans/beancontext/BeanContextServices.java:
5773         Reformated.
5774         (getService): Added throws TooManyListenersException;
5775         * java/beans/beancontext/BeanContextServicesSupport.java:
5776         Reformated.
5777
5778 2003-03-18  Michael Koch  <konqueror@gmx.de>
5779
5780         * java/io/BufferedOutputStream.java,
5781         java/io/DataInput.java,
5782         java/io/DataInputStream.java,
5783         java/io/DataOutput.java,
5784         java/io/Externalizable.java:
5785         More merges from classpath.
5786
5787 2003-03-18  Michael Koch  <konqueror@gmx.de>
5788
5789         * configure.in: Fixed links to platform dependant java.net files.
5790         * configure: Regenerated.
5791         * java/net/natInetAddress.cc,
5792         java/net/natNetworkInterface.cc,
5793         java/net/natPlainDatagramSocketImpl.cc,
5794         java/net/natPlainSocketImpl.cc:
5795         Removed.
5796
5797 2003-03-18  Michael Koch  <konqueror@gmx.de>
5798
5799         * configure.in: Create links to architecture dependent files,
5800         introduced PLATFORMNET variable (set to NoNet for newlib usage).
5801         * configure: Regenerated.
5802         * java/net/natInetAddressNoNet.cc,
5803         java/net/natInetAddressPosix.cc,
5804         java/net/natInetAddressWin32.cc,
5805         java/net/natNetworkInterfaceNoNet.cc,
5806         java/net/natNetworkInterfacePosix.cc,
5807         java/net/natNetworkInterfaceWin32.cc,
5808         java/net/natPlainDatagramSocketImplNoNet.cc,
5809         java/net/natPlainDatagramSocketImplPosix.cc,
5810         java/net/natPlainDatagramSocketImplWin32.cc,
5811         java/net/natPlainSocketImplNoNet.cc,
5812         java/net/natPlainSocketImplPosix.cc,
5813         java/net/natPlainSocketImplWin32.cc: New files.
5814
5815 2003-03-18  Michael Koch  <konqueror@gmx.de>
5816
5817         * java/io/BufferedReader.java,
5818         java/io/BufferedWriter.java,
5819         java/io/ByteArrayOutputStream.java,
5820         java/io/FileFilter.java,
5821         java/io/FilePermission.java,
5822         java/io/FileReader.java,
5823         java/io/FileWriter.java,
5824         java/io/FilenameFilter.java,
5825         java/io/FilterInputStream.java,
5826         java/io/FilterOutputStream.java,
5827         java/io/FilterReader.java,
5828         java/io/FilterWriter.java,
5829         java/io/ObjectInput.java,
5830         java/io/ObjectInputValidation.java,
5831         java/io/ObjectOutput.java,
5832         java/io/ObjectStreamField.java,
5833         java/io/PipedInputStream.java,
5834         java/io/PipedReader.java,
5835         java/io/PrintWriter.java,
5836         java/io/PushbackReader.java,
5837         java/io/Reader.java,
5838         java/io/SerializablePermission.java,
5839         java/io/StringReader.java,
5840         java/io/Writer.java:
5841         Merged from classpath.
5842
5843 2003-03-17  Michael Koch  <konqueror@gmx.de>
5844
5845         * java/awt/ScrollPaneAdjustable.java:
5846         Compile fixes.
5847         
5848 2003-03-17  Michael Koch  <konqueror@gmx.de>
5849
5850         * java/net/DatagramSocket.java
5851         (connect): Fixed comment.
5852         * java/nio/ByteBuffer.java
5853         (hasArray): Fixed comment.
5854
5855 2003-03-17  Michael Koch  <konqueror@gmx.de>
5856
5857         * java/beans/Beans.java:
5858         Explicitely import classes not packages.
5859         * java/beans/FeatureDescriptor.java
5860         (preferred): New member variable.
5861         (isPreferred): New method.
5862         (setPreferred): New method.
5863         * java/beans/PropertyEditorManager.java:
5864         Explicitely import used classes.
5865         * java/beans/beancontext/BeanContextChild.java:
5866         Added line wrapping.
5867         * java/beans/beancontext/BeanContextChildSupport.java:
5868         Reindented.
5869         * java/beans/beancontext/BeanContextEvent.java:
5870         Reindented.
5871
5872 2003-03-17  Michael Koch  <konqueror@gmx.de>
5873
5874         * java/awt/Dialog.java
5875         (Dialog): New constructor, changed implementations, added
5876         documentation.
5877         * java/awt/ScrollPaneAdjustable.java
5878         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
5879         Serializable.
5880         (serialVersionUID): New member variable.
5881         (sp): New member variable.
5882         (orientation): New member variable.
5883         (value): New member variable.
5884         (minimum): New member variable.
5885         (maximum): New member variable.
5886         (visibleAmount): New member variable.
5887         (unitIncrement): New member variable.
5888         (blockIncrement): New member variable.
5889         (AdjustmentListener): New member variable.
5890         (ScrollPaneAdjustable): New implementation.
5891         (addAdjustmentListener): New method.
5892         (removeAdjustmentListener): New method.
5893         (getAdjustmentListeners): New method.
5894         (getBlockIncrement): New method.
5895         (getMaximum): New method.
5896         (getMinimum): New method.
5897         (getOrientation): New method.
5898         (getUnitIncrement): New method.
5899         (getValue): New method.
5900         (getVisibleAmount): New method.
5901         (setBlockIncrement): New method.
5902         (setMaximum): Implemented.
5903         (setMinimum): Implemented.
5904         (setUnitIncrement): New method.
5905         (setValue): New method.
5906         (setVisibleAmount): Implemented. 
5907         (paramString): New stubbed method.
5908         * java/awt/Window.java
5909         (show): Call setVisible().
5910         (hide): Call setVisible().
5911         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
5912         and WINDOW_STATE_CHANGED.
5913         (processWindowFocusEvent): New method.
5914         (processWindowStateEvent): New method.
5915         (postEvent): Deprecated.
5916         (applyResourceBundle): Deprecated.
5917         * java/awt/datatransfer/DataFlavor.java
5918         (DataFlavor): Doesn't thow ClassNotFoundException.
5919
5920 2003-03-17  Michael Koch
5921
5922         * javax/print/attribute/Attribute.java,
5923         javax/print/attribute/AttributeSet.java,
5924         javax/print/attribute/PrintRequestAttributeSet.java:
5925         New files.
5926         * Makefile.am
5927         (javax_source_files): Added new files:
5928         javax/print/attribute/Attribute.java
5929         javax/print/attribute/AttributeSet.java
5930         javax/print/attribute/PrintRequestAttributeSet.java
5931         * Makefile.in: Regenerated.
5932
5933 2003-03-17  Michael Koch
5934
5935         * javax/print/attribute/Attribute.java,
5936         javax/print/attribute/AttributeSet.java,
5937         javax/print/attribute/PrintRequestAttributeSet.java:
5938         New files.
5939         * Makefile.am
5940         (awt_java_source_files): Added new files:
5941         javax/print/attribute/Attribute.java
5942         javax/print/attribute/AttributeSet.java
5943         javax/print/attribute/PrintRequestAttributeSet.java
5944         * Makefile.in: Regenerated.
5945
5946 2003-03-16  Tom Tromey  <tromey@redhat.com>
5947
5948         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
5949         Include platform.h.
5950         * java/lang/natRuntime.cc (insertSystemProperties): Use
5951         _Jv_platform_path_separator.
5952         (nativeGetLibname): Use _Jv_platform_file_separator.
5953         (_load): Use _Jv_platform_onload_names.
5954         (onload_names): New global.
5955         * include/win32.h (_Jv_platform_file_separator): New define.
5956         (_Jv_platform_path_separator): Likewise.
5957         (_Jv_platform_onload_names): Likewise.
5958         (_Jv_platform_ffi_abi): Likewise.
5959         * include/posix.h (_Jv_platform_file_separator): New define.
5960         (_Jv_platform_path_separator): Likewise.
5961         (_Jv_platform_onload_names): Likewise.
5962         (_Jv_platform_ffi_abi): Likewise.
5963
5964 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
5965
5966         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
5967
5968 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
5969
5970         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
5971         hierarchy loop.
5972         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
5973         list to Object,ObjectStreamClass, moved callReadMethod code up into
5974         readObject and added Class argument to all setXxxField calls.
5975         (callReadMethod): Changed Class argument to ObjectStreamClass to be
5976         consistent with ObjectOutputStream and to facilitate caching the
5977         Method in the future.
5978         (setBooleanField): Added Class argument.
5979         (setByteField): Likewise.
5980         (setCharField): Likewise.
5981         (setDoubleField): Likewise.
5982         (setFloatField): Likewise.
5983         (setIntField): Likewise.
5984         (setLongField): Likewise.
5985         (setShortField): Likewise.
5986         (setObjectField): Likewise.
5987         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
5988         class hierarchy loop.
5989         (defaultWriteObject): Call writeFields with new argument list.
5990         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
5991         list to Object,ObjectStreamClass, moved callWriteMethod up into
5992         writeObject and added Class argument to all getXxxField calls.
5993         (callWriteMethod): Added ObjectStreamClass argument to be able to
5994         get the proper class to call getMethod on (each class can have (or
5995         not have) its own writeObject method).
5996         (getBooleanField): Added Class argument.
5997         (getByteField): Likewise.
5998         (getCharField): Likewise.
5999         (getDoubleField): Likewise.
6000         (getFloatField): Likewise.
6001         (getIntField): Likewise.
6002         (getLongField): Likewise.
6003         (getShortField): Likewise.
6004         (getObjectField): Likewise.
6005         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
6006         facilitate caching the Method object in the future.
6007
6008 2003-03-12  Andreas Schwab  <schwab@suse.de>
6009
6010         * configure.in: Avoid trailing /. in toolexeclibdir.
6011         * configure: Rebuilt.
6012
6013 2003-03-11  Michael Koch  <konqueror@gmx.de>
6014
6015         * gnu/java/nio/ByteBufferImpl.java
6016         (putInt): Use limit() instead of limit.
6017         * gnu/java/nio/CharBufferImpl.java
6018         (slice): Fixed implementation.
6019         (subSequence): Better bounds checking.
6020         * gnu/java/nio/MappedByteFileBuffer.java:
6021         Import all needed classes directly.
6022         * java/nio/ByteBuffer.java
6023         (hashCode): New dummy method.
6024         * java/nio/CharBuffer.java
6025         (array_offset): New member variable.
6026         (hasArray): Fixed documentation.
6027         (arrayOffset): Return array_offset.
6028
6029 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
6030
6031         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
6032         setter; made return value of getter const char* instead of char*
6033         * prims.cc: removed all references to _Jv_ThisExecutable().
6034         These are in the platform-specific sections now.
6035         * posix.cc: define platform-specific _Jv_ThisExecutable().
6036         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
6037         * win32.cc: define platform-specific _Jv_ThisExecutable()
6038         using GetModuleFilename()
6039         * java/lang/natRuntime.cc: set gnu.gcj.progname property
6040         to argv[0] instead of _Jv_ThisExecutable()
6041
6042 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
6043
6044         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
6045         that is set if we are using addr2name.awk instead of addr2line.
6046         (NameFinder): Set usingAddr2name if using addr2name.awk.
6047         (getExternalLabel): New native method to convert a method 
6048         name to an external label.
6049         (lookup): Convert name given by addr2line to an external label
6050         before demangling.
6051
6052         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
6053         constant representing the prefix attached to method names to
6054         convert them to an external label.
6055         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
6056         using LABEL_PREFIX.
6057
6058 2003-03-10  Tom Tromey  <tromey@redhat.com>
6059
6060         * Makefile.in: Rebuilt.
6061         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
6062         (JC1FLAGS): Removed -Wno-deprecated.
6063
6064 2003-03-10  Michael Koch  <konqueror@gmx.de>
6065
6066         * java/nio/ByteOrder.java
6067         (nativeOrder): Working implementation, added documentation.
6068         (toString): Added documentation.
6069
6070 2003-03-10  Michael Koch  <konqueror@gmx.de>
6071
6072         * java/net/DatagramSocket.java,
6073         java/net/MulticastSocket.java,
6074         java/net/Socket.java,
6075         java/net/URL.java,
6076         java/net/URLConnection.java:
6077         Fixed some documentation tags to make javadoc and friends happy.
6078
6079 2003-03-10  Michael Koch  <koqnueror@gmx.de>
6080
6081         * java/beans/beancontext/BeanContextServicesSupport.java,
6082         java/beans/beancontext/BeanContextSupport.java: New files.
6083         * Makefile.am
6084         (awt_source_files): Added new files.
6085         * Makefile.in: Regenerated.
6086
6087 2003-03-10  Michael Koch  <konqueror@gmx.de>
6088
6089         * java/awt/FocusTraversalPolicy.java
6090         (FocusTraversalPolicy): Documentation added.
6091         (getComponentAfter): Documentation added.
6092         (getComponentBefore): Documentation added.
6093         (getFirstComponent): Documentation added.
6094         (getLastComponent): Documentation added.
6095         (getDefaultComponent): Documentation added.
6096         (getInitialComponent): Documentation added.
6097         * java/awt/ScrollPaneAdjustable.java
6098         (sp): New member variable.
6099         (orientation): New member variable.
6100         (value): New member variable.
6101         (minimum): New member variable.
6102         (maximum): New member variable.
6103         (visibleAmount): New member variable.
6104         (unitIncrement): New member variable.
6105         (blockIncrement): New member variable.
6106         (adjustmentListener): New member variable.
6107         (ScrollPaneAdjustable): Rewrote.
6108         (addAdjustmentListener): New method.
6109         (removeAdjustmentListener): New method.
6110         (getAdjustmentListeners): New method.
6111         (getBlockIncrement): New method.
6112         (getMaximum): New method.
6113         (getMinimum): New method.
6114         (getOrientation): New method.
6115         (getUnitIncrement): New method.
6116         (getValue): New method.
6117         (getVisibleAmount): New method.
6118         (setBlockIncrement): New method.
6119         (setUnitIncrement): New method.
6120         (setMaximum): Implemented.
6121         (setMinimum): Implemented.
6122         (setValue): New method.
6123         (setVisibleAmount): Implemented.
6124         (paramString): New method.
6125         * java/awt/Window.java
6126         (show): Use setVisible(true) instead of super.show().
6127         (hide): Use sevVisible(false) instead of super.hide().
6128         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
6129         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
6130         (postEvent): Deprecated.
6131         (applyResourceBundle): Deprecated.
6132         (processWindowFocusEvent): New method.
6133         (processWindowStateEvent): New method.
6134         * java/awt/datatransfer/DataFlavor.java: Reindented.
6135         * java/awt/font/TextHitInfo.java
6136         (charIndex): New member variable.
6137         (leadingEdge): New member variable.
6138         (TextHitInfo): New constructor.
6139         (getCharIndex): Implemented.
6140         (isLeadingEdge): Implemented.
6141         (getInsertionIndex): Implemented.
6142         (hashCode): Access charIndex directly.
6143         (equals): Reformated.
6144         (leading): Implemented.
6145         (trailing): Implemented.
6146         (beforeOffset): Implemented.
6147         (afterOffset): Implemented.
6148         (getOtherHit): Implemented.
6149         (getOffsetHit): Implemented.
6150         (toString): Implemented.
6151         * java/awt/image/BufferedImage.java
6152         (BufferedImage): Implements WritableRenderedImage.
6153         (observers): New member variable.
6154         (addTileObserver): New method.
6155         (removeTileObserver): New method.
6156
6157 2003-03-09  Tom Tromey  <tromey@redhat.com>
6158
6159         PR libgcj/9934:
6160         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
6161         to lseek.  Return 0 if we can't compute the value.
6162
6163 2003-03-03  Michael Koch  <konqueror@gmx.de>
6164
6165         * java/net/NetworkInterface.java: Merged with classpath.
6166
6167 2003-03-03  Tom Tromey  <tromey@redhat.com>
6168
6169         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
6170         of bytecode.
6171         (handle_ret_insn): Fail if returning to jsr that appears at end of
6172         bytecode.
6173
6174 2003-03-03  Michael Koch  <konqueror@gmx.de>
6175
6176         * Makefile.am
6177         (ordinary_java_source_files):
6178         Added gnu/java/nio/MappedByteFileBuffer.java.
6179         (nat_source_files):
6180         Added gnu/java/nio/natMappedByteFileBuffer.cc.
6181         * Makefile.in: Regenerated.
6182
6183 2003-03-03  Michael Koch  <konqueror@gmx.de>
6184
6185         * java/net/DatagramSocket.java
6186         (connect): Merged comment from classpath.
6187         (receive): Merged documentation from classpath.
6188         * java/net/Socket.java
6189         (setSoTimeout): Clarified documentation.
6190         * java/net/URL.java
6191         (getPath): Merged from classpath.
6192         (getUserInfo): Merged from classpath.
6193         (getQuery): Merged from classpath.
6194         * java/net/URLStreamHandler.java
6195         (toExternalForm): Merged from classpath.
6196
6197 2003-03-02  Mark Wielaard  <mark@klomp.org>
6198
6199         * java/util/Properties.java (load): Only skip line if the first
6200         character is a comment, whitespaces don't count.
6201
6202 2003-03-02  Michael Koch  <konqueror@gmx.de>
6203
6204         * java/net/NetPermission.java:
6205         Merged copyright with classpath.
6206
6207 2003-03-02  Michael Koch  <konqueror@gmx.de>
6208
6209         * java/lang/Package.java:
6210         Remerged from classpath.
6211
6212 2003-03-02  Michael Koch  <konqueror@gmx.de>
6213
6214         * java/net/HttpURLConnection.java
6215         (HTTP_SERVER_ERROR): Deprecated.
6216         * java/net/MulticastSocket.java
6217         (send): Replaced checkMulticast with appropriate checkPermission call,
6218         deprecated.
6219         * java/net/URLDecoder.java
6220         (decode): Deprecated.
6221         * java/net/URLEncoder.java
6222         (encode): Deprecated.
6223
6224 2003-03-02  Michael Koch  <konqueror@gmx.de>
6225
6226         * javax/swing/text/Caret.java
6227         (getMagicCaretPosition): Fixed typo in method name.
6228         * javax/swing/text/DefaultCaret.java
6229         (getMagicCaretPosition): Fixed typo in method name.
6230
6231 2003-03-02  Michael Koch  <konqueror@gmx.de>
6232
6233         * java/awt/List.java
6234         (setMultipleSelections): Deprecated.
6235         (delItem): Deprecated.
6236         * java/awt/MenuComponent.java
6237         (getPeer): Deprecated.
6238         * java/awt/ScrollPane.java
6239         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6240         * java/awt/dnd/MouseDragGestureRecognizer.java
6241         (mouseClicked): Added comment.
6242         (mousePressed): Added comment.
6243         (mouseReleased): Added comment.
6244         (mouseEntered): Added comment.
6245         (mouseExited): Added comment.
6246         (mouseDragged): Added comment.
6247         (mouseMoved): Added comment.
6248         * java/awt/event/KeyEvent.java
6249         (KeyEvent): Deprecated.
6250         (setModifiers): Deprecated.
6251         
6252 2003-03-02  Michael Koch  <konqueror@gmx.de>
6253
6254         * gnu/java/nio/FileChannelImpl.java
6255         (fd): Type FileDescriptor instead of int.
6256         (lengthInternal): Removed.
6257         (FileChannelImpl): Fixed arguments, check type of file object.
6258         (size): Made it native.
6259         (implPosition): New native method.
6260         (implTruncate): New native method.
6261         (position): Implemented.
6262         (truncate): Implemented.
6263         (nio_mmap_file): Changed arguments.
6264         (nio_munmap_file): Changed arguments.
6265         (nio_msync): Changed arguments.
6266         * gnu/java/nio/natFileChannelImpl.cc
6267         (lengthInternal): Removed.
6268         (size): New method.
6269         (implPosition): New method.
6270         (implTruncate): New method.
6271         (nio_mmap_file): Changed arguments.
6272         (nio_munmap_file): Changed arguments.
6273         (nio_msync): Changed arguments.
6274
6275 2003-03-02  Michael Koch  <konqueror@gmx.de>
6276
6277         * java/awt/dnd/DropTargetContext.java:
6278         Compile fix: Forgot to commit import.
6279         
6280 2003-03-02  Michael Koch  <konqueror@gmx.de>
6281
6282         * java/awt/Component.java,
6283         java/awt/ScrollPane.java:
6284         Fixed typos.
6285
6286 2003-03-02  Michael Koch  <konqueror@gmx.de>
6287
6288         * java/awt/dnd/DnDEventMulticaster.java: New file.
6289         * java/awt/dnd/DragSource.java
6290         (flavorMap): New member variable.
6291         (dragSourceListener): New member variable.
6292         (dragSourceMotionListener): New member variable.
6293         (getFlavorMap): Implemented.
6294         (createDragGestureRecognizer): Implemented.
6295         (addDragSourceListener): Implemented.
6296         (removeDragSourceListener): Implemented.
6297         (getDragSourceListeners): Implemented.
6298         (addDragSourceMotionListener): Implemented.
6299         (removeDragSourceMotionListener): Implemented.
6300         (getDragSourceMotionListeners): Implemented.
6301         (getListeners): Implemented.
6302         * java/awt/dnd/DragSourceContext.java
6303         (peer): New member variable.
6304         (cursor): New member variable.
6305         (transferable): New member variable.
6306         (trigger): New member variable.
6307         (dragSourceListener): New member variable.
6308         (image): New member variable.
6309         (offset): New member variable.
6310         (DragSourceContext): Implemented.
6311         (getDragSource): Implemented.
6312         (getComponent): Implemented.
6313         (getTrigger): Implemented.
6314         (getSourceActions): Implemented.
6315         (setCursor): Implemented.
6316         (getCursor): Implemented.
6317         (addDragSourceListener): Implemented.
6318         (removeDragSourceListener): Implemented.
6319         (getTransferable): Implemented.
6320         * java/awt/dnd/DropTarget.java
6321         (DropTargetAutoScroller.component): New member variable.
6322         (DropTargetAutoScroller.point): New member variable.
6323         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
6324         (DropTargetAutoScroller.updateLocation): Implemented.
6325         (active): Renamed from isActive, defaults to true now.
6326         (component): New member variable.
6327         (flavorMap): New member variable.
6328         (actions): New member variable.
6329         (dropTargetContext): New member variable.
6330         (dropTargetListener): New member variable.
6331         (DropTarget): Implemented.
6332         (getComponent): Implemented.
6333         (setComponent): Implemented.
6334         (setDefaultActions): Implemented.
6335         (getDefaultActions): Implemented.
6336         (setActive): Use active instead of isActive.
6337         (isActive): Use active instead of isActive.
6338         (addDropTargetListener): Implemented.
6339         (removeDropTargetListener): Implemented.
6340         (getFlavorMap): Implemented.
6341         (setFlavorMap): Implemented.
6342         (getDropTargetContext): Implemented.
6343         (createDropTargetContext): Implemented.
6344         (createDropTargetAutoScroller): Implemented.
6345         * java/awt/dnd/DropTargetContext.java
6346         (TransferableProxy.getTransferDataFlavors): Implemented.
6347         (TransferableProxy.isDataFlavorSupported): Implemented.
6348         (TransferableProxy.getTransferData): Implemented.
6349         (dropTarget):  New member variable.
6350         (dtcp): New member variable.
6351         (DropTargetContext): New package private constructor.
6352         (getDropTarget): Implemented.
6353         (getComponent): Implemented.
6354         (addNotify): Implemented.
6355         (removeNotify): Implemented.
6356         (getCurrentDataFlavorsAsList): Implemented.
6357         (isDataFlavorSupported): Implemented.
6358         * java/awt/dnd/MouseDragGestureRecognizer.java
6359         (registerListeners): Implemented.
6360         (unregisterListeners): Implemented.
6361         * Makefile.am
6362         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
6363         * Makefile.in: Regenerated.
6364
6365 2003-03-02  Michael Koch  <konqueror@gmx.de>
6366
6367         * java/awt/Component.java
6368         (eventTypeEnabled): New method.
6369         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
6370         * java/awt/Container.java
6371         (changeSupport): New member variable.
6372         (addPropertyChangeListener): New methods.
6373         * java/awt/ContainerOrderFocusTraversalPolicy.java
6374         (ContainerOrderFocusTraversalPolicy): Added comment.
6375         (getComponentAfter): Throw exception, documentation added.
6376         (getComponentBefore): Throw exception, documentation added.
6377         (getFirstComponent): Throw exception, documentation added.
6378         (getLastComponent): Throw exception, documentation added.
6379         (getDefaultComponent): Throw exception, documentation added.
6380         * java/awt/EventQueue.java: Reindented.
6381         * java/awt/FocusTraversalPolicy.java:
6382         (FocusTraversalPolicy): Added comment.
6383         (getComponentAfter): Documentation added.
6384         (getComponentBefore): Documentation added.
6385         (getFirstComponent): Documentation added.
6386         (getLastComponent): Documentation added.
6387         (getDefaultComponent): Documentation added.
6388         (getInitialComponent): Documentation added.
6389         * java/awt/ScrollPane.java
6390         (wheelScrollingEnabled): New member variable.
6391         (ScrollPane): Initialize wheelScollingEnabled.
6392         (eventTypeEnabled): New method.
6393         (isWheelScrollingEnabled): New method.
6394         (setWheelScrollingEnabled): New method.
6395
6396 2003-03-02  Michael Koch  <konqueror@gmx.de>
6397
6398         * java/net/DatagramSocket.java
6399         (closed): New member variable.
6400         (close): Use closed variable.
6401         (getInetAddress): No need to call isConnected().
6402         (getPort): No need to call isConnected().
6403         (disconnect): Reset remoteAddress and remotePort, fixed typo.
6404         (isClosed): Reimplemented.
6405         
6406 2003-03-02  Michael Koch  <konqueror@gmx.de>
6407
6408         * configure.in: Added check for memory mapping of files.
6409         * configure: Regenerated.
6410         * config.h.in: Regenerated.
6411
6412 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
6413
6414         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
6415         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
6416
6417 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6418
6419         * java/io/File.java (normalizePath): Remove trailing separator
6420         on Windows only if path is not of the form "x:\".
6421
6422         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
6423         (java::io::File::attr): Change formatting a bit and use
6424         WIN32_EPOCH_MILLIS instead of magic numbers.
6425         (java::io::File::isAbsolute): Path must have at least 3 
6426         characters for a UNC network path.
6427         (java::io::File::init_native): Define.
6428         (java::io::File::performCreate): Likewise.
6429         (java::io::File::performSetReadOnly): Likewise.
6430         (java::io::File::performSetLastModified): Likewise.
6431         (java::io::File::performListRoots): Likewise.
6432
6433 2003-03-01  Tom Tromey  <tromey@redhat.com>
6434
6435         * java/lang/natObject.cc: Don't include assert.h.
6436         (heavy_lock_obj_finalization_proc): Use JvAssert.
6437         (remove_all_heavy): Likewise.
6438         (_Jv_MonitorEnter): Likewise.
6439         (_Jv_MonitorExit): Likewise.
6440         (wait): Likewise.
6441
6442 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6443
6444         * java/io/File (getAbsolutePath): Prefix drive specifier on
6445         Windows for paths starting with a '\'.
6446         (toURL): Make URL more consistent with what Sun's JDK returns.
6447
6448         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
6449         true only if the path is a UNC network path or it starts with a
6450         drive specifier.
6451
6452         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
6453         Be prepared to handle either '/' or '\\' in the file path for
6454         Windows if using the "file" protocol.
6455         Canonicalise the file path if using a relative path in the given
6456         context and the "file" protocol.
6457
6458 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
6459
6460         * java/lang/natWin32Process.cc (startProcess): Double-quote each
6461         program array element passed to CreateProcess.
6462
6463 2003-03-01  Tom Tromey  <tromey@redhat.com>
6464
6465         * java/rmi/registry/RegistryHandler.java: Deprecate.
6466
6467 2003-03-01  Tom Tromey  <tromey@redhat.com>
6468
6469         * javax/accessibility/AccessibleEditableText.java,
6470         javax/accessibility/AccessibleHyperlink.java: New versions from
6471         Classpath.
6472
6473         * gnu/java/locale/LocaleInformation_af_ZA.java,
6474         gnu/java/locale/LocaleInformation_ar_AE.java,
6475         gnu/java/locale/LocaleInformation_ar_BH.java,
6476         gnu/java/locale/LocaleInformation_ar_DZ.java,
6477         gnu/java/locale/LocaleInformation_ar_EG.java,
6478         gnu/java/locale/LocaleInformation_ar_IN.java,
6479         gnu/java/locale/LocaleInformation_ar_IQ.java,
6480         gnu/java/locale/LocaleInformation_ar_JO.java,
6481         gnu/java/locale/LocaleInformation_ar_KW.java,
6482         gnu/java/locale/LocaleInformation_ar_LB.java,
6483         gnu/java/locale/LocaleInformation_ar_LY.java,
6484         gnu/java/locale/LocaleInformation_ar_MA.java,
6485         gnu/java/locale/LocaleInformation_ar_OM.java,
6486         gnu/java/locale/LocaleInformation_ar_QA.java,
6487         gnu/java/locale/LocaleInformation_ar_SD.java,
6488         gnu/java/locale/LocaleInformation_ar_SY.java,
6489         gnu/java/locale/LocaleInformation_ar_TN.java,
6490         gnu/java/locale/LocaleInformation_ar_YE.java,
6491         gnu/java/locale/LocaleInformation_be_BY.java,
6492         gnu/java/locale/LocaleInformation_bn_IN.java,
6493         gnu/java/locale/LocaleInformation_br_FR.java,
6494         gnu/java/locale/LocaleInformation_bs_BA.java,
6495         gnu/java/locale/LocaleInformation_ca_ES.java,
6496         gnu/java/locale/LocaleInformation_cs_CZ.java,
6497         gnu/java/locale/LocaleInformation_cy_GB.java,
6498         gnu/java/locale/LocaleInformation_da_DK.java,
6499         gnu/java/locale/LocaleInformation_de_AT.java,
6500         gnu/java/locale/LocaleInformation_de_BE.java,
6501         gnu/java/locale/LocaleInformation_de_CH.java,
6502         gnu/java/locale/LocaleInformation_de_DE.java,
6503         gnu/java/locale/LocaleInformation_de_LU.java,
6504         gnu/java/locale/LocaleInformation_el_GR.java,
6505         gnu/java/locale/LocaleInformation_en_AU.java,
6506         gnu/java/locale/LocaleInformation_en_BW.java,
6507         gnu/java/locale/LocaleInformation_en_CA.java,
6508         gnu/java/locale/LocaleInformation_en_DK.java,
6509         gnu/java/locale/LocaleInformation_en_GB.java,
6510         gnu/java/locale/LocaleInformation_en_HK.java,
6511         gnu/java/locale/LocaleInformation_en_IE.java,
6512         gnu/java/locale/LocaleInformation_en_IN.java,
6513         gnu/java/locale/LocaleInformation_en_NZ.java,
6514         gnu/java/locale/LocaleInformation_en_PH.java,
6515         gnu/java/locale/LocaleInformation_en_SG.java,
6516         gnu/java/locale/LocaleInformation_en_US.java,
6517         gnu/java/locale/LocaleInformation_en_ZA.java,
6518         gnu/java/locale/LocaleInformation_en_ZW.java,
6519         gnu/java/locale/LocaleInformation_es_AR.java,
6520         gnu/java/locale/LocaleInformation_es_BO.java,
6521         gnu/java/locale/LocaleInformation_es_CL.java,
6522         gnu/java/locale/LocaleInformation_es_CO.java,
6523         gnu/java/locale/LocaleInformation_es_CR.java,
6524         gnu/java/locale/LocaleInformation_es_DO.java,
6525         gnu/java/locale/LocaleInformation_es_EC.java,
6526         gnu/java/locale/LocaleInformation_es_ES.java,
6527         gnu/java/locale/LocaleInformation_es_GT.java,
6528         gnu/java/locale/LocaleInformation_es_HN.java,
6529         gnu/java/locale/LocaleInformation_es_MX.java,
6530         gnu/java/locale/LocaleInformation_es_NI.java,
6531         gnu/java/locale/LocaleInformation_es_PA.java,
6532         gnu/java/locale/LocaleInformation_es_PE.java,
6533         gnu/java/locale/LocaleInformation_es_PR.java,
6534         gnu/java/locale/LocaleInformation_es_PY.java,
6535         gnu/java/locale/LocaleInformation_es_SV.java,
6536         gnu/java/locale/LocaleInformation_es_US.java,
6537         gnu/java/locale/LocaleInformation_es_UY.java,
6538         gnu/java/locale/LocaleInformation_es_VE.java,
6539         gnu/java/locale/LocaleInformation_et_EE.java,
6540         gnu/java/locale/LocaleInformation_eu_ES.java,
6541         gnu/java/locale/LocaleInformation_fa_IR.java,
6542         gnu/java/locale/LocaleInformation_fi_FI.java,
6543         gnu/java/locale/LocaleInformation_fo_FO.java,
6544         gnu/java/locale/LocaleInformation_fr_BE.java,
6545         gnu/java/locale/LocaleInformation_fr_CA.java,
6546         gnu/java/locale/LocaleInformation_fr_CH.java,
6547         gnu/java/locale/LocaleInformation_fr_FR.java,
6548         gnu/java/locale/LocaleInformation_fr_LU.java,
6549         gnu/java/locale/LocaleInformation_ga_IE.java,
6550         gnu/java/locale/LocaleInformation_gd_GB.java,
6551         gnu/java/locale/LocaleInformation_gl_ES.java,
6552         gnu/java/locale/LocaleInformation_gv_GB.java,
6553         gnu/java/locale/LocaleInformation_he_IL.java,
6554         gnu/java/locale/LocaleInformation_hi_IN.java,
6555         gnu/java/locale/LocaleInformation_hr_HR.java,
6556         gnu/java/locale/LocaleInformation_hu_HU.java,
6557         gnu/java/locale/LocaleInformation_id_ID.java,
6558         gnu/java/locale/LocaleInformation_it_CH.java,
6559         gnu/java/locale/LocaleInformation_it_IT.java,
6560         gnu/java/locale/LocaleInformation_iw_IL.java,
6561         gnu/java/locale/LocaleInformation_ja_JP.java,
6562         gnu/java/locale/LocaleInformation_ka_GE.java,
6563         gnu/java/locale/LocaleInformation_kl_GL.java,
6564         gnu/java/locale/LocaleInformation_ko_KR.java,
6565         gnu/java/locale/LocaleInformation_kw_GB.java,
6566         gnu/java/locale/LocaleInformation_lt_LT.java,
6567         gnu/java/locale/LocaleInformation_lv_LV.java,
6568         gnu/java/locale/LocaleInformation_mi_NZ.java,
6569         gnu/java/locale/LocaleInformation_mk_MK.java,
6570         gnu/java/locale/LocaleInformation_mr_IN.java,
6571         gnu/java/locale/LocaleInformation_mt_MT.java,
6572         gnu/java/locale/LocaleInformation_nl_BE.java,
6573         gnu/java/locale/LocaleInformation_nl_NL.java,
6574         gnu/java/locale/LocaleInformation_nn_NO.java,
6575         gnu/java/locale/LocaleInformation_no_NO.java,
6576         gnu/java/locale/LocaleInformation_oc_FR.java,
6577         gnu/java/locale/LocaleInformation_pl_PL.java,
6578         gnu/java/locale/LocaleInformation_pt_BR.java,
6579         gnu/java/locale/LocaleInformation_pt_PT.java,
6580         gnu/java/locale/LocaleInformation_ro_RO.java,
6581         gnu/java/locale/LocaleInformation_ru_RU.java,
6582         gnu/java/locale/LocaleInformation_ru_UA.java,
6583         gnu/java/locale/LocaleInformation_se_NO.java,
6584         gnu/java/locale/LocaleInformation_sk_SK.java,
6585         gnu/java/locale/LocaleInformation_sl_SI.java,
6586         gnu/java/locale/LocaleInformation_sq_AL.java,
6587         gnu/java/locale/LocaleInformation_sr_YU.java,
6588         gnu/java/locale/LocaleInformation_sv_FI.java,
6589         gnu/java/locale/LocaleInformation_sv_SE.java,
6590         gnu/java/locale/LocaleInformation_ta_IN.java,
6591         gnu/java/locale/LocaleInformation_te_IN.java,
6592         gnu/java/locale/LocaleInformation_tg_TJ.java,
6593         gnu/java/locale/LocaleInformation_tl_PH.java,
6594         gnu/java/locale/LocaleInformation_tr_TR.java,
6595         gnu/java/locale/LocaleInformation_uk_UA.java,
6596         gnu/java/locale/LocaleInformation_ur_PK.java,
6597         gnu/java/locale/LocaleInformation_uz_UZ.java,
6598         gnu/java/locale/LocaleInformation_vi_VN.java,
6599         gnu/java/locale/LocaleInformation_yi_US.java,
6600         gnu/java/locale/LocaleInformation_zh_CN.java,
6601         gnu/java/locale/LocaleInformation_zh_HK.java,
6602         gnu/java/locale/LocaleInformation_zh_SG.java,
6603         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
6604         info; from Classpath.
6605
6606         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
6607         isPaintPending): New methods.
6608         * gnu/awt/xlib/XFramePeer.java (getState, setState,
6609         setMaximizedBounds): New methods.
6610         (beginLayout, endLayout, isPaintPending): Likewise.
6611         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
6612         (requestFocus): Likewise.
6613         (isObscured): Likewise.
6614         (canDetermineObscurity): Likewise.
6615         (coalescePaintEvent): Likewise.
6616         (updateCursorImmediately): Likewise.
6617         (createVolatileImage): Likewise.
6618         (handlesWheelScrolling): Likewise.
6619         (createBuffers): Likewise.
6620         (getBackBuffer): Likewise.
6621         (flip): Likewise.
6622         (destroyBuffers): Likewise.
6623
6624         * Makefile.in: Rebuilt.
6625         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
6626         RobotPeer.java.
6627         * gnu/java/awt/GLightweightPeer.java,
6628         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6629         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6630         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6631         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6632         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6633         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6634         java/awt/dnd/peer/DragSourceContextPeer.java,
6635         java/awt/dnd/peer/DropTargetContextPeer.java,
6636         java/awt/peer/ButtonPeer.java,
6637         java/awt/peer/CheckboxMenuItemPeer.java,
6638         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
6639         java/awt/peer/ComponentPeer.java,
6640         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
6641         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
6642         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
6643         java/awt/peer/MenuBarPeer.java,
6644         java/awt/peer/MenuComponentPeer.java,
6645         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
6646         java/awt/peer/PopupMenuPeer.java,
6647         java/awt/peer/ScrollPanePeer.java,
6648         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
6649         java/awt/peer/TextComponentPeer.java,
6650         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
6651         New versions from Classpath.
6652         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
6653         * java/awt/peer/RobotPeer.java: Likewise.
6654
6655 2003-03-01  Mark Wielaard  <mark@klomp.org>
6656
6657         * java/io/ObjectInputStream.java: Reindent.
6658         * java/io/ObjectOutputStream.java: Likewise.
6659
6660 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
6661
6662         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
6663         jvalue for each argument. Simplify.
6664         * testsuite/libjava.jni/calls.c (docall),
6665         testsuite/libjava.jni/calls.java (longpb_f): check for argument
6666         misalignment.
6667
6668 2003-02-28  Mark Wielaard  <mark@klomp.org>
6669
6670         * Makefile.am (nat_source_files): Remove
6671         java/io/natObjectOutputStream.cc.
6672         * Makefile.in: Regenerated.
6673         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
6674         * java/io/ObjectStreamField.java (typename): New field.
6675         (ObjectStreamField(String, Class)): Initialize new field.
6676         (ObjectStreamField(String, String)): New Constructor.
6677         (getTypeCode): Use new field.
6678         (getTypeString): Use new field.
6679         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
6680         ObjectStreamExceptions. Remember and reset old BlockDataMode.
6681         Handle reading of Proxy classes. Never drain(), just write
6682         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
6683         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
6684         (flush): Call flush(), not just drain().
6685         (writeBoolean): Always use blockDataOutput.
6686         (writeByte): Likewise.
6687         (writeShort): Likewise.
6688         (writeChar): Likewise.
6689         (writeInt): Likewise.
6690         (writeLong): Likewise.
6691         (writeFloat): Likewise.
6692         (writeDouble): Likewise.
6693         (writeBytes): Likewise.
6694         (putfield (put(String,Object))): Throw IllegalArgumentException if
6695         field cannot be found.
6696         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
6697         (writeArraySizeAndElements): Write byte[] in one go.
6698         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
6699         set BlockDataMode to false.
6700         (annotateProxyClass): New method.
6701         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
6702         (getField): No longer native.
6703         (getMethod): Likewise.
6704         (setBlockDataMode): Always drain() on switch, return old mode.
6705         (static): New static code block.
6706         * java/io/natObjectOutputStream.cc: Removed.
6707         * java/io/ObjectInputStream.java (getField): No longer native.
6708         (getMethod): Likewise.
6709         (readObject): Remember and reset old BlockDataMode. Track whether
6710         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
6711         TC_LONGSTRING.
6712         (defaultReadObject): Set BlockDataMode to false during readFields.
6713         (resolveClass): Create new SecurityManager if necessary.
6714         Use Class.forName() if null ClassLoader found.
6715         (read(byte[],int,int): Copy remaining bytes to data before calling
6716         readNextBlock().
6717         (readFields): Set and reset BlockDataMode on call_read_method.
6718         Catch NoSuchFieldErrors.
6719         (setBlockDataMode): Return old mode.
6720         (static): New static code block.
6721         * java/io/natObjectInputStream.cc (getField): Removed.
6722         (getMethod): Likewise.
6723
6724 2003-02-27  Michael Koch  <konqueror@gmx.de>
6725
6726         * java/beans/Beans.java,
6727         java/beans/FeatureDescriptor.java
6728         java/beans/PropertyEditorManager.java:
6729         Reformated to GNU style.
6730
6731 2003-02-25  Michael Koch  <konqueror@gmx.de>
6732
6733         * gnu/java/nio/MappedByteFileBuffer.java,
6734         gnu/java/nio/natMappedByteFileBuffer.cc:
6735         New files, both are not compiled yet to get not noncompiling CVS.
6736
6737 2003-02-24  Tom Tromey  <tromey@redhat.com>
6738
6739         * java/util/prefs/AbstractPreferences.java (isUserNode):
6740         Implemented.
6741
6742 2003-02-24  Tom Tromey  <tromey@redhat.com>
6743
6744         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
6745         Deprecate.
6746         * java/lang/Thread.java (resume): Deprecate.
6747         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
6748         in @deprecated.
6749
6750 2003-02-23  Tom Tromey  <tromey@redhat.com>
6751
6752         * Makefile.in: Rebuilt.
6753         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
6754
6755 2003-02-23  Tom Tromey  <tromey@redhat.com>
6756
6757         * java/lang/natRuntime.cc (libraries_size, libraries_count,
6758         libraries): Removed.
6759         (add_library): Removed.
6760         (_load): Don't call add_library.
6761         (loadLibraryInternal): Likewise.
6762         (init): Likewise.
6763         (lookup_data): New struct.
6764         (find_symbol): New function.
6765         (_Jv_FindSymbolInExecutable): Use it.
6766
6767 2002-02-21  Anthony Green  <green@redhat.com>
6768
6769         * java/lang/Thread.java (Thread): New constructor taking stack
6770         size parameter (ignored for now).
6771         * Many methods: Merged GNU Classpath documentation.
6772
6773         * java/lang/Class.java (finalize): throws a Throwable.
6774
6775 2003-02-21  Mark Wielaard  <mark@klomp.org>
6776
6777         * java/util/zip/ZipEntry.java (setComment): Don't check length when
6778         argument is null.
6779
6780 2003-02-21  Mark Wielaard  <mark@klomp.org>
6781
6782         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
6783         then 65535 chars throw IllegalArgumentException.
6784
6785 2003-02-21  Mark Wielaard  <mark@klomp.org>
6786
6787         * java/util/zip/ZipFile.java (finalize): New method.
6788
6789 2003-02-21  Michael Koch  <konqueror@gmx.de>
6790
6791         * gnu/java/nio/natSocketChannelImpl.cc:
6792         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
6793         <cato@df.lth.se> for pointing to it.
6794
6795 2003-02-20  Raif S. Naffah <raif@fl.net.au>
6796
6797         * java/math/BigInteger.java (euclidInv): Take result array as an
6798         argument.  Updated all callers.
6799         (modInverse): Removed unused variables.
6800
6801 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
6802
6803         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6804         config.status.
6805         * configure: Rebuilt.
6806
6807 2003-02-19  Michael Koch  <konqueror@gmx.de>
6808
6809         * gnu/java/nio/natSocketChannelImpl.cc:
6810         Added support for platforms without network support.
6811
6812 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6813
6814         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
6815         after config.h.  Use <> for consistency.
6816         * java/lang/natObject.cc: Likewise.
6817         * java/lang/natRuntime.cc: Likewise.
6818         * java/lang/natSystem.cc: Likewise.
6819         * java/util/natTimeZone.cc: Likewise.
6820         * win32.cc: Likewise.
6821         * include/posix.h (fcntl, socket, connect, close, bind, accept,
6822         listen, write, read): Undef to avoid interference from OS macros.
6823
6824 2003-02-19  Michael Koch  <konqueror@gmx.de>
6825
6826         * gnu/java/nio/ByteBufferImpl.java
6827         (ByteBufferImpl): Renamed two variables.
6828         * gnu/java/nio/CharBufferImpl.java
6829         (CharBufferImpl): Renamed two variables.
6830         * gnu/java/nio/DoubleBufferImpl.java
6831         (DoubleBufferImpl): Renamed two variables.
6832         * gnu/java/nio/FloatBufferImpl.java
6833         (FloatBufferImpl): Renamed two variables.
6834         * gnu/java/nio/IntBufferImpl.java
6835         (IntBufferImpl): Renamed two variables.
6836         * gnu/java/nio/LongBufferImpl.java
6837         (LongBufferImpl): Renamed two variables.
6838         * gnu/java/nio/ShortBufferImpl.java
6839         (ShortBufferImpl): Renamed two variables.
6840         * java/nio/CharBuffer.java
6841         (wrap): Fixed arguments to CharBufferImpl constructor.
6842         (hasArray): Only not read-only buffers have backing arrays.
6843         (length): Documentation added.
6844         (subSequence): Documentation added.
6845         * java/nio/DoubleBuffer.java
6846         (hasArray): Only not read-only buffers have backing arrays.
6847         * java/nio/FloatBuffer.java
6848         (hasArray): Only not read-only buffers have backing arrays.
6849         * java/nio/IntBuffer.java
6850         (hasArray): Only not read-only buffers have backing arrays.
6851         * java/nio/LongBuffer.java
6852         (hasArray): Only not read-only buffers have backing arrays.
6853         * java/nio/ShortBuffer.java
6854         (hasArray): Only not read-only buffers have backing arrays.
6855         
6856 2003-02-19  Michael Koch  <konqueror@gmx.de>
6857
6858         * javax/accessibility/AccessibleContext.java
6859         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
6860
6861 2003-02-19  Michael Koch  <konqueror@gmx.de>
6862
6863         * java/awt/ScrollPaneAdjustable.java: Reformated.
6864
6865 2003-02-19  Michael Koch <konqueror@gmx.de>
6866
6867         * gnu/awt/j2d/Graphics2DImpl.java
6868         (getFontRenderContext): New method.
6869         (drawGlyphVector): New method.
6870         * java/awt/Graphics2D.java
6871         (getFontRenderContext): New abstract method.
6872         (drawGlyphVector): New abstract method.
6873         
6874 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
6875
6876         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
6877         if necessary.
6878         
6879         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6880         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6881         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6882         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6884         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6885         (setFont, gtkSetFont): add.
6886         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
6887         Propagate font to peer.  (setFont): add FIXME comment.
6888
6889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6890         (gtkTextGetSize): fix height, width computation.
6891
6892         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
6893         Make X font name a bit less bogus.
6894
6895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6896         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
6897
6898         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
6899         (processAdjustmentEvent): Adjust value.
6900
6901         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
6902         logic errors.
6903
6904         * java/awt/Component.java (setVisible, show, hide): Call show and
6905         hide methods in subclasses.
6906         (getPreferredSize): don't set prefSize before we have peer.
6907
6908         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
6909         Guess (0,0) if we don't have peer.
6910
6911
6912 2003-02-18  Michael Koch  <konqueror@gmx.de>
6913
6914         * java/nio/channels/FileChannel.java
6915         (toString): New implementation, added documentation.
6916         (map): Added exception documentation.
6917         (size): Added exception documentation.
6918         (write): New methods, documentation work.
6919         (read): New methods, documentation work.
6920         (implCloseChannel): Rewrote exception documentation.
6921         (force): Throws IOException, added documentation.
6922         (lock): New methods.
6923         (tryLock): New methods.
6924         (position): New methods.
6925         (transferTo): New method.
6926         (transferFrom): New method.
6927         (truncate): New method.
6928         * java/nio/channels/spi/SelectorProvider.java
6929         (provider): Implemented.
6930         * Makefile.am
6931         (ordinary_java_source_files): Added the following files:
6932         gnu/java/nio/DatagramChannelImpl.java
6933         gnu/java/nio/FileChannelImpl.java
6934         gnu/java/nio/PipeImpl.java
6935         gnu/java/nio/SelectionKeyImpl.java
6936         gnu/java/nio/SelectorImpl.java
6937         gnu/java/nio/SelectorProviderImpl.java
6938         gnu/java/nio/ServerSocketChannelImpl.java
6939         gnu/java/nio/SocketChannelImpl.java
6940         java/nio/channels/FileLock.java
6941         (nat_java_source_files): Added the following files:
6942         gnu/java/nio/natFileChannelImpl.cc
6943         gnu/java/nio/natSelectorImpl.cc
6944         gnu/java/nio/natSocketChannelImpl.cc
6945         * Makefile.in: Regenerated.
6946
6947 2003-02-17  Tom Tromey  <tromey@redhat.com>
6948
6949         * java/awt/image/ColorModel.java: Re-merged with Classpath.
6950         * java/awt/image/ImageFilter.java: Likewise.
6951
6952 2003-02-17  Raif S. Naffah <raif@fl.net.au>
6953
6954         * java/math/BigInteger.java (euclidInv): Return array of
6955         `BigInteger's.  Changed all callers.
6956
6957 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
6958
6959         * java/util/Properties.java (store): Move the code formerly in
6960         list(), into this method.
6961         (list (PrintStream)): Just call list (PrintWriter) with a 
6962         PrintWriter object constructed from the given PrintStream object.
6963         (list (PrintWriter)): Emulate the output of Properties.list()
6964         as found in JDK 1.3/1.4.
6965
6966 2003-02-17  Michael Koch  <konqueror@gmx.de>
6967
6968         * java/net/DatagramSocket.java
6969         (connect): Merged with classpath.
6970         (disconnect): Merged documentation with classpath.
6971         (receice): Merged documentation with classpath.
6972         (send): Merged documentation with classpath.
6973         
6974 2003-02-17  Michael Koch  <konqueror@gmx.de>
6975
6976         * java/awt/dnd/DragSourceContext.java
6977         (addDragSourceListener): Added documentation.
6978         * java/awt/dnd/DragSourceDragEvent.java
6979         (serialVersionUID): New member variable.
6980         (getDropAction): Reformated.
6981         * java/awt/dnd/DragSourceDropEvent.java
6982         (serialVersionUID): New member variable.
6983         (dropSuccess): Renamed from success for serialization issues.
6984         * java/awt/dnd/DragSourceEvent.java
6985         (serialVersionUID): New member variable.
6986         * java/awt/dnd/DropTarget.java
6987         (serialVersionUID): New member variable.
6988         (DropTarget): Implemented, documentation reworked.
6989         (setComponent): Documentation added.
6990         (getComponent): Documentation added.
6991         (setDefaultActions): Documentation added.
6992         (getDefaultActions): Documentation added.
6993         (addDropTargetListener): Documentation added.
6994         * java/awt/dnd/DropTargetContext.java
6995         (DropTargetContext): Documentation added.
6996         (TransferableProxy.TransferableProxy): New method.
6997         (dropComplete): Fixed documentation.
6998         (getTransferable): Fixed documentation.
6999         (createTransferableProxy): Implemented.
7000         * java/awt/dnd/DropTargetDragEvent.java
7001         (DropTargetDragEvent): Documentation added.
7002         (serialVersionUID): New member variable.
7003         (DropTargetDragEvent): Throw exceptions, documentation added.
7004         (acceptDrag): Implemented.
7005         (getCurrentDataFlavors): Implemented.3yy
7006         (getCurrentDataFlavorsAsList): Implemented.
7007         (isDataFlavorSupported): Implemented.
7008         (rejectDrag): Implemented.
7009         * java/awt/dnd/DropTargetDropEvent.java
7010         (DropTargetDropEvent): Documentation added.
7011         (serialVersionUID): New member variable.
7012         (actions): Renamed from srcActions for serialization issues.
7013         (isLocalTx): Renamed from isLocalTx for serialization issues.
7014         (DropTargetDropEvent): New implementation, throw exceptions,
7015         documentation added.
7016         (getCurrentDataFlavors): Implemented.
7017         (getCurrentDataFlavorsAsList): Implemented.
7018         (isDataFlavorSupported): Implemented.
7019         (getSourceActions): Implemented.
7020         (getDropAction): Implemented.
7021         (getTransferable): Implemented.
7022         (acceptDrop): Implemented.
7023         (rejectDrop): Implemented.
7024         * java/awt/dnd/DropTargetListener.java
7025         (drop): Fixed documentation.
7026         * java/awt/dnd/MouseDragGestureRecognizer.java
7027         (MouseDragGestureRecognizer): Documentation added.
7028
7029 2003-02-17  Michael Koch  <konqueror@gmx.de>
7030
7031         * java/awt/font/FontRenderContext.java,
7032         java/awt/font/ShapeGraphicAttribute.java,
7033         java/awt/font/MultipleMaster.java,
7034         java/awt/font/TransformAttribute.java,
7035         java/awt/font/GlyphJustificationInfo.java,
7036         java/awt/font/LineBreakMeasurer.java,
7037         java/awt/font/TextMeasurer.java,
7038         java/awt/font/TextLayout.java,
7039         java/awt/font/LineMetrics.java,
7040         java/awt/font/TextAttribute.java,
7041         java/awt/font/GlyphMetrics.java,
7042         java/awt/font/OpenType.java,
7043         java/awt/font/GlyphVector.java,
7044         java/awt/font/GraphicAttribute.java,
7045         java/awt/font/ImageGraphicAttribute.java,
7046         java/awt/font/NumericShaper.java: New files.
7047         * Makefile.am
7048         (awt_java_source_files): Added the following files:
7049         java/awt/font/FontRenderContext.java
7050         java/awt/font/ShapeGraphicAttribute.java
7051         java/awt/font/MultipleMaster.java
7052         java/awt/font/TransformAttribute.java
7053         java/awt/font/GlyphJustificationInfo.java
7054         java/awt/font/LineBreakMeasurer.java
7055         java/awt/font/TextMeasurer.java
7056         java/awt/font/TextLayout.java
7057         java/awt/font/LineMetrics.java
7058         java/awt/font/TextAttribute.java
7059         java/awt/font/GlyphMetrics.java
7060         java/awt/font/OpenType.java
7061         java/awt/font/GlyphVector.java
7062         java/awt/font/GraphicAttribute.java
7063         java/awt/font/ImageGraphicAttribute.java
7064         java/awt/font/NumericShaper.java
7065         * Makefile.in: Regenerated.
7066
7067 2003-02-17  Michael Koch  <konqueror@gmx.de>
7068
7069         * java/awt/print/Paper.java
7070         (Paper): Implements Cloneable.
7071         * java/awt/print/PrinterJob.java
7072         (setJobName): Return value must be void.
7073         (print): Throws PrinterException.
7074         
7075 2003-02-16  Tom Tromey  <tromey@redhat.com>
7076
7077         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
7078         variable.
7079
7080 2003-02-15  Michael Koch  <konqueror@gmx.de>
7081
7082         * java/awt/datatransfer/DataFlavor.java
7083         (isRepresentationClassByteBuffer): Removed try-catch block.
7084         (isRepresentationClassCharBuffer): Removed try-catch block.
7085         (isRepresentationClassReader): Removed try-catch block.
7086
7087 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7088
7089         * java/nio/charset/Charset.java
7090         (isRegistered): Fixed method args and implementation.
7091         * java/nio/charset/CharsetEncoder.java
7092         (unmappableCharacterAction): New method.
7093
7094 2003-02-15  Michael Koch  <konqueror@gmx.de>
7095
7096         * java/awt/CheckboxMenuItem.java
7097         (CheckBoxMenuItem): Dont implement Serializable.
7098         (getListeners): New method,
7099         (getItemListeners): New method.
7100         * java/awt/Choice.java
7101         (getListeners): New method,
7102         (getItemListeners): New method.
7103         * java/awt/Container.java
7104         (getListeners): Added exception documentation.
7105         (setFocusTraversalKeys): Throw exceptions, added documentattion.
7106         (getFocusTraversalKeys): Added documentation.
7107         (areFocusTraversalKeysSet): Added documentation.
7108         (applyComponentOrientation): Added documentation.
7109         * java/awt/ContainerOrderFocusTraversalPolicy.java
7110         (implicitDownCycleTraversal): Renamed from downCycle for
7111         serialization.
7112         (ContainerOrderFocusTraversalPolicy): Added documentation.
7113         (accept): Reformated.
7114         * java/awt/Dialog.java
7115         (Dialog): Dont implement Serializable.
7116         (Dialog): Added documentation.
7117         * java/awt/Font.java
7118         (Font): Dont use absolute class name.
7119         * java/awt/Frame.java
7120         (Frame): Font implement Serializable.
7121         * java/awt/List.java
7122         (getListeners): New method,
7123         (getActionListeners): New method.       
7124         (getItemListeners): New method.
7125         * java/awt/Menu.java
7126         (countItems): New deprecated method.
7127         * java/awt/Scrollbar.java
7128         (getListeners): New method,
7129         (getAdjustmentListeners): New method,
7130         * java/awt/TextComponent.java
7131         (getListeners): New method,
7132         (getTextListeners): New method,
7133         * java/awt/TextField.java
7134         (getListeners): New method,
7135         (getActionListeners): New method.       
7136         * java/awt/Window.java
7137         (windowFocusListener): New member variable.
7138         (windowStateListener): New member variable.
7139         (getWindowFocusListeners): New method.
7140         (getWindowStateListeners): New method.
7141         (addWindowFocusListener): New method.
7142         (addWindowStateListener): New method.
7143         (removeWindowFocusListener): New method.
7144         (removeWindowStateListener): New method.
7145         * java/awt/datatransfer/DataFlavor.java
7146         (isRepresentationClassByteBuffer): New method.
7147         (isRepresentationClassCharBuffer): New method.
7148         (isRepresentationClassReader): New method.
7149
7150 2003-02-14  Mark Wielaard  <mark@klomp.org>
7151
7152         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
7153         zero when there is an exponent and the significant is zero.
7154         (divide): Always set scale to newScale even in special ZERO case.
7155
7156 2003-02-14  Tom Tromey  <tromey@redhat.com>
7157
7158         * java/lang/System.java (properties): Use Properties.clone.
7159         (setProperties): Likewise.
7160
7161 2003-02-14  Michael Koch  <konqueror@gmx.de>
7162
7163         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
7164         * gnu/java/nio/ServerSocketChannelImpl.java
7165         (SocketAccept): Removed.
7166         (accept): Commented out use of SocketAccept.
7167
7168 2003-02-13  Tom Tromey  <tromey@redhat.com>
7169
7170         * verify.cc (state::seen_subrs): New field.
7171         (state::state): Initialize it.
7172         (state::clean_subrs): New method.
7173         (state::~state): Call it.
7174         (state::copy): Copy subroutine list.
7175         (state::add_subr): New method.
7176         (state::merge): Only register a change if the current subroutine
7177         hasn't yet been noted.
7178
7179 2003-02-13  Mark Wielaard  <mark@klomp.org>
7180
7181         * java/io/InputStreamReader.java (getEncoding): Return null when
7182         closed.
7183         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
7184
7185 2003-02-13  Mark Wielaard  <mark@klomp.org>
7186  
7187         * java/util/zip/InflaterInputStream.java (read): Return zero when len
7188         is zero.
7189
7190 2003-02-13  Mark Wielaard  <mark@klomp.org>
7191
7192         * java/io/BufferedOutputStream.java (write(int)): Only flush when
7193         next byte cannot be buffered.
7194
7195 2003-02-13  Michael Koch  <konqueror@gmx.de>
7196  
7197         * java/awt/Label.java
7198         (Label): Don't implement Serializable directly.
7199         (addNotify): Fixed typo in documentation.
7200         * java/awt/List.java
7201         (List): Don't implement Serializable directly.
7202         * java/awt/PopupMenu.java
7203         (PopupMenu): Don't implement Serializable directly.
7204         * java/awt/ScrollPane.java
7205         (ScrollPane): Don't implement Serializable directly.
7206         * java/awt/Scrollbar.java
7207         (Scrollbar): Don't implement Serializable directly.
7208         * java/awt/TextArea.java
7209         (preferredSize): Fixed method arguments.
7210         * java/awt/TextField.java
7211         (TextField): Don't implement Serializable directly.
7212         * java/awt/color/ICC_ColorSpace.java
7213         (fromCIOXYZ): Documentation added.
7214         (getMinValue): Documentation added.
7215         (getMaxValue): Documentation added.
7216         * java/awt/datatransfer/DataFlavor.java
7217         (isMimeTypeEqual): May not be final.
7218         (clone): Throws CloneNotSupportedException.
7219         (getReaderForText): Don't throws UnsupportedEncodingException.
7220
7221 2003-02-13  Michael Koch  <konqueror@gmx.de>
7222  
7223         * gnu/java/awt/peer/gtk/GdkGraphics.java
7224         (drawString): New stubbed method.
7225         * java/awt/Graphics.java
7226         (drawString): New method.
7227
7228 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
7229
7230         PR libgcj/9271:
7231         * java/security/SecureRandom.java (next): Avoid bias in results.
7232
7233 2003-02-13  Michael  <konqueror@gmx.de>
7234
7235         * gnu/java/nio/FileChannelImpl.java
7236         (lengthInternal): Must be native.
7237         (size): Check if channel is already closed.
7238         (implCloseChannel): Reformated.
7239         (read): w was unused, removed it.
7240         (read): Removed.
7241         (read): New method.
7242         (write): New method.
7243         (map): Check arguments.
7244         (force): Throws IOException, check if channel is closed.
7245         (transferTo): New method.
7246         (transferFrom): New method.
7247         (lock): New method.
7248         (tryLock): New method.
7249         (position): New method.
7250         (truncate): New method.
7251         (nio_mmap_file): Uncommented.
7252         (nio_munmap_file): Uncommented.
7253         (nio_msync): Uncommented.
7254         * gnu/java/nio/natFileChannelImpl.cc: New file.
7255         
7256 2003-02-13  Michael Koch  <konqueror@gmx.de>
7257
7258         * java/nio/ByteBuffer.java
7259         (endian): New member variable.
7260         (get): New methods.
7261         (equals): New method.
7262         (compareTo): New method.
7263         (order): New methods.
7264         (compact): New method.
7265         (isDirect): New method.
7266         (slice): New method.
7267         (duplicate): New method.
7268         (asReadOnlyBuffer): New method.
7269         (asCharBuffer): New method.
7270         (asDoubleBuffer): New method.
7271         (asFloatBuffer): New method.
7272         (asIntBuffer): New method.
7273         (asLongBuffer): New method.
7274         (asShortBuffer): New method.
7275         (get*): New methods.
7276         (put*): New methods.
7277         (toString): New method.
7278         * java/nio/CharBuffer.java
7279         (CharBuffer): Implement Comparable instead of Cloneable.
7280         (get): May not be final.
7281         (put): May not be final.
7282         
7283 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
7284
7285         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7286         lastIndexOf( ) instead of indexOf( ) to find the colon before
7287         the line number, because Win32 file names might contain a 
7288         drive letter and a colon at the start of an absolute path.
7289
7290 2003-02-13  Michael Koch  <konqueror@gmx.de>
7291
7292         * gnu/java/nio/natSocketChannelImpl.cc
7293         (SocketConnect): This is not implemented yet.
7294         (SocketBind): This is not implemented yet.
7295
7296 2003-02-13  Michael Koch  <konqueror@gmx.de>
7297
7298         * gnu/java/nio/natByteBufferImpl.cc,
7299         gnu/java/nio/natCharBufferImpl.cc,
7300         gnu/java/nio/natDoubleBufferImpl.cc,
7301         gnu/java/nio/natFloatBufferImpl.cc,
7302         gnu/java/nio/natIntBufferImpl.cc,
7303         gnu/java/nio/natLongBufferImpl.cc,
7304         gnu/java/nio/natShortBufferImpl.cc:
7305         Added copyright and license.
7306         * java/nio/DoubleBuffer.java,
7307         java/nio/FloatBuffer.java,
7308         java/nio/IntBuffer.java,
7309         java/nio/LongBuffer.java,
7310         java/nio/ShortBuffer.java
7311         (array): Throw exceptions.
7312         (arrayOffset): Throw exceptions.
7313
7314 2003-02-13  Michael Koch  <konqueror@gmx.de>
7315  
7316         * gnu/java/util/prefs/FileBasedFactory.java,
7317         gnu/java/util/prefs/MemmoryBasedFactory.java,
7318         gnu/java/util/prefs/MemoryBasedPreferences.java,
7319         gnu/java/util/prefs/NodeReader.java,
7320         gnu/java/util/prefs/NodeWriter.java,
7321         java/util/prefs/AbstractPreferences.java,
7322         java/util/prefs/BackingStoreException.java,
7323         java/util/prefs/InvalidPreferencesFormatException.java,
7324         java/util/prefs/NodeChangeEvent.java,
7325         java/util/prefs/NodeChangeListener.java,
7326         java/util/prefs/PreferenceChangeEvent.java,
7327         java/util/prefs/PreferenceChangeListener.java,
7328         java/util/prefs/Preferences.java,
7329         java/util/prefs/PreferencesFactory.java:
7330         New files, all merged from classpath.
7331         * Makefile.am
7332         (ordinary_java_source_files): Added the following files:
7333         gnu/java/util/prefs/FileBasedFactory.java,
7334         gnu/java/util/prefs/MemmoryBasedFactory.java,
7335         gnu/java/util/prefs/MemoryBasedPreferences.java,
7336         gnu/java/util/prefs/NodeReader.java,
7337         gnu/java/util/prefs/NodeWriter.java,
7338         (core_java_source_files): Added the following files:
7339         java/util/prefs/AbstractPreferences.java,
7340         java/util/prefs/BackingStoreException.java,
7341         java/util/prefs/InvalidPreferencesFormatException.java,
7342         java/util/prefs/NodeChangeEvent.java,
7343         java/util/prefs/NodeChangeListener.java,
7344         java/util/prefs/PreferenceChangeEvent.java,
7345         java/util/prefs/PreferenceChangeListener.java,
7346         java/util/prefs/Preferences.java,
7347         java/util/prefs/PreferencesFactory.java
7348         * Makefile.in: Regenerated.
7349  
7350 2003-02-13  Michael Koch  <konqueror@gmx.de>
7351
7352         * java/net/NetPermission.java
7353         (NetPermission): Make doucmentation match the method declaration.
7354         * java/net/NetworkInterface.java
7355         (equals): Reformated for GNU coding style.
7356         * java/net/ServerSocket.java: Merged with classpath.
7357         * java/net/Socket.java: Partly merged with classpath (Added some @since).
7358         * java/net/SocketImpl.java
7359         (localPort): Merged with classpath (initialize with -1).
7360         * java/net/SocketPermission.java: Merged with classpath (reindented).
7361         * java/net/URLDecoder.java: Merged with classpath (reindented).
7362
7363 2003-02-13  Michael Koch  <konqueror@gmx.de>
7364
7365         * java/awt/GridBagConstraints.java
7366         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
7367         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
7368         * java/awt/KeyboardFocusManager.java
7369         (setGlobalCurrentFocusCycleRoot): Must be public.
7370         * java/awt/MenuComponent.java
7371         (MenuComponent): Must be public.
7372         * java/awt/Toolkit.java:
7373         Added some empty lines to make documentation more readable.
7374         (getFontPeer): Added @deprecated.
7375         (getColorModel): Added exception documentation.
7376         (getProperty): Fixed documentation.
7377  
7378 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
7379
7380         * configure.host (alpha*-*): Default to -mieee.
7381         * configure.in (IEEESPEC): New.
7382         * libgcj.spec.in (jc1): Add IEEESPEC.
7383         * configure: Rebuild.
7384
7385 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7386
7387         * include/win32.h: Include ws2tcpip.h instead of
7388         winsock.h to obtain definition of the socklen_t type.
7389         Remove IP_TOS definition - not needed with ws2tcpip.h
7390         (_Jv_connect): Correct slight formatting error.
7391
7392 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7393
7394         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
7395         size of the arguments for a JNI function. For Win32,
7396         modify to search for all forms of possible exported
7397         names of an stdcall JNI function.
7398         (_Jv_JNIMethod::call): Modify to calculate the size
7399         of the arguments passed to a JNI function and pass
7400         it to _Jv_LookupJNIMethod.
7401
7402 2003-02-12  Michael Koch  <konqueror@gmx.de>
7403
7404         * java/nio/channels/Channels.java: New file.
7405         * Makefile.am
7406         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
7407         * Makefile.in: Regenerated.
7408
7409 2003-02-12  Michael Koch  <konqueror@gmx.de>
7410
7411         * java/nio/ByteBuffer.java
7412         (allocate): Implemented.
7413         (wrap): Implemented.
7414         * java/nio/CharBuffer.java:
7415         Some documentation added and reworked.
7416         (endian): Removed.
7417         (allocate): Implemented.
7418         (wrap): Implemented.
7419         (array): Throw exceptions.
7420         (arrayOffset): Throw exceptions.
7421         (toString): Implemented.
7422         (length): Implemented.
7423         (put): Implemented.
7424         (charAt): Implemented.
7425
7426 2003-02-11  John Leuner  <jewel@debian.org>
7427
7428         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
7429         reads from end of file.
7430
7431 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
7432
7433         * java/io/natFileDescriptorWin32.cc 
7434         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
7435         returns with Win32 error code ERROR_BROKEN_PIPE.
7436
7437 2003-02-11  Michael Koch  <konqueror@gmx.de>
7438
7439         * Makefile.in
7440         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
7441
7442 2003-02-11  Michael Koch  <konqueror@gmx.de>
7443
7444         * gnu/java/nio/ByteBufferImpl.java:
7445         Reformated and removed some code.
7446         (backing_buffer): Removed.      
7447         (array_offset): Removed.
7448         (ro): Renamed to readOnly.
7449         (ByteBufferImpl): Use parent constructor, initialize readOnly.
7450         * gnu/java/nio/CharBufferImpl.java:
7451         Reformated and removed some code.
7452         (array_offset): Removed.
7453         (ro): Renamed to readOnly.
7454         (CharBufferImpl): Use parent constructor, initialize readOnly.
7455         (inc_pos): Removed.
7456         (order): New method.
7457         * gnu/java/nio/DoubleBufferImpl.java:
7458         Reformated and removed some code.
7459         (array_offset): Removed.
7460         (ro): Renamed to readOnly.
7461         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
7462         (inc_pos): Removed.
7463         (order): New method.
7464         * gnu/java/nio/FloatBufferImpl.java:
7465         Reformated and removed some code.
7466         (array_offset): Removed.
7467         (ro): Renamed to readOnly.
7468         (FloatBufferImpl): Use parent constructor, initialize readOnly.
7469         (inc_pos): Removed.
7470         (order): New method.
7471         * gnu/java/nio/IntBufferImpl.java:
7472         Reformated and removed some code.
7473         (array_offset): Removed.
7474         (ro): Renamed to readOnly.
7475         (IntBufferImpl): Use parent constructor, initialize readOnly.
7476         (inc_pos): Removed.
7477         (order): New method.
7478         * gnu/java/nio/LongBufferImpl.java:
7479         Reformated and removed some code.
7480         (array_offset): Removed.
7481         (ro): Renamed to readOnly.
7482         (LongBufferImpl): Use parent constructor, initialize readOnly.
7483         (inc_pos): Removed.
7484         (order): New method.
7485         * gnu/java/nio/ShortBufferImpl.java:
7486         Reformated and removed some code.
7487         (array_offset): Removed.
7488         (ro): Renamed to readOnly.
7489         (ShortBufferImpl): Use parent constructor, initialize readOnly.
7490         (inc_pos): Removed.
7491         (order): New method.
7492         * Makefile.am
7493         (ordinary_java_source_files): Added the following files:
7494         gnu/java/nio/ByteBufferImpl.java
7495         gnu/java/nio/CharBufferImpl.java
7496         gnu/java/nio/DoubleBufferImpl.java
7497         gnu/java/nio/FloatBufferImpl.java
7498         gnu/java/nio/IntBufferImpl.java
7499         gnu/java/nio/LongBufferImpl.java
7500         gnu/java/nio/ShortBufferImpl.java
7501         java/nio/DoubleBuffer.java
7502         java/nio/FloatBuffer.java
7503         java/nio/IntBuffer.java
7504         java/nio/LongBuffer.java
7505         java/nio/ShortBuffer.java
7506         (nat_source_files): Added the following files:
7507         gnu/java/nio/natByteBufferImpl.cc
7508         gnu/java/nio/natCharBufferImpl.cc
7509         gnu/java/nio/natDoubleBufferImpl.cc
7510         gnu/java/nio/natFloatBufferImpl.cc
7511         gnu/java/nio/natIntBufferImpl.cc
7512         gnu/java/nio/natLongBufferImpl.cc
7513         gnu/java/nio/natShortBufferImpl.cc
7514         * Makefile.in: Regenerated.
7515
7516 2003-02-11  Michael Koch  <konqueror@gmx.de>
7517
7518         * gnu/java/nio/natCharBufferImpl.cc
7519         (nio_cast): Removed.
7520         (nio_put_*): Removed.
7521         (nio_get_*): Removed.
7522         * gnu/java/nio/natDoubleBufferImpl.cc
7523         (nio_cast): Removed.
7524         (nio_put_*): Removed.
7525         (nio_get_*): Removed.
7526         * gnu/java/nio/natFloatBufferImpl.cc
7527         (nio_cast): Removed.
7528         (nio_put_*): Removed.
7529         (nio_get_*): Removed.
7530         * gnu/java/nio/natIntBufferImpl.cc
7531         (nio_cast): Removed.
7532         (nio_put_*): Removed.
7533         (nio_get_*): Removed.
7534         * gnu/java/nio/natLongBufferImpl.cc
7535         (nio_cast): Removed.
7536         (nio_put_*): Removed.
7537         (nio_get_*): Removed.
7538         * gnu/java/nio/natShortBufferImpl.cc
7539         (nio_cast): Removed.
7540         (nio_put_*): Removed.
7541         (nio_get_*): Removed.
7542         * gnu/java/nio/SelectorProviderImpl.java
7543         (openDatagramChannel): Throws IOException.
7544         (openPipe): Throws IOException.
7545         (openSelector): Throws IOException.
7546         (openServerSocketChannel): Throws IOException.
7547         (openSocketChannel): Throws IOException.
7548         * gnu/java/nio/ServerSocketChannelImpl.java
7549         (ServerSocketChannelImpl): Throws IOException.
7550         (implCloseSelectableChannel): Throws IOException.
7551         (implConfigureBlocking): Throws IOException.
7552         * java/nio/ByteBuffer.java
7553         (readOnly): Removed.
7554         (hasArray): Use isReadOnly() instead of readOnly.
7555         (array): Use isReadOnly() instead of readOnly.
7556         (arrayOffset): Use isReadOnly() instead of readOnly.
7557         * java/nio/CharBuffer.java
7558         (CharBuffer): Implements Cloneable and CharSequence.
7559
7560 2003-02-11  Michael Koch  <konqueror@gmx.de>
7561
7562         * java/nio/DoubleBuffer.java
7563         (DoubleBuffer): Implements Comparable.
7564         (endian): Removed.
7565         (array_offset): New member variable.
7566         (DoubleBuffer): New constuctor.
7567         (get): May not be final.
7568         (put): May not be final.
7569         (arrayOffset): Implemented.
7570         (order): Made abstract.
7571         (order): Removed.
7572         (as*Buffer): Removed.
7573         (get*): Removed.
7574         (put*): Removed.
7575         * java/nio/FloatBuffer.java
7576         (FloatBuffer): Implements Comparable.
7577         (endian): Removed.
7578         (array_offset): New member variable.
7579         (FloatBuffer): New constuctor.
7580         (get): May not be final.
7581         (put): May not be final.
7582         (arrayOffset): Implemented.
7583         (order): Made abstract.
7584         (order): Removed.
7585         (as*Buffer): Removed.
7586         (get*): Removed.
7587         (put*): Removed.
7588         * java/nio/IntBuffer.java
7589         (IntBuffer): Implements Comparable.
7590         (endian): Removed.
7591         (array_offset): New member variable.
7592         (IntBuffer): New constuctor.
7593         (get): May not be final.
7594         (put): May not be final.
7595         (arrayOffset): Implemented.
7596         (order): Made abstract.
7597         (order): Removed.
7598         (as*Buffer): Removed.
7599         (get*): Removed.
7600         (put*): Removed.
7601         * java/nio/LongBuffer.java
7602         (LongBuffer): Implements Comparable.
7603         (endian): Removed.
7604         (array_offset): New member variable.
7605         (LongBuffer): New constuctor.
7606         (get): May not be final.
7607         (put): May not be final.
7608         (arrayOffset): Implemented.
7609         (order): Made abstract.
7610         (order): Removed.
7611         (as*Buffer): Removed.
7612         (get*): Removed.
7613         (put*): Removed.
7614         * java/nio/ShortBuffer.java
7615         (ShortBuffer): Implements Comparable.
7616         (endian): Removed.
7617         (array_offset): New member variable.
7618         (ShortBuffer): New constuctor.
7619         (get): May not be final.
7620         (put): May not be final.
7621         (arrayOffset): Implemented.
7622         (order): Made abstract.
7623         (order): Removed.
7624         (as*Buffer): Removed.
7625         (get*): Removed.
7626         (put*): Removed.
7627
7628 2003-02-11   Michael Koch  <konqueror@gmx.de>
7629
7630         * java/nio/channels/SelectionKey.java
7631         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
7632         values.
7633
7634 2003-02-11  Michael Koch  <konqueror@gmx.de>
7635
7636         * java/nio/channels/DatagramChannel.java
7637         (write): Throws IOException.
7638         (connect): Throws IOException.
7639         (disconnect): Throws IOException.
7640         (read): Throws IOException.
7641         (receive): Throws IOException.
7642         (send): Throws IOException.
7643         * java/nio/channels/Pipe.java
7644         (open): Throws IOException.
7645         * java/nio/channels/SelectableChannel.java
7646         (configureBlocking): Throws IOException.
7647         * java/nio/channels/ServerSocketChannel.java
7648         (accept): Throws IOException.
7649         * java/nio/channels/SocketChannel.java
7650         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
7651         GatheringByteChannel.
7652         (read): Throws IOException.
7653         (write): Throws IOException.
7654         (finishConnect): Throws IOException.
7655         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7656         (end): Throws AsynchronousCloseException.
7657         * java/nio/channels/spi/AbstractSelectableChannel.java
7658         (configureBlocking): Throws IOException.
7659         (implCloseChannel): Throws IOException.
7660         (implCloseSelectableChannel): Throws IOException.
7661         (implConfigureBlocking): Throws IOException.
7662         * java/nio/channels/spi/SelectorProvider.java
7663         (openDatagramChannel): Throws IOException.
7664         (openPipe): Throws IOException.
7665         (openSelector): Throws IOException.
7666         (openServerSocketChannel): Throws IOException.
7667         (openSocketChannel): Throws IOException.
7668
7669 2003-02-11  Michael Koch  <konqueror@gmx.de>
7670
7671         * gnu/java/nio/FileLockImpl.java,
7672         java/nio/channels/FileLock.java: New files.
7673
7674 2003-02-11  Michael Koch  <konqueror@gmx.de>
7675
7676         * java/nio/charset/IllegalCharsetNameException.java
7677         (serialVersionUID): New member variable.
7678         (charsetName): New member variable.
7679         (IllegalCharsetException): New implementation.
7680         (getCharsetName): New implementation.
7681         * java/nio/charset/UnsupportedCharsetException.java
7682         (serialVersionUID): New member variable.
7683         (charsetName): New member variable.
7684         (UnsupportedCharsetException): New implementation.
7685         (getCharsetName): New implementation.
7686
7687 2003-02-10  Tom Tromey  <tromey@redhat.com>
7688
7689         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
7690         (ex): Renamed from sqlException.
7691
7692 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
7693
7694         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
7695         method used to ensure seeding has occurred and that a specific 
7696         seed can be set and used.
7697
7698 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
7699
7700         * java/lang/Win32Process.java (destroy): Declare as native.
7701         (hasExited): New native method.
7702         (exitValue): Define.
7703         (getErrorStream): Likewise.
7704         (getInputStream): Likewise.
7705         (getOutputStream): Likewise.
7706         (waitFor): Declare as native.
7707         (startProcess): New native method.
7708         (cleanup): Likewise.
7709         (ConcreteProcess): Define.
7710         (outputStream, inputStream, errorStream): New members.
7711         (procHandle, exitCode): Likewise.
7712
7713         * java/lang/natWin32Process.cc
7714         (java::lang::ConcreteProcess::cleanup): Define.
7715         (java::lang::ConcreteProcess::destroy): Likewise.
7716         (java::lang::ConcreteProcess::hasExited): Likewise.
7717         (java::lang::ConcreteProcess::waitFor): Likewise.
7718         (new_string): Likewise.
7719         (java::lang::ConcreteProcess::startProcess): Likewise.
7720
7721 2003-02-10  Raif S. Naffah <raif@fl.net.au>
7722
7723         * java/math/BigInteger.java:
7724         Updated notice to include years 2002 and 3.
7725         Added 2 private (int) arrays with values from the HAC (Handbook of
7726         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
7727         and t[] that contains nbr. of tests --used in isProbablePrime().
7728
7729         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
7730
7731         * java/math/BigInteger.java (make(int[],int), add(int,int),
7732         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
7733         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
7734         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
7735         make(long).
7736
7737         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
7738         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
7739         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
7740         BIs and returns void.
7741         (modInverse(BI)): Use new signatures of euclidInv().
7742
7743         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
7744         static small primes instead of remainder().
7745         Use pre-computed max nbr of trials based on bitlength of BI to test.
7746         Use pre-computed small primes for the trial tests instead of random
7747         numbers.
7748
7749         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
7750         not used.
7751
7752         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
7753         invoacation of MPN.chars_per_word().  not used.
7754
7755         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
7756         local var and used where needed.
7757
7758         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
7759         Combined declaration with initialisation of locals.
7760         Removed unused var.
7761
7762         * java/math/BigInteger.java: Style changes
7763         (pow(int)): Removed 'else' keyword.
7764         (toString(int)): idem.
7765         (doubleValue()): idem.
7766         (bitLength()): idem.
7767         (equals(Object)): Use static methods name in same class w/o prepending
7768         class name.
7769         (doubleValue()): idem.
7770         (setNegative(BI)): idem.
7771         (negate()): idem.
7772         (and(BI,int)): idem.
7773         (and(BI)): idem.
7774         (gcd(BI)): idem.
7775         (byteArrayToIntArray()): Removed casting to (int). this is
7776         std. behaviour.
7777         (canonicalize()): idem.
7778         (alloc(int)): Always instantiate a new BI.
7779
7780 2003-02-10  Tom Tromey  <tromey@redhat.com>
7781
7782         * java/sql/Timestamp.java (compareTo(Object)): New method.
7783         (compareTo(Timestamp)): Likewise.
7784         (serialVersionUID): Updated.
7785
7786 2003-02-07  Mark Wielaard  <mark@klomp.org>
7787
7788         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
7789         when verify is true.
7790         (JarFile(File, boolean)): Likewise.
7791         (manifestRead): Set manifestRead field correctly.
7792
7793 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7794
7795         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
7796         tests; see patch #1016 on Savannah.
7797
7798 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7799
7800         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
7801         (toString): do not return Strings starting with . and - erroneously.
7802         Improves Mauve results to 12 of 600 instead of 16 of 338 on
7803         DiagBigDecimal.
7804
7805 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7806
7807         * java/beans/PropertyDescriptor.java
7808         (PropertyDescriptor(String, Class)): Sanity check getter and setter
7809         methods.
7810         (PropertyDescriptor(String, Class, String, String)): Likewise.
7811         (PropertyDescriptor(String, Method, Method): Factor out getter and
7812         setter method sanity checks into new method.
7813         (findMethods): Don't do parameter sanity checking of get method here.
7814         (checkMethods): New method.
7815
7816 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7817
7818         * java/beans/PropertyDescriptor.java: Reformat.
7819
7820 2003-02-04  Tom Tromey  <tromey@redhat.com>
7821
7822         * java/io/PipedOutputStream.java (flush): Declare as throwing
7823         IOException.
7824         (close): Likewise.
7825         * java/io/PipedWriter.java (close): Declare as throwing
7826         IOException.
7827         * java/io/StringWriter.java (close): Declare as throwing
7828         IOException.
7829
7830 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
7831
7832         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
7833         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
7834         could also have been exported as "JNI_OnLoad@8" (MinGW) or
7835         "_JNI_OnLoad@8" (MSVC).
7836
7837 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
7838
7839         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
7840         convention on Win32 to invoke native JNI methods.
7841
7842 2003-02-03  Andrew Haley  <aph@redhat.com>
7843
7844         * configure.host (x86_64): Enable interpreter.
7845
7846 2003-02-03  Andrew Haley  <aph@redhat.com>
7847
7848         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
7849         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
7850         * configure.in (BACKTRACESPEC): New.
7851         * configure: Regenerate.
7852
7853 2003-02-02  Tom Tromey  <tromey@redhat.com>
7854
7855         * configure: Rebuilt.
7856         * configure.in (TOOLKIT) [xlib]: Set correctly.
7857
7858         * Makefile.in: Rebuilt.
7859         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
7860         libstdc++.
7861
7862 2003-01-31  Mark WIelaard  <mark@klomp.org>
7863
7864         * Makefile.in: Rebuilt.
7865         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
7866
7867 2003-01-31  Tom Tromey  <tromey@redhat.com>
7868
7869         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
7870         cast to element type.
7871         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
7872         (_Jv_JNI_GetObjectArrayElement): Likewise.
7873
7874         * Makefile.in: Rebuilt.
7875         * Makefile.am (cond_x_ltlibrary): Renamed library to
7876         lib-gnu-awt-xlib.la.
7877         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
7878         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
7879         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
7880         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
7881         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
7882         (lib_gnu_awt_xlib_la_LINK): Likewise.
7883         (install-exec-hook): Removed.
7884         (lib-gnu-awt-xlib.la): Renamed.
7885
7886 2003-01-31  Tom Tromey  <tromey@redhat.com>
7887
7888         * aclocal.m4, configure, include/config.h.in: Rebuilt.
7889         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
7890         aclocal.m4 and lost in some merge.
7891
7892         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
7893         Don't try to find graphics configuration.
7894         * java/awt/Toolkit.java (default_toolkit_name): Use new
7895         Configuration entry.
7896         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
7897         New global.
7898         * configure: Rebuilt.
7899         * configure.in (TOOLKIT): New subst.
7900         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
7901         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
7902         directory.  Make output directories for .c files.
7903         * Makefile.in: Rebuilt.
7904         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
7905         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
7906         (all_java_source_files): Added new sources.
7907         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
7908         (gtk_c_files): New macro.
7909         (gtk_c_source_files): New macro.
7910         (cond_gtk_ltlibrary): New macro.
7911         ($(gtk_c_files)): New target.
7912         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
7913         (gtk_awt_peer_sources): New macro.
7914         (gtk_c_headers): New macro.
7915         ($(gtk_c_headers)): New target.
7916         (ACLOCAL_AMFLAGS): New macro.
7917         * gtk.m4, glib.m4, libart.m4: New files.
7918         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
7919         gnu/java/awt/peer/gtk/GdkGraphics.java,
7920         gnu/java/awt/peer/gtk/GtkArg.java,
7921         gnu/java/awt/peer/gtk/GtkArgList.java,
7922         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7923         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
7924         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
7925         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
7926         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7927         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7928         gnu/java/awt/peer/gtk/GtkClipboard.java,
7929         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7930         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7931         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7932         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7933         gnu/java/awt/peer/gtk/GtkFontPeer.java,
7934         gnu/java/awt/peer/gtk/GtkFramePeer.java,
7935         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7936         gnu/java/awt/peer/gtk/GtkImage.java,
7937         gnu/java/awt/peer/gtk/GtkImagePainter.java,
7938         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7939         gnu/java/awt/peer/gtk/GtkListPeer.java,
7940         gnu/java/awt/peer/gtk/GtkMainThread.java,
7941         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
7942         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7943         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7944         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
7945         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
7946         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
7947         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7948         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
7949         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7950         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7951         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7952         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7953         gnu/java/awt/peer/gtk/GtkToolkit.java,
7954         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7955         gnu/java/awt/peer/gtk/TestAWT.java,
7956         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
7957         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7958         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7959         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7960         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7961         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
7962         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
7963         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
7964         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
7965         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7966         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
7967         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
7968         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7969         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
7970         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
7971         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7972         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7973         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7974         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7975         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
7976         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
7977         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
7978         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
7979         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7980         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
7981         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
7982         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
7983         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
7984         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
7985         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
7986         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
7987         jni/classpath/native_state.c, jni/classpath/native_state.h,
7988         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
7989
7990 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
7991
7992         * java/util/Properties.java (load): Ignore backslash before EOF.
7993
7994 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
7995
7996         * java/lang/natClass.cc (initializeClass): Check tables when
7997         (state == JV_STATE_IN_PROGRESS).
7998         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
7999         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
8000         interpreted classes.
8001         (linkClass0): Use _Jv_WaitForState.
8002
8003 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
8004
8005         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
8006         object when finished.
8007
8008 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
8009
8010         * libjava/configure.host: Disable can_unwind_signal on darwin.
8011
8012 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
8013
8014         Fixes PR java/9254:
8015         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
8016         additionally containing id of the owner thread as well as
8017         the number of nested times the thread has acquired the mutex.
8018         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
8019         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
8020         (_Jv_MutexUnlock): Check if really the owner thread, reset
8021         owner thread id to 0 before leaving, if leaving for the last
8022         time.
8023         (_Jv_MutexLock): Set owner thread id in the mutex and increment
8024         refcount.
8025         (_Jv_ThreadYield): Yield using a call to Sleep(0).
8026         * win32-threads.cc (_Jv_CondWait): Check if really owner of
8027         the passed mutex.
8028         Pass handle of the broadcast event, instead of a pointer to it
8029         in Win32 ResetEvent( ) call.
8030         Remove incorrect return values.
8031         (_Jv_CondDestroy): Close both event handles and delete
8032         critical section.
8033         (_Jv_CondNotify): Check if really the owner thread.
8034         (_Jv_CondNotifyAll): Check if really the owner thread.
8035         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
8036         (really_start): Use SetEvent( ) to signal daemon_cond.
8037         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
8038         WaitForSingleObject( ) instead to wait for daemon_cond to be
8039         signalled.
8040
8041 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
8042
8043         * configure.in: Specifically define HAVE_BACKTRACE if building
8044         for MinGW.
8045         * include/win32.h: Remove HAVE_BACKTRACE definition.
8046         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
8047         * configure: Rebuilt.
8048
8049 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
8050
8051         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
8052         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
8053         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
8054         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
8055         * Makefile.in, configure: Rebuilt.
8056
8057 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
8058
8059         Fixes PR java/9253:
8060         * java/io/natFileWin32.cc (performList): Append only "*.*"
8061         if the canonical file path already has a "\" at the end.
8062
8063 2003-01-24  Tom Tromey  <tromey@redhat.com>
8064
8065         * defineclass.cc (handleMethodsEnd): Precompute code for static
8066         method.
8067         (handleCodeAttribute): Likewise.
8068         * resolve.cc (ncode): Use run_class for unsynchronized static
8069         methods.
8070         * include/java-interp.h (class _Jv_InterpMethod): Declare
8071         run_class.
8072         * interpret.cc (run_synch_class): Initialize class.
8073         (run) [insn_invokestatic]: Don't initialize class.
8074         [insn_anewarray]: Likewise.
8075         [insn_multianewarray]: Likewise.
8076         (run_class): New function.
8077
8078 2003-01-24  Tom Tromey  <tromey@redhat.com>
8079
8080         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
8081         comment.
8082
8083 2003-01-22  Andrew Haley  <aph@redhat.com>
8084
8085         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
8086         * configure.host (CHECKREFSPEC): Define for x86_64.
8087
8088 2003-01-21  Tom Tromey  <tromey@redhat.com>
8089
8090         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
8091         search at 2, not 3.
8092
8093 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
8094
8095         * java/io/natFileWin32.cc (isAbsolute): Check path length before
8096         looking at any characters.
8097         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
8098         be used.
8099         (isAbsolute): Check path's length as well.
8100
8101 2003-01-17  Mark Wielaard  <mark@klomp.org>
8102
8103         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
8104         (nat_source_files): Add natVMObjectStreamClass.cc.
8105         * Makefile.in: Regenerated.
8106         * gcj/javaprims.h (namespace java): Regenerated.
8107         * java/io/ObjectStreamClass.java (getClassUID): Call
8108         VMObjectStreamClass.hasClassInitializer().
8109         (hasClassInitializer): Removed.
8110         * java/io/VMObjectStreamClass.java: New class.
8111         * java/io/natVMObjectStreamClass.cc: New file.
8112         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
8113
8114 2003-01-16  Mark Wielaard  <mark@klomp.org>
8115
8116         * java/net/SocketImpl.java (toString): Don't explicitly call
8117         toString() on possible null address.
8118
8119 2003-01-16  Michael Koch  <konqueror@gmx.de>
8120
8121         * java/net/MulticastSocket.java
8122         (setInterface): Reindented.
8123
8124 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8125
8126         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
8127         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
8128         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
8129         translateY arguments.  Implement.
8130         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
8131         down translation arguments.
8132         (drawPolyline, drawPolygon): Fix incorrect tests.
8133         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
8134         translateX and translateY arguments.
8135
8136 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8137
8138         * Makefile.in: Rebuilt.
8139         * Makefile.am (xlib_includes): New macro.
8140         (INCLUDES): Use it.
8141
8142 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8143
8144         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
8145         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
8146         16-bit display mode.
8147
8148 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8149
8150         * java/awt/CardLayout.java (show): Rewrote.
8151         (gotoComponent): Removed `target' argument.  Simplified code.
8152         Don't pre-compute `choice' unless `what' is FIRST or LAST.
8153         Changed all callers.
8154         (NONE): Removed.
8155         
8156 2003-01-14  Michael Koch  <konqueror@gmx.de>
8157
8158         * java/net/InetSocketAddress.java
8159         (serialVersionUID): New member variable.
8160         * java/net/NetPermission.java
8161         (NetPermission): Dont implement java.io.Serialization directly.
8162         * java/net/SocketAddress.java:
8163         (serialVersionUID): Documentation added.
8164         
8165 2003-01-14  Michael Koch  <konqueror@gmx.de>
8166
8167         * java/awt/Label.java
8168         (Label): Implements javax.accessibility.Accessible;
8169         * java/awt/List.java
8170         (List): Implements javax.accessibility.Accessible;
8171         * java/awt/ScrollPane.java
8172         (ScrollPane): Implements javax.accessibility.Accessible;
8173         * java/awt/Scrollbar.java
8174         (Scrollbar): Implements javax.accessibility.Accessible;
8175         * java/awt/TextComponent.java
8176         (setCaretPosition): Throw exception, documentation added.
8177         * java/awt/Toolkit.java:
8178         Added some newlines in method documentations.
8179         (createButton): Exception documentation added.
8180         (createTextField): Exception documentation added.
8181         (createLabel): Exception documentation added.
8182         (createList): Exception documentation added.
8183         (createCheckbox): Exception documentation added.
8184         (createScrollbar): Exception documentation added.
8185         (createScrollPane): Exception documentation added.
8186         (createTextArea): Exception documentation added.
8187         (createChoice): Exception documentation added.
8188         (createFrame): Exception documentation added.
8189         (createWindow): Exception documentation added.
8190         (createDialog): Exception documentation added.
8191         (createMenuBar): Exception documentation added.
8192         (createMenu): Exception documentation added.
8193         (createMenuItem): Exception documentation added.
8194         (createFileDialog): Exception documentation added.
8195         (createCheckboxMenuItem): Exception documentation added.
8196         (loadSystemColors): Exception documentation added.
8197         (setDynamicLayout): Exception documentation added.
8198         (isDynamicLayoutSet): Exception documentation added.
8199         (isDynamicLayoutActive): Exception documentation added.
8200         (getScreenSize): Exception documentation added.
8201         (getScreenResolution): Exception documentation added.
8202         (getScreenInsets): Exception documentation added.
8203         (getColorModel): Exception documentation added.
8204         (getSystemClipboard): Exception documentation added.
8205         (getSystemSelection): Exception documentation added.
8206         (getMenuShortcutKeyMask): Exception documentation added.
8207         (getSystemEventQueue): Exception documentation added.
8208         * java/awt/Window.java:
8209         Reindented some code.
8210         (Window): Centralized implementation, documentation added.
8211         (finalize): Documentation added.
8212         (hide): Fixed typo in comment.
8213         (getWindowListeners): Documentation added.
8214         * java/awt/color/ColorSpace.java
8215         (toRGB): Documentation added.
8216         * java/awt/color/ICC_ColorSpace.java
8217         (ICC_ColorSpace): Documentation added.
8218         (toRGB): Throw exception, documentation added.
8219         (fromRGB): Throw exception, documentation added.
8220         (toCIEXYZ): Documentation added.
8221         (fromCIEXYZ): Documentation added.
8222         (getMinValue): Documentation added.
8223         (getMaxValue): Documentation added.
8224         * java/awt/geom/Dimension2D.java
8225         (clone): Documentation added.
8226         * java/awt/geom/GeneralPath.java
8227         (clone): Documentation added.
8228         * java/awt/geom/Line2D.java
8229         (clone): Documentation added.
8230         * java/awt/geom/QuadCurve2D.java
8231         (clone): Documentation added.
8232         * java/awt/image/ColorModel.java
8233         (ColorModel): Throw exception, documentation added.
8234         * java/awt/image/ImageFilter.java
8235         (clone): Doesnt throw CloneNotSupportedException.
8236
8237 2003-01-14  Andrew Haley  <aph@redhat.com>
8238
8239         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8240         in a try block.
8241
8242 2003-01-10  Andrew Haley  <aph@redhat.com>
8243
8244         * include/dwarf2-signal.h: Remove x86_64.
8245         * configure.host (x86_64 DIVIDESPEC): Remove.
8246         * include/x86_64-signal.h: New file.
8247         * configure.in: Regenerate.
8248
8249 2003-01-10  Michael Koch  <konqueror@gmx.de>
8250
8251         * java/net/DatagramSocket.java
8252         (ch): Description added.
8253         (remotePort): Initialize with -1.
8254         (connect): Doesnt throws SocketException.
8255         * java/net/MulticastSocket.java
8256         (setInterface): Merge with Classpath.
8257         * java/net/ServerSocket.java
8258         (closed): New member variable.
8259         (bind): Check if socket is closed.
8260         (close): Close an associated channel too, set new value to closed.
8261         (isBound): Reindented.
8262         (isClosed): Implemented.
8263         * java/net/Socket.java
8264         (closed): New member variable.
8265         (bind): Check if socket is closed.
8266         (connect): Check if socket is closed.
8267         (close): Close an associated channel too, set new value to closed.
8268         (isClosed): Implemented.
8269
8270 2003-01-10  Michael Koch  <konqueror@gmx.de>
8271
8272         * java/awt/DisplayMode.java
8273         (equals): Fixed argument type and implementation.
8274
8275 2003-01-07  Tom Tromey  <tromey@redhat.com>
8276
8277         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8278         JV_HASH_SYNCHRONIZATION.
8279         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8280         JV_HASH_SYNCHRONIZATION.
8281
8282 2003-01-07  Michael Koch  <konqueror@gmx.de>
8283  
8284         * java/net/DatagramSocket.java:
8285         Added classpath license info.
8286         (DatagramSocket): Merged description with classpath.
8287         (close): Merged description with classpath.
8288         (getChannel): Merged description with classpath.
8289         (getInetAddress): Merged description with classpath.
8290         (getPort): Merged description with classpath.
8291         (getLocalAddress): Merged description with classpath.
8292         (getLocalPort): Merged description with classpath.
8293         (getSoTimeout): Merged description with classpath.
8294         (setSoTimeout): Merged description with classpath.
8295         (getSendBufferSize): Merged description with classpath.
8296         (setSendBufferSize): Merged description with classpath.
8297         (getReceiveBufferSize): Merged description with classpath.
8298         (setReceiveBufferSize): Merged description with classpath.
8299         
8300 2003-01-04  Tom Tromey  <tromey@redhat.com>
8301
8302         * java/awt/List.java: Merged with Classpath.
8303
8304 2003-01-03  Mark Wielaard  <mark@klomp.org>
8305
8306         * java/io/FileDescriptor.java (position): New private field.
8307         * java/io/natFileDescriptorPosix.cc (write): Up position.
8308         (setLength): Use and set position.
8309         (seek): Set position.
8310         (getFilePointer): Return position.
8311         (read): Up position.
8312
8313 2003-01-03  Mark Wielaard  <mark@klomp.org>
8314
8315         Merge with Classpath:
8316         * java/io/ObjectStreamClass.java (lookup): Split method and call
8317         lookupForClassObject().
8318         (lookupForClassObject): New method.
8319         (isProxyClass): New field.
8320         (setClass): Set isProxyClass, add object to classLookupTable, set
8321         superClass and calculateOffsets.
8322         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
8323         and not a proxy class.
8324         (setFields): Set accessible true for serialPersistentFields.
8325         (getClassUID): Same for suid. And check if suid is of type long.
8326         (hasClassInitializer): Don't throw NoSuchMethodError.
8327
8328 2003-01-03  Mark Wielaard  <mark@klomp.org>
8329
8330         * java/io/FileInputStream.java (finalize): Don't explicitly
8331         finalize FileDescriptor.
8332
8333 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
8334
8335         * configure.host (sparc*-*): Enable bytecode interpreter.
8336
8337 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
8338
8339         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
8340         Don't throw RemoteException.
8341         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
8342         throw RemoteException.
8343
8344 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
8345
8346         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
8347         proxyHost): New static fields.
8348         (<clinit>): Initialize new fields.
8349         (connect): Use proxy if necessary.
8350         (usingProxy): Implement.
8351
8352 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
8353
8354         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
8355         (TreeIterator.remove): Prefer IllegalStateException over
8356         ConcurrentModificationException, to match Sun.
8357
8358 2002-12-22  Anthony Green  <green@redhat.com>
8359
8360         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
8361
8362 2003-01-02  Mark Wielaard  <mark@klomp.org>
8363
8364         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
8365         public.
8366         (HTTP_USE_PROXY): Add field.
8367         (getResponseVals): Only set responseCode when not yet explicitly
8368         set by subclass.
8369
8370 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
8371             Mark Wielaard  <mark@klomp.org>
8372
8373         * java/util/zip/ZipFile.java (entries): Now HashMap.
8374         (readLeShort(DataInput, byte[])): Read from given byte array.
8375         (readLeInt(DataInput, byte[]): Likewise.
8376         (readLeShort(byte[] b, int off)): New method.
8377         (readLeInt(byte[] b, int off)): Likewise.
8378         (readEntries): Use byte arrays to read info in bigger chunks.
8379         (getEntries): Return HashMap.
8380         (getEntry): Use HashMap.
8381         (locBuf): New private field.
8382         (checkLocalHeader): Use locBuf to read info in one chunk.
8383         (getInputStream): Use entries HashMap, wrap PartialInputStream
8384         in BufferedInputStream.
8385         (ZipEntryEnumeration): Use HashMap and Interator.
8386
8387 2003-01-02  Mark Wielaard  <mark@klomp.org>
8388             Jeroen Frijters  <jeroen@sumatra.nl>
8389
8390         * java/net/URLClassLoader.java (Resource.getCodeSource):
8391         Fix check certs == null.
8392         (getCanonicalFileURL): Removed method.
8393         (JarURLLoader): Don't call removed method.
8394         (FileURLLoader): Likewise.
8395         (FileURLLoader.getResource): Don't canonicalize file name.
8396
8397 2003-01-01  Tom Tromey  <tromey@redhat.com>
8398
8399         * Makefile.in: Rebuilt.
8400         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
8401         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
8402         java/awt/BufferCapabilities.java, java/awt/Button.java,
8403         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
8404         java/awt/Container.java, java/awt/Cursor.java,
8405         java/awt/EventQueue.java, java/awt/FileDialog.java,
8406         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
8407         java/awt/MenuBar.java, java/awt/MenuComponent.java,
8408         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
8409         java/awt/Scrollbar.java, java/awt/TextArea.java,
8410         java/awt/TextField.java, java/awt/color/CMMException.java,
8411         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
8412         java/awt/color/ProfileDataException.java,
8413         java/awt/datatransfer/Clipboard.java,
8414         java/awt/datatransfer/DataFlavor.java,
8415         java/awt/datatransfer/FlavorMap.java,
8416         java/awt/datatransfer/SystemFlavorMap.java,
8417         java/awt/dnd/DragGestureEvent.java,
8418         java/awt/dnd/DragGestureRecognizer.java,
8419         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
8420         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
8421         java/awt/im/InputMethodHighlight.java,
8422         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
8423         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
8424
8425         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
8426         `op' to BufferedImageOp.
8427
8428 2002-12-31  Tom Tromey  <tromey@redhat.com>
8429
8430         Fix for PR libgcj/7416:
8431         * javax/naming/InitialContext.java (init): Use
8432         gnu.classpath.home.url.
8433         * java/security/Security.java: Use new properties.
8434         (loadProviders): Accept base url; use it.
8435         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
8436         gnu.classpath.home.url.
8437         (gnu.classpath.home.url): Define.
8438         (gnu.classpath.vm.shortname): Likewise.
8439
8440 2002-12-31  Tom Tromey  <tromey@redhat.com>
8441             Ranjit Mathew  <rmathew@hotmail.com>
8442
8443         Fix for PR libgcj/8997:
8444         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
8445         Include platform.h.
8446         * include/posix.h (_Jv_platform_usleep): New function.
8447         * include/win32.h (_Jv_platform_usleep): New function.
8448
8449 2002-12-29  Tom Tromey  <tromey@redhat.com>
8450
8451         * gcj/javaprims.h: Updated.
8452         * scripts/classes.pl (scan): Removed stray semicolon.
8453
8454 2002-12-30  Mark Wielaard  <mark@klomp.org>
8455
8456         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
8457         if zero or smaller.
8458
8459 2002-12-30  Mark Wielaard  <mark@klomp.org>
8460
8461         * java/util/Properties (formatForOutput): Don't fall through to
8462         default case after escaping character.
8463
8464 2002-12-30  Mark Wielaard  <mark@klomp.org>
8465
8466         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8467         against count.
8468
8469 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
8470
8471         * boehm.cc: Remove stray semicolon.
8472         * interpret.cc: Likewise.
8473         * prims.cc: Likewise.
8474         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8475         earlier to ensure default arguments are processed.
8476         * gcj/array.h (JArray): Add forward declaration.
8477         (elements): Likewise.
8478         * gcj/javaprim.h: Remove stray semicolons.
8479         * include/bohm-gc.h: Likewise.
8480         * include/jni.h: Likewise.
8481         * include/jvm.h: Likewise.
8482         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8483         
8484 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
8485
8486         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8487         of catch_type.
8488         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8489         idt tables after initializing superclass.
8490         * java/lang/natClassLoader.cc (uaddr): New typedef.
8491         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8492         if they are constant pool indicies.  Don't link vtable, otable yet.
8493
8494 2002-12-21  Anthony Green  <green@redhat.com>
8495
8496         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8497         libraries.
8498         * Makefile.in: Rebuilt.
8499
8500 2002-12-19  Anthony Green  <green@redhat.com>
8501
8502         * Makefile.am (ordinary_java_source_files): Add
8503         org/xml/sax/helpers/NewInstance.java.
8504         * Makefile.in: Rebuilt.
8505         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8506         org/xml/sax/helpers/package.html: New files.
8507         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8508         http://www.saxproject.org.
8509
8510 2002-12-19  Andrew Haley  <aph@redhat.com>
8511
8512         * java/util/natResourceBundle.cc: Include
8513         ArrayIndexOutOfBoundsException.h.
8514         (getCallingClassLoader): Don't put upper bound on stack search.
8515         Catch ArrayIndexOutOfBoundsException.
8516
8517 2002-12-19  Tom Tromey  <tromey@redhat.com>
8518
8519         * libtool-version: Increased `current'.
8520
8521 2002-12-19  Tom Tromey  <tromey@redhat.com>
8522
8523         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8524         comment.
8525         * java/lang/ClassLoader.java (defineClass): Use chained
8526         exception when rethrowing.
8527         * defineclass.cc (handleClassBegin): Mark class as interpreted.
8528         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8529         constants.
8530         * resolve.cc (_Jv_PrepareMissingMethods): New function.
8531         (_Jv_PrepareClass): Use it.
8532         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8533         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8534         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8535         (Class): _Jv_PrepareMissingMethods now friend.
8536         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8537         Record `NULL' for system class loader.
8538         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
8539         system class loader.
8540         (_Jv_FindClassInCache): Likewise.
8541         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
8542         (_Jv_FindClass): Special case system class loader.
8543         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8544         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8545         vtable slots.
8546         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8547         in a final class.
8548         (_getDeclaredMethod): Don't return synthetic methods.
8549         (getDeclaredMethods): Likewise.
8550         (_getMethod): Likewise.
8551         (_getMethods): Likewise.
8552
8553 2002-12-18  Raif Naffah  <raif@fl.net.au>
8554
8555         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8556         canonical form after divide().
8557         (modInverse): Likewise.
8558
8559 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8560             Mark Wielaard  <mark@klomp.org>
8561
8562         * java/security/SecurityRandom (digest): Removed field.
8563         (SecureRandom): Check all providers for case-insensitive SecureRandom
8564         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
8565         if necessary.
8566         (getInstance(String,Provider,boolean): New method.
8567         (getInstance(String)): Use new method.
8568         (getInstance(String,String)): Likewise.
8569         (getInstance(String,Provider)): Likewise.
8570
8571 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8572
8573         * java/security/Security.java (loadProviders): Increment i only once.
8574
8575 2002-12-12  Mark Wielaard  <mark@klomp.org>
8576
8577         * java/lang/ClassLoader.java (resolveClass0): Transform
8578         ClassNotFoundException to NoClassDefFoundError. Transform all other
8579         throwables to LinkageError.
8580
8581 2002-12-11  Tom Tromey  <tromey@redhat.com>
8582
8583         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
8584
8585         * java/lang/ClassLoader.java (loadedClasses): New field.
8586         (defineClass): Fixed indentation.  Put new class in
8587         loadedClasses.
8588         (findLoadedClass): Implement here.
8589         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
8590
8591 2002-12-10  Tom Tromey  <tromey@redhat.com>
8592
8593         * Makefile.in: Rebuilt.
8594         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8595         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
8596         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
8597         * java/lang/natClassLoader.cc
8598         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
8599
8600 2002-12-10  Mark Wielaard  <mark@klomp.org>
8601             Tom Tromey  <tromey@redhat.com>
8602
8603         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
8604         (JarURLLoader): Use it.
8605         (FileURLLoader): Likewise.
8606         (JarURLResource.getURL): Use chained exception.
8607         (FileResource.getURL): Likewise.
8608         (FileURLLoader.getResource): Use canonical file name.
8609         (addURL): Indentation fix.
8610
8611 2002-12-10  Tom Tromey  <tromey@redhat.com>
8612
8613         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
8614         From Laurent Bardet <l.bardet@magic.fr>.
8615
8616 2002-12-09  Tom Tromey  <tromey@redhat.com>
8617
8618         * include/win32.h (_Jv_platform_solib_prefix): New define.
8619         (_Jv_platform_solib_suffix): Likewise.
8620         * include/posix.h (_Jv_platform_solib_prefix): New define.
8621         (_Jv_platform_solib_suffix): Likewise.
8622         * java/lang/natRuntime.cc: Include StackTrace.h.
8623         (_load): Use findLibrary and new platform defines.
8624         (nativeGetLibname): Use new platform defines.
8625
8626         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
8627         `t' won't be null.
8628
8629 2002-12-08  Mark Wielaard  <mark@klomp.org>
8630
8631         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
8632         cache remote jar files.
8633         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
8634         add File.separator to URL when it is a directory.
8635         * java/lang/ClassLoader.java: Add Classpath javadoc.
8636         (parent): final.
8637         (getParent): Add (disabled) security check.
8638         (findLibrary): New default method.
8639         * java/net/JarURLConnection.java (getManifest): Implement.
8640         (getInputStream): Only create InputStream when entry exists.
8641         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
8642         when they exist.
8643         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
8644
8645 2002-12-08  Mark Wielaard  <mark@klomp.org>
8646
8647         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
8648         (lastDefaultLocale): New field.
8649         (getBundle): When Locale.getDefault != lastDefaultLocale reset
8650         resourceBundleCache.
8651
8652 2002-12-06  Mark Wielaard  <mark@klomp.org>
8653
8654         * java/net/InetAddress.java (toString): Use hostname when not null,
8655         don't do an explicit reverse getHostName() lookup.
8656         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
8657         NullPointerException.
8658
8659 2002-12-06  Tom Tromey  <tromey@redhat.com>
8660
8661         * include/java-interp.h (class _Jv_InterpMethod): Added
8662         JV_MARKOBJ_DECL.
8663         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
8664         mark `prepared' field of interpreted method.
8665         * interpret.cc (compile): Use _Jv_AllocBytes.
8666
8667 2002-12-05  Andrew Haley  <aph@redhat.com>
8668
8669         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
8670         #ifdef (HAVE_BACKTRACE) around the whole function body.
8671
8672 2002-12-05  Tom Tromey  <tromey@redhat.com>
8673
8674         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
8675         * resolve.cc: Don't include AbstractMethodError.h.
8676         (_Jv_abstractMethodError): Removed.
8677         * defineclass.cc (handleMethodsBegin): Initialize method index to
8678         -1.
8679         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
8680         method index for "new" final method.
8681         (_Jv_SetVTableEntries): Compare index against -1 instead of using
8682         isVirtualMethod.  Added `flags' argument.
8683         (_Jv_MakeVTable): Throw exception for abstract method in concrete
8684         class.
8685
8686 2002-12-04  Tom Tromey  <tromey@redhat.com>
8687
8688         * java/net/SocketPermission.java (hashCode): Rewrote.
8689
8690 2002-12-04  Tom Tromey  <tromey@redhat.com>
8691
8692         * Makefile.in: Rebuilt.
8693         * Makefile.am (nat_source_files): Added natVMSecurityManager,
8694         natResourceBundle.
8695         * java/util/ResourceBundle.java (Security): Removed.
8696         (getCallingClassLoader): Now native.
8697         * java/util/natResourceBundle.cc: New file.
8698         * java/lang/natVMSecurityManager.cc: New file.
8699         * java/lang/VMSecurityManager.java (getClassContext): Now native.
8700
8701 2002-12-03  Mark Wielaard  <mark@klomp.org>
8702
8703         * java/util/jar/JarFile.java (manifest): Not final.
8704         (manifestRead): New field.
8705         (JarFile): Don't read Manifest in constructor.
8706         (getManifest): New method.
8707         (JarEnumeration.nextElement): Use new method.
8708         (getEntry): Likewise.
8709         * java/util/zip/ZipFile.java (name): Final.
8710         (raf): Likewsie.
8711         (entries): Change type to Hashtable.
8712         (closed): New field.
8713         (ZipFile): Don't read enties in constructor.
8714         (readEntries): Use Hashtable.
8715         (close): Set new close flag and set entries to null inside
8716         synchronized block.
8717         (entries): Contruct enumeration using new getEntries() method and
8718         entries Hashtable.
8719         (getEntryIndex): Removed.
8720         (getEntries): New method.
8721         (getEntry): Use new getEntries() method and entries Hastable.
8722         (getInputStream): Likewise.
8723         (size): Return getEntries().size().
8724         (ZipEntryEnumeration): Wrap entries Hashtable elements.
8725         * java/util/zip/ZipEntry.java (cal): Don't initialize.
8726         (time): Removed
8727         (dostime): New field.
8728         (zipFileIndex): Removed.
8729         (ZipEntry(ZipEntry)): Copy dostime.
8730         (setDOSTime): Now final and doesn't convert dos time.
8731         (getDOSTime): Likewise.
8732         (setTime): Convert dos time.
8733         (getTime): Likewise.
8734         (getCalendar): New method.
8735         (setExtra): Use setTime().
8736         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
8737
8738 2002-12-03  Tom Tromey  <tromey@redhat.com>
8739
8740         * java/lang/Character.java (forDigit): Formatting fix.
8741
8742 2002-12-03  Raif Naffah  <raif@fl.net.au>
8743
8744         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
8745         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
8746         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
8747
8748 2002-12-03  Andrew Haley  <aph@redhat.com>
8749
8750         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
8751         _Jv_PushClass.
8752         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
8753         (_Jv_PopClass): New.
8754         (_Jv_PushClass): New.
8755         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
8756         discover the ClassLoader of our caller.
8757         (_Jv_CheckArrayStore): Don't check that a class is assignment
8758         compatible with Object.
8759         * java/lang/natVMTHrowable.cc: Delete.
8760         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
8761         java.lang.VMThrowable.
8762         (StackTrace(), StackTrace(int)): New constructors.
8763         (classAt, methodAt, update, methodAtAddress): New methods.
8764         (map): New field.
8765         * java/lang/VMThrowable.java: Use StackTrace instead of
8766         natVMTHrowable.
8767         * java/lang/Class.h (getClassLoaderInternal): New.
8768         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
8769         Be friendly with gnu::gcj::runtime::StackTrace.
8770         (Object.chain): New field.
8771         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
8772         gnu::gcj::runtime::StackTrace.
8773         * gnu/gcj/runtime/natStackTrace.cc: New file.
8774         * gnu/gcj/runtime/MethodRef.java: New file.
8775         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
8776         instead of getClassLoader().
8777         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
8778         java::lang::VMThrowable.
8779         * Makefile.am (core_java_source_files): Add MethodRef.java,
8780         StackTrace.java.
8781         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
8782         * Makefile.in: Rebuild.
8783
8784 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
8785
8786         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
8787         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
8788         yes also for sh-linux* and sh[34]*-linux*.
8789         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
8790         set SIGNAL_HANDLER to use DWARF2 exception for them.
8791         * configure: Regenerate.
8792
8793 2002-12-02  Tom Tromey  <tromey@redhat.com>
8794
8795         * jni.cc: Added `name' argument.
8796         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
8797         `const char *' argument.
8798         (class _Jv_JNIEnv) [DefineClass]: Likewise.
8799
8800 2002-12-01  Tom Tromey  <tromey@redhat.com>
8801
8802         Bug compatibility, for PR libgcj/8738:
8803         * java/io/CharArrayWriter.java (close): Do nothing.
8804         (flush): Likewise.
8805         (reset): Don't touch `closed'.
8806         (write(int)): Don't throw IOException.
8807         (write(char[],int,int)): Likewise.
8808         (write(String,int,int)): Likewise.
8809         (closed): Removed.
8810
8811 2002-12-01  Mark Wielaard  <mark@klomp.org>
8812
8813         * java/lang/SecurityManager.java: Remerge comments, indenting and
8814         checkXXX methods with Classpath.
8815
8816 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
8817
8818         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
8819         getNormalizedComponents): Fix calculation which was using one too
8820         many bits in the unnormalized format.
8821
8822 2002-11-29  Gary Benson  <gbenson@redhat.com>
8823
8824         For PR libgcj/8759:
8825         * java/beans/Introspector.java (flushCaches): New method.
8826         (flushFromCaches): Likewise.
8827
8828 2002-11-29  Michael Koch <konqueror@gmx.de>
8829
8830         * java/nio/channels/DatagramChannel.java
8831         (open): Added exception documentation.
8832         (write): Added exception documentation.
8833         (connect): Added exception documentation.
8834         (disconnect): Added exception documentation.
8835         (isConnected): Added exception documentation.
8836         (read): Added exception documentation.
8837         (receive): Added exception documentation.
8838         (send): Added exception documentation.
8839         (validOps): Added exception documentation.
8840         * java/nio/channels/SocketChannel.java
8841         (open): Added exception documentation.
8842         (read): Added exception documentation.
8843         (write): Added exception documentation.
8844         (connect): Added exception documentation.
8845         (finishConnect): Added exception documentation.
8846
8847 2002-11-29  Michael Koch <konqueror@gmx.de>
8848
8849         * gnu/java/nio/DatagramChannelImpl:
8850         (fd): New member variable to store file descriptor of socket.
8851         * gnu/java/nio/SelectionKeyImpl.java:
8852         (ops): Removed.
8853         (readyOps): New member variable.
8854         (interestOps): New member variable.
8855         (readyOps): Implemented.
8856         (readyOps): New method to set member variable readyOps.
8857         (interestOps): Replaced ops by interestOps.
8858         * gnu/java/nio/SelectorImpl.java:
8859         (SelectorImpl): Initialize key sets.
8860         (select): Call select with -1 instead of Long.MAX_VALUE).
8861         (java_do_select): Make it a native method.
8862         (getFDsAsArray): New helper method.
8863         (select): Remove canceled keys, give only interested file discriptors
8864         to java_do_select, set ready ops.
8865         (add): No need to initialize keys set here.
8866         (add_selected): No need to initialize selected set here.
8867         (deregisterCanceledKeys): New helper method.
8868         (register): Set interest ops, set attachments, added handling of datagram
8869         channels.
8870         * gnu/java/nio/ServerSocketChannelImpl:
8871         (SocketAccept): Renamed from NioSocketAccept.
8872         (implConfigureBlocking): Implemented.
8873         (accept): Use SocketAccept instead of NioSocketAccept.
8874         * gnu/java/nio/SocketChannelImpl:
8875         Reactivate native methods.
8876
8877 2002-11-29  Michael Koch <konqueror@gmx.de>
8878
8879         * gnu/java/nio/natByteBufferImpl.cc,
8880         gnu/java/nio/natCharBufferImpl.cc,
8881         gnu/java/nio/natDoubleBufferImpl.cc,
8882         gnu/java/nio/natFloatBufferImpl.cc,
8883         gnu/java/nio/natIntBufferImpl.cc,
8884         gnu/java/nio/natLongBufferImpl.cc,
8885         gnu/java/nio/natSelectorImpl.cc,
8886         gnu/java/nio/natServerSocketChannelImpl.cc,
8887         gnu/java/nio/natShortBufferImpl.cc,
8888         gnu/java/nio/natSocketChannelImpl.cc:
8889         New files that implement native functionalities.
8890
8891 2002-11-29  Michael Koch <konqueror@gmx.de>
8892
8893         * gnu/java/nio/ByteBufferImpl.java
8894         (ByteBufferImpl): Moved position() after limit.
8895         (nio_*): Use native implementation.
8896         * gnu/java/nio/CharBufferImpl.java:
8897         Reformated.
8898         (endian): New member variable string endianess of buffer.
8899         (CharBufferImpl): Moved position() after limit.
8900         (nio_*): Use native implementation.
8901         (subSequence): Implemented.
8902         * gnu/java/nio/DoubleBufferImpl.java
8903         (DoubleBufferImpl): Moved position() after limit.
8904         (nio_*): Use native implementation.
8905         * gnu/java/nio/FloatBufferImpl.java
8906         Reformated.
8907         (FloatBufferImpl): Moved position() after limit.
8908         (nio_*): Use native implementation.
8909         * gnu/java/nio/IntBufferImpl.java
8910         Added needed imports, Reformated.
8911         (IntBufferImpl): Moved position() after limit.
8912         (nio_*): Use native implementation.
8913         * gnu/java/nio/LongBufferImpl.java
8914         Reformated.
8915         (LongBufferImpl): Moved position() after limit.
8916         (nio_*): Use native implementation.
8917         * gnu/java/nio/ShortBufferImpl.java
8918         Reformated.
8919         (ShortBufferImpl): Moved position() after limit.
8920         (nio_*): Use native implementation.
8921
8922 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
8923
8924         * java/util/Locale.java (toString): Improve efficiency if country
8925         and variant are both empty.
8926
8927 2002-11-26  Tom Tromey  <tromey@redhat.com>
8928
8929         * verify.cc (pop_init_ref): New method.
8930         (verify_instructions_0) [op_iaload, op_laload, op_faload,
8931         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
8932         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
8933         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
8934         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
8935         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
8936         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
8937         let `this' argument be uninitialized.  Don't let `null' be passed
8938         as `this' to construtor.
8939
8940 2002-11-26  Mark Wielaard  <mark@klomp.org>
8941
8942         * javax/transaction/HeuristicCommitException.java: Classpath merge.
8943         * javax/transaction/HeuristicMixedException.java: Likewise.
8944         * javax/transaction/HeuristicRollbackException.java: Likewise.
8945         * javax/transaction/InvalidTransactionException.java: Likewise.
8946         * javax/transaction/NotSupportedException.java: Likewise.
8947         * javax/transaction/RollbackException.java: Likewise.
8948         * javax/transaction/Status.java: Likewise.
8949         * javax/transaction/Synchronization.java: Likewise.
8950         * javax/transaction/SystemException.java: Likewise.
8951         * javax/transaction/Transaction.java: Likewise.
8952         * javax/transaction/TransactionManager.java: Likewise.
8953         * javax/transaction/TransactionRequiredException.java: Likewise.
8954         * javax/transaction/TransactionRolledbackException.java: Likewise.
8955         * javax/transaction/UserTransaction.java: Likewise.
8956         * javax/transaction/xa/XAException.java: Likewise.
8957         * javax/transaction/xa/XAResource.java: Likewise.
8958         * javax/transaction/xa/Xid.java: Likewise.
8959
8960 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
8961
8962         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
8963         define.
8964         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
8965         * include/posix.h (socklen_t): Define if not already defined.
8966
8967 2002-11-25  Tom Tromey  <tromey@redhat.com>
8968
8969         * verify.cc (type::compatible): Backed out broken change.
8970
8971         * verify.cc (type::compatible): Check initialization status
8972         first.
8973         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
8974         Don't use NULLCHECK.
8975
8976 2002-11-23  H.J. Lu <hjl@gnu.org>
8977
8978         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
8979         Include ../config/accross.m4.
8980         * aclocal.m4; Rebuild.
8981         * configure: Likewise.
8982
8983 2002-11-23  Mark Wielaard  <mark@klomp.org>
8984
8985         * javax/naming/AuthenticationException.java: Update copyright header.
8986         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
8987         * javax/naming/Binding.java: Likewise.
8988         * javax/naming/CannotProceedException.java: Likewise.
8989         * javax/naming/CommunicationException.java: Likewise.
8990         * javax/naming/CompositeName.java: Likewise.
8991         * javax/naming/CompoundName.java: Likewise.
8992         * javax/naming/ConfigurationException.java: Likewise.
8993         * javax/naming/Context.java: Likewise.
8994         * javax/naming/ContextNotEmptyException.java: Likewise.
8995         * javax/naming/InitialContext.java: Likewise.
8996         * javax/naming/InsufficientResourcesException.java: Likewise.
8997         * javax/naming/InterruptedNamingException.java: Likewise.
8998         * javax/naming/LimitExceededException.java: Likewise.
8999         * javax/naming/LinkException.java: Likewise.
9000         * javax/naming/LinkLoopException.java: Likewise.
9001         * javax/naming/LinkRef.java: Likewise.
9002         * javax/naming/MalformedLinkException.java: Likewise.
9003         * javax/naming/NameAlreadyBoundException.java: Likewise.
9004         * javax/naming/NameClassPair.java: Likewise.
9005         * javax/naming/NameNotFoundException.java: Likewise.
9006         * javax/naming/NameParser.java: Likewise.
9007         * javax/naming/NamingEnumeration.java: Likewise.
9008         * javax/naming/NamingSecurityException.java: Likewise.
9009         * javax/naming/NoInitialContextException.java: Likewise.
9010         * javax/naming/NoPermissionException.java: Likewise.
9011         * javax/naming/NotContextException.java: Likewise.
9012         * javax/naming/OperationNotSupportedException.java: Likewise.
9013         * javax/naming/PartialResultException.java: Likewise.
9014         * javax/naming/Reference.java: Likewise.
9015         * javax/naming/Referenceable.java: Likewise.
9016         * javax/naming/ReferralException.java: Likewise.
9017         * javax/naming/ServiceUnavailableException.java: Likewise.
9018         * javax/naming/SizeLimitExceededException.java: Likewise.
9019         * javax/naming/TimeLimitExceededException.java: Likewise.
9020         * javax/naming/directory/Attribute.java: Likewise.
9021         * javax/naming/directory/AttributeInUseException.java: Likewise.
9022         * javax/naming/directory/AttributeModificationException.java: Likewise.
9023         * javax/naming/directory/Attributes.java: Likewise.
9024         * javax/naming/directory/BasicAttribute.java: Likewise.
9025         * javax/naming/directory/BasicAttributes.java: Likewise.
9026         * javax/naming/directory/DirContext.java: Likewise.
9027         * javax/naming/directory/InitialDirContext.java: Likewise.
9028         * javax/naming/directory/InvalidAttributeIdentifierException.java:
9029         Likewise.
9030         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
9031         * javax/naming/directory/InvalidAttributesException.java: Likewise.
9032         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
9033         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
9034         * javax/naming/directory/ModificationItem.java: Likewise.
9035         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
9036         * javax/naming/directory/SchemaViolationException.java: Likewise.
9037         * javax/naming/directory/SearchControls.java: Likewise.
9038         * javax/naming/directory/SearchResult.java: Likewise.
9039         * javax/naming/event/EventContext.java: Likewise.
9040         * javax/naming/event/EventDirContext.java: Likewise.
9041         * javax/naming/event/NamespaceChangeListener.java: Likewise.
9042         * javax/naming/event/NamingEvent.java: Likewise.
9043         * javax/naming/event/NamingExceptionEvent.java: Likewise.
9044         * javax/naming/event/NamingListener.java: Likewise.
9045         * javax/naming/event/ObjectChangeListener.java: Likewise.
9046         * javax/naming/ldap/Control.java: Likewise.
9047         * javax/naming/ldap/ControlFactory.java: Likewise.
9048         * javax/naming/ldap/ExtendedRequest.java: Likewise.
9049         * javax/naming/ldap/ExtendedResponse.java: Likewise.
9050         * javax/naming/ldap/HasControls.java: Likewise.
9051         * javax/naming/ldap/InitialLdapContext.java: Likewise.
9052         * javax/naming/ldap/LdapContext.java: Likewise.
9053         * javax/naming/ldap/LdapReferralException.java: Likewise.
9054         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
9055         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
9056         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
9057         * javax/naming/spi/DirObjectFactory.java: Likewise.
9058         * javax/naming/spi/DirStateFactory.java: Likewise.
9059         * javax/naming/spi/DirectoryManager.java: Likewise.
9060         * javax/naming/spi/InitialContextFactory.java: Likewise.
9061         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
9062         * javax/naming/spi/NamingManager.java: Likewise.
9063         * javax/naming/spi/ObjectFactory.java: Likewise.
9064         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
9065         * javax/naming/spi/ResolveResult.java: Likewise.
9066         * javax/naming/spi/Resolver.java: Likewise.
9067         * javax/naming/spi/StateFactory.java: Likewise.
9068
9069         * javax/naming/spi/NamingManager.java (ofb): Package private.
9070
9071 2002-11-21  Mark Wielaard  <mark@klomp.org>
9072
9073         * java/net/URL.java: Merge with Classpath (partly).
9074         * java/net/URLStreamHandler: Merge with Classpath.
9075
9076 2002-11-22  Michael Koch <konqueror@gmx.de>
9077
9078         * include/posix.h:
9079         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9080         * include/win32.h:
9081         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9082         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
9083
9084 2002-11-21  Michael Koch <konqueror@gmx.de>
9085
9086         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
9087         Only the new network functions should be in it.
9088
9089 2002-11-21  Michael Koch <konqueror@gmx.de>
9090
9091         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9092         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9093
9094 2002-11-21  Michael Koch <konqueror@gmx.de>
9095
9096         * java/nio/channels/AsynchronousCloseException.java,
9097         java/nio/channels/CancelledKeyException.java,
9098         java/nio/channels/ClosedByInterruptException.java,
9099         java/nio/channels/ConnectionPendingException.java,
9100         java/nio/channels/FileLockInterruptionException.java,
9101         java/nio/channels/IllegalSelectorException.java,
9102         java/nio/channels/NoConnectionPendingException.java,
9103         java/nio/channels/NonReadableChannelException.java,
9104         java/nio/channels/NonWritableChannelException.java,
9105         java/nio/channels/NotYetBoundException.java,
9106         java/nio/channels/NotYetConnectedException.java,
9107         java/nio/channels/OverlappingFileLockException.java,
9108         java/nio/channels/UnresolvedAddressException.java,
9109         java/nio/channels/UnsupportedAddressTypeException.java:
9110         New files.
9111         * Makefile.am (ordinary_java_source_files): Added new files.
9112         * Makefile.in: Regenerated.
9113
9114 2002-11-21  Michael Koch <konqueror@gmx.de>
9115
9116         * include/posix.h
9117         (_Jv_socket): New method.
9118         (_Jv_connect): New method.
9119         (_Jv_close): New method.
9120         (_Jv_platform_close_on_exec): Prefixed system function with "::".
9121         (_Jv_bind): New method.
9122         (_Jv_listen): New method.
9123         (_Jv_write): New method.
9124         (_Jv_read): New method.
9125         * include/win32.h
9126         (_Jv_socket): New method.
9127         (_Jv_connect): New method.
9128         (_Jv_close): New method.
9129         (_Jv_bind): New method.
9130         (_Jv_listen): New method.
9131         (_Jv_write): New method.
9132         (_Jv_read): New method.
9133         * java/net/natNetworkInterface.cc:
9134         Include platform.h, removed inclusion of socket.h
9135         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
9136         ::close() by _Jv_close().
9137         * java/net/natPlainDatagramSocketImpl.cc:
9138         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
9139         added some new lines to make code more readable.
9140         (create): Replaced ::socket() by _Jv_socket().
9141         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9142         * java/net/natPlainSocketImpl.cc:
9143         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
9144         removed include of socket.h, removed some windows defines
9145         (now in include/win32.h).
9146         (create): Replaced ::socket() by _Jv_socket().
9147         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9148         (write): Replaced ::read by _Jv_write().
9149         (read): Replaced ::read by _Jv_read().
9150
9151 2002-11-20  Michael Koch <konqueror@gmx.de>
9152
9153         * Makefile.am (ordinary_java_source_files):
9154         Added java/nio/channels/FileChannel.java.
9155         * Makefile.in: Regenerated.
9156
9157 2002-11-20  Michael Koch <konqueror@gmx.de>
9158
9159         * java/io/FileInputStream.java
9160         (getChannel): New method.
9161         * java/io/FileOutputStream.java
9162         (getChannel): New method.
9163         * java/net/ServerSocket.java
9164         (bind): Removed duplicate code and called another bind method instead.
9165         * java/nio/channels/SelectionKey.java
9166         (isValid): Removed wrong exception documentation.
9167         * java/nio/channels/ServerSocketChannel.java
9168         (accept): Added exception documentation.
9169         (open): Fixed typo, added exception documentation.
9170         * java/nio/channels/spi/AbstractSelectableChannel.java
9171         (implCloseChannel): Added exception documentation.
9172         (add): Reformated.
9173         (register): Added exception documentation.
9174
9175 2002-11-20  Andreas Jaeger  <aj@suse.de>
9176
9177         * configure: Regenerated with new libtool.m4.
9178
9179 2002-11-19  Tom Tromey  <tromey@redhat.com>
9180
9181         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
9182         `referent'.
9183         (finalize_referred_to_object): Don't modify `referent' or `copy'
9184         fields.
9185         (add_to_hash): Correctly set `n->next' when updating list.
9186         * java/lang/ref/Reference.java (enqueue): Return false if already
9187         enqueued.
9188
9189 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
9190
9191         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
9192         to function and function pointer declarations in accordance with
9193         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
9194         based on whether __GCJ_JNI_IMPL__ has been defined or not.
9195         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
9196         JNI function definitions.
9197
9198 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9199
9200         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
9201         that was causing CoderResults to be cached, not WeakReferences
9202         to CoderResults.
9203
9204 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
9205
9206         * java/security/KeyStore.java (getInstance): Fix
9207         comment and throw IllegalArgumentException if
9208         given provider is null.
9209         (getInstance): New method for jdk1.4 compatibility.
9210
9211 2002-11-18  Michael Koch <konqueror@gmx.de>
9212
9213         * java/net/PlainSocketImpl.java: Fix imports.
9214
9215 2002-11-18  Michael Koch <konqueror@gmx.de>
9216
9217         * java/nio/channels/SelectionKey.java
9218         (isValid): Added exception documentation.
9219         * java/nio/channels/Selector.java
9220         (open): Declare "throws IOException".
9221
9222 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9223
9224         * java/nio/charset/Charset.java
9225         (<clinit>): New method.
9226         (encode): Synchronize use of cached encoder object.
9227         (decode): Synchronize use of cached encoder object.
9228
9229 2002-11-18  Michael Koch <konqueror@gmx.de>
9230
9231         * gnu/java/nio/ByteBufferImpl.java,
9232         gnu/java/nio/CharBufferImpl.java,
9233         gnu/java/nio/DatagramChannelImpl.java,
9234         gnu/java/nio/DoubleBufferImpl.java,
9235         gnu/java/nio/FileChannelImpl.java,
9236         gnu/java/nio/FloatBufferImpl.java,
9237         gnu/java/nio/IntBufferImpl.java,
9238         gnu/java/nio/LongBufferImpl.java,
9239         gnu/java/nio/PipeImpl.java,
9240         gnu/java/nio/SelectionKeyImpl.java,
9241         gnu/java/nio/SelectorImpl.java,
9242         gnu/java/nio/SelectorProviderImpl.java,
9243         gnu/java/nio/ServerSocketChannelImpl.java,
9244         gnu/java/nio/ShortBufferImpl.java,
9245         gnu/java/nio/SocketChannelImpl.java,
9246         java/nio/DoubleBuffer.java,
9247         java/nio/FloatBuffer.java,
9248         java/nio/IntBuffer.java,
9249         java/nio/LongBuffer.java,
9250         java/nio/ShortBuffer.java,
9251         java/nio/channels/FileChannel.java: New files.
9252
9253 2002-11-18  Michael Koch <konqueror@gmx.de>
9254
9255         * Makefile.am (ordinary_java_source_files):
9256         Added java/nio/ReadOnlyBufferException.java and
9257         java/nio/channels/ClosedSelectorException.java.
9258         * Makefile.in: Regenerated.
9259
9260 2002-11-18  Michael Koch <konqueror@gmx.de>
9261
9262         * java/net/PlainSocketImpl.java: Reworked imports.
9263         * java/net/ServerSocket.java
9264         (ServerSocket): Create socket.
9265         * java/net/SocketAddress.java: Documentation added.
9266         * java/net/natPlainSocketImpl.cc: Reindented.
9267         * java/nio/ReadOnlyBufferException.java: New file
9268         * java/nio/channels/ClosedChannelException.java: Documentation added.
9269         * java/nio/channels/ClosedSelectorException.java: New file.
9270
9271 2002-11-17  Mark Wielaard  <mark@klomp.org>
9272
9273         * java/net/HttpURLConnection.java ((getPermission): Take port
9274         into consideration.
9275         (getErrorStream): Implement.
9276
9277 2002-11-17  Mark Wielaard  <mark@klomp.org>
9278
9279         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9280
9281 2002-11-16  Mark Wielaard  <mark@klomp.org>
9282
9283         Integrate work by Raif S. Naffah (raif@fl.net.au)
9284         * java/security/DummyKeyPairGenerator.java (clone): New method.
9285         * java/security/DummyMessageDigest.java (clone): New method.
9286         (engineUpdate): Now public.
9287         (engineReset): Likewise.
9288         (engineDigest): Likewise.
9289         (engineGetDigestLength): New method.
9290         * java/security/DummySignature.java (clone): New method.
9291         * java/security/KeyPairGenerator.java (provider): Now package private.
9292         (getInstance(String)): Use getInstance(String,Provider).
9293         (getInstance(String,String): Use getInstance(String,Provider)
9294         (getInstance(String,Provider): New method.
9295         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9296         * java/security/KeyPairGeneratorSpi.java (clone): New method.
9297         * java/security/MessageDigest.java (provider): Now package private.
9298         (getInstance(String): Use getInstance(String,Provider).
9299         (getInstance(String,String): Use getInstance(String,Provider)
9300         (getInstance(String,Provider): New method.
9301         * java/security/Provider.java (toCanonicalKey): New method.
9302         (get): New method that uses toCanonicalKey().
9303         (put): Use toCanonicalKey().
9304         (remove): Likewise.
9305         * java/security/Security.java (insertProviderAt): Provider index is one
9306         based, not zero based.
9307         (addProvider): Likewise.
9308         (removeProvider): Likewise.
9309         * java/security/Signature.java (provider): Now package private.
9310         (getInstance(String)): Use getInstance(String,Provider).
9311         (getInstance(String,String): Use getInstance(String,Provider)
9312         (getInstance(String,Provider): New method.
9313         (getInstance(String,String,Provider): Don't cast DummySignature.
9314
9315 2002-11-15  Tom Tromey  <tromey@redhat.com>
9316
9317         For PR libgcj/8593:
9318         * java/util/zip/GZIPInputStream.java (read): Check file size.
9319         Look in inflater for remaining input bytes.
9320         (read4): Added buf and offset arguments.
9321
9322 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
9323
9324         * java/applet/AppletContext.java: Fix typo and remove redundant
9325         modifiers.
9326
9327 2002-11-14  Tom Tromey  <tromey@redhat.com>
9328
9329         * java/lang/natRuntime.cc (insertSystemProperties): Set
9330         gnu.classpath.home.
9331
9332 2002-11-13  Michael Koch <konqueror@gmx.de>
9333
9334         * java/nio/ByteBuffer.java
9335         (allocate): New method.
9336         (wrap): New method.
9337         (put): New method.
9338         (get): New method.
9339
9340 2002-11-13  Michael Koch <konqueror@gmx.de>
9341
9342         * java/nio/channels/AlreadyConnectedException.java:
9343         Removed unneeded import.
9344         (AlreadyConnectedException): Documentation added.
9345         * java/nio/channels/Pipe.java
9346         (SinkChannel.SinkChannel): Documentation added.
9347         (SinkChannel.validOps): New method.
9348         (SourceChannel.SourceChannel): Documentation added.
9349         (SourceChannel.validOps): New method.
9350         (Pipe): Documentation added.
9351         (open): Documentation added.
9352         (SinkChannel.channel): Documentation added.
9353         (SourceChannel.channel): Documentation added.
9354         * java/nio/channel/SelectableChannel.java
9355         (SelectableChannel): Documentation added.
9356         (blockingLock): Documentation added.
9357         (configureBlocking):Documentation added.
9358         (isBlocking):Documentation added.
9359         (isRegistered):Documentation added.
9360         (keyFor):Documentation added.
9361         (provider):Documentation added.
9362         (register): Documentation added.
9363         (validOps): Documentation added.
9364         * jaba/nio/channels/SelectionKey.java
9365         (SelectionKey): Documentation added.
9366         (attach): Documentation added.
9367         (attachment): Documentation added.
9368         (isAcceptable): Documentation added.
9369         (isConnetable): Documentation added.
9370         (isReadable): Documentation added.
9371         (isWritable): Documentation added.
9372         (cancel): Documentation added.
9373         (channel): Documentation added.
9374         (interestOps): Documentation added.
9375         (isValid): Documentation added.
9376         (readyOps): Documentation added.
9377         (selector): Documentation added.
9378         * jaba/nio/channels/Selector.java
9379         (Selector): Documentation added.
9380         (open): Documentation added.
9381         (close): Documentation added.
9382         (isOpen): Documentation added.
9383         (keys): Documentation added.
9384         (provider): Documentation added.
9385         (select): Documentation added.
9386         (selectedKeys): Documentation added.
9387         (selectNow): Documentation added.
9388         (wakeup): Documentation added.
9389         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9390         (AbstractInterruptibleChannel): Documentation added.
9391         (opened): Default to true;
9392         (begin): Documentation added.
9393         (close): Set opened to false, documentation added.
9394         (isOpen): Documentation added.
9395         * java/nio/channels/spi/AbstractSelectionKey.java
9396         (AbstractSelectionKey): Documentation added.
9397         (cancel): Documentation added.
9398         (isValid): Documentation added.
9399         * java/nio/channels/spi/AbstractSelector.java
9400         (AbstractSelector): Documentation added.
9401         (begin): Documentation added.
9402         (close): Documentation added.
9403         (isOpen): Documentation added.
9404         (deregister): Documentation added.
9405         (end): Documentation added.
9406         (provider): Documentation added.
9407         (implCloseSelector): Documentation added.
9408         (register): Documentation added.
9409         * java/nio/channels/spi/SelectorProvider.java
9410         (SelectorProvider): Documentation added.
9411         (openDatagramChannel): Documentation added.
9412         (openPipe): Documentation added.
9413         (openSelector): Documentation added.
9414         (openServerSocketChannel): Documentation added.
9415         (openSocketChannel): Documentation added.
9416         (provider): Documentation added.
9417
9418 2002-11-12  Michael Koch <konqueror@gmx.de>
9419
9420         * java/nio/Buffer.java: Implemented.
9421         * java/nio/CharBuffer.java: New file.
9422         * java/nio/InvalidMarkException.java: New file.
9423         * java/nio/channels/DatagramChannel.java: Implemented.
9424         * java/nio/channels/ServerSocketChannel.java: Implemented.
9425         * java/nio/channels/SocketChannel.java: Implemented.
9426         * java/nio/channels/spi/AbstractChannel.java: Removed.
9427         * java/nio/channels/spi/AbstractSelectableChannel.java:
9428         Implemented.
9429         * java/nio/charset/Charset.java:
9430         Merge from Classpath.
9431         * java/nio/charset/CharsetDecoder.java: New file.
9432         * java/nio/charset/CharsetEncoder.java: New file.
9433         * java/nio/charset/CoderResult.java: New file.
9434         * Makefile.am (ordinary_java_source_files): Added new files.
9435         * Makefile.in: Regenerated.
9436
9437 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9438
9439         * gnu/java/nio/charset/ISO_8859_1.java,
9440         gnu/java/nio/charset/Provider.java,
9441         gnu/java/nio/charset/US_ASCII.java,
9442         gnu/java/nio/charset/UTF_16.java,
9443         gnu/java/nio/charset/UTF_16BE.java,
9444         gnu/java/nio/charset/UTF_16Decoder.java,
9445         gnu/java/nio/charset/UTF_16Encoder.java,
9446         gnu/java/nio/charset/UTF_16LE.java,
9447         gnu/java/nio/charset/UTF_8.java: New files.
9448
9449 2002-11-11  Michael Koch <konqueror@gmx.de>
9450
9451         * java/nio/charset/CharacterCodingException.java:
9452         This class must be public.
9453         * java/nio/charset/CoderMalfunctionError.java:
9454         This class must be public.
9455         * java/nio/charset/CodingErrorAction.java:
9456         This class must be public.
9457         * java/nio/charset/IllegalCharsetNameException.java:
9458         This class must be public, better implementation.
9459         * java/nio/charset/MalformedInputException.java:
9460         This class must be public, better implementation.
9461         * java/nio/charset/UnmappableCharacterException.java:
9462         This class must be public, better implementation.
9463         * java/nio/charset/UnsupportedCharsetException.java:
9464         This class must be public, better implementation.
9465
9466 2002-11-11  Michael Koch <konqueror@gmx.de>
9467
9468         * java/nio/BufferOverflowException.java,
9469         java/nio/BufferUnderflowException.java: New file.
9470         * Makefile.am (ordinary_java_source_files):
9471         Added new files.
9472         * Makefile.in: Regenerated.
9473
9474 2002-11-10  Tom Tromey  <tromey@redhat.com>
9475
9476         * java/awt/Container.java (validate): Use tree lock.
9477         (getComponent): Likewise.
9478         (getComponents): Likewise.
9479         (addImpl): Likewise.
9480         (remove): Likewise.
9481         (removeAll): Likewise.
9482         (processEvent): Fixed indentation.
9483         (getComponentAt): Use tree lock.
9484         (findComponentAt): Likewise.
9485         (removeNotify): Likewise.
9486         (isAncestorOf): Likewise.
9487         (list): Likewise.
9488         (visitChildren): Likewise.
9489         (findNextFocusComponent): Likewise.
9490         (addNotifyContainerChildren): Likewise.
9491         (getAccessibleChildrenCount): Likewise.
9492         (getAccessibleChild): Likewise.
9493
9494         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9495         (getSize): Likewise.
9496         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9497         (getSize): Likewise.
9498         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9499         (calcSize): Likewise.
9500         * java/awt/CardLayout.java (getSize): Use tree lock.
9501         (gotoComponent): Likewise.
9502         (layoutContainer): Likewise.
9503
9504         * java/io/natFileDescriptorWin32.cc (read): Handle case where
9505         count is 0.
9506         * java/io/natFileDescriptorPosix.cc (read): Handle case where
9507         count is 0.
9508
9509         * java/io/Externalizable.java, java/io/FilePermission.java,
9510         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9511         java/io/SerializablePermission.java, java/text/Format.java,
9512         java/util/AbstractMap.java, java/util/HashMap.java,
9513         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9514         versions from Classpath.
9515
9516 2002-11-10  Anthony Green  <green@redhat.com>
9517
9518         * java/util/jar/Attributes.java (Name): Fix name check.
9519
9520 2002-11-10  Mark Wielaard  <mark@klomp.org>
9521
9522         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9523         with getName() as message.
9524         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9525         type as message.
9526
9527         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9528         unused.
9529
9530 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
9531
9532         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9533         for Win32. JNICALL has been defined to __stdcall to be compatible
9534         with Sun's JDKs.
9535
9536 2002-11-10  Tom Tromey  <tromey@redhat.com>
9537
9538         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9539         (setRows): Check newRows, not rows.
9540
9541         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9542
9543 2002-11-09  Tom Tromey  <tromey@redhat.com>
9544
9545         * java/applet/Applet.java, java/applet/AppletContext.java,
9546         java/applet/AppletStub.java, java/applet/AudioClip.java,
9547         java/awt/CardLayout.java,
9548         java/awt/ContainerOrderFocusTraversalPolicy.java,
9549         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9550         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9551         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9552         java/awt/color/ICC_ColorSpace.java,
9553         java/awt/color/ICC_Profile.java,
9554         java/awt/color/ICC_ProfileGray.java,
9555         java/awt/color/ICC_ProfileRGB.java,
9556         java/awt/datatransfer/DataFlavor.java,
9557         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9558         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9559         New versions from Classpath.
9560         * Makefile.in: Rebuilt.
9561         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9562         ICC_ProfileRGB.
9563
9564         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
9565         display policy.
9566
9567         * java/awt/List.java (processEvent): Added missing `else's.
9568
9569         * java/awt/Window.java (show): validate() before showing.  Make
9570         parent displayable.
9571         (isDisplayable): New method.
9572
9573 2002-11-07  Mark Wielaard  <mark@klomp.org>
9574
9575         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
9576         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
9577
9578         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
9579         annotation.
9580         (loadClass): Take String as codebases.
9581         (getClassAnnotation): Use MyClassLoader annotations.
9582         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
9583         call exportObject(this).
9584
9585         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9586         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
9587         (setAnnotation): Don't set locBytesStream and locStream.
9588         (replaceObject): Removed.
9589         (flush): Don't test locStream.
9590         (getLocBytes): LikeWise.
9591         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
9592         (leaseCache): New field.
9593         (dirty): Use leaseCache.
9594         (LeaseRecord): New inner class.
9595         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
9596         explicitly call exportObject().
9597         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
9598         false to communicate with Sun JDK130.
9599         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
9600         * gnu/java/rmi/server/RMIObjectInputStream.java
9601         (UnicastConnectionManager): Removed field.
9602         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
9603         Use UnicastServer.getExportedRef().
9604         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
9605         (expireTime): Likewise.
9606         (CONNECTION_TIMEOUT): Likewise.
9607         (disconnect): Call sock.close().
9608         (isExpired): New method.
9609         (resetTime): Likewise.
9610         (run): Use do while loop and catch Exception for discardConnection().
9611         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
9612         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
9613         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
9614         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
9615         (exportObject): Use refcache.
9616         (unexportObject): Likewise.
9617         (getExportedRef): New method.
9618         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
9619         constructor.
9620         (exportObject): Save manager.serverobj.
9621         (getStub): New method.
9622
9623 2002-11-07  Mark Wielaard  <mark@klomp.org>
9624
9625         * java/lang/reflect/natField.cc (getBoolean): Use getType().
9626         (getByte): Likewise.
9627         (getShort): Likewise.
9628         (getInt): Likewise.
9629         (getLong): Likewise.
9630         (getFloat): Likewise.
9631         (getDouble): Likewise.
9632         (get): Likewise.
9633         (setChar): Likewise.
9634         (setByte): Likewise.
9635         (setShort): Likewise.
9636         (setInt): Likewise.
9637         (setLong): Likewise.
9638         (setFloat): Likewise.
9639         (setDouble): Likewise.
9640
9641 2002-11-07  Michael Koch <konqueror@gmx.de>
9642
9643         * java/awt/Choice.java,
9644         java/awt/Container.java,
9645         java/awt/GridBagLayout.java:
9646         Fixed documentation.
9647         * java/awt/peer/ContainerPeer.java:
9648         Reindented.
9649
9650 2002-11-07  Michael Koch <konqueror@gmx.de>
9651
9652         * java/awt/color/ICC_Profile.java:
9653         Added missing constants.
9654         * java/awt/color/ICC_ColorSpace.java
9655         (getMinValue): Added dummy implementation.
9656         (getMaxValue): Added dummy implementation.
9657         * java/awt/datatransfer/DataFlavor.java
9658         (imageFlavor): Added.
9659         (isMimeTypeEqual): Must be final.
9660         (getDefaultRepresentationClass): Must be non-static.
9661         (getDefaultRepresentationClassAsString): Must be non-static.
9662         * java/awt/dnd/DragSourceContext.java
9663         (dragExit): Corrected argument.
9664         (dragDropEnd): Corrected argument.
9665         * java/awt/dnd/DragSourceListener.java.java
9666         (dragExit): Corrected argument.
9667         (dragDropEnd): Corrected argument.
9668         * java/awt/font/TextHitInfo.java
9669         (toString): Added stubbed implementation.
9670         * java/awt/geom/PathIterator.java:
9671         The constants must be static.
9672         * java/awt/image/VolatileImage.java
9673         (IMAGE_INCOMPATIBLE): Fixed typo.
9674         * java/awt/image/renderable/RenderableImage.java
9675         (HINTS_OBSERVED): Must be static.
9676         * java/beans/BeanInfo.java:
9677         Constants must be final.
9678
9679 2002-11-06  Tom Tromey  <tromey@redhat.com>
9680
9681         From svens@it.uu.se.  For PR libgcj/8481.
9682         * java/util/Random.java (nextInt(int)): Only use 31 bits.
9683
9684 2002-11-06  Tom Tromey  <tromey@redhat.com>
9685
9686         * jni.cc (array_from_valist): Assume that jlong won't be
9687         promoted.
9688
9689 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
9690
9691         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
9692         Return 20.
9693         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
9694         Return 16.
9695
9696 2002-11-03  Tom Tromey  <tromey@redhat.com>
9697
9698         * java/lang/ClassLoader.java (loadClass): Call loadClass on
9699         VMClassLoader, not findClass.
9700
9701 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
9702
9703         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
9704         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
9705         _Jv_DetermineVTableIndex, to determine vtable offset.
9706         (_Jv_DetermineVTableIndex): Remove.
9707         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
9708
9709         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
9710
9711 2002-11-03  Tom Tromey  <tromey@redhat.com>
9712
9713         * java/nio/channels/AlreadyConnectedException.java: Extend
9714         IllegalStateException, per spec.
9715
9716 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
9717
9718         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
9719
9720 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9721
9722         * java/util/ArrayList.java (readObject, writeObject): Only read/write
9723         size items.
9724
9725 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9726
9727         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
9728         initial estimated size to avoid enlarge buffer frequently.
9729
9730 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9731
9732         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
9733         ClassLoader when null.
9734         (ProxyType.hashCode): Loader null check no longer needed.
9735         (ProxyType.sameTypes): New method.
9736         (ProxyType.equals): Use new method.
9737
9738 2002-10-31  Mark Wielaard  <mark@klomp.org>
9739
9740         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
9741         length of String.
9742         * java/net/URLEncoder.java (encode): Likewise.
9743
9744 2002-10-31  Mark Wielaard  <mark@klomp.org>
9745
9746         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
9747         when stream is closed.
9748         (closeEntry): Likewise.
9749         (read): Likewise.
9750         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
9751         ZipException when no entry active.
9752         (closeEntry): Likewise.
9753         (write): Likewise.
9754
9755 2002-11-02  Tom Tromey  <tromey@redhat.com>
9756
9757         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
9758         * java/lang/natClass.cc (initializeClass): Don't return just
9759         because self==thread.
9760
9761         For PR java/8415:
9762         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
9763         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
9764
9765 2002-11-02  Andreas Schwab  <schwab@suse.de>
9766
9767         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
9768         pass GCJFLAGS.
9769         (FLAGS_TO_PASS): Define.
9770         * Makefile.in: Regenerated.
9771
9772 2002-11-01  Michael Koch  <konqueror@gmx.de>
9773
9774         * java/nio/ByteOrder.java: New file.
9775         * java/nio/channels/DatagramChannel.java:
9776         (DatagramChannel): New constructor.
9777         * java/nio/channels/Pipe.java: New file.
9778         * java/nio/channels/SelectableChannel.java: New file.
9779         * java/nio/channels/SelectionKey.java: New file.
9780         * java/nio/channels/Selector.java: New file.
9781         * java/nio/channels/ServerSocketChannel.java
9782         (ServerSocketChannel): New constructor.
9783         * java/nio/channels/SocketChannel.java
9784         (SocketChannel): New constructor.
9785         * java/nio/channels/Pipe.java: New file.
9786         * java/nio/channels/spi/AbstractChannel.java: New file.
9787         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
9788         * java/nio/channels/spi/AbstractSelectableChannel.java:
9789         License added
9790         (AbstractSelectableChannel): New stubbed method.
9791         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
9792         * java/nio/channels/spi/AbstractSelector.java: New file.
9793         * java/nio/channels/spi/SelectorProvider.java: New file.
9794         * java/nio/charset/Charset.java: New file.
9795         * java/nio/charset/CoderMalfunctionError.java: New file.
9796         * java/nio/charset/CodingErrorAction.java: New file.
9797         * java/nio/charset/spi/CharsetProvider.java
9798         (charsetForName): Uncommented.
9799         * Makefile.am (java_native_source_files): Added new files.
9800         * Makefile.in: Regenerated.
9801
9802 2002-11-01  Michael Koch  <konqueror@gmx.de>
9803
9804         * java/net/InetAddress.java:
9805         (isAnyLocalAddress): Implemented.
9806         (isLoopbackAddress): Implemented, comment added.
9807         (isLinkLocalAddress): Implemented, documentation added.
9808         (isSiteLocalAddress): Implemented, documentation added.
9809         (isMCGlobal): Implemented, documentation added.
9810         (isMCNodeLocal): Implemented, documentation added.
9811         (isMCLinkLocal): Implemented, documentation added.
9812         (isMCSiteLocal): Implemented, documentation added.
9813         (isMCOrgLocal): Implemented, documentation added.
9814         (getHostName): Documentation added.
9815         (getCanonicalHostName): Implemented, documentation added.
9816         (getAddress): Documentation added.
9817         (hashCode): Documentation added.
9818         (equals): Documentation added.
9819         (toString): Fixed implementation.
9820         (getByAddress): Use Inet4Address and Inet6Address.
9821         (lookup): New linewrap.
9822         (getByName): SecurityManager check added, support Inet4Address and
9823         Inet6address, comments added.
9824         (getAllByName): SecurityManager check added, comments added.
9825         * java/net/Inet6Address.java:
9826         (Inet6Address): Initialize parent class with addr instead of null.
9827         * java/net/URL.java
9828         (equals): Documentation added.
9829         (getFile): Documentation added.
9830         (hashCode): Documentation added.
9831         * java/net/natInetAddress.cc:
9832         (aton): Fix IPv6 support.
9833         * java/net/natPlainDatagramSocketImpl.cc:
9834         (peek): Throw PortUnreachableException when suitable.
9835         (peekData): Throw PortUnreachableException when suitable.
9836         (send): Throw PortUnreachableException when suitable.
9837         (receive): Throw PortUnreachableException when suitable.
9838
9839 2002-10-27  Mark Wielaard  <mark@klomp.org>
9840
9841         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
9842         argument.
9843         (readLeShort): Likewise and use byte[].
9844         (readLeInt): Likewise.
9845         (readEntries): Use new versions of methods and use byte[] for reading
9846         a complete zip entry. Add ZipFile name to exceptions.
9847         (entries): Add ZipFile name to exceptions.
9848         (getEntry): Likewise.
9849         (checkLocalHeader): Use new versions of methods and add ZipFile name
9850         to exceptions.
9851
9852 2002-10-31  Mark Anderson  <mark@panonet.net>
9853
9854         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
9855         added
9856
9857 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
9858
9859         * configure.in: Disable hash sync when not using threads.
9860         * configure: Regenerated.
9861
9862 2002-10-24  Tom Tromey  <tromey@redhat.com>
9863
9864         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
9865         (_Jv_FindSymbolInExecutable): Removed argument name.
9866         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
9867         java.library.path is set.
9868
9869         * gij.cc (help): Document --showversion.
9870         (version): Don't exit.
9871         (main): Handle --showversion.  Exit if --version given.
9872
9873 2002-10-23  Tom Tromey  <tromey@redhat.com>
9874
9875         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
9876         (array_from_valist): Correctly handle promotion for jint, jlong,
9877         jfloat, and jdouble.
9878
9879 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
9880
9881         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
9882         GetFileAttributesEx( ) to find file length and modification times,
9883         as the latter is not present on Windows 95.
9884
9885 2002-10-21  Michael Koch  <konqueror@gmx.de>
9886
9887         * java/net/URL.java
9888         (URL): Activate SecurityManager checks.
9889         (equals): Use URLStreamHandler implementation instead of doing it
9890         alone. This allows special protocol stream handlers to change default
9891         behaviour.
9892         (hashCode): Use URLStreamHandler implementation instead of doing it
9893         alone. This allows special protocol stream handlers to change default
9894         behaviour.
9895         * java/net/URLStreamHandler.java
9896         (equals): Implemented default URL equality check.
9897         (hostsEqual): Implemented default URL equality check.
9898         (hashCode): Implemented default URL hashCode algorithm.
9899         * java/net/natPlainDatagramSocketImpl.cc:
9900         No lines longer then 80 characters.
9901
9902 2002-10-20  Adam Megacz <adam@xwt.org>
9903
9904         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
9905         * configure.in: enabled hash sync on Win32
9906         * include/win32-threads.h (_Jv_ThreadId_t): added.
9907         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
9908         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
9909         removed some posix-isms, use Thread::sleep() instead of usleep,
9910         added code to clear bottom three bits if platform has a broken
9911         linker.
9912         * include/win32-threads.h (_Jv_ThreadId_t): added.
9913
9914 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
9915
9916         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
9917         runtime property "gnu.gcj.progname" containing the name used to
9918         invoke the current Java program (similar to argv[0] for C
9919         programs).
9920
9921 2002-10-15  Tom Tromey  <tromey@redhat.com>
9922
9923         Fix for PR libgcj/8234:
9924         * java/util/zip/natInflater.cc (reset): Reset avail_in.
9925         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
9926
9927 2002-10-13  Mark Wielaard  <mark@klomp.org>
9928
9929         * mauve-libgcj: Enable Mauve tests that compile now.
9930
9931 2002-10-11  Mark Wielaard  <mark@klomp.org>
9932
9933         Fix for PR libgcj/8142
9934         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
9935         loading native modules.
9936
9937 2002-10-10  Michael Koch  <konqueror@gmx.de>
9938
9939         * javax/swing/AbstractListModel.java
9940         (getListDataListeners): New stubbed method.
9941         javax/swing/DefaultBoundedRangeModel.java
9942         (getChangeListeners): New stubbed method.
9943         javax/swing/DefaultSingleSelectionModel.java
9944         (getChangeListeners): New stubbed method.
9945
9946 2002-10-10  Michael Koch  <konqueror@gmx.de>
9947
9948         * gcj/.cvsignore: New file to ignore files generated during build.
9949         * include/.cvsignore: New file to ignore files generated during build.
9950
9951 2002-10-10  Michael Koch  <konqueror@gmx.de>
9952
9953         * java/net/HttpURLConnection.java
9954         (getPermission): New method.
9955         (getErrorStream): New stub method.
9956         (getHeaderFieldDate): New stub method.
9957         * java/net/Inet4Address.java:
9958         (isLinkLocalAddress): Typo fixed.
9959         * java/net/InetAddress.java:
9960         (readResolve): New stubbed method (for serialization).
9961         (isAnyLocalAddress): New stubbed method.
9962         (isLoopbackAddress): New stubbed method.
9963         (isLinkLocalAddress): New stubbed method.
9964         (isSiteLocalAddress): New stubbed method.
9965         (isMCGlobal): New stubbed method.
9966         (isMCNodeGlobal): New stubbed method.
9967         (isMCLinkLocal): New stubbed method.
9968         (isMCSiteLocal): New stubbed method.
9969         (isMCOrgLocal): New stubbed method.
9970         (getCanonicalHostName): New stubbed method.
9971         (getByAddress): Create instances of Inet4Address/Inet6Address,
9972         instead of InetAddress, documentation added.
9973         * java/net/MulticastSocket.java
9974         (getInterface): Removed FIXME.
9975         (getNetworkInterface): New method.
9976         (setNetworkInterface): New method.
9977         * java/net/NetworkInterface.java:
9978         (toString): Use property "line.separator" instead of "\n".
9979         * java/net/URLConnection.java
9980         (getContent): New stubbed method.
9981         * java/net/URLStreamHandler.java:
9982         (equals): New stubbed method.
9983         (hostsEqual): New stubbed method.
9984         (hashCode): New stubbed method.
9985         * java/net/natNetworkInterface.cc:
9986         (getRealNetworkInterfaces): Create Inet4Address object
9987         instead of InetAddress.
9988
9989 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9990
9991         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
9992         unsigned long temporary to implement insn_iushr shifts.
9993
9994 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9995
9996         * configure.host [s390*-*]: Enable Java interpreter.
9997         Enable hash synchronization.  Add sysdeps dir.
9998         * sysdep/s390/locks.h: New file.
9999
10000 2002-10-06  Mark Wielaard  <mark@klomp.org>
10001
10002         * java/lang/Thread.java (setDaemon): Check startable_flag,
10003         not isAlive().
10004
10005 2002-10-07  Michael Koch  <konqueror@gmx.de>
10006
10007         * java/nio/Buffer.java: New stub file.
10008         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
10009         of class Charset.
10010         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
10011         * Makefile.in: Regenerated.
10012
10013 2002-10-07  Michael Koch  <konqueror@gmx.de>
10014
10015         * java/nio/ByteBuffer.java:
10016         removed import of not commited class.
10017
10018 2002-10-07  Michael Koch  <konqueror@gmx.de>
10019
10020         * java/nio/ByteBuffer.java,
10021         java/nio/MappedByteBuffer.java:
10022         New files, forgot to add these dummies.
10023         * Makefile.am (java_native_source_files): Added new files.
10024         * Makefile.in: Regenerated.
10025
10026 2002-10-07  Michael Koch  <konqueror@gmx.de>
10027
10028         * java/nio/channels/AlreadyConnectedException.java,
10029         java/nio/channels/ClosedChannelException.java,
10030         java/nio/channels/ReadableByteChannel.java,
10031         java/nio/channels/InterruptibleChannel.java,
10032         java/nio/channels/Channel.java,
10033         java/nio/channels/ByteChannel.java,
10034         java/nio/channels/GatheringByteChannel.java,
10035         java/nio/channels/ScatteringByteChannel.java,
10036         java/nio/channels/WritableByteChannel.java,
10037         java/nio/charset/CharacterCodingException.java,
10038         java/nio/charset/IllegalCharsetNameException.java,
10039         java/nio/charset/MalformedInputException.java,
10040         java/nio/charset/UnmappableCharacterException.java,
10041         java/nio/charset/UnsupportedCharsetException.java,
10042         java/nio/charset/spi/CharsetProvider.java: New file.
10043         These files are exceptions or interfaces,
10044         no real or abstract classes.
10045         * Makefile.am (java_native_source_files): Added new files.
10046         * Makefile.in: Regenerated.
10047
10048 2002-10-05  Michael Koch  <konqueror@gmx.de>
10049
10050         * java/net/InetAddress.java
10051         (getByAddress): Fixed documentation.
10052         (getByAddress): New method.
10053         * java/net/Inet4Address.java: New file.
10054         * java/net/URL.java
10055         (URL): Documentation added.
10056         (getContent): Documentation added.
10057         (getContent): New stubbed method.
10058         (getQuery): New method.
10059         (openConnection): Documentation added.
10060         (openStream): Documentation added.
10061         (setURLStreamHandlerFactory): Documentation added.
10062         * java/net/URI.java: New stub file.
10063         * Makefile.am
10064         (java_native_source_files): Added java/net/Inet4Address.java,
10065         java/net/Inet6Address.java and java/net/URI.java.
10066         * Makefile.in: Regenerated.
10067
10068 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
10069
10070         * java/lang/ProtectionDomain.java (linesep): Remove field.
10071         (toString): Use System.getProperty("line.separator").
10072
10073 2002-10-04  Michael Koch  <konqueror@gmx.de>
10074
10075         * java/security/Identity.java: Added serialVersionUID.
10076         * java/security/KeyPair.java: Added serialVersionUID.
10077         * java/security/Provider.java: Added serialVersionUID.
10078         * java/security/SecureRandom.java: Added serialVersionUID.
10079         * java/security/SecureRandomSpi.java: Added serialVersionUID.
10080         * java/security/SignedObject.java: Added serialVersionUID.
10081         * java/security/cert/Certificate.java: Added serialVersionUID.
10082
10083 2002-10-04  Mark Wielaard <mark@klomp.org>
10084
10085         * java/security/Security.java: Use java.home or gnu.classpath.home
10086         to load providers.
10087         (loadProviders): Extra dir argument.
10088         (getProvider): Return null when not found.
10089
10090 2002-10-04  Mark Wielaard  <mark@klomp.org>
10091
10092         * java/lang/Throwable.java: Remerge with Classpath.
10093
10094 2002-10-04  Michael Koch  <konqueror@gmx.de>
10095
10096         * java/net/InetAddress.java:
10097         (isMulticastAddress): Added documentation.
10098         (getHostAddress): Added documentation.
10099         (toString): Added documentation.
10100         (getByAddress): Fixed documentation.
10101         (getByName): Added documentation.
10102         (getAllByName): Added documentation.
10103         (getLocalHost): Added documentation.
10104
10105 2002-10-04  Michael Koch  <konqueror@gmx.de>
10106
10107         * java/beans/beancontext/BeanContextChildSupport.java:
10108         Added serialVersionUID.
10109         * java/text/Collator.java: (compare): Made documentation HTML-aware.
10110         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
10111         * javax/naming/Name.java: Added serialVersionUID.
10112
10113 2002-10-03  Adam Megacz <adam@xwt.org>
10114
10115         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
10116         some functionality that isn't supported yet on WIN32.
10117
10118 2002-10-03  Tom Tromey  <tromey@redhat.com>
10119
10120         * Makefile.in: Rebuilt.
10121         * Makefile.am (awt_java_source_files): Added new files.
10122
10123 2002-10-03  Michael Koch  <konqueror@gmx.de>
10124
10125         * java/net/InetAddress.java
10126         (class InetAddress): Removed final keyword.
10127         (equals): Fixed typo.
10128         (getByAddress): New method.
10129
10130 2002-10-03  Michael Koch  <konqueror@gmx.de>
10131
10132         * java/awt/dnd/Autoscroll.java:
10133         New file, merge from Classpath.
10134         * java/awt/dnd/DragSourceAdapter.java:
10135         (dragExit): Fixed typos in argument type.
10136         (dragDropEnd): Fixed typos in argument type.
10137         * java/awt/dnd/DragSourceDropEvent.java:
10138         New file, merge from Classpath.
10139         * java/awt/dnd/DropTarget.java:
10140         Added stubs, merge from Classpath.
10141         * java/awt/dnd/DropTargetAdapter.java:
10142         New file, merge from Classpath.
10143         * java/awt/dnd/DropTargetContext.java:
10144         New file, merge from Classpath.
10145         * java/awt/dnd/DropTargetDragEvent.java:
10146         New file, merge from Classpath.
10147         * java/awt/dnd/DropTargetDropEvent.java:
10148         New file, merge from Classpath.
10149         * java/awt/dnd/DropTargetEvent.java:
10150         New file, merge from Classpath.
10151         * java/awt/dnd/DropTargetListener.java:
10152         New file, merge from Classpath.
10153         * java/awt/dnd/MouseDragGestureRecognizer.java:
10154         New file, merge from Classpath.
10155         * java/awt/dnd/peer/DropTargetContextPeer.java:
10156         New file, merge from Classpath.
10157
10158 2002-10-03  Michael Koch  <konqueror@gmx.de>
10159
10160         * java/net/DatagramPacket.java
10161         (setLength): Fixed typo and be HTML-aware.
10162         * java/net/InetSocketAddress.java
10163         (InetSocketAddress): Correct initialization of hostname, fixed typo.
10164         (equals): Added comment about equality of InetSocketAddress objects.
10165         * java/net/ServerSocket.java
10166         (accept): Added checks.
10167         (isClosed): New stubbed method.
10168         * java/net/SocketOptions.java: Reindention.
10169         * java/net/SocketPermission
10170         (SocketPermission): Documentation fixed.
10171
10172 2002-10-03  Michael Koch  <konqueror@gmx.de>
10173
10174         * java/net/DatagramSocket.java
10175         (receive): Check with SecurityManager AFTER the packet is received,
10176         check if connected to multicast address, documentation added.
10177         (send): Only check SecurityManager if connected, check address of
10178         packet to send.
10179         (connect): Implemented, documentation added.
10180         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
10181         * java/net/InetSocketAddress.java
10182         (whole file): Reindented.
10183         (hostname): New attribute.
10184         (InetSocketAddress): Initialize new attribute.
10185         (getAddress): Documentation added.
10186         (getHostName): Documentation added.
10187         (getPort): Documentation added.
10188         (hashCode): Documentation added.
10189         (isUnresolved): Documentation added.
10190         (toString): Conform to output of JDK 1.4.1, documentation added.
10191         * java/net/MulticastSocket.java
10192         (joinGroup): Removed FIXME, documentation added.
10193         (leaveGroup): Removed FIXME, documentation added.
10194         (send): Documentation added.
10195         * java/net/Socket.java
10196         (inputShutdown): New variable.
10197         (outputShutdown): New variable.
10198         (Socket): Initialize new variables.
10199         (getRemoteSocketAddress): Check if connected.
10200         (shutdownInput): Set new variable.
10201         (shutdownOutput): Set new variable.
10202         (isConnected): New method.
10203         (isClosed): New method.
10204         (isInputShutdown): New method.
10205         (isOutputShutdown): New method.
10206         * java/net/URLStreamHandler.java
10207         (URLStreamHandler): New method.
10208         (openConnection): Added documentation.
10209         (parseURL): Added documentation.
10210         (getHostAddress): New method.
10211         (getDefaultPort): New method.
10212
10213 2002-10-02  Tom Tromey  <tromey@redhat.com>
10214
10215         * java/rmi/activation/ActivationDesc.java,
10216         java/rmi/activation/ActivationGroupDesc.java,
10217         java/rmi/activation/ActivationGroupID.java,
10218         java/rmi/activation/ActivationID.java: New versions from
10219         Classpath.
10220
10221 2002-09-30  Bo Thorsen  <bo@suse.de>
10222
10223         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10224
10225 2002-09-30  Tom Tromey  <tromey@redhat.com>
10226
10227         * java/io/ObjectInputStream.java (resolveProxyClass): New method
10228         from Classpath.
10229         * Makefile.in: Rebuilt.
10230         * Makefile.am (rmi_java_source_files): Added new files.
10231         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10232         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10233         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10234         Classpath.
10235         * gnu/java/rmi/dgc/DGCImpl.java,
10236         gnu/java/rmi/dgc/DGCImpl_Skel.java,
10237         gnu/java/rmi/dgc/DGCImpl_Stub.java,
10238         gnu/java/rmi/registry/RegistryImpl_Skel.java,
10239         gnu/java/rmi/registry/RegistryImpl_Stub.java,
10240         gnu/java/rmi/server/RMIHashes.java,
10241         gnu/java/rmi/server/RMIObjectInputStream.java,
10242         gnu/java/rmi/server/RMIObjectOutputStream.java,
10243         gnu/java/rmi/server/UnicastConnection.java,
10244         gnu/java/rmi/server/UnicastConnectionManager.java,
10245         gnu/java/rmi/server/UnicastRef.java,
10246         gnu/java/rmi/server/UnicastServer.java,
10247         gnu/java/rmi/server/UnicastServerRef.java,
10248         java/rmi/MarshalledObject.java,
10249         java/rmi/server/RMIClassLoader.java,
10250         java/rmi/server/RemoteObject.java,
10251         java/rmi/server/UnicastRemoteObject.java,
10252         java/security/SecureClassLoader.java: Merged from Classpath.
10253
10254 2002-09-29  Anthony Green  <green@redhat.com>
10255
10256         * java/lang/reflect/UndeclaredThrowableException.java: New file.
10257         Imported from GNU Classpath.
10258         * java/lang/reflect/natProxy.cc: New file.
10259         * java/lang/reflect/InvocationHandler.java: New file.  Imported
10260         from GNU Classpath.
10261         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
10262         Classpath.
10263         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10264         Classpath.
10265         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10266         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10267         New statics.
10268         * gcj/javaprims.h ("Java"): Add new classes.
10269         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10270         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10271         java/lang/reflect/Proxy$$ProxyType.h): And this.
10272         (inner_nat_headers): Add these new headers.
10273         (ordinary_java_source_files): Add new files.
10274         (nat_source_files): Add new file.
10275         * Makefile.in: Rebuilt.
10276
10277 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
10278
10279         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10280         a single configuration.
10281
10282 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10283
10284         * java/util/TimeZone.java (getDSTSavings): New method.
10285         Fixes PR libgcj/7786.
10286
10287 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10288
10289         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10290         to see if `the_method == 0' before looking up vtable index.
10291         Fixes PR libgcj/7709.
10292
10293 2002-09-25  Tom Tromey  <tromey@redhat.com>
10294
10295         * java/lang/natClassLoader.cc:
10296         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10297         * resolve.cc: Include NoClassDefFoundError.h, not
10298         ClassNotFoundException.h.
10299         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
10300
10301         * defineclass.cc: Don't include ClassNotFoundException.h.
10302
10303         * resolve.cc: Include StringBuffer.
10304         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
10305
10306         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
10307         allocated but not initialized.
10308
10309 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10310
10311         Fix for PR libgcj/7766:
10312         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
10313         (getNextEntry): Set it.
10314         (closeEntry): Likewise.
10315         (read): Likewise.
10316         (close): Likewise.
10317         (available): Use it.
10318
10319 2002-09-25  Michael Koch  <konqueror@gmx.de>
10320
10321         * java/net/DatagramSocket.java
10322         (DatagramSocket): Initialize new instance variables.
10323         (close): Reset new instance variables.
10324         (getLocalAddress): Remove unneeded SecurityManager usage.
10325         (getLocalPort): Check if socket is already bound.
10326         (isConnected): New method.
10327         (getInetAddress): Implemented.
10328         (getPort): Better Implementation, documentation fixed.
10329         (getRemoteSocketAddress): New method.
10330         * java/net/JarURLConnection.java
10331         (element): Typo fixed.
10332         (getMainAttributes): New method.
10333         (getAttributes): New method (stub only).
10334         (getManifest): New method (stub only).
10335         * java/net/NetPermission.java: Added serialVersionsUID.
10336         * java/net/Socket.java
10337         (connect): Check blocking mode of associated channel,
10338         documentation added.
10339         (getLocalSocketAddress): Better implementation.
10340         (getRemoteSocketAddress): Implemented.
10341         (isBound): New method.
10342         (setSendBufferSize): Documentation added.
10343         * java/net/SocketAddress.java: Added serialVersionsUID.
10344         * java/net/SocketPermission.java: Added serialVersionsUID.
10345         * java/net/URL.java
10346         (URL): Wrap for shorter lines, initialize new instance variables,
10347         documentation added.
10348         (equals): Check new instance variables too.
10349         (getContent): Documentation added.
10350         (getPath): Documentation added.
10351         (getAuthority): New method.
10352         (getHost): Documentation added.
10353         (getPort): Documentation added.
10354         (getDefaultPort): New method.
10355         (getProtocol): Documentation added.
10356         (getUserInfo): Documentation added.
10357         (set): Initialize new instance variables, documentation added.
10358         * java/net/URLStreamHandler.java
10359         (setURL): New method.
10360         * java/net/natPlainDatagramSocketImpl.cc
10361         (connect): Fix exception name.
10362         (disconnect): Fix exception name.
10363
10364 2002-09-25  Michael Koch  <konqueror@gmx.de>
10365
10366         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
10367         * java/nio/channels/DatagramChannel.java:
10368         extends AbstractSelectableChannel
10369         * java/nio/channels/ServerSocketChannel.java:
10370         extends AbstractSelectableChannel
10371         * java/nio/channels/SocketChannel.java:
10372         extends AbstractSelectableChannel
10373         * Makefile.am (ordinary_java_source_files):
10374         java/nio/channels/spi/AbstractSelectableChannel.java added.
10375         * Makefile.in: Regenerated.
10376
10377 2002-09-25  Michael Koch  <konqueror@gmx.de>
10378
10379         * java/net/DatagramSocket.java
10380         (DatagramSocket): Exception documentation added.
10381         (bind): Exception documentation added, addded SecurityManager check,
10382         added SocketAddress type check.
10383         (getSoTimeout): Check impl.
10384         (receive): Fix SecurityManager check, check impl, documentation added.
10385         (send): Check channel mode, documentation added.
10386         (connect): New method.
10387         (disconnect): Implemented.
10388         (getLocalSocketAddress): New method.
10389         (getReceiveBufferSize): Check impl.
10390         (setReuseAddress): Check impl.
10391         (getReuseAddress): Check impl.
10392         (setBroadcast): Check impl.
10393         (getBroadcast): Check impl.
10394         (setTrafficClass): Check impl, Documentation cleared.
10395         (getTrafficClass): Check impl.
10396         (getSendBufferSize): Check impl.
10397         (setReceiveBufferSize): Check impl, documentation added.
10398         (setSendBufferSize): Documentation added.
10399         (setDatagramSocketImplFactory): New method.
10400         * java/net/HttpURLConnection.java
10401         (HTTP_INTERNAL_ERROR): The correct code is 500.
10402         (HTTP_NOT_IMPLEMENTED): Added new constant.
10403         (setFollowRedirects): Documentation added.
10404         (getInstanceFollowRedirects): New method.
10405         (setInstanceFollowRedirects): New method.
10406         (setRequestMethod): Documentation added.
10407         (getResponseCode): Documentation added.
10408         (getResponseMessage): Documentation added.
10409         * java/net/JarURLConnection.java
10410         (JarURLConnection): protected since JDK 1.4.
10411         (getJarEntry): java.io.IOException to IOException, documentation added.
10412         (getJarFile): Documentation added.
10413         * java/net/ServerSocket.java
10414         (ServerSocket): Private to public, exception added.
10415         (ServerSocket): java.io.IOException to IOException, documentation added.
10416         (bind): Check socket address type, documentation added.
10417         (bind): java.io.IOException to IOException, documentation added.
10418         (accept): Documentation added.
10419         (implAccept): Check ch is not non-blocking, documentation added.
10420         (setSoTimeout): Documentation fixed.
10421         (setReceiveBufferSize): Documentation added.
10422         * java/net/Socket.java
10423         (Socket): Documentation added.
10424         (bind): Documentation added.
10425         (connect): Check socket address type, documentation added.
10426         (getRemoteSocketAddress): New method.
10427         (getLocalSocketAddress): New method.
10428         (setSoLinger): Documentation added.
10429         (getReuseAddress): New method.
10430         (setReuseAddress): New method.
10431         (getTrafficClass): New method.
10432         (setTrafficClass): New method.
10433         * java/net/URLStreamHandler.java
10434         (openConnection): java.io.IOException to IOException.
10435         (parseURL): Documentation added.
10436         (sameFile): public to protected, documentation added.
10437         (setURL): Documentation added.
10438         * java/nio/IllegalBlockingModeException.java: New file.
10439         * Makefile.am (ordinary_java_source_files):
10440         added java/nio/IllegalBlockingModeException.java
10441         * Makefile.in: Regenerated.
10442
10443 2002-09-25  Michael Koch  <konqueror@gmx.de>
10444
10445         * java/net/DatagramPacket
10446         (DatagramPacket): Exception documentation added.
10447         (setData): Likewise.
10448         (setSocketAddress): Likewise.
10449         * java/net/DatagramSocketImpl.java
10450         (peek): Documentation addded.
10451         (peekData): Documentation addded.
10452         (send): Documentation addded.
10453         (receive): Documentation addded.
10454         (connect): New method.
10455         (disconnect): New method.
10456         (joinGroup): New abstract method.
10457         (leaveGroup): New abstract method.
10458         * java/net/InetSocketAddress.java
10459         (InetSocketAddress): Documentation added.
10460         (equals): final keyword added.
10461         (getAddress): final keyword added.
10462         (getHostName): final keyword added.
10463         (getPort): final keyword added.
10464         (hashCode): final keyword added.
10465         (isUnresolved): final keyword added.
10466         * java/net/MulticastSocket.java
10467         (MulticastSocket): Documentation added.
10468         (MulticastSocket): New method.
10469         (joinGroup): Documentation added.
10470         (joinGroup): New method.
10471         (leaveGroup): Documentation added.
10472         (leaveGroup): New method.
10473         (send): Documentation added.
10474         * java/net/NetworkInterface.java
10475         (getByName): Documentation added.
10476         (getByInetAddress): Documentation added.
10477         (getNetworkInterfaces): Documentation added.
10478         * java/net/PlainDatagramSocketImpl.java
10479         (connect): New method.
10480         (disconnect): New method.
10481         * java/net/SocketImpl.java
10482         (create): Documentation added.
10483         (shutdownInput): Convert public to protected, as it always was.
10484         (shutdownOutput): Convert public to protected, as it always was.
10485         * java/net/SocketOptions.java
10486         (whole file): Reintented.
10487         * java/net/URLClassLoader.java
10488         (URLClassLoader): SecurityManager check added, documentation added.
10489         (findResources): Documentation added.
10490         (findClass): Documentation added.
10491         (newInstance): More correct method arguments.
10492         * java/net/URLConnection.java
10493         (connect): Documentation added.
10494         (getContent): Documentation added.
10495         (getPermission): Documentation added.
10496         (getInputStream): Documentation added.
10497         (getOutputStream): Documentation added.
10498         (setDoInput): Throw correct exception, documentation added.
10499         (setDoOutput): Throw correct exception, documentation added.
10500         (setAllowUserInteraction): Throw correct exception, documentation added.
10501         (setUseCaches): Throw correct exception, documentation added.
10502         (setIfModifiedSince): Throw correct exception, documentation added.
10503         (setRequestProperty): Throw exception, documentation added.
10504         (addRequestProperty): Throw exception, documentation added.
10505         (getRequestProperty): Throw exception, documentation added.
10506         (getRequestProperties): Documentation added.
10507         (setContentHandlerFactory): Documentation added.
10508         (guessContentTypeFromName): protected to public.
10509         (setFileNameMap): Documentation added.
10510         * java/net/URLDecoder.java
10511         (URLDecoder): New method.
10512         (decode): Documentation added.
10513         (whole file): Reindented.
10514         * java/net/URLEncoder.java
10515         (encode): Documentation added.
10516         * java/net/natPlainDatagramSocketImpl.cc
10517         (connect): New method.
10518         (disconnect): New method.
10519         * javax/naming/RefAddr:
10520         (addrType): addrType was never final.
10521         (equals): Fix typo in method name.
10522         * javax/naming/BinaryRefAddr:
10523         (equals): Fix typo in method name.
10524
10525 2002-09-22  Tom Tromey  <tromey@redhat.com>
10526
10527         Fix for PR libgcj/6576:
10528         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10529         didn't find a given bundle.
10530         (getBundle): Don't require base bundle.
10531         (setParent): Removed old comment.
10532         (tryLocalBundle): Try components even if preceding components were
10533         empty.
10534
10535 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10536
10537         * Makefile.am (all-multi): Fix multilib parallel build.
10538
10539 2002-09-21  Michael Koch  <konqueror@gmx.de>
10540
10541         * java/net/Socket.java
10542         (sendUrgentData): New method.
10543         (getChannel): New method.
10544         * java/net/ServerSocket.java
10545         (getChannel): New method.
10546         (isBound): New method.
10547         * java/net/DatagramSocket.java
10548         (DatagramSocket): Two new methods.
10549         (bind): New method.
10550         (getChannel): New method.
10551         (isBound): New method.
10552         (send): Added newline to to make shorter lines.
10553         * java/net/PlainDatagramSocketImpl.java
10554         (mcastGrp): Added argument.
10555         (join): Use new mcastGrp.
10556         (leave): Use new mcastGrp.
10557         (joinGroup): New method.
10558         (leaveGroup): New method.
10559         * java/net/natPlainDatagramSocketImpl.cc
10560         (mcastGrp): Added argument, no yet really implemented.
10561         (getOption): Added newline for shorter lines.
10562         * java/net/natPlainSocketImpl.cc
10563         (read, setOption, getOption): Added newline for shorter lines.
10564
10565 2002-09-19  Tom Tromey  <tromey@redhat.com>
10566
10567        * java/lang/ClassLoader.java (resolveClass0): Set cause for
10568        newly-created exception.
10569
10570 2002-09-18  Michael Koch  <konqueror@gmx.de>
10571
10572         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10573         java/util/regex/PatternSyntaxException.java:
10574         Merge with classpath, new files.
10575         * Makefile.am (core_java_source_files):
10576         Added java/util/regex/Matcher.java,
10577         java/util/regex/Pattern.java,
10578         java/util/regex/PatternSyntaxException.java
10579         * Makefile.in: Regenerated.
10580         * include/config.h.in: Added HAVE_NET_IF_H.
10581         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
10582         Removed #if 0 ... #endif.
10583
10584 2002-09-17  Michael Koch  <konqueror@gmx.de>
10585
10586         * java/net/natNetworkInterface.cc:
10587         Removed unneed and yet wrong includes.
10588
10589 2002-09-17  Michael Koch  <konqueror@gmx.de>
10590
10591         * java/net/NetworkInterface.java: New file.
10592         * java/net/natNetworkInterface.java: New file.
10593         * configure.in: Added check for net/if.h.
10594         * configure: Regenerated.
10595         * Makefile.am
10596         (ordinary_java_source_files): Added NetworkInterface.java.
10597         (nat_source_files): Added natNetworkInterface.cc.
10598         * Makefile.in: Regenerated.
10599
10600 2002-09-16  Tom Tromey  <tromey@redhat.com>
10601
10602         * java/net/URLClassLoader.java (findClass): Code source for a
10603         class from a jar is not necessarily a jar: URL.
10604
10605 2002-09-16  Michael Koch  <konqueror@gmx.de>
10606
10607         * java/lang/AssertionError.java:
10608         Merge with classpath, fixes HTML.
10609         * java/rmi/server/LogStream.java:
10610         Merge with classpath, fixes some constants.
10611         * java/net/server/RemoteServer.java:
10612         Merge with classpath, adds serialVersionUID.
10613         * javax/naming/BinaryRefAddr.java:
10614         Merge with classpath, s/equal/equals/.
10615         * javax/naming/NamingException.java:
10616         Merge with classpath, fixed typo.
10617         * javax/naming/RefAddr.java:
10618         Merge with classpath, s/equal/equals/.
10619         * java/awt/Toolkit.java:
10620         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
10621         and typo fixed.
10622
10623 2002-09-15  Adam Megacz <adam@xwt.org>
10624
10625         * java/net/natPlainSocketImpl.cc: fixed typo.
10626
10627 2002-09-15  Adam Megacz <adam@xwt.org>
10628
10629         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
10630         which don't work on Win32 (yet).
10631
10632 2002-09-14  Adam Megacz <adam@xwt.org>
10633
10634         * java/net/natPlainDatagramSocket.cc: removed #include
10635         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
10636         * include/win32.h: included definition for IP_TOS to satisfy
10637         natPlainDatagramSocket.cc
10638
10639 2002-09-13  Michael Koch  <konqueror@gmx.de>
10640
10641         * java/net/DatagramPacket.java (DatagramPacket):
10642         Added linebreak for 80 chars per line.
10643         * java/net/JarURLConection.java
10644         (getInputStreami, getJarEntry): Likewise.
10645         * java/net/SocketPErmission.java
10646         (SocketPermission class docu, implies): Likewise.
10647         * java/net/URLClassLoader.java (findResources): Likewise.
10648         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
10649
10650 2002-09-13  Michael Koch  <konqueror@gmx.de>
10651
10652         * java/nio/channels/DatagramChannel.java,
10653         java/nio/channels/ServerSocketChannel.java
10654         java/nio/channels/SocketChannel.java:
10655         New dummy files to make java.net fully JDK 1.4 compatible
10656         * Makefile.am (ordinary_java_source_files): Added
10657         java/net/DatagramSocketImplFactory.java (long forgotten),
10658         java/nio/SocketChannel.java,
10659         java/nio/ServerSocketChannel.java,
10660         java/nio/DatagramChannel.java
10661         * Makefile.in: Regenrated.
10662
10663 2002-09-12  Michael Koch  <konqueror@gmx.de>
10664
10665         * java/net/DatagramSocketImpl.java
10666         (peekData): New method.
10667         * java/net/PlainDatagramSocketImpl.java
10668         (peekData): New method.
10669         * java/net/natPlainDatagramSocketImpl.cc
10670         (peekData): New method.
10671         * java/net/URLConnection
10672         (getPermission): New method.
10673         (addRequestProperty): New method.
10674         (getRequestProperties): New method.
10675         (guessContentTypeFromStream): New method, not really implemented.
10676         (URLConnection): Added/updated documentation.
10677         (connect): Added/updated documentation.
10678         (getURL): Added/updated documentation.
10679         (getContentLength): Added/updated documentation.
10680         (getContentType: Added/updated documentation.
10681         (getContentEncoding): Added/updated documentation.
10682         (getExpiration): Added/updated documentation.
10683         (getDate): Added/updated documentation.
10684         (getLastModified): Added/updated documentation.
10685         (getHeaderField): Added/updated documentation.
10686         (getHeaderFields): Added/updated documentation.
10687         (getHeaderFieldInt): Added/updated documentation.
10688         (getHeaderFieldDate): Added/updated documentation.
10689         (getHeaderFieldKey): Added/updated documentation.
10690         (getContent): Added/updated documentation.
10691         (getInputStream): Added/updated documentation.
10692         (getOutputStream): Added/updated documentation.
10693         (toString): Added/updated documentation.
10694         (setDoInput): Added/updated documentation.
10695         (getDoInput): Added/updated documentation.
10696         (setDoOutput): Added/updated documentation.
10697         (getDoOutput): Added/updated documentation.
10698         (setAllowUserInteraction): Added/updated documentation.
10699         (getAllowUserInteraction): Added/updated documentation.
10700         (setDefaultAllowUserInteraction): Added/updated documentation.
10701         (getDefaultAllowUserInteraction): Added/updated documentation.
10702         (setUseCaches): Added/updated documentation.
10703         (getUseCaches): Added/updated documentation.
10704         (setIfModifiedSince): Added/updated documentation.
10705         (getIfModifiedSince): Added/updated documentation.
10706         (getDefaultUseCaches): Added/updated documentation.
10707         (setDefaultUseCaches): Added/updated documentation.
10708         (setRequestProperty): Added/updated documentation.
10709         (getRequestProperty): Added/updated documentation.
10710         (setDefaultRequestProperty): Added/updated documentation.
10711         (getDefaultRequestProperty): Added/updated documentation.
10712         (setContentHandlerFactory): Added/updated documentation.
10713         (guessContentTypeFromName): Added/updated documentation.
10714         (getFileNameMap): Added/updated documentation.
10715         (setFileNameMap): Added/updated documentation.
10716
10717 2002-09-11  Michael Koch  <konqueror@gmx.de>
10718
10719         * java/net/Socket.java
10720         (Socket): protected to public (since JDK 1.4). Added @specnote.
10721         (bind): New method.
10722         (connect): Two new methods.
10723         (getKeepalive): Get correct socket option.
10724         (setKeepalive): Set correct socket option.
10725         (getOOBInline): New method.
10726         (setOOBInline): New method.
10727         * java/net/ServerSocket.java
10728         (bind): Two new methods.
10729         (getInetAddress): Reimplemented, catch exception.
10730         (getLocalSocketAddress): New method.
10731         (setReuseAddress): New method.
10732         (getReuseAdress): New method.
10733         (setReceiveBufferSize): New method.
10734         (getReceiveBufferSize): New method.
10735         (toString): Made string JDK 1.4 compliant.
10736
10737 2002-09-10  Michael Koch  <konqueror@gmx.de>
10738
10739         * java/net/SocketImpl.java
10740         (connect): New method.
10741         (supportsUrgentData): New method.
10742         (sendUrgentData): New method.
10743         * java/net/PlainSocketImpl.java
10744         (connect): One new method and two new implementation.
10745         (sendUrgentData): New method.
10746         * java/natPlainSocketImpl.cc
10747         (connect): Arguments changed, added support for timeouts.
10748         (getOption): Another __java_boolean to jboolean.
10749
10750 2002-09-07  Adam Megacz <adam@xwt.org>
10751
10752         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
10753         definition of IP_TOS.
10754
10755 2002-09-04  Michael Koch  <konqueror@gmx.de>
10756
10757         * java/net/DatagramSocket.java
10758         (DatagramSocket): Added documentation.
10759         (close): Likewise.
10760         (getLocalAddress): Likewise.
10761         (getLocalPort): Likewise.
10762         (receive): Likewise.
10763         (send): Likewise.
10764         (setSoTimeout): Likewise.
10765         (connect): New method.
10766         (disconnect): New method.
10767         (getInetAddress): New method (FIXME)
10768         (getPort): New method.
10769         (setReuseAddress): New method.
10770         (getReuseAddress): New method.
10771         (setBroadcast): New method.
10772         (getBroadcast): New method.
10773         (setTrafficClass): New method.
10774         (getTrafficClass): New method.
10775         * java/net/MulticastSocket.java):
10776         (getTTL): Added @see in documentation.
10777         (setTTL): Added @see in documentation.
10778         (setLoopbackMode): New method.
10779         (getLoopbackMode): New method.
10780         * java/net/PlainSocketImpl.java:
10781         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10782         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10783         * java/net/PlainDatagramSocketImpl.java
10784         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10785         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10786         * java/net/natPlainSocketImpl.cc
10787         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10788         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10789         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10790         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10791         This should also fix SO_KEEPALIVE
10792         * java/net/natPlainDatagramSocketImpl.cc
10793         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10794         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10795         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10796         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10797
10798 2002-09-04  Michael Koch  <konqueror@gmx.de>
10799
10800         * java/net/SocketOptions.java: added static variables to be JDK 1.4
10801         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
10802         IP_MULTICAST_LOOP, IP_TOS
10803
10804 2002-09-03  Tom Tromey  <tromey@redhat.com>
10805
10806         * java/lang/Class.h (_getDeclaredMethod): Declare.
10807         (_getMethod): Now private.
10808         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
10809         getDeclaredMethod.  Now returns NULL on failure.
10810         * java/lang/Class.java (_getDeclaredMethod): Declare.
10811         (getDeclaredMethod): No longer native; implements access checks.
10812
10813 2002-09-01  Mark Wielaard  <mark@klomp.org>
10814
10815         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
10816         (sanitizeStack): Correctly reset unknown and interpreter counters,
10817         detect interpreter runtime frames.
10818         (demangleInterpreterMethod): New method.
10819         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
10820         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
10821         filling in addrs[].
10822
10823 2002-09-02  Michael Koch  <konqueror@gmx.de>
10824
10825         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
10826         re-indented documentation.
10827
10828 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10829
10830         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
10831         public, per 1.4 spec.  Fixes PR libgcj/7785.
10832
10833 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
10834
10835         * Makefile.in: Rebuilt.
10836         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
10837
10838 2002-08-29  Tom Tromey  <tromey@redhat.com>
10839
10840         * java/net/JarURLConnection.java (getCertificates): New method
10841         from Classpath.
10842         * java/net/URLClassLoader.java (URLClassLoader): Extends
10843         SecureClassLoader.
10844         (definePackage): New method from Classpath.
10845         (getPermissions): Likewise.
10846         (newInstance): Likewise.
10847         (findClass): Construct CodeSource for new class (from Classpath).
10848         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
10849         methods.
10850         * java/net/URL.java (getUserInfo): New method.
10851         (set(String,String,int,String,String,String,String,String)): New
10852         method.
10853         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
10854         (shutdownInput, shutdownOutput): Declare.
10855         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
10856         Define.
10857         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
10858         (getOption): Likewise.
10859         (shutdownInput): New method.
10860         (shutdownOutput): Likewise.
10861         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
10862         keepalive.
10863         (getOption): Likewise.
10864         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
10865         * java/net/Socket.java (setKeepAlive): New method.
10866         (getKeepAlive): Likewise.
10867         (shutdownInput, shutdownOutput): New methods.
10868
10869 2002-08-29  Michael Koch  <konqueror@gmx.de>
10870
10871         * java/net/DatagramPacket.java: updated to JDK 1.4 API
10872         new methods are:
10873         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
10874           address),
10875         DatagramPacket(byte[] buf, int length, SocketAddress address),
10876         void setSocketAddress(SocketAddress address)
10877         public SocketAddress getSocketAddress()
10878
10879 2002-08-29  Tom Tromey  <tromey@redhat.com>
10880
10881         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
10882         ftruncate is missing.
10883         * configure, include/config.h.in: Rebuilt.
10884         * acconfig.h (HAVE_FTRUNCATE): Mention.
10885         * configure.in: Check for ftruncate.
10886
10887 2002-08-29  Tom Tromey  <tromey@redhat.com>
10888
10889         * include/jvm.h (struct _Jv_frame_info): New structure.
10890         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
10891         java-interp.h.
10892         (lookupInterp): New method.
10893         (getAddrAsString): Use _Jv_frame_info.
10894         (dladdrLookup): Likewise.
10895         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
10896         interpreted frame.
10897         (lookupInterp): Declare.
10898         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
10899         (fillInStackTrace): Collect information on interpreted frames.
10900         Use _Jv_frame_info.
10901         * interpret.cc: Include Thread.h.
10902         (run): Create and push _Jv_MethodChain object.
10903         (_Jv_EndOfInterpreter): New global.
10904         * java/lang/Thread.java (interp_frame): New field.
10905         * include/java-interp.h (struct _Jv_MethodChain): New structure.
10906         Include NameFinder.h.
10907
10908 2002-08-28  Tom Tromey  <tromey@redhat.com>
10909
10910         * java/lang/Class.h: Include Package.h.
10911         (Class::getProtectionDomain): Declare.
10912         (Class::getPackage): Declare.
10913
10914 2002-08-28  Michael Koch <konqueror@gmx.de>
10915
10916         * java/net/InetSocketAddress.java: Added some documentation and argument
10917         checks for the port numbers.
10918         * java/net/DatagramSocketImplFactory.java: New file.
10919
10920 2002-08-28  Michael Koch <konqueror@gmx.de>
10921
10922         * java/net/Authenticator.java: added some documentation.
10923
10924 2002-08-27  Tom Tromey  <tromey@redhat.com>
10925
10926         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
10927         class.
10928         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
10929
10930 2002-08-27  Michael Koch <konqueror@gmx.de>
10931
10932         * java/net/BindException.java,
10933         java/net/JarURLConnection.java,
10934         java/net/FileNameMap.java,
10935         java/net/HttpURLConnection.java,
10936         java/net/InetSocketAddress.java,
10937         java/net/DatagramPacket.java,
10938         java/net/DatagramSocket.java,
10939         java/net/DatagramSocketImpl.java,
10940         java/net/MulticastSocket.java,
10941         java/net/PasswordAuthentication.java,
10942         java/net/ServerSocket.java,
10943         java/net/Socket.java,
10944         java/net/URLClassLoader.java,
10945         java/net/URLConnection.java: add/update of some @since/@deprecated
10946
10947 2002-08-27  Tony Kimball <alk@pobox.com>
10948             Tom Tromey  <tromey@redhat.com>
10949
10950         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
10951         define.
10952         (::close): Removed.
10953         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
10954         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
10955         (::close): Removed.
10956         (PlainSocketImpl::close): Use NATIVE_CLOSE.
10957         * include/win32.h (getcwd): Removed declaration.  Include io.h.
10958
10959 2002-08-25  Adam Megacz <adam@xwt.org>
10960
10961         * include/win32.h (getcwd): copied function declaration as
10962         temporary fix for header confusion.
10963
10964 2002-08-24  Mark Wielaard <mark@klomp.org>
10965
10966         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
10967         (core_java_source_files): Add VMThrowable.java and NameFinder.java
10968         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
10969         and natNameFinder.cc.
10970         * Makefile.in: Regenerate.
10971         * prims.cc: Use trace_enabled from VMThrowable.
10972         * name-finder.cc: Removed.
10973         * gcj/javaprims.h: Add class VMThrowable.
10974         * gnu/gcj/runtime/NameFinder.java: New file.
10975         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
10976         * include/name-finder.h: Removed.
10977         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
10978         method stackTraceString().
10979         (printStackTrace (PrintWriter)): Likewise.
10980         (stackTraceString): Complete rewrite of old printStackTrace using
10981         StringBuffer.
10982         (stackTraceStringBuffer): New helper method for stackTraceString().
10983         (fillInStackTrace): Delegate to VMTrowable.
10984         (getStackTrace): Likewise.
10985         (getStackTrace0): Removed.
10986         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
10987         (setStackTrace): Copy given array.
10988         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
10989         * java/lang/VMThrowable.java: New class.
10990         * java/lang/natVMThrowable.cc: New file.
10991
10992 2003-08-23  Michael Koch  <konqueror@gmx.de>
10993
10994         * java/net/URLConnection.java,
10995         java/netJarURLConnection.java,
10996         gnu/gcj/protocol/core/Connection.java,
10997         gnu/gcj/protocol/file/Connection.java,
10998         gnu/gcj/protocol/http/Connection.java: Added implementation of
10999         getHeaderFields().
11000
11001 2002-08-22  Tom Tromey  <tromey@redhat.com>
11002
11003         * gij.cc (help): Document -cp and -classpath.
11004         (main): Handle -classpath.
11005
11006 2002-08-21  Tom Tromey  <tromey@redhat.com>
11007
11008         * Makefile.in: Rebuilt.
11009         * Makefile.am (ordinary_java_source_files): Added
11010         SocketAddress.java, InetSocketAddress.java.
11011         * java/net/PortUnreachableException.java: Merged with Classpath.
11012         * java/net/SocketTimeoutException.java: Likewise.
11013         * java/net/URISyntaxException.java: Likewise.
11014         * java/net/SocketAddress.java: New class from Classpath.
11015         * java/net/InetSocketAddress.java: Likewise.
11016
11017 2003-08-21  Michael Koch  <konqueror@gmx.de>
11018
11019         * java/net/Authenticator.java: updated JDK 1.4
11020         * java/net/ContentHandler.java: updated JDK 1.4
11021
11022 2002-08-20  Michael Koch  <konqueror@gmx.de>
11023
11024         * java/net/URISyntaxException.java: New file.
11025         * java/net/SocketTimeoutException.java: New file.
11026         * java/net/PortUnreachableException.java: New file.
11027         * Makefile.am: Updated.
11028         * Makefile.in: Rebuilt.
11029
11030 2002-08-18  Mark Wielaard  <mark@klomp.org>
11031
11032         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
11033         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11034         MessageDigestSpi (fixes Classpath bug #783).
11035
11036 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11037
11038         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
11039         (startProcess): Allocate path for chdir in async-signal-safe way.
11040
11041 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11042
11043         Fix for PR libgcj/7570 and PR libgcj/7578:
11044         * java/lang/natPosixProcess.cc: Include java/io/File.h.
11045         (startProcess): Handle new `dir' argument.
11046         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
11047         argument.
11048         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
11049         argument.
11050         (startProcess): Likewise.
11051         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
11052         argument.
11053         * java/lang/Runtime.java (execInternal): Added `dir' argument.
11054         (exec): Don't create new environment if ENV==null.  Pass DIR to
11055         execInternal.
11056         * java/lang/natRuntime.cc: Include java/io/File.h.
11057         (execInternal): Added `dir' argument.
11058
11059 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
11060
11061         * java/io/RandomAccessFile.java (skipBytes): Return number of
11062         bytes skipped.
11063
11064 2002-08-01  Mark Wielaard  <mark@klomp.org>
11065
11066         Reenable patch since shared library troubles on powerpc are solved:
11067         * gnu/java/security/provider/Gnu.java: Reference all implementation
11068         classes by using Class.getName().
11069         * gnu/java/security/der/DEREncodingException.java,
11070         gnu/java/security/provider/DERReader.java,
11071         gnu/java/security/provider/DERWriter.java,
11072         gnu/java/security/provider/DSAKeyPairGenerator.java,
11073         gnu/java/security/provider/DSAParameterGenerator.java,
11074         gnu/java/security/provider/DSAParameters.java,
11075         gnu/java/security/provider/DSASignature.java,
11076         gnu/java/security/provider/GnuDSAPrivateKey.java,
11077         gnu/java/security/provider/GnuDSAPublicKey.java,
11078         gnu/java/security/provider/MD5.java,
11079         gnu/java/security/util/Prime.java: New classes
11080         * Makefile.am (ordinary_java_source_files): Add above files.
11081         * Makefile.in: Regenerate.
11082         * gnu/java/security/provider/DefaultPolicy.java
11083         (getPermissions): Don't maintain static class variable of Permissions.
11084         * gnu/java/security/provider/SHA.java
11085         (engineUpdate): algorithm change.
11086         (engineDigest): algorithm change.
11087
11088 2002-08-09  Mark Wielaard  <mark@klomp.org>
11089
11090         * java/awt/image/MemoryImageSource.java: Change constructor to take
11091         int[] not byte[].
11092         * java/awt/Graphics2D.java: Uncomment methods that can now be
11093         compiled.
11094         * java/awt/GridBagLayout.java: New stub implementation.
11095         * javax/swing/text/html/HTML.java: Stub implementation.
11096         * javax/swing/text/html/parser/ParserDelegator.java: New stub
11097         implementation.
11098
11099         * Makefile.am: Add new files.
11100         * Makefile.in: Rebuilt.
11101
11102 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11103
11104         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
11105         methods in Graphics2D.
11106
11107 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11108
11109         AWT/Swing merge from GNU Classpath.
11110
11111         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
11112         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
11113         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
11114         java/awt/color/ProfileDataException.java,
11115         java/awt/CompositeContext.java, java/awt/Composite.java,
11116         java/awt/ContainerOrderFocusTraversalPolicy.java,
11117         java/awt/datatransfer/FlavorTable.java,
11118         java/awt/DefaultFocusTraversalPolicy.java,
11119         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
11120         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
11121         java/awt/dnd/DragGestureListener.java,
11122         java/awt/dnd/DragGestureRecognizer.java,
11123         java/awt/dnd/DragSourceAdapter.java,
11124         java/awt/dnd/DragSourceContext.java,
11125         java/awt/dnd/DragSourceDragEvent.java,
11126         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
11127         java/awt/dnd/DragSourceListener.java,
11128         java/awt/dnd/DragSourceMotionListener.java,
11129         java/awt/dnd/DropTarget.java,
11130         java/awt/dnd/InvalidDnDOperationException.java,
11131         java/awt/dnd/peer/DragSourceContextPeer.java,
11132         java/awt/event/AWTEventListenerProxy.java,
11133         java/awt/event/MouseWheelEvent.java,
11134         java/awt/event/MouseWheelListener.java,
11135         java/awt/event/WindowFocusListener.java,
11136         java/awt/event/WindowStateListener.java,
11137         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
11138         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
11139         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
11140         java/awt/geom/FlatteningPathIterator.java,
11141         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
11142         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
11143         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
11144         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
11145         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
11146         java/awt/image/ImagingOpException.java,
11147         java/awt/image/RasterFormatException.java,
11148         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
11149         java/awt/image/VolatileImage.java,
11150         java/awt/image/WritableRenderedImage.java,
11151         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
11152         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
11153         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
11154         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
11155         java/awt/PageAttributes.java, java/awt/print/Book.java,
11156         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
11157         java/awt/print/Paper.java, java/awt/print/Printable.java,
11158         java/awt/print/PrinterAbortException.java,
11159         java/awt/print/PrinterException.java,
11160         java/awt/print/PrinterGraphics.java,
11161         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
11162         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
11163         java/awt/Stroke.java, java/awt/TexturePaint.java,
11164         javax/accessibility/AccessibleAction.java,
11165         javax/accessibility/AccessibleBundle.java,
11166         javax/accessibility/AccessibleComponent.java,
11167         javax/accessibility/AccessibleContext.java,
11168         javax/accessibility/AccessibleEditableText.java,
11169         javax/accessibility/AccessibleExtendedComponent.java,
11170         javax/accessibility/AccessibleExtendedTable.java,
11171         javax/accessibility/AccessibleHyperlink.java,
11172         javax/accessibility/AccessibleHypertext.java,
11173         javax/accessibility/AccessibleIcon.java,
11174         javax/accessibility/Accessible.java,
11175         javax/accessibility/AccessibleKeyBinding.java,
11176         javax/accessibility/AccessibleRelation.java,
11177         javax/accessibility/AccessibleRelationSet.java,
11178         javax/accessibility/AccessibleResourceBundle.java,
11179         javax/accessibility/AccessibleRole.java,
11180         javax/accessibility/AccessibleSelection.java,
11181         javax/accessibility/AccessibleState.java,
11182         javax/accessibility/AccessibleStateSet.java,
11183         javax/accessibility/AccessibleTable.java,
11184         javax/accessibility/AccessibleTableModelChange.java,
11185         javax/accessibility/AccessibleText.java,
11186         javax/accessibility/AccessibleValue.java,
11187         javax/swing/AbstractAction.java,
11188         javax/swing/AbstractButton.java,
11189         javax/swing/AbstractCellEditor.java,
11190         javax/swing/AbstractListModel.java,
11191         javax/swing/AbstractSet.java, javax/swing/Action.java,
11192         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
11193         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
11194         javax/swing/border/CompoundBorder.java,
11195         javax/swing/border/EmptyBorder.java,
11196         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
11197         javax/swing/border/LineBorder.java,
11198         javax/swing/border/MatteBorder.java,
11199         javax/swing/border/TitledBorder.java,
11200         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
11201         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
11202         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
11203         javax/swing/CellRendererPane.java,
11204         javax/swing/colorchooser/AbstractColorChooserPanel.java,
11205         javax/swing/colorchooser/ColorChooserComponentFactory.java,
11206         javax/swing/colorchooser/ColorSelectionModel.java,
11207         javax/swing/colorchooser/DefaultColorSelectionModel.java,
11208         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
11209         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
11210         javax/swing/DefaultBoundedRangeModel.java,
11211         javax/swing/DefaultButtonModel.java,
11212         javax/swing/DefaultCellEditor.java,
11213         javax/swing/DefaultCellRenderer.java,
11214         javax/swing/DefaultComboBoxModel.java,
11215         javax/swing/DefaultDesktopManager.java,
11216         javax/swing/DefaultFocusManager.java,
11217         javax/swing/DefaultListCellRenderer.java,
11218         javax/swing/DefaultListModel.java,
11219         javax/swing/DefaultListSelectionModel.java,
11220         javax/swing/DefaultSingleSelectionModel.java,
11221         javax/swing/DesktopManager.java,
11222         javax/swing/event/AncestorEvent.java,
11223         javax/swing/event/AncestorListener.java,
11224         javax/swing/event/CaretEvent.java,
11225         javax/swing/event/CaretListener.java,
11226         javax/swing/event/CellEditorListener.java,
11227         javax/swing/event/ChangeEvent.java,
11228         javax/swing/event/ChangeListener.java,
11229         javax/swing/event/DocumentEvent.java,
11230         javax/swing/event/DocumentListener.java,
11231         javax/swing/event/EventListenerList.java,
11232         javax/swing/event/HyperlinkEvent.java,
11233         javax/swing/event/HyperlinkListener.java,
11234         javax/swing/event/InternalFrameAdapter.java,
11235         javax/swing/event/InternalFrameEvent.java,
11236         javax/swing/event/InternalFrameListener.java,
11237         javax/swing/event/ListDataEvent.java,
11238         javax/swing/event/ListDataListener.java,
11239         javax/swing/event/ListSelectionEvent.java,
11240         javax/swing/event/ListSelectionListener.java,
11241         javax/swing/event/MenuDragMouseEvent.java,
11242         javax/swing/event/MenuDragMouseListener.java,
11243         javax/swing/event/MenuEvent.java,
11244         javax/swing/event/MenuKeyEvent.java,
11245         javax/swing/event/MenuKeyListener.java,
11246         javax/swing/event/MenuListener.java,
11247         javax/swing/event/MouseInputAdapter.java,
11248         javax/swing/event/MouseInputListener.java,
11249         javax/swing/event/PopupMenuEvent.java,
11250         javax/swing/event/PopupMenuListener.java,
11251         javax/swing/event/SwingPropertyChangeSupport.java,
11252         javax/swing/event/TableColumnModelEvent.java,
11253         javax/swing/event/TableColumnModelListener.java,
11254         javax/swing/event/TableModelEvent.java,
11255         javax/swing/event/TableModelListener.java,
11256         javax/swing/event/TreeExpansionEvent.java,
11257         javax/swing/event/TreeExpansionListener.java,
11258         javax/swing/event/TreeModelEvent.java,
11259         javax/swing/event/TreeModelListener.java,
11260         javax/swing/event/TreeSelectionEvent.java,
11261         javax/swing/event/TreeSelectionListener.java,
11262         javax/swing/event/TreeWillExpandListener.java,
11263         javax/swing/event/UndoableEditEvent.java,
11264         javax/swing/event/UndoableEditListener.java,
11265         javax/swing/filechooser/FileFilter.java,
11266         javax/swing/filechooser/FileSystemView.java,
11267         javax/swing/filechooser/FileView.java,
11268         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11269         javax/swing/Icon.java, javax/swing/ImageIcon.java,
11270         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11271         javax/swing/JApplet.java, javax/swing/JButton.java,
11272         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11273         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11274         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11275         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11276         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11277         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11278         javax/swing/JLayeredPane.java, javax/swing/JList.java,
11279         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11280         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11281         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11282         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11283         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11284         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11285         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11286         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11287         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11288         javax/swing/JTextField.java, javax/swing/JTextPane.java,
11289         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11290         javax/swing/JToolTip.java, javax/swing/JTree.java,
11291         javax/swing/JViewport.java, javax/swing/JWindow.java,
11292         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11293         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11294         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11295         javax/swing/MenuSelectionManager.java,
11296         javax/swing/MutableComboBoxModel.java,
11297         javax/swing/OverlayLayout.java,
11298         javax/swing/plaf/ActionMapUIResource.java,
11299         javax/swing/plaf/basic/BasicBorders.java,
11300         javax/swing/plaf/basic/BasicButtonUI.java,
11301         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11302         javax/swing/plaf/basic/BasicDefaults.java,
11303         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11304         javax/swing/plaf/basic/BasicIconFactory.java,
11305         javax/swing/plaf/basic/BasicLabelUI.java,
11306         javax/swing/plaf/basic/BasicListUI.java,
11307         javax/swing/plaf/basic/BasicLookAndFeel.java,
11308         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11309         javax/swing/plaf/basic/BasicPanelUI.java,
11310         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11311         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11312         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11313         javax/swing/plaf/basic/BasicTextUI.java,
11314         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11315         javax/swing/plaf/basic/BasicTreeUI.java,
11316         javax/swing/plaf/basic/BasicViewportUI.java,
11317         javax/swing/plaf/BorderUIResource.java,
11318         javax/swing/plaf/ButtonUI.java,
11319         javax/swing/plaf/ColorChooserUI.java,
11320         javax/swing/plaf/ColorUIResource.java,
11321         javax/swing/plaf/ComboBoxUI.java,
11322         javax/swing/plaf/ComponentInputMapUIResource.java,
11323         javax/swing/plaf/ComponentUI.java,
11324         javax/swing/plaf/DesktopIconUI.java,
11325         javax/swing/plaf/DesktopPaneUI.java,
11326         javax/swing/plaf/DimensionUIResource.java,
11327         javax/swing/plaf/FileChooserUI.java,
11328         javax/swing/plaf/FontUIResource.java,
11329         javax/swing/plaf/IconUIResource.java,
11330         javax/swing/plaf/InputMapUIResource.java,
11331         javax/swing/plaf/InsetsUIResource.java,
11332         javax/swing/plaf/InternalFrameUI.java,
11333         javax/swing/plaf/LabelUI.java,
11334         javax/swing/plaf/ListUI.java,
11335         javax/swing/plaf/MenuBarUI.java,
11336         javax/swing/plaf/MenuItemUI.java,
11337         javax/swing/plaf/OptionPaneUI.java,
11338         javax/swing/plaf/PanelUI.java,
11339         javax/swing/plaf/PopupMenuUI.java,
11340         javax/swing/plaf/ProgressBarUI.java,
11341         javax/swing/plaf/RootPaneUI.java,
11342         javax/swing/plaf/ScrollBarUI.java,
11343         javax/swing/plaf/ScrollPaneUI.java,
11344         javax/swing/plaf/SeparatorUI.java,
11345         javax/swing/plaf/SliderUI.java,
11346         javax/swing/plaf/SplitPaneUI.java,
11347         javax/swing/plaf/TabbedPaneUI.java,
11348         javax/swing/plaf/TableHeaderUI.java,
11349         javax/swing/plaf/TableUI.java,
11350         javax/swing/plaf/TextUI.java,
11351         javax/swing/plaf/ToolBarUI.java,
11352         javax/swing/plaf/ToolTipUI.java,
11353         javax/swing/plaf/TreeUI.java,
11354         javax/swing/plaf/UIResource.java,
11355         javax/swing/plaf/ViewportUI.java,
11356         javax/swing/ProgressMonitorInputStream.java,
11357         javax/swing/ProgressMonitor.java,
11358         javax/swing/Renderer.java,
11359         javax/swing/RepaintManager.java,
11360         javax/swing/RootPaneContainer.java,
11361         javax/swing/Scrollable.java,
11362         javax/swing/ScrollPaneConstants.java,
11363         javax/swing/ScrollPaneLayout.java,
11364         javax/swing/SingleSelectionModel.java,
11365         javax/swing/SizeRequirements.java,
11366         javax/swing/SizeSequence.java,
11367         javax/swing/SwingConstants.java,
11368         javax/swing/SwingUtilities.java,
11369         javax/swing/table/AbstractTableModel.java,
11370         javax/swing/table/DefaultTableCellRenderer.java,
11371         javax/swing/table/DefaultTableColumnModel.java,
11372         javax/swing/table/DefaultTableModel.java,
11373         javax/swing/table/TableCellEditor.java,
11374         javax/swing/table/TableCellRenderer.java,
11375         javax/swing/table/TableColumn.java,
11376         javax/swing/table/TableColumnModel.java,
11377         javax/swing/table/TableModel.java,
11378         javax/swing/text/AbstractDocument.java,
11379         javax/swing/text/AttributeSet.java,
11380         javax/swing/text/BadLocationException.java,
11381         javax/swing/text/Caret.java,
11382         javax/swing/text/CharacterIterator.java,
11383         javax/swing/text/ComponentView.java,
11384         javax/swing/text/DefaultCaret.java,
11385         javax/swing/text/DefaultEditorKit.java,
11386         javax/swing/text/Document.java,
11387         javax/swing/text/EditorKit.java,
11388         javax/swing/text/Element.java,
11389         javax/swing/text/GapContent.java,
11390         javax/swing/text/JTextComponent.java,
11391         javax/swing/text/Keymap.java,
11392         javax/swing/text/MutableAttributeSet.java,
11393         javax/swing/text/PlainDocument.java,
11394         javax/swing/text/PlainEditorKit.java,
11395         javax/swing/text/Position.java,
11396         javax/swing/text/Segment.java,
11397         javax/swing/text/StyledDocument.java,
11398         javax/swing/text/StyledEditorKit.java,
11399         javax/swing/text/Style.java,
11400         javax/swing/text/TextAction.java,
11401         javax/swing/text/ViewFactory.java,
11402         javax/swing/text/View.java,
11403         javax/swing/Timer.java,
11404         javax/swing/ToggleButtonModel.java,
11405         javax/swing/ToolTipManager.java,
11406         javax/swing/tree/AbstractLayoutCache.java,
11407         javax/swing/tree/DefaultMutableTreeNode.java,
11408         javax/swing/tree/DefaultTreeCellEditor.java,
11409         javax/swing/tree/DefaultTreeCellRenderer.java,
11410         javax/swing/tree/DefaultTreeModel.java,
11411         javax/swing/tree/DefaultTreeSelectionModel.java,
11412         javax/swing/tree/ExpandVetoException.java,
11413         javax/swing/tree/FixedHeightLayoutCache.java,
11414         javax/swing/tree/MutableTreeNode.java,
11415         javax/swing/tree/RowMapper.java,
11416         javax/swing/tree/TreeCellEditor.java,
11417         javax/swing/tree/TreeCellRenderer.java,
11418         javax/swing/tree/TreeModel.java,
11419         javax/swing/tree/TreeNode.java,
11420         javax/swing/tree/TreePath.java,
11421         javax/swing/tree/TreeSelectionModel.java,
11422         javax/swing/tree/VariableHeightLayoutCache.java,
11423         javax/swing/UIDefaults.java,
11424         javax/swing/UIManager.java,
11425         javax/swing/undo/AbstractUndoableEdit.java,
11426         javax/swing/undo/CannotRedoException.java,
11427         javax/swing/undo/CannotUndoException.java,
11428         javax/swing/undo/CompoundEdit.java,
11429         javax/swing/undo/StateEditable.java,
11430         javax/swing/undo/StateEdit.java,
11431         javax/swing/undo/UndoableEdit.java,
11432         javax/swing/undo/UndoableEditSupport.java,
11433         javax/swing/undo/UndoManager.java,
11434         javax/swing/UnsupportedLookAndFeelException.java,
11435         javax/swing/ViewportLayout.java,
11436         javax/swing/WindowConstants.java: New files, from GNU Classpath.
11437
11438         * java/awt/ActiveEvent.java,
11439         java/awt/Adjustable.java, java/awt/AWTError.java,
11440         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
11441         java/awt/AWTException.java, java/awt/AWTPermission.java,
11442         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
11443         java/awt/Color.java, java/awt/Component.java,
11444         java/awt/ComponentOrientation.java, java/awt/Container.java,
11445         java/awt/datatransfer/MimeTypeParseException.java,
11446         java/awt/datatransfer/Transferable.java,
11447         java/awt/datatransfer/UnsupportedFlavorException.java,
11448         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
11449         java/awt/event/ActionListener.java,
11450         java/awt/event/AdjustmentEvent.java,
11451         java/awt/event/AdjustmentListener.java,
11452         java/awt/event/AWTEventListener.java,
11453         java/awt/event/ComponentAdapter.java,
11454         java/awt/event/ComponentEvent.java,
11455         java/awt/event/ComponentListener.java,
11456         java/awt/event/ContainerAdapter.java,
11457         java/awt/event/ContainerEvent.java,
11458         java/awt/event/ContainerListener.java,
11459         java/awt/event/FocusAdapter.java,
11460         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
11461         java/awt/event/HierarchyBoundsAdapter.java,
11462         java/awt/event/HierarchyBoundsListener.java,
11463         java/awt/event/HierarchyEvent.java,
11464         java/awt/event/HierarchyListener.java,
11465         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
11466         java/awt/event/InputMethodListener.java,
11467         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11468         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11469         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11470         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11471         java/awt/event/MouseListener.java,
11472         java/awt/event/MouseMotionAdapter.java,
11473         java/awt/event/MouseMotionListener.java,
11474         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11475         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11476         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11477         java/awt/event/WindowListener.java, java/awt/Font.java,
11478         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11479         java/awt/geom/Ellipse2D.java,
11480         java/awt/geom/IllegalPathStateException.java,
11481         java/awt/geom/Line2D.java,
11482         java/awt/geom/NoninvertibleTransformException.java,
11483         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11484         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11485         java/awt/geom/RoundRectangle2D.java,
11486         java/awt/GraphicsConfiguration.java,
11487         java/awt/IllegalComponentStateException.java,
11488         java/awt/image/IndexColorModel.java,
11489         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11490         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11491         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11492         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11493         java/awt/MenuItem.java, java/awt/PaintContext.java,
11494         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11495         java/awt/Polygon.java, java/awt/PrintGraphics.java,
11496         java/awt/PrintJob.java, java/awt/Rectangle.java,
11497         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11498         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11499         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11500
11501         * java/awt/im/spi/InputMethod.java,
11502         java/awt/im/spi/InputMethodContext.java,
11503         java/awt/im/spi/InputMethodDescriptor.java,
11504         java/awt/image/renderable/ContextualRenderedImageFactory.java,
11505         java/awt/image/renderable/ParameterBlock.java,
11506         java/awt/image/renderable/RenderContext.java,
11507         java/awt/image/renderable/RenderableImage.java,
11508         java/awt/image/renderable/RenderableImageOp.java,
11509         java/awt/image/renderable/RenderableImageProducer.java,
11510         java/awt/image/renderable/RenderedImageFactory.java: New files from
11511         classpath.
11512
11513         * gnu/java/awt/EventModifier.java,
11514         gnu/java/awt/image/ImageDecoder.java,
11515         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11516
11517         * gnu/awt/xlib/XGraphicsConfiguration.java,
11518         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11519         API.
11520
11521         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11522         GNU Classpath.
11523
11524         * Makefile.am: Add new files.
11525         * Makefile.in: Rebuilt.
11526
11527 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11528
11529         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11530         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11531         findResource, getResources, findResources): Add javadoc from classpath.
11532         (getSystemResources): Implemented.
11533
11534 2002-08-01  Mark Wielaard  <mark@klomp.org>
11535
11536         Revert patch that breaks libgcj shared library on powerpc:
11537         * gnu/java/security/provider/Gnu.java: Reverse referencing all
11538         implementation classes by using Class.getName(). Uses Strings again.
11539         * gnu/java/security/der/DEREncodingException.java,
11540         gnu/java/security/provider/DERReader.java,
11541         gnu/java/security/provider/DERWriter.java,
11542         gnu/java/security/provider/DSAKeyPairGenerator.java,
11543         gnu/java/security/provider/DSAParameterGenerator.java,
11544         gnu/java/security/provider/DSAParameters.java,
11545         gnu/java/security/provider/DSASignature.java,
11546         gnu/java/security/provider/GnuDSAPrivateKey.java,
11547         gnu/java/security/provider/GnuDSAPublicKey.java,
11548         gnu/java/security/provider/MD5.java,
11549         gnu/java/security/util/Prime.java: Removed.
11550         * Makefile.am (ordinary_java_source_files): Remove above files.
11551         * Makefile.in: Regenerate.
11552         * gnu/java/security/provider/DefaultPolicy.java
11553         (getPermissions): Revert to maintaining static class variable of
11554         Permissions.
11555         * gnu/java/security/provider/SHA.java
11556         (engineUpdate): Revert algorithm change.
11557         (engineDigest): Revert algorithm change.
11558
11559 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
11560
11561         * configure.host: Add SH support.
11562         * sysdep/sh/locks.h: New file.
11563
11564 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11565
11566         * java/awt/Frame.java (Frame): Remove println calls.
11567
11568 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
11569
11570         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
11571         * configure: Rebuilt.
11572
11573 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11574
11575         * sysdep/powerpc/locks.h: Formatting.
11576         (_LARX): Define.
11577         (_STCX): Define.
11578         (compare_and_swap): Use _LARX and _STCX.
11579         (compare_and_swap_release): Likewise.
11580
11581 2002-07-26  Tom Tromey  <tromey@redhat.com>
11582
11583         * java/net/Authenticator.java: New version from Classpath.
11584         * java/net/DatagramSocketImpl.java: New version from Classpath.
11585
11586 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11587
11588         * configure.host: Add powerpc64*-* entry.
11589
11590 2002-07-26  Tom Tromey  <tromey@redhat.com>
11591
11592         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
11593         fcntl.h.
11594
11595 2002-07-24  Tom Tromey  <tromey@redhat.com>
11596
11597         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
11598         argument to _load.
11599
11600 2002-07-24  Tom Tromey  <tromey@redhat.com>
11601             Tony Kimball <alk@pobox.com>
11602
11603         * java/io/natFileDescriptorWin32.cc (setLength): New method.
11604         * java/io/natFileDescriptorPosix.cc (setLength): New method.
11605         * java/io/RandomAccessFile.java (setLength): New method.
11606         * java/io/natFileDescriptorEcos.cc (setLength): New method.
11607         * java/io/FileDescriptor.java (setLength): New method.
11608
11609 2002-07-24  Mark Wielaard  <mark@klomp.org>
11610
11611         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
11612         * java/io/ObjectInputStream.java (setBooleanField): Before setting
11613         field call setAccessible(true).
11614         (setByteField): Likewise.
11615         (setCharField): Likewise.
11616         (setDoubleField): Likewise.
11617         (setFloatField): Likewise.
11618         (setIntField): Likewise.
11619         (setLongField): Likewise.
11620         (setShortField): Likewise.
11621         (setObjectField): Likewise.
11622
11623 2002-07-24  Tom Tromey  <tromey@redhat.com>
11624
11625         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
11626         use toString() to format array element.
11627
11628 2002-07-23  Mark Wielaard  <mark@klomp.org>
11629
11630         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11631         MessageDigestSpi (fixes Classpath bug #783).
11632
11633 2002-07-21  Mark Wielaard  <mark@klomp.org>
11634
11635         * gnu/java/security/provider/Gnu.java: Reference all implementation
11636         classes by using Class.getName().
11637
11638 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
11639
11640         * java/lang/ieeefp.h: Add x86-64 support.
11641         * configure.in: Likewise.
11642         * configure.host: Likewise.
11643         * configure: Regenerated.
11644         * sysdep/x86-64/locks.h: New file with x86-64 locks.
11645
11646 2002-07-16  Mark Wielaard  <mark@klomp.org>
11647
11648         * java/io/StreamTokenizer.java (pushBack): Update documentation.
11649         (whitespaceChars): call resetChar().
11650
11651 2002-07-15  Tom Tromey  <tromey@redhat.com>
11652
11653         * Makefile.in: Rebuilt.
11654         * Makefile.am (awt_java_source_files): Added new files.
11655         * java/beans/ExceptionListener.java: Merged with Classpath.
11656         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
11657         * java/beans/PropertyChangeListener.java: Merged with Classpath.
11658         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
11659         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
11660         * java/beans/VetoableChangeListener.java: Merged with Classpath.
11661         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
11662         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
11663
11664 2002-07-14  Mark Wielaard  <mark@klomp.org>
11665
11666         * gnu/java/security/der/DEREncodingException.java,
11667         gnu/java/security/provider/DERReader.java,
11668         gnu/java/security/provider/DERWriter.java,
11669         gnu/java/security/provider/DSAKeyPairGenerator.java,
11670         gnu/java/security/provider/DSAParameterGenerator.java,
11671         gnu/java/security/provider/DSAParameters.java,
11672         gnu/java/security/provider/DSASignature.java,
11673         gnu/java/security/provider/GnuDSAPrivateKey.java,
11674         gnu/java/security/provider/GnuDSAPublicKey.java,
11675         gnu/java/security/provider/MD5.java,
11676         gnu/java/security/util/Prime.java: New files from Classpath.
11677         * Makefile.am (ordinary_java_source_files): Add new files.
11678         * Makefile.in: Regenerate.
11679
11680 2002-07-14  C. Brian Jones <cbj@gnu.org>
11681
11682         * gnu/java/security/provider/DefaultPolicy.java
11683         (getPermissions): do not maintain static class variable of
11684         Permissions
11685         * gnu/java/security/provider/SHA.java
11686         (engineUpdate): algorithm change
11687         (engineDigest): algorithm change
11688
11689 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
11690
11691         For PR libgcj/7292:
11692         * java/lang/Character.java (toString(char)): Now static.
11693
11694 2002-07-12  Mark Wielaard  <mark@klomp.org>
11695
11696         * java/lang/natThrowable.cc (printRawStackTrace): removed.
11697         (getStackTrace0): new method.
11698         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
11699         (printStackTrace(PrintWriter)): replace with pure java implementation.
11700         (printRawStackTrace): removed.
11701         (getStackTrace0): new method.
11702         * java/lang/StackTraceElement.java (toString): add extra whitespace.
11703         * gcj/javaprims.h: regenerate class list.
11704         * include/name-finder.h (lookup): new returns StackTraceElement*.
11705         (method_name, file_name): fields removed.
11706         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
11707         (~_Jv_name_finder): close new descriptors.
11708         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
11709         (createStackTraceElement): new method.
11710         (lookup): returns StackTraceElement*, uses createStackTraceElement().
11711
11712 2002-07-10  Tom Tromey  <tromey@redhat.com>
11713
11714         * configure: Rebuilt.
11715         * configure.in: Use `test' after `&&'.  From Chris Faylor.
11716
11717 2002-07-08  Mark Wielaard  <mark@klomp.org>
11718
11719         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
11720         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
11721         java.sql.DatabaseMetaData.TestJdbc20
11722
11723 2002-07-05  Tony Kimball  <alk@pobox.com>
11724
11725         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
11726
11727 2002-07-04  Tom Tromey  <tromey@redhat.com>
11728             Jeff Sturm  <jsturm@one-point.com>
11729
11730         Fix for PR libgcj/7060:
11731         * java/lang/Class.h (_getMethod): Renamed from getMethod.
11732         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
11733         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
11734         * java/lang/Class.java (getMethod): New Java implementation;
11735         complies with spec.
11736         (_getMethod): New native method.
11737
11738 2002-07-02  Tom Tromey  <tromey@redhat.com>
11739             David Hovemeyer  <daveho@cs.umd.edu>
11740
11741         * java/text/ChoiceFormat.java
11742         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
11743         in check loop.
11744         * java/text/MessageFormat.java
11745         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
11746         to MessageFormat.
11747
11748 2002-07-01  Tom Tromey  <tromey@redhat.com>
11749
11750         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
11751         StringTokenizer on null string.  For PR libgcj/7180.
11752         From daveho@cs.umd.edu.
11753
11754 2002-06-24  Tom Tromey  <tromey@redhat.com>
11755
11756         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
11757         (IntegerClass): Likewise.
11758         * java/lang/natClass.cc (CloneableClass): Removed.
11759         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
11760         ConstructorClass): Likewise.
11761         * java/lang/natClassLoader.cc (CloneableClass): Removed.
11762         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
11763         SerializableClass): Likewise.
11764         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
11765         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
11766         LongClass, FloatClass, DoubleClass): Likewise.
11767
11768         * verify.cc (branch_prepass): Updated for change to exception
11769         handler type.
11770         (verify_instructions_0): Likewise.
11771         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
11772         (handleExceptionTableEntry): Updated for change to exception
11773         handler type.
11774         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
11775         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
11776         (union _Jv_InterpPC): New.
11777         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
11778         (class _Jv_InterpMethod): Added new `prepared' field.
11779         (class _Jv_InterpMethod): Added `compile' method.  Removed
11780         `continue1' and `find_exception'.  Changed arguments to `run'.
11781         * interpret.cc (union insn_slot): New.
11782         (find_exception): Removed.
11783         (run_normal): Removed most logic.
11784         (run_synch_object): Likewise; also, use JvSynchronize.
11785         (run_synch_class): Likewise.
11786         (run): Removed.
11787         (continue1): Renamed as `run'.  Compile bytecode if required.
11788         Add new code to allow refinement of direct-threaded code at
11789         runtime.  Handle exceptions.
11790         (SAVE_PC): Removed.
11791         (compile): New method.
11792         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
11793         (NULLARRAYCHECK): Don't use SAVE_PC.
11794         (pc_t): New typedef.
11795         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
11796         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
11797
11798 2002-06-23  Tom Tromey  <tromey@redhat.com>
11799
11800         * configure: Rebuilt.
11801         * configure.in (INTERPRETER): New subst.
11802         (AM_RUNTESTFLAGS): Don't subst.
11803
11804         * Makefile.in: Rebuilt.
11805         * Makefile.am ($(srcdir)/java/lang/Object.h,
11806         $(srcdir)/java/lang/Class.h): Added dummy targets.
11807
11808 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11809
11810         Reformat JDBC classes and add new JDK 1.4 classes and methods.
11811
11812         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
11813         java/sql/Savepoint.java: New files.
11814         * java/sql/Array.java, java/sql/BatchUpdateException.java,
11815         java/sql/Blob.java, java/sql/CallableStatement.java,
11816         java/sql/Clob.java, java/sql/Connection.java,
11817         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
11818         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
11819         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
11820         java/sql/Ref.java, java/sql/ResultSet.java,
11821         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
11822         java/sql/SQLException.java, java/sql/SQLInput.java,
11823         java/sql/SQLOutput.java, java/sql/SQLWarning.java
11824         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
11825         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
11826         (JDK 1.4) specification.
11827         * javax/sql/ConnectionEvent.java,
11828         javax/sql/ConnectionEventListener.java,
11829         javax/sql/ConnectionPoolDataSource.java,
11830         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
11831         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
11832         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
11833         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
11834         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
11835         javax/sql/XADataSource.java: New files.
11836         * Makefile.am: Add new files.
11837         * Makefile.in: Rebuilt.
11838
11839 2002-06-20  Tom Tromey  <tromey@redhat.com>
11840
11841         For PR libgcj/7073:
11842         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
11843         exists.
11844         * defineclass.cc (handleClassBegin): Superclass for interface is
11845         `null'.
11846
11847 2002-06-18  Tom Tromey  <tromey@redhat.com>
11848
11849         * gcj/javaprims.h: Updated class declaration list.
11850         * Makefile.in: Rebuilt.
11851         * Makefile.am (core_java_source_files): Removed
11852         BasicMapEntry.java.
11853         * java/util/BasicMapEntry.java: Removed.
11854
11855 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
11856
11857         * java/net/natPlainDatagramSocketImpl.cc (receive):
11858         Check bounds of argument to FD_SET.
11859         (setOption): Throw exception if socket is closed.
11860
11861         * java/net/natPlainSocketImpl.cc (accept, read):
11862         Check bounds of argument to FD_SET.
11863         (setOption): Throw exception if socket is closed.
11864
11865 2002-06-18  Tom Tromey  <tromey@redhat.com>
11866
11867         * gcj/javaprims.h: Updated class declaration list.
11868         * Makefile.in: Rebuilt.
11869         * Makefile.am (core_java_source_files): Added
11870         PropertyPermissionCollection.java.
11871         * java/lang/Thread.java (group, name): Now package-private.
11872         * java/lang/ThreadGroup.java: Re-merge with Classpath.
11873         * java/util/AbstractList.java: Likewise.
11874         * java/util/AbstractMap.java: Likewise.
11875         * java/util/Calendar.java: Likewise.
11876         * java/util/Collections.java: Likewise.
11877         * java/util/HashMap.java: Likewise.
11878         * java/util/Hashtable.java: Likewise.
11879         * java/util/LinkedHashMap.java: Likewise.
11880         * java/util/LinkedList.java: Likewise.
11881         * java/util/List.java: Likewise.
11882         * java/util/ListResourceBundle.java: Likewise.
11883         * java/util/Map.java: Likewise.
11884         * java/util/Observable.java: Likewise.
11885         * java/util/Properties.java: Likewise.
11886         * java/util/PropertyPermission.java: Likewise.
11887         * java/util/PropertyPermissionCollection.java: Likewise.
11888         * java/util/PropertyResourceBundle.java: Likewise.
11889         * java/util/Random.java: Likewise.
11890         * java/util/SimpleTimeZone.java: Likewise.
11891         * java/util/StringTokenizer.java: Likewise.
11892         * java/util/TimerTask.java: Likewise.
11893         * java/util/TreeMap.java: Likewise.
11894         * java/util/WeakHashMap.java: Likewise.
11895         * java/util/jar/Attributes.java: Likewise.
11896         * java/util/jar/JarException.java: Likewise.
11897         * java/util/jar/Manifest.java: Likewise.
11898
11899 2002-06-17  Tom Tromey  <tromey@redhat.com>
11900
11901         * gcj/javaprims.h: Updated class declaration list.
11902         * Makefile.in: Rebuilt.
11903         * Makefile.am (core_java_source_files): Added new file.
11904         * java/util/EventListenerProxy.java: New file.
11905         * java/util/EventListener.java: Re-merge with Classpath.
11906         * java/util/EventObject.java: Re-merge with Classpath.
11907
11908 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
11909
11910         * java/lang/ClassNotFoundException.java: New Classpath version.
11911
11912 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
11913
11914         * java/rmi/activation/ActivateFailedException.java: Remerge from
11915         Classpath version.
11916         * java/rmi/activation/ActivationException.java: Ditto.
11917         * java/rmi/activation/UnknownGroupException.java: Ditto.
11918         * java/rmi/activation/UnknownObjectException.java: Ditto.
11919         * java/rmi/server/ExportException: Ditto.
11920         * java/rmi/server/ServerCloneException: Ditto.
11921         * java/rmi/server/ServerNotActiveException: Ditto.
11922         * java/rmi/server/SkeletonMismatchException: Ditto.
11923         * java/rmi/server/SkeletonNotFoundException: Ditto.
11924         * java/rmi/server/SocketSecurityException: Ditto.
11925
11926 2002-06-16  Tom Tromey  <tromey@redhat.com>
11927
11928         * gcj/javaprims.h: Updated class declaration list.
11929
11930         * java/io/LineNumberInputStream.java: Merged with Classpath.
11931
11932         * java/lang/RuntimeException.java: Re-merge with Classpath.
11933         * java/util/ArrayList.java: Likewise.
11934         * java/util/Arrays.java: Likewise.
11935         * java/util/BitSet.java: Likewise.
11936         * java/util/Dictionary.java: Likewise.
11937         * java/util/IdentityHashMap.java: Likewise.
11938         * java/util/MissingResourceException.java: Likewise.
11939         * java/util/Observer.java: Likewise.
11940         * java/util/TooManyListenersException.java: Likewise.
11941         * java/util/zip/DataFormatException.java: Likewise.
11942         * java/util/zip/ZipException.java: Likewise.
11943
11944 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
11945
11946         * java/rmi/AccessException.java: Remerge from Classpath.
11947         * java/rmi/AlreadyBoundException.java: Ditto.
11948         * java/rmi/ConnectException.java: Ditto.
11949         * java/rmi/ConnectIOException.java: Ditto.
11950         * java/rmi/MarshalException.java: Ditto.
11951         * java/rmi/NoSuchObjectException.java: Ditto.
11952         * java/rmi/NotBoundException.java: Ditto.
11953         * java/rmi/RemoteException.java: Ditto.
11954         * java/rmi/RMISecurityException.java: Ditto.
11955         * java/rmi/ServerError.java: Ditto.
11956         * java/rmi/ServerException.java: Ditto.
11957         * java/rmi/ServerRuntimeException.java: Ditto.
11958         * java/rmi/StubNotFoundException.java: Ditto.
11959         * java/rmi/UnexpectedExcpetion.java: Ditto.
11960         * java/rmi/UnknownHostException.java: Ditto.
11961         * java/rmi/UnmarshalException.java: Ditto.
11962
11963 2002-06-15  Tom Tromey  <tromey@redhat.com>
11964
11965         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
11966         * java/lang/ArithmeticException.java: Likewise.
11967         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
11968         * java/lang/ArrayStoreException.java: Likewise.
11969         * java/lang/Byte.java: Likewise.
11970         * java/lang/CharSequence.java: Likewise.
11971         * java/lang/ClassCastException.java: Likewise.
11972         * java/lang/ClassCircularityError.java: Likewise.
11973         * java/lang/ClassFormatError.java: Likewise.
11974         * java/lang/CloneNotSupportedException.java: Likewise.
11975         * java/lang/Cloneable.java: Likewise.
11976         * java/lang/Comparable.java: Likewise.
11977         * java/lang/Compiler.java: Likewise.
11978         * java/lang/Error.java: Likewise.
11979         * java/lang/ExceptionInInitializerError.java: Likewise.
11980         * java/lang/IllegalAccessError.java: Likewise.
11981         * java/lang/IllegalAccessException.java: Likewise.
11982         * java/lang/IllegalArgumentException.java: Likewise.
11983         * java/lang/IllegalMonitorStateException.java: Likewise.
11984         * java/lang/IllegalStateException.java: Likewise.
11985         * java/lang/IllegalThreadStateException.java: Likewise.
11986         * java/lang/IncompatibleClassChangeError.java: Likewise.
11987         * java/lang/IndexOutOfBoundsException.java: Likewise.
11988         * java/lang/InheritableThreadLocal.java: Likewise.
11989         * java/lang/InstantiationError.java: Likewise.
11990         * java/lang/InstantiationException.java: Likewise.
11991         * java/lang/InternalError.java: Likewise.
11992         * java/lang/InterruptedException.java: Likewise.
11993         * java/lang/LinkageError.java: Likewise.
11994         * java/lang/NegativeArraySizeException.java: Likewise.
11995         * java/lang/NoClassDefFoundError.java: Likewise.
11996         * java/lang/NoSuchFieldError.java: Likewise.
11997         * java/lang/NoSuchFieldException.java: Likewise.
11998         * java/lang/NoSuchMethodError.java: Likewise.
11999         * java/lang/NoSuchMethodException.java: Likewise.
12000         * java/lang/NullPointerException.java: Likewise.
12001         * java/lang/NumberFormatException.java: Likewise.
12002         * java/lang/OutOfMemoryError.java: Likewise.
12003         * java/lang/Process.java: Likewise.
12004         * java/lang/Runnable.java: Likewise.
12005         * java/lang/RuntimePermission.java: Likewise.
12006         * java/lang/SecurityException.java: Likewise.
12007         * java/lang/Short.java: Likewise.
12008         * java/lang/StackOverflowError.java: Likewise.
12009         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
12010         * java/lang/ThreadDeath.java: Likewise.
12011         * java/lang/ThreadLocal.java: Likewise.
12012         * java/lang/UnknownError.java: Likewise.
12013         * java/lang/UnsatisfiedLinkError.java: Likewise.
12014         * java/lang/UnsupportedClassVersionError.java: Likewise.
12015         * java/lang/UnsupportedOperationException.java: Likewise.
12016         * java/lang/VerifyError.java: Likewise.
12017         * java/lang/VirtualMachineError.java: Likewise.
12018         * java/lang/reflect/InvocationTargetException.java: Likewise.
12019         * java/net/BindException.java: Likewise.
12020         * java/net/ConnectException.java: Likewise.
12021         * java/net/MalformedURLException.java: Likewise.
12022         * java/net/NoRouteToHostException.java: Likewise.
12023         * java/net/ProtocolException.java: Likewise.
12024         * java/net/SocketException.java: Likewise.
12025         * java/net/UnknownHostException.java: Likewise.
12026         * java/net/UnknownServiceException.java: Likewise.
12027
12028         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
12029         * java/io/CharConversionException.java: Likewise.
12030         * java/io/EOFException.java: Likewise.
12031         * java/io/FileNotFoundException.java: Likewise.
12032         * java/io/IOException.java: Likewise.
12033         * java/io/InterruptedIOException.java: Likewise.
12034         * java/io/InvalidClassException.java: Likewise.
12035         * java/io/InvalidObjectException.java: Likewise.
12036         * java/io/NotActiveException.java: Likewise.
12037         * java/io/NotSerializableException.java: Likewise.
12038         * java/io/ObjectStreamException.java: Likewise.
12039         * java/io/ObjectStreamConstants.java: Likewise.
12040         * java/io/OptionalDataException.java: Likewise.
12041         * java/io/PipedInputStream.java: Likewise.
12042         * java/io/PushbackInputStream.java: Likewise.
12043         * java/io/StreamCorruptedException.java: Likewise.
12044         * java/io/SyncFailedException.java: Likewise.
12045         * java/io/UTFDataFormatException.java: Likewise.
12046         * java/io/UnsupportedEncodingException.java: Likewise.
12047         * java/io/WriteAbortedException.java: Likewise.
12048
12049 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
12050
12051         * java/text/ChoiceFormat.java: Update comments from Classpath.
12052         * java/text/ParseException.java (serialVersionUID): New
12053         field from Classpath.
12054         * java/text/ParseException.java: Update formatting & comments
12055         from Classpath.
12056
12057 2002-06-15  Tom Tromey  <tromey@redhat.com>
12058
12059         * java/util/zip/InflaterInputStream.java (read): Loop if data has
12060         been read but none output by inflater.
12061         * java/util/zip/natDeflater.cc (reset): Set is_finished.
12062         * java/util/zip/natInflater.cc (reset): Set dist_needed and
12063         is_finished.
12064         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
12065         version.
12066         * java/util/zip/ZipFile.java: Replaced with Classpath version.
12067         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
12068         * java/util/zip/ZipInputStream.java: Replaced with Classpath
12069         version.
12070         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
12071
12072 2002-06-13  Tom Tromey  <tromey@redhat.com>
12073
12074         * java/lang/natString.cc (init): Handle case where DONT_COPY is
12075         true and OFFSET!=0.
12076         * java/lang/String.java (String(char[],int,int,boolean): New
12077         constructor.
12078         * java/lang/Long.java: Imported new version from Classpath.
12079         * java/lang/Number.java: Likewise.
12080         * java/lang/Integer.java: Likewise.
12081         * java/lang/Long.java: Likewise.
12082         * java/lang/Float.java: Likewise.
12083         * java/lang/Boolean.java: Likewise.
12084         * java/lang/Double.java: Likewise.
12085         * java/lang/Void.java: Likewise.
12086
12087 2002-06-12  Tom Tromey  <tromey@redhat.com>
12088
12089         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
12090         Fixes PR libgcj/6652.
12091
12092 2002-06-10  Tom Tromey  <tromey@redhat.com>
12093
12094         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
12095         (Class::getPackagePortion): Likewise.
12096         * java/lang/Class.java (desiredAssertionStatus): New method from
12097         Classpath.
12098         (getPackagePortion): Likewise.
12099         * java/lang/VMClassLoader.java (defaultAssertionStatus,
12100         packageAssertionStatus, classAssertionStatus): New methods from
12101         Classpath.
12102         * java/lang/ClassLoader.java (defaultAssertionStatus,
12103         systemPackageAssertionStatus, packageAssertionStatus,
12104         systemClassAssertionStatus, classAssertionStatus): New fields from
12105         Classpath.
12106         (setDefaultAssertionStatus, setPackageAssertionStatus,
12107         setClassAssertionStatus, clearAssertionStatus): New methods from
12108         Classpath.
12109         * Makefile.in: Rebuilt.
12110         * Makefile.am (core_java_source_files): Added AssertionError.java.
12111         * java/lang/AssertionError.java: New from Classpath.
12112
12113 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12114
12115         * configure.host: Disable hash synchronization and slow_pthread_self
12116         for cygwin.
12117
12118 2002-06-06  Adam Megacz <adam@xwt.org>
12119
12120         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
12121         locking, just like the Sun JVM does.
12122
12123 2002-06-05  H.J. Lu  (hjl@gnu.org)
12124
12125         * Makefile.am (libgcj_convenience.la): Revert the last change.
12126         (libgcj.la): Likewise.
12127         * Makefile.in: Regenerated.
12128
12129 2002-06-04  H.J. Lu  (hjl@gnu.org)
12130
12131         * Makefile.am (libgcj_convenience.la): New target.
12132         (libgcj.la): Depend on libgcj_convenience.la.
12133         * Makefile.in: Regenerated.
12134
12135 2002-06-04  H.J. Lu  (hjl@gnu.org)
12136
12137         * configure.in (--with-newlib): New option:
12138         Check ${with_newlib} instead of ${with_cross_host} for newlib.
12139         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
12140         Linux.
12141         * configure: Regenerated.
12142
12143 2002-06-04  Tom Tromey  <tromey@redhat.com>
12144
12145         * java/util/natTimeZone.cc: Include <stdio.h>.
12146
12147 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
12148
12149         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
12150         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
12151         Set SIGNAL_HANDLER=include/s390-linux.h.
12152         * configure: Regenerate.
12153         * include/s390-linux.h: New file.
12154
12155 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12156
12157         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
12158         not "stackTrace".
12159
12160 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12161
12162         Merge JDK 1.4 java.security changes from classpath.
12163
12164         * java/security/AccessControlException.java: Merge from Classpath.
12165         * java/security/AccessController.java: Likewise.
12166         * java/security/AllPermission.java: Likewise.
12167         * java/security/BasicPermission.java: Likewise.
12168         * java/security/Certificate.java: Likewise.
12169         * java/security/CodeSource.java: Likewise.
12170         * java/security/DigestException.java: Likewise.
12171         * java/security/DigestOutputStream.java: Likewise.
12172         * java/security/DomainCombiner.java: Likewise.
12173         * java/security/GeneralSecurityException.java: Likewise.
12174         * java/security/Guard.java: Likewise.
12175         * java/security/GuardedObject.java: Likewise.
12176         * java/security/InvalidAlgorithmParameterException.java: Likewise.
12177         * java/security/InvalidKeyException.java: Likewise.
12178         * java/security/InvalidParameterException.java: Likewise.
12179         * java/security/Key.java: Likewise.
12180         * java/security/KeyException.java: Likewise.
12181         * java/security/KeyManagementException.java: Likewise.
12182         * java/security/KeyStoreException.java: Likewise.
12183         * java/security/MessageDigest.java: Likewise.
12184         * java/security/NoSuchAlgorithmException.java: Likewise.
12185         * java/security/NoSuchProviderException.java: Likewise.
12186         * java/security/Permission.java: Likewise.
12187         * java/security/PermissionCollection.java: Likewise.
12188         * java/security/Permissions.java: Likewise.
12189         * java/security/Policy.java: Likewise.
12190         * java/security/Principal.java: Likewise.
12191         * java/security/PrivateKey.java: Likewise.
12192         * java/security/PrivilegedAction.java: Likewise.
12193         * java/security/PrivilegedActionException.java: Likewise.
12194         * java/security/PrivilegedExceptionAction.java: Likewise.
12195         * java/security/ProtectionDomain.java: Likewise.
12196         * java/security/ProviderException.java: Likewise.
12197         * java/security/PublicKey.java: Likewise.
12198         * java/security/SecureClassLoader.java: Likewise.
12199         * java/security/SecurityPermission.java: Likewise.
12200         * java/security/SignatureException.java: Likewise.
12201         * java/security/UnrecoverableKeyException.java: Likewise.
12202         * java/security/UnresolvedPermission.java: Likewise.
12203         * java/security/acl/AclNotFoundException.java: Likewise.
12204         * java/security/acl/LastOwnerException.java: Likewise.
12205         * java/security/acl/NotOwnerException.java: Likewise.
12206         * java/security/cert/CRLException.java: Likewise.
12207         * java/security/cert/CertificateEncodingException.java: Likewise.
12208         * java/security/cert/CertificateException.java: Likewise.
12209         * java/security/cert/CertificateExpiredException.java: Likewise.
12210         * java/security/cert/CertificateFactory.java: Likewise.
12211         * java/security/cert/CertificateNotYetValidException.java: Likewise.
12212         * java/security/cert/CertificateParsingException.java: Likewise.
12213         * java/security/spec/InvalidKeySpecException.java: Likewise.
12214         * java/security/spec/InvalidParameterSpecException.java: Likewise.
12215
12216         * java/security/cert/CertPath.java: New file.
12217         * java/security/cert/CertPathBuilderException.java: New file.
12218         * java/security/cert/CertPathValidatorException.java: New file.
12219         * java/security/cert/CertStoreException.java: New file.
12220
12221         * Makefile.am: Add new CertPath classes.
12222         * Makefile.in: Rebuilt.
12223
12224         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12225
12226 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12227
12228         Merge JDK 1.4 exception chaining support from classpath.
12229
12230         * java/lang/Throwable.java: Merge 1.4 support from classpath.
12231         (stackTraceBytes): Rename from stackTrace.
12232         * java/lang/Exception.java: Merge from classpath.
12233         * java/lang/StackTraceElement: New file from classpath.
12234         * gcj/javaprims.h: Rebuild CNI namespace declarations.
12235         * Makefile.am: Add StackTraceElement.
12236         * Makefile.in: Rebuilt.
12237
12238 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12239
12240         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12241         they build first.
12242         * Makefile.in: Rebuilt.
12243
12244 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12245
12246         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12247         * configure.in: Likewise.
12248         * aclocal.m4: Regenerate.
12249         * configure: Regenerate.
12250
12251 2002-05-13  Tom Tromey  <tromey@redhat.com>
12252
12253         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12254         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12255         Include platform.h.
12256
12257         Fixes PR libgcj/6389:
12258         * Makefile.in: Rebuilt.
12259         * Makefile.am (nat_source_files): Added natTimeZone.cc.
12260         * java/util/natTimeZone.cc: New file.
12261         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12262         * java/lang/System.java: Merged with Classpath.
12263         * java/lang/Runtime.java: Merged with Classpath.
12264         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12265         security check.
12266         (setIn0): Renamed from setIn; don't run security check.
12267         (setOut0): Renamed from setOut; don't run security check.
12268         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12269         init_properties): Moved to natRuntime.cc.
12270         Moved many includes to natRuntime.cc.
12271         (isWordsBigEndian): New method.
12272         * java/lang/natRuntime.cc: Include Long.h, also other includes
12273         previously in natSystem.cc.
12274         (maxMemory): New function.
12275         (exitInternal): Renamed from `_exit'.
12276         (exit): Removed.
12277         (init): Don't set finalize_on_exit.
12278         (exitInternal): Use `finalizeOnExit'.
12279         (file_encoding, getpwuid_adaptor): New functions from
12280         natSystem.cc.
12281         (insertSystemProperties): New method, renamed from
12282         System::init_properties.  Don't set user.timezone.
12283         (_load): Don't call checkLink.
12284         (execInternal): New method.
12285         (availableProcessors): Likewise.
12286         (nativeGetLibname): Likewise.
12287
12288 2002-05-11  Mark Wielaard  <mark@klomp.org>
12289
12290         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12291         space characters.
12292         (previous_internal): Likewise.
12293
12294 2002-05-09  Tom Tromey  <tromey@redhat.com>
12295
12296         * jni.cc (_Jv_JNIFunctions): Fixed typo.
12297
12298         * java/util/ResourceBundle.java: New version from Classpath.
12299         * java/util/Locale.java: Likewise.
12300
12301 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
12302
12303         * testsuite/lib/libjava.exp (libjava_arguments): Append all
12304         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
12305         LD_LIBRARY_PATH.
12306
12307 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
12308
12309         * libjava/Makefile.am (all_java_source_files): New variable.
12310         (all_java_class_files): Likewise.
12311         .java.class: New rule.
12312         (CLEANFILES): Remove tmp-list.
12313         * libjava/Makefile.in: Regenerated.
12314
12315 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
12316
12317         * testsuite/lib/libjava.exp (test_libjava_from_javac):
12318         Append .exe to executable names.  Fix for cygwin.
12319
12320 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
12321
12322         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
12323         script entry, and set LD to it when configuring multilibs.
12324         * configure: Rebuilt.
12325
12326 2002-05-07  Tom Tromey  <tromey@redhat.com>
12327
12328         * java/lang/natString.cc (unintern): Fixed typo.
12329
12330 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12331
12332         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
12333         with -no-install on *-*-cygwin*.
12334
12335 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12336
12337         * testsuite/lib/libjava.exp (test_libjava_from_source):
12338         Add comment explaining last patch
12339
12340 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
12341
12342         * testsuite/lib/libjava.exp (test_libjava_from_source):
12343         Append .exe to executable names.  If no suffix is present,
12344         then ".exe" is added by default on win32.  Harmless
12345         elsewhere so always do it.
12346
12347 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
12348             Tom Tromey  <tromey@redhat.com>
12349
12350         * java/lang/natSystem.cc (getSystemTimeZone): Use
12351         HAVE_UNDERSCORE_TIMEZONE.
12352         * include/config.h.in: Rebuilt.
12353         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
12354         * aclocal.m4, configure: Rebuilt.
12355         * acinclude.m4: Run AC_EXEEXT.
12356         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
12357         Add test for `_timezone'.
12358
12359 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
12360
12361         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12362         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
12363         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12364         * Makefile.in: Rebuilt.
12365
12366 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
12367
12368         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
12369         use sigaction instead of __libc_sigaction.
12370
12371 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12372
12373         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
12374         (libjava_init): Use it to find libgcj.spec.
12375         (libjava_arguments): Likewise.
12376
12377 2002-05-02  David S. Miller  <davem@redhat.com>
12378
12379         PR bootstrap/6525
12380         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
12381         __libc_sigaction on Sparc.
12382
12383 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
12384
12385         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
12386         sys/filio.h, if present.
12387
12388 2002-04-30  Tom Tromey  <tromey@redhat.com>
12389
12390         * java/io/BufferedReader.java (fill): Handle case where markPos
12391         point to ignored \n.  Fixes PR libgcj/6301.
12392
12393 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
12394
12395         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
12396
12397 2002-04-29  Adam King <aking@dreammechanics.com>
12398
12399         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
12400         of file in APPEND mode.
12401
12402 2002-04-25  David S. Miller  <davem@redhat.com>
12403
12404         PR target/6422
12405         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
12406         program counter to next program counter minus 8.  Update
12407         comments in this macro to explain why.
12408
12409 2002-04-26  Tom Tromey  <tromey@redhat.com>
12410
12411         * verify.cc (construct_primitive_array_type) [void_type]: New
12412         case.
12413         (branch_prepass): Added dummy entries for unused instruction
12414         values.
12415         (verify_instructions_0): Likewise.
12416         * interpret.cc (continue1): Comment fix.
12417         * include/java-insns.h (op_xxxunusedxxx1): Removed.
12418         * Makefile.in: Rebuilt.
12419         * Makefile.am: Added -Wswitch-enum.
12420
12421 2002-04-24  Tom Tromey  <tromey@redhat.com>
12422
12423         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
12424         correct length of UTF-8 encoded name.  Strip leading `/'.
12425         (_Jv_RegisterResource): Use _Jv_Malloc.
12426
12427 2002-04-23  Adam Megacz <adam@xwt.org>
12428
12429         * win32.cc, include/win32.cc (backtrace): Added this function
12430         because Win32 does not supply it.
12431
12432 2002-04-21  David S. Miller  <davem@redhat.com>
12433
12434         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
12435         magic instruction reading sequence.
12436
12437 2002-04-21  Mark Wielaard  <mark@klomp.org>
12438
12439         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
12440
12441 2002-04-19  David S. Miller  <davem@redhat.com>
12442
12443         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
12444         arg.
12445         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
12446         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
12447         on Sparc too.
12448         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
12449         for 64-bit sparc.
12450         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
12451         * sysdeps/sparc/locks.h: New file.
12452         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
12453         on all sparc Solaris configurations.  Set to
12454         include/dwarf2-signal.h on sparc Linux.
12455         * configure: Regenerate
12456         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
12457
12458 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
12459
12460         * configure: Rebuilt.
12461         * configure.in (backtrace): Function doesn't work on IA-64.
12462
12463 2002-04-17  Adam King <aking@dreammechanics.com>
12464
12465         * java/io/File.java (normalizePath): Add Win32 support for auto
12466         conversion of a '/' path separator to Win32's '\' separator.
12467
12468 2002-04-16  Tom Tromey  <tromey@redhat.com>
12469
12470         Fix for PR libgcj/6081:
12471         * Makefile.in: Rebuilt.
12472         * Makefile.am (install-data-local): Use GNU make trick to avoid
12473         shell limit.
12474
12475 2002-04-16  Adam King <aking@dreammechanics.com>
12476             Tom Tromey  <tromey@redhat.com>
12477
12478         * java/io/natFileWin32.cc (performList): Return the correct array
12479         type.  Don't duplicate the creation of a File since it's already
12480         done earlier in the method and the existing code would cause a
12481         ArrayStoreException.  Don't use fixed-size array.
12482         (_access, _stat, attr, getCanonicalPath, performMkdir,
12483         performRenameTo): Don't use fixed-size array.
12484         (getCanonicalPath): Use throw, not _Jv_Throw.
12485
12486 2002-04-15  DJ Delorie  <dj@redhat.com>
12487
12488         * configure.in: Allow building in $srcdir.
12489         * configure: Regenerated.
12490
12491 2002-04-14  Mark Wielaard <mark@klomp.org>
12492
12493         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12494         * java/net/natSocketImpl.cc (close): Likewise.
12495
12496 2002-04-14  Mark Wielaard <mark@klomp.org>
12497
12498         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12499
12500 2002-04-13  Adam King <aking@dreammechanics.com>
12501
12502         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12503         the f/F/d/D modifiers.
12504
12505 2002-04-12  Anthony Green  <green@redhat.com>
12506
12507         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12508         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12509         * Makefile.in: Rebuilt.
12510         * configure.in: Substitute gcc_version.
12511         * configure: Rebuilt.
12512
12513 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12514
12515         * configure.host: Set can_unwind_signal on hosts which support it.
12516         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12517         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12518         exceptions and can_unwind_signal isn't set.
12519         * configure: Rebuilt.
12520
12521 2002-04-11  Tom Tromey  <tromey@redhat.com>
12522
12523         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12524
12525 2002-04-11  Adam King <aking@dreammechanics.com>
12526             Tom Tromey  <tromey@redhat.com>
12527
12528         * include/jvm.h (_Jv_ThrowBadArrayIndex,
12529         _Jv_ThrowNullPointerException): Mark as noreturn.
12530         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12531         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
12532         fixes.
12533
12534 2002-04-10  Tom Tromey  <tromey@redhat.com>
12535
12536         * Makefile.in: Rebuilt.
12537         * Makefile.am (java/lang/Thread.h): Mark
12538         _Jv_AttachCurrentThreadAsDaemon as friend.
12539         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12540         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12541         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12542         function.
12543         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12544         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12545         (_Jv_JNI_InvokeFunctions): Added
12546         _Jv_JNI_AttachCurrentThreadAsDaemon.
12547         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12548         (JNI_GetDefaultJavaVMInitArgs): Likewise.
12549         (JNI_CreateJavaVM): Likewise.
12550         (_Jv_JNI_AttachCurrentThread): Likewise.
12551         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12552         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12553         (_Jv_JNIFunctions): Initialize new fields.
12554         (_Jv_JNI_NewDirectByteBuffer): New function.
12555         (_Jv_JNI_GetDirectBufferAddress): Likewise.
12556         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12557         * include/jni.h (JNI_VERSION_1_4): New macro.
12558         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12559         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12560         (JNINativeInterface::NewDirectByteBuffer): New field.
12561         (JNINativeInterface::GetDirectBufferAddress): New field.
12562         (JNINativeInterface::GetDirectBufferCapacity): New field.
12563         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12564         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
12565         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
12566
12567 2002-04-09  Tom Tromey  <tromey@redhat.com>
12568
12569         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
12570
12571 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
12572
12573         Fix for PR libgcj/6187:
12574         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
12575         distance.
12576
12577 2002-04-07  Mark Wielaard <mark@klomp.org>
12578
12579         * java/util/AbstractMap.java (putAll): Use entrySet size.
12580         (toString): Explicitly use getKey() and getValue().
12581
12582 2002-04-07  Mark Wielaard <mark@klomp.org>
12583
12584         * java/util/Hashtable.java (contains): Remove NullPointer check.
12585         (containsValue): Add NullPointer check.
12586         (remove): Always throw NullPointerException when key
12587         is null.
12588
12589 2002-04-07  Adam King <aking@dreammechanics.com>
12590
12591         * java/lang/natSystem.cc (init_properties): Call new function
12592         _Jv_platform_initProperties.
12593         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
12594         support for the System properties os.name, os.arch, os.version,
12595         user.name, user.home, and user.dir.
12596         * include/posix.h, include/win32.h, posix.cc: New function
12597         _Jv_platform_initProperties.
12598
12599 2002-04-06  Mark Wielaard <mark@klomp.org>
12600
12601         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
12602
12603 2002-04-06  Mark Wielaard <mark@klomp.org>
12604
12605         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
12606         all of the remaining elements.
12607         * java/util/Vector.java (addAll(int,Collection)): Likewise.
12608         (removeRange): If toIndex == fromIndex do
12609         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12610         (removeAll): Always throw NullPointerException when collection is
12611         null.
12612         (retrainAll): Likewise.
12613
12614 2002-04-05  Mark Wielaard <mark@klomp.org>
12615
12616         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
12617         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12618
12619 2002-04-05  Adam Megacz <adam@xwt.org>
12620
12621         * exception.cc (abort): added static modifier
12622
12623 2002-04-04  Adam Megacz <adam@xwt.org>
12624
12625         * include/win32.h (_Jv_platform_close_on_exec): added inline
12626         modifier.
12627
12628 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
12629
12630         * configure.host: Add case statement to support generic port
12631         properties.  Add *-*-freebsd* section.
12632
12633 2002-04-04  Mark Wielaard  <mark@klomp.org>
12634
12635         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
12636         test.
12637         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
12638         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
12639         that depend on awt code and BufferedByteOutputStream.interrupt.
12640
12641 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12642
12643         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
12644         incorrect "hi" value when count > 40.
12645
12646 2002-04-03  Mark Wielaard  <mark@klomp.org>
12647
12648         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
12649         ordering.
12650
12651 2002-04-02  Tom Tromey  <tromey@redhat.com>
12652
12653         * java/lang/natClassLoader.cc (findClass): Compare against `3',
12654         not `0'.
12655
12656 2002-04-02  Mark Wielaard  <mark@klomp.org>
12657
12658         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
12659         list of testsuite crashers.
12660
12661 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12662
12663         * java/util/IdentityHashMap.java (put): Set new threshold correctly
12664         when resizing table.
12665
12666 2002-04-01  Mark Wielaard  <mark@klomp.org>
12667
12668         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
12669         NegativeArraySizeException
12670         (clear(int)): Use sign extended shift.
12671         (flip(int)): Likewise.
12672         (get(int)): Likewise.
12673         (nextClearBit(int)): Likewise.
12674         (nextSetBit(int)): Likewise.
12675         (set(int)): Likewise.
12676
12677 2002-04-01  Mark Wielaard  <mark@klomp.org>
12678
12679         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
12680         that can be compiled now and add testsuite crashers to ignore list.
12681
12682 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
12683
12684         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
12685
12686         * libgcj.spec.in: Override libgcc, not lib.
12687         * libgcj-test.spec.in: Likewise.
12688
12689 2002-03-29  Tom Tromey  <tromey@redhat.com>
12690
12691         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
12692         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
12693
12694 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
12695
12696         * java/net/PlainDatagramSocketImpl.java
12697         (close): Use native implementation.
12698         (finalize): New method.
12699
12700         * java/net/PlainSocketImpl.java (finalize): New method.
12701
12702         * java/net/natPlainDatagramSocketImpl.cc
12703         (java/io/FileDescriptor.h): Don't include.
12704         (close): Implement method here.
12705         (create): Don't assign fd.
12706
12707         * java/net/natPlainSocketImpl.cc
12708         (java/io/FileDescriptor.h): Don't include.
12709         (create): Don't assign fd.
12710         (accept): Likewise.
12711         (close): Synchronize.
12712
12713 2002-03-27  Richard Henderson  <rth@redhat.com>
12714
12715         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
12716
12717 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12718
12719         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12720         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
12721         instead of syscall on IA-64.
12722         Add FIXME comment.
12723
12724 2002-03-27  Anthony Green  <green@redhat.com>
12725
12726         * libgcj.spec.in: Add CHECKREFSPEC.
12727         * configure.in: Ditto.
12728         * configure.host: Ditto.  Check references for xscale-elf.
12729         * configure: Rebuilt.
12730
12731 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
12732
12733         * include/dwarf2-signal.h: Temporarily back out last change.
12734
12735 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
12736
12737         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
12738
12739 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12740
12741         * configure.in, configure: enable dwarf2-exception-style
12742         exception handling on IA-64.
12743         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12744         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
12745         Add FIXME comment.
12746
12747 2002-03-25  Tom Tromey  <tromey@redhat.com>
12748
12749         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
12750         (jv_convert_LDFLAGS): Likewise.
12751         (gij_LDFLAGS): Likewise.
12752         (rmic_LDFLAGS): Likewise.
12753         (rmiregistry_LDFLAGS): Likewise.
12754         * configure.in (THREADLDFLAGS): New subst; set correctly for
12755         *BSD.
12756
12757 2002-03-25  Tom Tromey  <tromey@redhat.com>
12758
12759         For PR libgcj/5303:
12760         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
12761         and --version.
12762         (help): New method.
12763         (version): Likewise.
12764         * gnu/gcj/convert/Convert.java (version): Removed extraneous
12765         "GNU".
12766         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
12767         "GNU".
12768
12769 2002-03-25  Tom Tromey  <tromey@redhat.com>
12770
12771         * java/awt/Component.java (processEvent): Check ComponentEvent
12772         after KeyEvent.
12773
12774 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12775
12776         * java/io/PushbackReader.java: Reformat.
12777
12778         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
12779         calculate correct number of bytes skipped.
12780
12781         Based on patch from Intel's ORP team:
12782         * java/io/PushbackInputStream.java (available): Calculate correct
12783         number of bytes in buffer.
12784         (read): Remove redundant bound check. Return bytes from both the
12785         buffer and the stream.
12786
12787 2002-03-24  Tom Tromey  <tromey@redhat.com>
12788
12789         * java/awt/TextComponent.java (TextComponent): Editable by
12790         default.
12791
12792         * java/awt/MenuItem.java (eventMask): No longer private.
12793         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
12794         superclass if we didn't handle event.
12795         * java/awt/Checkbox.java (dispatchEventImpl): New method.
12796         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
12797         * java/awt/Choice.java (dispatchEventImpl): New method.
12798         * java/awt/List.java (dispatchEventImpl): New method.
12799         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
12800         * java/awt/TextComponent.java (dispatchEventImpl): New method.
12801         * java/awt/TextField.java (dispatchEventImpl): New method.
12802
12803 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
12804
12805         * java/beans/IntrospectionException.java: Update to 1.4.
12806         * java/beans/PropertyVetoException.java: Ditto.
12807
12808 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
12809
12810         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
12811         Arrays.equals instead of ArrayHelper.equalsArray.
12812
12813 2002-03-24  C. Brian Jones <cbj@gnu.org>
12814
12815         * java/beans/Introspector.java: added new static final fields
12816         introduced in 1.2, lots of other updates remain to be done
12817
12818 2002-03-24  C. Brian Jones <cbj@gnu.org>
12819
12820         * java/beans/Introspector.java: reformatting
12821
12822 2002-03-24  C. Brian Jones <cbj@gnu.org>
12823
12824         * java/beans/Introspector.java: default beanInfoSearchPath will
12825         not include sun.beans.infos given we provide no such package and
12826         the API doesn't really require it; gnu.java.beans.info is the
12827         default.
12828
12829 2002-03-24  Mark Wielaard  <mark@klomp.org>
12830
12831         Thanks to Orp developers
12832         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
12833         switch TRUE and FALSE return values.
12834
12835 2002-03-23  Tom Tromey  <tromey@redhat.com>
12836
12837         * include/name-finder.h (_Jv_name_finder::myclose): New method.
12838         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
12839
12840 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
12841
12842         * java/util/GregorianCalendar.java (minimums, maximums): Correct
12843         MONTH entry.  Fixes PR libgcj/6045.
12844
12845 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
12846
12847         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
12848
12849 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12850
12851         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
12852         not release_set.
12853         * sysdep/powerpc/locks.h (write_barrier): New function.
12854         * sysdep/i386/locks.h (write_barrier): New function.
12855
12856 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
12857
12858         * include/jni.h Use correct C comments.
12859
12860 2002-03-18  Tom Tromey  <tromey@redhat.com>
12861
12862         * include/jni.h (JNIIMPORT): New macro.
12863         (JNIEXPORT): Likewise.
12864         (JNICALL): Likewise.
12865
12866 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12867
12868         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
12869         systems.
12870
12871 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
12872
12873         * include/i386-signal.h (old_i386_kernel_sigaction): New.
12874         INIT_SEGV: Use old_i386_kernel_sigaction.
12875         INIT_FP: Likewise.
12876
12877 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12878
12879         * java/lang/natSystem.cc (init_properties): Update VM version
12880         properties.
12881         * configure.in: Set GCJVERSION.
12882         * acconfig.h: Add GCJVERSION.
12883         * configure: Rebuilt.
12884         * include/config.h.in: Rebuilt.
12885
12886 2002-03-17  Anthony Green  <green@redhat.com>
12887
12888         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
12889
12890 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12891
12892         Build a single libgcj.so, without separate gc and zlib libraries.
12893         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
12894         SYS_ZLIBS if system zlib is used.
12895         * configure: Rebuilt.
12896         * Makefile.am: Use boehm-gc and zlib convenience libraries.
12897         * Makefile.in: Rebuilt.
12898         * libtool-version: Increment .so version number.
12899
12900         * Makefile.am: Escape quotes in echo.
12901         * Makefile.in: Rebuilt.
12902
12903 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12904
12905         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
12906         * Makefile.in: Rebuilt.
12907
12908 2002-03-15  Anthony Green  <green@redhat.com>
12909
12910         * configure.host (FILE): New macro for specifing File
12911         implementation.
12912         * configure: Rebuilt.
12913         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
12914
12915 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
12916
12917         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
12918         already implicitly brought in from libgcj.la.
12919         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12920         * Makefile.in: Rebuilt.
12921
12922 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
12923
12924         * THANKS: Fix punctuation, alphabetization.
12925
12926 2002-03-15  Tom Tromey  <tromey@redhat.com>
12927             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12928
12929         Fix for PR libgcj/5944.
12930         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
12931
12932 2002-03-15  Anthony Green  <green@redhat.com>
12933
12934         * configure.in (tool_include_dir): Define.
12935         * configure: Rebuilt.
12936         * gcj/Makefile.am: Install libgcj-config.h relative to
12937         tool_include_dir.
12938         * gcj/Makefile: Rebuilt.
12939         * gcj/libgcj-config.h: Add warning comment.
12940
12941 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
12942
12943         * configure.host (powerpc*-darwin*): Enable interpreter.
12944
12945 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12946
12947         * include/posix.h: Add multiple include header protection.
12948         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
12949
12950 2002-03-10  Adam Megacz <adam@xwt.org>
12951
12952         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
12953
12954 2002-03-10  Tom Tromey  <tromey@redhat.com>
12955
12956         * java/awt/GridLayout.java (layoutContainer): Handle case where
12957         there are no items in container.
12958
12959         * java/lang/Win32Process.java: Added comment.
12960         * include/posix.h (_Jv_platform_close_on_exec): New function.
12961         Include fcntl.h.
12962         * include/win32.h (_Jv_platform_close_on_exec): New function.
12963         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
12964         flag.
12965         (accept): Likewise.
12966         * java/net/natPlainDatagramSocketImpl.cc (create): Set
12967         close-on-exec flag.
12968         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
12969         flag.
12970
12971 2002-03-09  Tom Tromey  <tromey@redhat.com>
12972
12973         * verify.cc (state::NO_STACK): New constant.
12974         (state::is_unmerged_ret_state): Handle case where stacktop is
12975         NO_STACK.
12976         (state::merge): Handle NO_STACK merges.
12977         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
12978         for instruction following jsr.
12979         (stacktop, stackdepth): Removed unused variables.
12980         (pop_jump): Ignore case where all remaining states are skipped.
12981
12982 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12983
12984         * java/awt/ImageMediaEntry: Removed.
12985         * java/awt/MediaEntry: Removed.
12986
12987 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12988
12989         Hashtable synchronization for PowerPC.
12990         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
12991         slow_pthread_self. Set up symlink for sysdeps directory.
12992         * configure: Rebuild.
12993         * configure.host: Document more shell variables. Set sysdeps_dir
12994         for most platforms. Set slow_pthread_self for i686. Set
12995         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
12996         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
12997         that memory barrier is emitted where required.
12998         * prims.cc: 64-bit align static primitive class instances.
12999         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
13000         read_barrier() to enforce ordering of reads.
13001         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
13002         primitives for PowerPC.
13003         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
13004         moved from natObject.cc.
13005         * sysdep/alpha/locks.h: Likewise.
13006         * sysdep/ia64/locks.h: Likewise.
13007         * sysdep/generic/locks.h: Likewise.
13008         * java/lang/natObject.cc: Move thread synchronization primitives to
13009         system-dependent headers.
13010
13011 2002-03-09  Adam Megacz  <adam@xwt.org>
13012
13013         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
13014         bytes read and no failure code returned.
13015
13016 2002-03-09  Adam Megacz  <adam@xwt.org>
13017
13018         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
13019         definitions to simulate -mthreads.
13020
13021 2002-03-09  Adam Megacz  <adam@xwt.org>
13022
13023         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
13024         avoid precision loss.
13025
13026 2002-03-09  Per Bothner  <per@bothner.com>
13027
13028         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
13029         * gnu/gcj/xlib/XImage.java:  Likewise.
13030         * gnu/gcj/xlib/XColor.java:  Likewise.
13031
13032 2002-03-09  Adam Megacz  <adam@xwt.org>
13033
13034         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
13035         IOException so that Throwable.printStackTrace fails correctly.
13036
13037 2002-03-08  Adam Megacz  <adam@xwt.org>
13038
13039         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
13040         fixed.
13041
13042 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13043
13044         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
13045         truncated to int.
13046
13047 2002-03-08  Tom Tromey  <tromey@redhat.com>
13048
13049         * include/jni.h: Include stdio.h.
13050
13051 2002-03-08  Tom Tromey  <tromey@redhat.com>
13052
13053         * posix.cc (internal_gettimeofday): New function.
13054         (_Jv_select): Use it.
13055
13056 2002-03-07  Adam Megacz  <adam@xwt.org>
13057
13058         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
13059         WIN32, and added thunks for read(), write(), and close().
13060         * java/net/natPlainSocketImpl.cc (accept, read, read):
13061         Disabled timeouts on WIN32 pending discussion.
13062
13063 2002-03-07  Adam Megacz  <adam@xwt.org>
13064
13065         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
13066         returns jlong. Added implementation
13067         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
13068         returns jlong.
13069         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
13070         returns jlong.
13071         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
13072         returns jlong.
13073         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
13074         _Jv_platform_gettimeofday signature.
13075
13076 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13077
13078         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
13079         (read): Call recv() directly, not _Jv_recv().
13080
13081 2002-03-06  Tom Tromey  <tromey@redhat.com>
13082
13083         * java/io/natFileDescriptorEcos.cc (init): Don't use
13084         GetStdHandle.
13085         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
13086         is negative.
13087         (init): Don't use GetStdHandle.
13088
13089         * include/config.h.in: Rebuilt.
13090         * configure: Rebuilt.
13091         * Makefile.in: Rebuilt.
13092
13093 2002-03-06  Adam Megacz  <adam@xwt.org>
13094
13095         * java/io/FileDescriptor.java: Initialize in/out/err in init().
13096         * java/io/natFileDescriptorWin32.cc (init()): Added function.
13097         * java/io/natFileDescriptorPosix.cc (init()): Added function.
13098         * java/io/natFileDescriptorEcos.cc (init()): Added function.
13099
13100 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
13101
13102         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
13103         the code for generating include/java-chartables.h.
13104         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
13105         merge with Classpath.
13106         * scripts/unicode-muncher.pl: Copy from Classpath.
13107         * scritps/MakeCharTables.java: New file.
13108         * gnu/gcj/convert/Blocks-3.txt: New file.
13109         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
13110         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
13111         * gnu/java/lang/CharData.java: Copy from Classpath.
13112         * Makefile.am (ordinary_java_source_files): Add
13113         gnu/java/lang/CharData.java.
13114         * configure.in: Remove --enable-fast-character option.
13115         * java/lang/Character.java: Merge algorithms and Javadoc with
13116         Classpath.
13117         * java/lang/natCharacter.cc: Implement Unicode lookup table more
13118         efficiently.
13119         * include/java-chardecomp.h: Regenerate.
13120         * include/java-chartables.h: Regenerate.
13121
13122 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13123
13124         * java/awt/MediaTracker.java: Implemented.
13125         * Makefile.am: Add MediaTracker.
13126         * Makefile.in: Rebuilt.
13127
13128 2002-03-05  Tom Tromey  <tromey@redhat.com>
13129
13130         * java/lang/natPosixProcess.cc (fail): Removed.
13131         (startProcess): Simplified error-handling.  Preserve
13132         LD_LIBRARY_PATH across exec.
13133
13134         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
13135         AbstractMethodError.
13136
13137 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13138
13139         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
13140         * Makefile.in: Rebuilt.
13141
13142 2002-03-03 Mark Wielaard <mark@klomp.org>
13143
13144         * java/util/Timer (TaskQueue.stop): set elements to zero.
13145
13146 2002-02-28  Anthony Green  <green@redhat.com>
13147
13148         * java/lang/reflect/natMethod.cc (result): Add void* element.
13149         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
13150         constructor test.
13151
13152 2002-02-27  Adam Megacz <adam@xwt.org>
13153
13154         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
13155         '#undef STRICT'.
13156
13157 2002-02-26  Tom Tromey  <tromey@redhat.com>
13158
13159         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
13160         * gij.cc (version): Use __VERSION__.
13161         * include/config.h.in: Rebuilt.
13162         * acconfig.h (GCJVERSION): Removed.
13163         * configure: Rebuilt.
13164         * configure.in (GCJVERSION): Removed.
13165
13166 2002-02-26  Andreas Schwab  <schwab@suse.de>
13167
13168         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
13169         glibcpp_CXX, since libjava uses even another CXX.
13170         * aclocal.m4, configure: Regenerated.
13171
13172 2002-02-26  Tom Tromey  <tromey@redhat.com>
13173
13174         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
13175         `1'.
13176
13177 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13178
13179         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
13180         dependency tracking for .java files.
13181         * Makefile.in: Rebuilt.
13182
13183 2002-02-24  Adam Megacz  <adam@xwt.org>
13184
13185         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
13186         typo. Sorry.
13187
13188 2002-02-24  Adam Megacz  <adam@xwt.org>
13189
13190         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
13191         for Win32, changed #ifdefs to check WIN32 instead of the
13192         (now-obsolete) USE_WINSOCK, and removed support for socket
13193         timeouts on Win32 pending further discussion.
13194
13195 2002-02-24  Adam Megacz  <adam@xwt.org>
13196
13197         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
13198         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
13199         delete
13200
13201 2002-02-24  Adam Megacz  <adam@xwt.org>
13202
13203         * java/lang/Win32Process.java: Created a dummy class to allow
13204         build process to run to completion.
13205
13206 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
13207
13208         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
13209         Define ffi_result union for ffi_call result.  Cast
13210         ffi_result members to jvalue.
13211
13212 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
13213
13214         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
13215         * testsuite/Makefile.in: Likewise.
13216
13217 2002-02-20  Per Bothner  <per@bothner.com>
13218
13219         * java/net/URL.java (getPath):  New JDK 1.3 method.
13220
13221         * java/net/URLStreamHandler.java (parseURL):
13222         It is wrong to prepend '/' to the file part of a relative url.
13223
13224         * java/net/URLStreamHandler.java (parseURL):
13225         Minor optizations - append '/' rather than "/".
13226
13227         * java/net/URLStreamHandler.java (parseURL):
13228         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13229         We probably should canonicalize for a context-relative url, though.
13230         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
13231         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
13232         (sameFile):  New method.  Uses canonicalizeFilename.
13233
13234 2002-02-22  Tom Tromey  <tromey@redhat.com>
13235
13236         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13237         java.vendor and java.vm.vendor.
13238         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13239         recent copyright date.
13240         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13241         * gij.cc (version): Print `Inc'.
13242
13243 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13244
13245         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13246         * aclocal.m4, configure: Rebuilt.
13247
13248 2002-02-20  Per Bothner  <per@bothner.com>
13249
13250         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
13251         and/or output streams immediately here, instead of using File.exists.
13252         (inputStream, outputStream):  New fields to save open streams.
13253         (getInputStream, getOutputStream):  Use already-opened streams.
13254
13255 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13256
13257         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13258         Use it.
13259         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13260         * aclocal.m4, configure, Makefile.in: Rebuilt.
13261
13262 2002-02-19  Tom Tromey  <tromey@redhat.com>
13263
13264         Fix for PR libgcj/5696:
13265         * verify.cc (is_assignable_from_slow): Never call
13266         _Jv_IsAssignableFrom.
13267         (verify_instructions_0): Added new debug statement.
13268         (state::print): Print information about whether local has
13269         changed.
13270         (state::merge): Don't call note_variable when merging locals.
13271         (state::set_exception): Removed old FIXME comment.
13272
13273 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13274
13275         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13276         enable SO_BROADCAST.
13277
13278 2002-02-18  Jason Merrill  <jason@redhat.com>
13279
13280         * name-finder.cc (toHex): Use word mode, not long long.
13281
13282         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13283
13284 2002-02-15  Tom Tromey  <tromey@redhat.com>
13285
13286         Fix for PR libgcj/5695:
13287         * verify.cc (is_assignable_from_slow): Check to see if target is
13288         an Object before checking to see if source is an interface.
13289         (verify_instructions_0) [op_invokeinterface]: Handle case where
13290         we're making an interface call on Object.
13291
13292 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13293
13294         * Makefile.in: Rebuilt with Eric's change below.
13295
13296         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13297         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13298         Removed functions which are now implemented in Math.java.
13299
13300 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13301
13302         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
13303         * Makefile.am (core_java_source_files): Add
13304         java/lang/StrictMath.java.
13305         * java/lang/Math.java: Merge with Classpath.
13306         * java/lang/StrictMath.java: New file - merge with Classpath.
13307
13308 2002-02-14  Mark Wielaard  <mark@klomp.org>
13309
13310         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
13311         package as a workaround for gcj 3.0.x
13312
13313 2002-02-14  Mark Wielaard <mark@klomp.org>
13314
13315         * java/security/BasicPermission.java: extends with fully qualified
13316         classname as workaround for gcj 3.0.4.
13317
13318 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13319
13320         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
13321         around gcj bug of wrong emitted qualifier for inherited method.
13322         * java/net/SocketImpl.java (setOption, getOption): Ditto.
13323         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
13324         constructor to reduce amount of emitted bytecode. While this
13325         happens to work around a jikes 1.15 bug, it is still a useful
13326         patch even for correct compilers.
13327         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
13328         * gnu/java/rmi/server/UnicastRemoteCall.java
13329         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
13330
13331 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13332
13333         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
13334         * java/net/SocketImpl.java: Ditto.
13335         * java/rmi/server/RMIClassLoader.java: Ditto.
13336         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
13337
13338 2002-02-14  Mark Wielaard <mark@klomp.org>
13339
13340         Thanks to Takashi Okamoto
13341         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
13342         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
13343         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
13344
13345 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13346
13347         Fix for PR libgcj/5670:
13348         * verify.cc (is_assignable_from_slow): If `source' is interface,
13349         recursively look for merge with `target'.
13350
13351 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
13352
13353         * include/jni.h: Fix typo.
13354
13355 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
13356
13357         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
13358         correctly.
13359
13360 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13361
13362         Fix for PR libgcj/5671:
13363         * verify.cc (state::merge): Handle case where we're merging
13364         against an interface.
13365
13366 2002-02-12  Tom Tromey  <tromey@redhat.com>
13367
13368         * exception.cc (std::abort): Mark as noreturn.
13369
13370 2002-02-12  Adam Megacz <adam@xwt.org>
13371
13372         * java/lang/Win32Process.java: Filled in a placeholder
13373         implementation so Win32 will build.
13374
13375 2002-02-12  Adam Megacz <adam@xwt.org>
13376
13377         * java/io/natFilePosix.cc: Copied this from natFile.cc.
13378         * java/io/natFile.cc: Removed from repository.
13379         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
13380
13381 2002-02-12  Adam Megacz <adam@xwt.org>
13382
13383         * win32.cc: Added two #includes to make win32.cc compile.
13384
13385 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13386
13387         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
13388         declarations.
13389         (_Jv_InitGC): Don't bother locking, as this is always called from a
13390         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
13391
13392 2002-02-11  Adam Megacz <adam@xwt.org>
13393
13394         * include/win32.h: Added _Jv_platform_gettimeofday.
13395         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
13396
13397 2002-02-11  Adam Megacz <adam@xwt.org>
13398
13399         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
13400         Added #undef STRICT to make windows.h and
13401         java/lang/reflect/Modifier.h cooperate.
13402
13403 2002-02-11  Adam Megacz <adam@xwt.org>
13404
13405         * java/io/natFileWin32.cc: Created a placeholder class with lots
13406         of FIXMEs.
13407
13408 2002-02-11  Adam Megacz <adam@xwt.org>
13409
13410         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
13411         std::abort() to simply abort(). Also added "fake" std::abort() so
13412         we can #include unwind-pe.h without having to link against
13413         libstdc++-v3.
13414
13415 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
13416
13417         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
13418
13419 2002-02-08  Tom Tromey  <tromey@redhat.com>
13420
13421         * interpret.cc (convert): New function.
13422         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
13423         convert.
13424         Include Long.h.
13425
13426 2002-02-08  Anthony Green  <green@redhat.com>
13427
13428         * configure.host: Add support for xscale-elf embedded target.
13429
13430 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
13431
13432         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
13433         dereferenced.
13434         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
13435         frame.
13436
13437 2002-02-07  Tom Tromey  <tromey@redhat.com>
13438
13439         * java/io/natFile.cc (_access): Use __builtin_alloca.
13440         (_stat): Likewise.
13441         (attr): Likewise.
13442         (getCanonicalPath): Likewise.
13443         (performList): Likewise.
13444         (performMkdir): Likewise.
13445         (performSetReadOnly): Likewise.
13446         (performRenameTo): Likewise.
13447         (performSetLastModified): Likewise.
13448         (performCreate): Likewise.
13449         (performDelete): Likewise.
13450
13451 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13452
13453         * HACKING: Fix URL for the automake-gcj.
13454
13455 2002-02-07  Tom Tromey  <tromey@redhat.com>
13456
13457         * java/lang/natThrowable.cc: Updated copyright.
13458         * java/io/natFileWin32.cc: Updated copyright.
13459         * java/io/natFileDescriptorWin32.cc: Updated copyright.
13460         * win32-threads.cc: Updated copyright.
13461         * name-finder.cc: Updated copyright.
13462         * include/name-finder.h: Updated copyright.
13463
13464         * include/name-finder.h: Conditionally include sys/wait.h.
13465         * include/config.h.in: Rebuilt.
13466
13467         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13468         Size buffer based on real size of string.
13469         (_stat): Likewise.
13470         (attr): Likewise.
13471         (getCanonicalPath): Likewise.
13472         (performList): Likewise.
13473         (performMkdir): Likewise.
13474         (performSetReadOnly): Likewise.
13475         (unixroot): Removed.
13476         (performRenameTo): Likewise.
13477         (performSetLastModified): Likewise.
13478         (performCreate): Likewise.
13479         (performDelete): Likewise.
13480         (performListRoots): Always return new array.
13481
13482         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13483         * win32.cc (win32_exception_handler): Now static.
13484         * include/win32.h (_Jv_platform_initialize): Declare.
13485         (win32_exception_handler): Don't declare.
13486         * java/lang/natSystem.cc (currentTimeMillis): Use
13487         _Jv_platform_gettimeofday.
13488         * posix.cc (_Jv_platform_gettimeofday): Renamed.
13489         (_Jv_select): Use new name.
13490         (_Jv_platform_initialize): New function.
13491         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13492         _Jv_gettimeofday.
13493         (_Jv_platform_initialize): Declare.
13494
13495         * configure: Rebuilt.
13496         * configure.in: Removed unnecessary parens.
13497
13498 2002-02-06  Adam Megacz <adam@xwt.org>
13499
13500        * configure.in: Changed mingw) to *mingw*).
13501        * win32.cc: Created this file.
13502        * win32.h: Created this file.
13503        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13504        win32_exception_handler from prims.cc to win32.cc, added
13505        header in win32.h.
13506        * prims.cc: removed some #ifdef-WIN32'd headers which are no
13507        longer needed now that we have platform.h
13508
13509 2002-02-06  Adam Megacz <adam@xwt.org>
13510
13511         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13512         use uint<n>_t instead of LONG and BYTE
13513
13514 2002-02-06  Adam Megacz <adam@xwt.org>
13515
13516         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13517
13518 2002-02-06  Anthony Green  <green@redhat.com>
13519
13520         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13521         Implement missing method stubs.
13522         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13523         targets.
13524         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13525         concept of timezones.
13526         (init_properties): Don't refer to _Jv_Environment_Properties
13527         when this feature is not available.
13528         * include/config.h.in: Rebuilt.
13529         * acconfig.h: Add DISABLE_MAIN_ARGS.
13530         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13531         * configure: Rebuilt.
13532         * configure.in: Add --disable-main-args option.  Test for
13533           opendir function.  Replace AC_CHECK_SIZEOF with
13534           AC_COMPILE_CHECK_SIZEOF.
13535         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13536         * aclocal.m4: Rebuilt.
13537         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13538
13539 2002-02-06  Tom Tromey  <tromey@redhat.com>
13540
13541         * verify.cc (require_array_type): If argument is a null array of
13542         references, return null as the element type.
13543
13544 2002-02-06  Mark Wielaard  <mark@klomp.org>
13545
13546         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13547         duplicate of a wide type.
13548
13549 2002-02-06  Tom Tromey  <tromey@redhat.com>
13550
13551         * verify.cc (type::isnull): New method.
13552         (require_array_type): Handle case where array is null.
13553         (verify_instructions_0) [op_arraylength]: Likewise.
13554
13555 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13556
13557         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13558         Symlink PLATFORMH to platform.h.
13559         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13560         PLATFORMOBJS.
13561         * java/lang/natSystem.cc: #include platform.h not posix.h.
13562         * Makefile.in: Rebuilt with libgcj automake.
13563         * configure: Rebuilt.
13564
13565 2002-02-05  Richard Henderson  <rth@redhat.com>
13566
13567         * Makefile.in: Undo munging last change.
13568
13569 2002-02-04  Adam Megacz <adam@xwt.org>
13570
13571         * win32.cc: Created it.
13572         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
13573         which is set to posix.cc or win32.cc.
13574         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
13575
13576 2002-02-04  Adam Megacz <adam@xwt.org>
13577
13578         * configure.in: Corrected mingw case branches; added * before
13579         and after.
13580
13581 2002-02-04  Adam Megacz <adam@xwt.org>
13582
13583         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
13584         if compiling for win32
13585
13586 2002-02-04  Adam Megacz <adam@xwt.org>
13587
13588         * win32-threads.cc: #undef STRICT after gc.h inclusion
13589
13590 2002-02-02  Tom Tromey  <tromey@redhat.com>
13591
13592         * Makefile.in: Rebuilt.
13593
13594 2002-02-02  Jason Merrill  <jason@redhat.com>
13595
13596         * Makefile.am (clean-nat): New target.
13597
13598 2002-02-02  Tom Tromey  <tromey@redhat.com>
13599
13600         * java/io/natFile.cc: Removed old "FIXME" comments.
13601
13602 2002-02-01  Tom Tromey  <tromey@redhat.com>
13603
13604         * java/lang/natPosixProcess.cc (myclose): New function.
13605         (fail): Use it.
13606         (startProcess): Likewise.
13607
13608 2002-02-01  Adam Megacz <adam@xwt.org>
13609
13610         * prims.cc: Added #undef STRICT after #include<windows.h>.
13611
13612 2002-02-01  Adam Megacz <adam@xwt.org>
13613
13614         * prims.cc
13615         (_Jv_CreateJavaVM): We now use WIN32 instead of
13616         USE_WIN32_SIGNALLING and USE_WINSOCK.
13617         (win32_exception_handler): Now throws an exception out of
13618         the signal handler; assumes SJLJ.
13619
13620 2002-02-01  Adam Megacz <adam@xwt.org>
13621
13622         * win32-threads.cc:
13623         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
13624         wait() algorithm to make it safe.
13625         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
13626         Added lazy creation of Win32 Events for better performance
13627         (really_start): This now uses GC_CreateThread so boehm-gc
13628         knows about new threads even when statically linked.
13629
13630 2002-02-01  Adam Megacz <adam@xwt.org>
13631
13632         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
13633         enable safer wait() algorithm.
13634         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
13635         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
13636         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
13637         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
13638         instead of mutex.
13639         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
13640
13641 2002-02-01  Adam Megacz <adam@xwt.org>
13642
13643         * configure.in: Added support for mingw.
13644         * java/lang/Win32Process.java: Created as empty file.
13645         * java/lang/natWin32Process.cc: Created as empty file.
13646
13647 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
13648
13649         PR java/4972
13650         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
13651         for libiconv in LIBICONV variable.
13652         * configure: Regenerated.
13653
13654 2002-01-31  Tom Tromey  <tromey@redhat.com>
13655
13656         * verify.cc (state::enter_subroutine): New method.
13657         (handle_jsr_insn): Use it.
13658         (state::merge): When processing a `ret', correctly use
13659         subroutine's state to determine which local variables have
13660         changed.
13661         (push_exception_jump): Don't let stack overflow.
13662
13663 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
13664
13665         * gnu/gcj/convert/Convert.java: Only include one copyright year in
13666         --version output.
13667
13668 2002-01-30  Tom Tromey  <tromey@redhat.com>
13669
13670         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
13671         parameter for `recv' return type.
13672
13673         * verify.cc (handle_ret_insn): Check for subroutine merge here...
13674         (state::merge): ... not here.
13675         (subr_entry_info): New structure.
13676         (entry_points): New field.
13677         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
13678         entry_points.
13679
13680 2002-01-29  Tom Tromey  <tromey@redhat.com>
13681
13682         * java/awt/List.java (addNotify): Correctly check to see if peer
13683         does not exist.
13684
13685         * java/awt/GridLayout.java (layoutContainer): Use number of rows
13686         to compute height of each cell, and number of columns to compute
13687         width of each cell.
13688         * java/awt/Window.java (getOwnedWindows): Don't return null.
13689         * java/awt/FlowLayout.java (layoutContainer): Set width and height
13690         of component.  Increment x using horizontal gap, not vertical
13691         gap.
13692
13693 2002-01-28  Tom Tromey  <tromey@redhat.com>
13694
13695         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
13696         `nargs' byte is number of words, not number of arguments.
13697
13698 2002-01-27  Tom Tromey  <tromey@redhat.com>
13699
13700         * java/awt/event/MouseEvent.java (modifiers): Removed field.
13701         (when): Likewise.
13702         * java/awt/event/InputEvent.java (modifiers, when): Now
13703         package-private.
13704
13705         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
13706         and to-do list.
13707         (state::merge): Use current class' class loader.
13708         (state::print): Print subroutine.
13709         (state::merge): Don't look at subroutine of unmerged `ret'.
13710
13711 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
13712
13713         * nogc.cc: Remove warnings.
13714         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
13715         New functions.
13716
13717 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13718
13719         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
13720         int, int):  Remove empty "if" statement to work around compiler bug.
13721         (newPixels(int[], ColorModel, int, int): Likewise.
13722
13723 2002-01-25  Per Bothner  <per@bothner.com>
13724
13725         * verify.cc (verify_fail):  Change from being a top-level function
13726         to e method of _Jv_BytecodeVerifier.  Emit current method name.
13727         Pass the current verifier to type: and state: methods as needed,
13728         for better error messages, and for resolve.
13729         (resolve):  Pass current class's loader for Class.forName and
13730         _Jv_FindClassFromSignature, rather than using the default loader.
13731         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
13732         (get_type_val_for_signature):  Make non-static.
13733         (various methods):  Pass start_PC implicitly, not explicitly.
13734
13735 2002-01-25  Tom Tromey  <tromey@redhat.com>
13736
13737         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
13738         loop termination condition.
13739         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
13740         width.
13741
13742 2002-01-24  Tom Tromey  <tromey@redhat.com>
13743
13744         * java/awt/Shape.java: Merged with Classpath.
13745         * java/awt/Scrollbar.java: Merged with Classpath.
13746
13747         * java/awt/Container.java (addNotify): Unconditionally call
13748         addNotifyContainerChildren and superclass addNotify.
13749
13750         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
13751         getAlpha, not getBlue.
13752
13753 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13754
13755         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
13756
13757         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
13758         (grabPixels(long)): Wait to be notified that the ImageProducer has
13759         completed.
13760
13761 2002-01-24  Per Bothner  <per@bothner.com>
13762
13763         * verify.cc (is_assignable_from_slow): If target is an interface,
13764         we must still check the source's superclass before giving up.
13765
13766 2002-01-24  Tom Tromey  <tromey@redhat.com>
13767
13768         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
13769
13770 2002-01-23  Tom Tromey  <tromey@redhat.com>
13771
13772         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
13773         `else'.
13774
13775         * Makefile.in: Rebuilt.
13776         * Makefile.am (awt_java_source_files): Added new files.
13777         * java/awt/Toolkit.java: Merged with Classpath.
13778         * java/awt/PrintGraphics.java: New file from Classpath.
13779         * java/awt/PrintJob.java: New file from Classpath.
13780         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
13781         * java/awt/datatransfer/ClipboardOwner.java: New file from
13782         Classpath.
13783         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
13784         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
13785         * java/awt/datatransfer/MimeTypeParseException.java: New file from
13786         Classpath.
13787         * java/awt/datatransfer/StringSelection.java: New file from
13788         Classpath.
13789         * java/awt/datatransfer/SystemFlavorMap.java: New file from
13790         Classpath.
13791         * java/awt/datatransfer/Transferable.java: New file from
13792         Classpath.
13793         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
13794         from Classpath.
13795
13796         * Makefile.in: Rebuilt.
13797         * Makefile.am (awt_java_source_files): Added new files.
13798         * java/awt/image/AreaAveragingScaleFilter.java: New file from
13799         Classpath.
13800         * java/awt/image/CropImageFilter.java: New file from Classpath.
13801         * java/awt/image/FilteredImageSource.java: New file from
13802         Classpath.
13803         * java/awt/image/ImageFilter.java: New file from Classpath.
13804         * java/awt/image/MemoryImageSource.java: New file from Classpath.
13805         * java/awt/image/PixelGrabber.java: New file from Classpath.
13806         * java/awt/image/RGBImageFilter.java: New file from Classpath.
13807         * java/awt/image/ReplicateScaleFilter.java: New file from
13808         Classpath.
13809         * java/awt/image/ImageProducer.java: Replaced with Classpath
13810         version.
13811         * java/awt/image/ImageObserver.java: Replaced with Classpath
13812         version.
13813         * java/awt/image/ImageConsumer.java: Replaced with Classpath
13814         version.
13815         * java/awt/GridBagConstraints.java (clone): Catch
13816         CloneNotSupportedException.
13817
13818 2002-01-23  Per Bothner  <per@bothner.com>
13819
13820         * java/lang/reflect/natField.cc (setAddr):  New function.
13821         Calls getAddr and then checks that the field isn't final.
13822         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
13823         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
13824         (set):  Call setAddr before check that new value has right type,
13825         to better match specified semantics.
13826
13827 2002-01-22  Tom Tromey  <tromey@redhat.com>
13828
13829         * java/awt/TextField.java: Replaced with Classpath version.
13830         * java/awt/TextArea.java: Replaced with Classpath version.
13831         * java/awt/TextComponent.java: Replaced with Classpath version.
13832
13833         * java/awt/GridBagConstraints.java: Updated copyright.
13834
13835 2002-01-22  Mark Wielaard <mark@klomp.org>
13836
13837         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
13838         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
13839         java/awt/Dialog.java java/awt/FileDialog.java
13840         java/awt/Font.java java/awt/FontMetrics.java
13841         java/awt/Image.java java/awt/ImageMediaEntry.java
13842         java/awt/Insets.java java/awt/List.java
13843         java/awt/MediaEntry.java java/awt/MediaTracker.java
13844         java/awt/Menu.java java/awt/MenuBar.java
13845         java/awt/MenuContainer.java java/awt/MenuShortcut.java
13846         java/awt/PaintContext.java java/awt/Panel.java
13847         java/awt/PopupMenu.java java/awt/SystemColor.java
13848         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
13849         java/awt/peer/CheckboxMenuItemPeer.java
13850         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
13851         java/awt/peer/ComponentPeer.java
13852         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
13853         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
13854         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
13855         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
13856         java/awt/peer/MenuBarPeer.java
13857         java/awt/peer/MenuComponentPeer.java
13858         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
13859         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
13860         java/awt/peer/ScrollPanePeer.java
13861         java/awt/peer/ScrollbarPeer.java
13862         java/awt/peer/TextAreaPeer.java
13863         java/awt/peer/TextComponentPeer.java
13864         java/awt/peer/TextFieldPeer.java
13865         java/awt/peer/WindowPeer.java: Add license clarification.
13866
13867 2002-01-22  Mark Wielaard <mark@klomp.org>
13868
13869         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
13870         gnu/gcj/runtime/StringBuffer.java
13871         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
13872         gnu/java/awt/ComponentDataBlitOp.java
13873         gnu/java/awt/GLightweightPeer.java
13874         gnu/java/beans/BeanInfoEmbryo.java
13875         gnu/java/beans/EmptyBeanInfo.java
13876         gnu/java/beans/ExplicitBeanInfo.java
13877         gnu/java/beans/IntrospectionIncubator.java
13878         gnu/java/beans/editors/ColorEditor.java
13879         gnu/java/beans/editors/FontEditor.java
13880         gnu/java/beans/editors/NativeBooleanEditor.java
13881         gnu/java/beans/editors/NativeByteEditor.java
13882         gnu/java/beans/editors/NativeDoubleEditor.java
13883         gnu/java/beans/editors/NativeFloatEditor.java
13884         gnu/java/beans/editors/NativeIntEditor.java
13885         gnu/java/beans/editors/NativeLongEditor.java
13886         gnu/java/beans/editors/NativeShortEditor.java
13887         gnu/java/beans/editors/StringEditor.java
13888         gnu/java/beans/info/ComponentBeanInfo.java
13889         gnu/java/io/ClassLoaderObjectInputStream.java
13890         gnu/java/io/NullOutputStream.java
13891         gnu/java/io/ObjectIdentityWrapper.java
13892         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
13893         gnu/java/lang/reflect/TypeSignature.java
13894         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
13895         gnu/java/locale/Calendar_en.java
13896         gnu/java/locale/Calendar_nl.java
13897         gnu/java/locale/LocaleInformation.java
13898         gnu/java/locale/LocaleInformation_de.java
13899         gnu/java/locale/LocaleInformation_en.java
13900         gnu/java/locale/LocaleInformation_nl.java
13901         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
13902         gnu/java/rmi/registry/RegistryImpl.java
13903         gnu/java/rmi/rmic/Compile_gcj.java
13904         gnu/java/rmi/rmic/Compiler.java
13905         gnu/java/rmi/rmic/CompilerProcess.java
13906         gnu/java/rmi/rmic/RMIC.java
13907         gnu/java/rmi/rmic/TabbedWriter.java
13908         gnu/java/rmi/server/ProtocolConstants.java
13909         gnu/java/rmi/server/RMIDefaultSocketFactory.java
13910         gnu/java/rmi/server/RMIHashes.java
13911         gnu/java/rmi/server/RMIObjectInputStream.java
13912         gnu/java/rmi/server/RMIObjectOutputStream.java
13913         gnu/java/rmi/server/UnicastConnection.java
13914         gnu/java/rmi/server/UnicastConnectionManager.java
13915         gnu/java/rmi/server/UnicastRef.java
13916         gnu/java/rmi/server/UnicastRemoteCall.java
13917         gnu/java/rmi/server/UnicastRemoteStub.java
13918         gnu/java/rmi/server/UnicastServer.java
13919         gnu/java/rmi/server/UnicastServerRef.java
13920         gnu/java/security/provider/DefaultPolicy.java
13921         gnu/java/security/provider/Gnu.java
13922         gnu/java/security/provider/SHA.java
13923         gnu/java/security/provider/SHA1PRNG.java
13924         gnu/java/text/BaseBreakIterator.java
13925         gnu/java/text/CharacterBreakIterator.java
13926         gnu/java/text/LineBreakIterator.java
13927         gnu/java/text/SentenceBreakIterator.java
13928         gnu/java/text/WordBreakIterator.java
13929         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
13930         java/applet/AppletContext.java java/applet/AppletStub.java
13931         java/applet/AudioClip.java java/awt/AWTError.java
13932         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
13933         java/awt/AWTException.java java/awt/AWTPermission.java
13934         java/awt/ActiveEvent.java java/awt/BorderLayout.java
13935         java/awt/Button.java java/awt/Canvas.java
13936         java/awt/CardLayout.java java/awt/Checkbox.java
13937         java/awt/CheckboxGroup.java java/awt/Component.java
13938         java/awt/ComponentOrientation.java java/awt/Container.java
13939         java/awt/Dimension.java java/awt/Event.java
13940         java/awt/EventDispatchThread.java java/awt/EventQueue.java
13941         java/awt/FlowLayout.java java/awt/Frame.java
13942         java/awt/Graphics.java java/awt/Graphics2D.java
13943         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
13944         java/awt/IllegalComponentStateException.java
13945         java/awt/ItemSelectable.java java/awt/Label.java
13946         java/awt/LayoutManager.java java/awt/LayoutManager2.java
13947         java/awt/MenuComponent.java java/awt/MenuItem.java
13948         java/awt/Paint.java java/awt/Point.java
13949         java/awt/Rectangle.java java/awt/RenderingHints.java
13950         java/awt/Transparency.java java/awt/Window.java
13951         java/awt/color/ColorSpace.java
13952         java/awt/color/ICC_ColorSpace.java
13953         java/awt/color/ICC_Profile.java
13954         java/awt/event/HierarchyBoundsAdapter.java
13955         java/awt/event/HierarchyBoundsListener.java
13956         java/awt/event/HierarchyEvent.java
13957         java/awt/event/HierarchyListener.java
13958         java/awt/geom/AffineTransform.java
13959         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
13960         java/awt/geom/IllegalPathStateException.java
13961         java/awt/geom/Line2D.java
13962         java/awt/geom/NoninvertibleTransformException.java
13963         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
13964         java/awt/geom/Rectangle2D.java
13965         java/awt/geom/RectangularShape.java
13966         java/awt/geom/RoundRectangle2D.java
13967         java/awt/image/BufferedImage.java
13968         java/awt/image/ColorModel.java
13969         java/awt/image/ComponentColorModel.java
13970         java/awt/image/ComponentSampleModel.java
13971         java/awt/image/DataBuffer.java
13972         java/awt/image/DataBufferByte.java
13973         java/awt/image/DataBufferInt.java
13974         java/awt/image/DataBufferUShort.java
13975         java/awt/image/DirectColorModel.java
13976         java/awt/image/PackedColorModel.java
13977         java/awt/image/Raster.java java/awt/image/RasterOp.java
13978         java/awt/image/SampleModel.java
13979         java/awt/image/SinglePixelPackedSampleModel.java
13980         java/awt/image/WritableRaster.java
13981         java/beans/AppletInitializer.java
13982         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
13983         java/beans/Beans.java java/beans/Customizer.java
13984         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
13985         java/beans/FeatureDescriptor.java
13986         java/beans/IndexedPropertyDescriptor.java
13987         java/beans/IntrospectionException.java
13988         java/beans/Introspector.java java/beans/MethodDescriptor.java
13989         java/beans/ParameterDescriptor.java
13990         java/beans/PropertyChangeEvent.java
13991         java/beans/PropertyChangeListener.java
13992         java/beans/PropertyChangeSupport.java
13993         java/beans/PropertyDescriptor.java
13994         java/beans/PropertyEditor.java
13995         java/beans/PropertyEditorManager.java
13996         java/beans/PropertyEditorSupport.java
13997         java/beans/PropertyVetoException.java
13998         java/beans/SimpleBeanInfo.java
13999         java/beans/VetoableChangeListener.java
14000         java/beans/VetoableChangeSupport.java
14001         java/beans/Visibility.java
14002         java/beans/beancontext/BeanContext.java
14003         java/beans/beancontext/BeanContextChild.java
14004         java/beans/beancontext/BeanContextChildComponentProxy.java
14005         java/beans/beancontext/BeanContextChildSupport.java
14006         java/beans/beancontext/BeanContextContainerProxy.java
14007         java/beans/beancontext/BeanContextEvent.java
14008         java/beans/beancontext/BeanContextMembershipEvent.java
14009         java/beans/beancontext/BeanContextMembershipListener.java
14010         java/beans/beancontext/BeanContextProxy.java
14011         java/beans/beancontext/BeanContextServiceAvailableEvent.java
14012         java/beans/beancontext/BeanContextServiceProvider.java
14013         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
14014         java/beans/beancontext/BeanContextServiceRevokedEvent.java
14015         java/beans/beancontext/BeanContextServiceRevokedListener.java
14016         java/beans/beancontext/BeanContextServices.java
14017         java/beans/beancontext/BeanContextServicesListener.java
14018         java/io/BufferedInputStream.java
14019         java/io/BufferedOutputStream.java java/io/BufferedReader.java
14020         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
14021         java/io/ByteArrayOutputStream.java
14022         java/io/CharArrayReader.java java/io/CharArrayWriter.java
14023         java/io/CharConversionException.java java/io/DataInput.java
14024         java/io/DataInputStream.java java/io/DataOutput.java
14025         java/io/EOFException.java java/io/Externalizable.java
14026         java/io/FileFilter.java java/io/FileNotFoundException.java
14027         java/io/FilePermission.java java/io/FileReader.java
14028         java/io/FileWriter.java java/io/FilenameFilter.java
14029         java/io/FilterInputStream.java java/io/FilterOutputStream.java
14030         java/io/FilterReader.java java/io/FilterWriter.java
14031         java/io/IOException.java java/io/InputStream.java
14032         java/io/InterruptedIOException.java
14033         java/io/InvalidClassException.java
14034         java/io/InvalidObjectException.java
14035         java/io/NotActiveException.java
14036         java/io/NotSerializableException.java java/io/ObjectInput.java
14037         java/io/ObjectInputStream.java
14038         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
14039         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
14040         java/io/ObjectStreamConstants.java
14041         java/io/ObjectStreamException.java
14042         java/io/ObjectStreamField.java
14043         java/io/OptionalDataException.java java/io/OutputStream.java
14044         java/io/PipedInputStream.java java/io/PipedOutputStream.java
14045         java/io/PipedReader.java java/io/PipedWriter.java
14046         java/io/PrintWriter.java java/io/PushbackInputStream.java
14047         java/io/PushbackReader.java java/io/Reader.java
14048         java/io/SequenceInputStream.java java/io/Serializable.java
14049         java/io/SerializablePermission.java
14050         java/io/StreamCorruptedException.java
14051         java/io/StreamTokenizer.java
14052         java/io/StringBufferInputStream.java java/io/StringReader.java
14053         java/io/StringWriter.java java/io/SyncFailedException.java
14054         java/io/UTFDataFormatException.java
14055         java/io/UnsupportedEncodingException.java
14056         java/io/WriteAbortedException.java java/io/Writer.java
14057         java/lang/AbstractMethodError.java
14058         java/lang/ArithmeticException.java
14059         java/lang/ArrayIndexOutOfBoundsException.java
14060         java/lang/ArrayStoreException.java java/lang/Boolean.java
14061         java/lang/Byte.java java/lang/CharSequence.java
14062         java/lang/ClassCastException.java
14063         java/lang/ClassCircularityError.java
14064         java/lang/ClassFormatError.java
14065         java/lang/ClassNotFoundException.java
14066         java/lang/CloneNotSupportedException.java
14067         java/lang/Cloneable.java java/lang/Comparable.java
14068         java/lang/Compiler.java java/lang/Double.java
14069         java/lang/Error.java java/lang/Exception.java
14070         java/lang/ExceptionInInitializerError.java
14071         java/lang/Float.java java/lang/IllegalAccessError.java
14072         java/lang/IllegalAccessException.java
14073         java/lang/IllegalArgumentException.java
14074         java/lang/IllegalMonitorStateException.java
14075         java/lang/IllegalStateException.java
14076         java/lang/IllegalThreadStateException.java
14077         java/lang/IncompatibleClassChangeError.java
14078         java/lang/IndexOutOfBoundsException.java
14079         java/lang/InheritableThreadLocal.java
14080         java/lang/InstantiationError.java
14081         java/lang/InstantiationException.java java/lang/Integer.java
14082         java/lang/InternalError.java
14083         java/lang/InterruptedException.java
14084         java/lang/LinkageError.java java/lang/Long.java
14085         java/lang/NegativeArraySizeException.java
14086         java/lang/NoClassDefFoundError.java
14087         java/lang/NoSuchFieldError.java
14088         java/lang/NoSuchFieldException.java
14089         java/lang/NoSuchMethodError.java
14090         java/lang/NoSuchMethodException.java
14091         java/lang/NullPointerException.java java/lang/Number.java
14092         java/lang/NumberFormatException.java
14093         java/lang/OutOfMemoryError.java java/lang/Package.java
14094         java/lang/Process.java java/lang/Runnable.java
14095         java/lang/RuntimeException.java
14096         java/lang/RuntimePermission.java
14097         java/lang/SecurityException.java
14098         java/lang/SecurityManager.java java/lang/Short.java
14099         java/lang/StackOverflowError.java java/lang/StringBuffer.java
14100         java/lang/StringIndexOutOfBoundsException.java
14101         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
14102         java/lang/ThreadLocal.java java/lang/UnknownError.java
14103         java/lang/UnsatisfiedLinkError.java
14104         java/lang/UnsupportedClassVersionError.java
14105         java/lang/UnsupportedOperationException.java
14106         java/lang/VerifyError.java java/lang/VirtualMachineError.java
14107         java/lang/Void.java java/lang/ref/PhantomReference.java
14108         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
14109         java/lang/ref/SoftReference.java
14110         java/lang/ref/WeakReference.java
14111         java/lang/reflect/AccessibleObject.java
14112         java/lang/reflect/InvocationTargetException.java
14113         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
14114         java/lang/reflect/ReflectPermission.java
14115         java/math/BigDecimal.java java/math/BigInteger.java
14116         java/net/Authenticator.java java/net/BindException.java
14117         java/net/ConnectException.java java/net/ContentHandler.java
14118         java/net/ContentHandlerFactory.java
14119         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
14120         java/net/FileNameMap.java java/net/MalformedURLException.java
14121         java/net/MulticastSocket.java java/net/NetPermission.java
14122         java/net/NoRouteToHostException.java
14123         java/net/PasswordAuthentication.java
14124         java/net/ProtocolException.java java/net/ServerSocket.java
14125         java/net/Socket.java java/net/SocketException.java
14126         java/net/SocketImpl.java java/net/SocketImplFactory.java
14127         java/net/SocketOptions.java java/net/SocketPermission.java
14128         java/net/URLDecoder.java java/net/URLEncoder.java
14129         java/net/URLStreamHandlerFactory.java
14130         java/net/UnknownHostException.java
14131         java/net/UnknownServiceException.java
14132         java/rmi/AccessException.java
14133         java/rmi/AlreadyBoundException.java
14134         java/rmi/ConnectException.java
14135         java/rmi/ConnectIOException.java
14136         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
14137         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
14138         java/rmi/NotBoundException.java
14139         java/rmi/RMISecurityException.java
14140         java/rmi/RMISecurityManager.java java/rmi/Remote.java
14141         java/rmi/RemoteException.java java/rmi/ServerError.java
14142         java/rmi/ServerException.java
14143         java/rmi/ServerRuntimeException.java
14144         java/rmi/StubNotFoundException.java
14145         java/rmi/UnexpectedException.java
14146         java/rmi/UnknownHostException.java
14147         java/rmi/UnmarshalException.java
14148         java/rmi/activation/Activatable.java
14149         java/rmi/activation/ActivateFailedException.java
14150         java/rmi/activation/ActivationDesc.java
14151         java/rmi/activation/ActivationException.java
14152         java/rmi/activation/ActivationGroup.java
14153         java/rmi/activation/ActivationGroupDesc.java
14154         java/rmi/activation/ActivationGroupID.java
14155         java/rmi/activation/ActivationID.java
14156         java/rmi/activation/ActivationInstantiator.java
14157         java/rmi/activation/ActivationMonitor.java
14158         java/rmi/activation/ActivationSystem.java
14159         java/rmi/activation/Activator.java
14160         java/rmi/activation/UnknownGroupException.java
14161         java/rmi/activation/UnknownObjectException.java
14162         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
14163         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
14164         java/rmi/registry/Registry.java
14165         java/rmi/registry/RegistryHandler.java
14166         java/rmi/server/ExportException.java
14167         java/rmi/server/LoaderHandler.java
14168         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
14169         java/rmi/server/Operation.java
14170         java/rmi/server/RMIClassLoader.java
14171         java/rmi/server/RMIClientSocketFactory.java
14172         java/rmi/server/RMIFailureHandler.java
14173         java/rmi/server/RMIServerSocketFactory.java
14174         java/rmi/server/RMISocketFactory.java
14175         java/rmi/server/RemoteCall.java
14176         java/rmi/server/RemoteObject.java
14177         java/rmi/server/RemoteRef.java
14178         java/rmi/server/RemoteServer.java
14179         java/rmi/server/RemoteStub.java
14180         java/rmi/server/ServerCloneException.java
14181         java/rmi/server/ServerNotActiveException.java
14182         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
14183         java/rmi/server/SkeletonMismatchException.java
14184         java/rmi/server/SkeletonNotFoundException.java
14185         java/rmi/server/SocketSecurityException.java
14186         java/rmi/server/UID.java
14187         java/rmi/server/UnicastRemoteObject.java
14188         java/rmi/server/Unreferenced.java
14189         java/security/AccessControlContext.java
14190         java/security/AccessControlException.java
14191         java/security/AccessController.java
14192         java/security/AlgorithmParameterGenerator.java
14193         java/security/AlgorithmParameterGeneratorSpi.java
14194         java/security/AlgorithmParameters.java
14195         java/security/AlgorithmParametersSpi.java
14196         java/security/AllPermission.java
14197         java/security/BasicPermission.java
14198         java/security/Certificate.java java/security/CodeSource.java
14199         java/security/DigestException.java
14200         java/security/DigestInputStream.java
14201         java/security/DigestOutputStream.java
14202         java/security/DomainCombiner.java
14203         java/security/DummyKeyPairGenerator.java
14204         java/security/DummyMessageDigest.java
14205         java/security/DummySignature.java
14206         java/security/GeneralSecurityException.java
14207         java/security/Guard.java java/security/GuardedObject.java
14208         java/security/Identity.java java/security/IdentityScope.java
14209         java/security/InvalidAlgorithmParameterException.java
14210         java/security/InvalidKeyException.java
14211         java/security/InvalidParameterException.java
14212         java/security/Key.java java/security/KeyException.java
14213         java/security/KeyFactory.java java/security/KeyFactorySpi.java
14214         java/security/KeyManagementException.java
14215         java/security/KeyPair.java java/security/KeyPairGenerator.java
14216         java/security/KeyPairGeneratorSpi.java
14217         java/security/KeyStore.java
14218         java/security/KeyStoreException.java
14219         java/security/KeyStoreSpi.java
14220         java/security/MessageDigest.java
14221         java/security/MessageDigestSpi.java
14222         java/security/NoSuchAlgorithmException.java
14223         java/security/NoSuchProviderException.java
14224         java/security/Permission.java
14225         java/security/PermissionCollection.java
14226         java/security/Permissions.java java/security/Policy.java
14227         java/security/Principal.java java/security/PrivateKey.java
14228         java/security/PrivilegedAction.java
14229         java/security/PrivilegedActionException.java
14230         java/security/PrivilegedExceptionAction.java
14231         java/security/ProtectionDomain.java
14232         java/security/Provider.java
14233         java/security/ProviderException.java
14234         java/security/PublicKey.java
14235         java/security/SecureClassLoader.java
14236         java/security/SecureRandom.java
14237         java/security/SecureRandomSpi.java java/security/Security.java
14238         java/security/SecurityPermission.java
14239         java/security/Signature.java
14240         java/security/SignatureException.java
14241         java/security/SignatureSpi.java
14242         java/security/SignedObject.java java/security/Signer.java
14243         java/security/UnrecoverableKeyException.java
14244         java/security/UnresolvedPermission.java
14245         java/security/acl/Acl.java java/security/acl/AclEntry.java
14246         java/security/acl/AclNotFoundException.java
14247         java/security/acl/Group.java
14248         java/security/acl/LastOwnerException.java
14249         java/security/acl/NotOwnerException.java
14250         java/security/acl/Owner.java java/security/acl/Permission.java
14251         java/security/cert/CRL.java
14252         java/security/cert/CRLException.java
14253         java/security/cert/Certificate.java
14254         java/security/cert/CertificateEncodingException.java
14255         java/security/cert/CertificateException.java
14256         java/security/cert/CertificateExpiredException.java
14257         java/security/cert/CertificateFactory.java
14258         java/security/cert/CertificateFactorySpi.java
14259         java/security/cert/CertificateNotYetValidException.java
14260         java/security/cert/CertificateParsingException.java
14261         java/security/cert/X509CRL.java
14262         java/security/cert/X509CRLEntry.java
14263         java/security/cert/X509Certificate.java
14264         java/security/cert/X509Extension.java
14265         java/security/interfaces/DSAKey.java
14266         java/security/interfaces/DSAKeyPairGenerator.java
14267         java/security/interfaces/DSAParams.java
14268         java/security/interfaces/DSAPrivateKey.java
14269         java/security/interfaces/DSAPublicKey.java
14270         java/security/interfaces/RSAKey.java
14271         java/security/interfaces/RSAPrivateCrtKey.java
14272         java/security/interfaces/RSAPrivateKey.java
14273         java/security/interfaces/RSAPublicKey.java
14274         java/security/spec/AlgorithmParameterSpec.java
14275         java/security/spec/DSAParameterSpec.java
14276         java/security/spec/DSAPrivateKeySpec.java
14277         java/security/spec/DSAPublicKeySpec.java
14278         java/security/spec/EncodedKeySpec.java
14279         java/security/spec/InvalidKeySpecException.java
14280         java/security/spec/InvalidParameterSpecException.java
14281         java/security/spec/KeySpec.java
14282         java/security/spec/PKCS8EncodedKeySpec.java
14283         java/security/spec/RSAKeyGenParameterSpec.java
14284         java/security/spec/RSAPrivateCrtKeySpec.java
14285         java/security/spec/RSAPrivateKeySpec.java
14286         java/security/spec/RSAPublicKeySpec.java
14287         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14288         java/sql/BatchUpdateException.java java/sql/Blob.java
14289         java/sql/CallableStatement.java java/sql/Clob.java
14290         java/sql/Connection.java java/sql/DataTruncation.java
14291         java/sql/DatabaseMetaData.java java/sql/Date.java
14292         java/sql/Driver.java java/sql/DriverManager.java
14293         java/sql/DriverPropertyInfo.java
14294         java/sql/PreparedStatement.java java/sql/Ref.java
14295         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14296         java/sql/SQLData.java java/sql/SQLException.java
14297         java/sql/SQLInput.java java/sql/SQLOutput.java
14298         java/sql/SQLWarning.java java/sql/Statement.java
14299         java/sql/Struct.java java/sql/Time.java
14300         java/sql/Timestamp.java java/sql/Types.java
14301         java/text/Annotation.java
14302         java/text/AttributedCharacterIterator.java
14303         java/text/AttributedString.java
14304         java/text/AttributedStringIterator.java
14305         java/text/BreakIterator.java java/text/CharacterIterator.java
14306         java/text/ChoiceFormat.java java/text/Collator.java
14307         java/text/DateFormat.java java/text/DateFormatSymbols.java
14308         java/text/DecimalFormat.java
14309         java/text/DecimalFormatSymbols.java
14310         java/text/FieldPosition.java java/text/Format.java
14311         java/text/MessageFormat.java java/text/NumberFormat.java
14312         java/text/ParseException.java java/text/ParsePosition.java
14313         java/text/SimpleDateFormat.java
14314         java/text/StringCharacterIterator.java
14315         java/util/AbstractCollection.java java/util/AbstractList.java
14316         java/util/AbstractMap.java
14317         java/util/AbstractSequentialList.java
14318         java/util/AbstractSet.java java/util/ArrayList.java
14319         java/util/Arrays.java java/util/BasicMapEntry.java
14320         java/util/BitSet.java java/util/Calendar.java
14321         java/util/Collection.java java/util/Collections.java
14322         java/util/Comparator.java
14323         java/util/ConcurrentModificationException.java
14324         java/util/Date.java java/util/Dictionary.java
14325         java/util/EmptyStackException.java java/util/Enumeration.java
14326         java/util/EventListener.java java/util/EventObject.java
14327         java/util/GregorianCalendar.java java/util/HashMap.java
14328         java/util/HashSet.java java/util/Hashtable.java
14329         java/util/IdentityHashMap.java java/util/Iterator.java
14330         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
14331         java/util/LinkedList.java java/util/List.java
14332         java/util/ListIterator.java java/util/ListResourceBundle.java
14333         java/util/Locale.java java/util/Map.java
14334         java/util/MissingResourceException.java
14335         java/util/NoSuchElementException.java
14336         java/util/Observable.java java/util/Observer.java
14337         java/util/Properties.java java/util/PropertyPermission.java
14338         java/util/PropertyResourceBundle.java java/util/Random.java
14339         java/util/RandomAccess.java java/util/ResourceBundle.java
14340         java/util/Set.java java/util/SimpleTimeZone.java
14341         java/util/SortedMap.java java/util/SortedSet.java
14342         java/util/Stack.java java/util/StringTokenizer.java
14343         java/util/TimeZone.java java/util/Timer.java
14344         java/util/TimerTask.java
14345         java/util/TooManyListenersException.java
14346         java/util/TreeMap.java java/util/TreeSet.java
14347         java/util/Vector.java java/util/WeakHashMap.java
14348         java/util/jar/Attributes.java java/util/jar/JarEntry.java
14349         java/util/jar/JarException.java java/util/jar/JarFile.java
14350         java/util/jar/JarInputStream.java
14351         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
14352         java/util/zip/Adler32.java java/util/zip/CRC32.java
14353         java/util/zip/CheckedInputStream.java
14354         java/util/zip/CheckedOutputStream.java
14355         java/util/zip/Checksum.java
14356         java/util/zip/DataFormatException.java
14357         java/util/zip/Deflater.java
14358         java/util/zip/DeflaterOutputStream.java
14359         java/util/zip/GZIPInputStream.java
14360         java/util/zip/GZIPOutputStream.java
14361         java/util/zip/Inflater.java
14362         java/util/zip/InflaterInputStream.java
14363         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
14364         java/util/zip/ZipException.java java/util/zip/ZipFile.java
14365         java/util/zip/ZipInputStream.java
14366         java/util/zip/ZipOutputStream.java
14367         javax/naming/BinaryRefAddr.java
14368         javax/naming/InvalidNameException.java javax/naming/Name.java
14369         javax/naming/NamingException.java javax/naming/RefAddr.java
14370         javax/naming/StringRefAddr.java: Add license clarification.
14371
14372 2002-01-22  Tom Tromey  <tromey@redhat.com>
14373
14374         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
14375         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
14376         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
14377         version.
14378         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
14379         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
14380         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
14381         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
14382         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
14383         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
14384         * java/awt/peer/FontPeer.java: Replace with Classpath version.
14385         * java/awt/peer/FramePeer.java: Replace with Classpath version.
14386         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
14387         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
14388         * java/awt/peer/ListPeer.java: Replace with Classpath version.
14389         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
14390         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
14391         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
14392         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
14393         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
14394         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
14395         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
14396         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
14397         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
14398         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
14399         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
14400         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
14401         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
14402         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
14403         (minimumSize, preferredSize, reshape): Likewise.
14404         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
14405         getColorModel): New methods.
14406         * java/awt/PopupMenu.java: Merged with Classpath.
14407         * java/awt/MenuBar.java: Merged with Classpath.
14408         * java/awt/SystemColor.java: Replace with Classpath version.
14409         * java/awt/Panel.java: Merged with Classpath.
14410         * java/awt/PaintContext.java: Updated copyright.
14411         * java/awt/MenuShortcut.java: Merged with Classpath.
14412         * java/awt/MenuContainer.java: Merged with Classpath.
14413         * java/awt/Menu.java: Merged with Classpath.
14414         * java/awt/MediaEntry.java: New file from Classpath.
14415         * java/awt/MediaTracker.java: New file from Classpath.
14416         * java/awt/List.java: Merged with Classpath version.
14417         * java/awt/Insets.java: Merged with Classpath version.
14418         * java/awt/ImageMediaEntry.java: New file from Classpath.
14419         * java/awt/Image.java: Replaced with Classpath version.
14420         * java/awt/FontMetrics.java: Merged with Classpath version.
14421         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
14422         constant.
14423         * java/awt/Font.java: Merged with Classpath version.
14424         * java/awt/Dialog.java: Merged with Classpath version.
14425         * java/awt/Color.java: Merged with Classpath version.
14426         * java/awt/Choice.java: Merged with Classpath version.
14427         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
14428         * java/awt/Adjustable.java: Replace with Classpath version.
14429         * java/awt/MenuItem.java (paramString): Don't include class name
14430         or brackets.  Call superclass paramString.
14431         * java/awt/MenuComponent.java (toString): Call paramString.
14432         (paramString): Compute string; don't call toString.
14433         * java/awt/Label.java (paramString): Don't include class name
14434         or brackets.  Call superclass paramString.
14435         * java/awt/Checkbox.java (paramString): Don't include class name
14436         or brackets.  Call superclass paramString.
14437         * java/awt/Button.java (paramString): Don't include class name or
14438         brackets.  Call superclass paramString.
14439         * java/awt/MenuComponent.java (getTreeLock): Now protected.
14440
14441 2002-01-20  Andreas Schwab  <schwab@suse.de>
14442
14443         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
14444         function and of parameter recv_func to ssize_t, as specified by
14445         POSIX.
14446
14447 2002-01-19  Per Bothner  <per@bothner.com>
14448
14449         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
14450         uncompressed_size in readiness for next entry.
14451
14452 2002-01-18  Tom Tromey  <tromey@redhat.com>
14453
14454         * java/net/natPlainSocketImpl.cc: Include
14455         IllegalArgumentException.h.
14456         (_Jv_recv): New template function.
14457         (BooleanClass): Removed.
14458         (read): Use _Jv_recv.
14459         (setOption): Use Boolean::class$.  Throw exception if object is
14460         not Boolean or Integer.
14461
14462 2002-01-17  Tom Tromey  <tromey@redhat.com>
14463
14464         * java/awt/MenuComponent.java: Merged with Classpath.
14465         * java/awt/MenuItem.java: Merged with Classpath.
14466         * java/awt/Button.java: Merged with Classpath.
14467
14468         * java/awt/ActiveEvent.java: Updated copyright.
14469
14470         * java/awt/AWTError.java: Replaced with Classpath version.
14471         * java/awt/AWTException.java: Replaced with Classpath version.
14472         * java/awt/IllegalComponentStateException.java: Replaced with
14473         Classpath version.
14474
14475 2002-01-16  Tom Tromey  <tromey@redhat.com>
14476
14477         * java/awt/Canvas.java (serialVersionUID): New constant.
14478         Updated copyright.  Added javadoc from Classpath.
14479         * java/awt/ItemSelectable.java: Replaced with Classpath version.
14480
14481         * java/awt/CheckboxGroup.java: Merged with Classpath.
14482         * java/awt/Checkbox.java: Merged with Classpath.
14483
14484         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
14485         Classpath.
14486         * java/awt/Point.java: Updated copyright.
14487
14488         * java/awt/Point.java (toString): Use getClass().getName().
14489         Added javadoc.
14490
14491         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14492         commented code.
14493         (hash): Correctly compute initial value for `h'.
14494
14495         * java/awt/Label.java: Merged with Classpath.
14496
14497 2002-01-15  Tom Tromey  <tromey@redhat.com>
14498
14499         * java/awt/AWTPermission.java: Updated copyright.
14500
14501         * java/awt/LayoutManager2.java: Merged with Classpath.
14502         * java/awt/LayoutManager.java: Merged with Classpath.
14503         * java/awt/GridLayout.java: Updated copyright and javadoc.
14504         (getSize): Use `parent.ncomponents'.  Handle insets.
14505         (layoutContainer): Use `parent.ncomponents'.  Handle case where
14506         there are fewer children than columns.  Correctly compute size of
14507         each cell in the grid.  Handle case where there isn't enough
14508         space.
14509         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
14510         all users.
14511         (gotoComponent): Use parent.ncomponents.  Ensure child exists
14512         before calling setVisible() on it.  Last item is `num - 1', not
14513         `num'.
14514         (layoutContainer): Hoist invariants out of loop.
14515
14516         Start of AWT merge with Classpath:
14517         * Makefile.in: Rebuilt.
14518         * Makefile.am (awt_java_source_files): Reference files in
14519         gnu/java/awt, not gnu/gcj/awt.
14520         * java/awt/image/BufferedImage.java: Updated copyright.
14521         * java/awt/image/ComponentColorModel.java: Updated copyright.
14522         * java/awt/image/ComponentSampleModel.java: Updated copyright.
14523         * java/awt/image/DataBuffer.java: Updated copyright.
14524         * java/awt/image/DataBufferByte.java: Updated copyright.
14525         * java/awt/image/DataBufferInt.java: Updated copyright.
14526         * java/awt/image/DataBufferUShort.java: Updated copyright.
14527         * java/awt/image/IndexColorModel.java: Updated copyright.
14528         * java/awt/image/PackedColorModel.java: Updated copyright.
14529         * java/awt/image/Raster.java: Updated copyright.
14530         * java/awt/image/RasterOp.java: Updated copyright.
14531         * java/awt/image/SampleModel.java: Updated copyright.
14532         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14533         * java/awt/image/WritableRaster.java: Updated copyright.
14534         * java/awt/color/ColorSpace.java: Updated copyright.
14535         * java/awt/color/ICC_ColorSpace.java: Updated copyright
14536         * java/awt/color/ICC_Profile.java: Updated copyright.
14537         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14538         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14539         * java/awt/event/HierarchyEvent.java: Updated copyright.
14540         * java/awt/event/HierarchyListener.java: Updated copyright.
14541         * java/awt/geom/AffineTransform.java: Updated copyright.
14542         * java/awt/geom/Dimension2D.java: Updated copyright.
14543         * java/awt/geom/Ellipse2D.java: Updated copyright.
14544         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14545         * java/awt/geom/Line2D.java: Updated copyright.
14546         * java/awt/geom/NoninvertibleTransformException.java: Updated
14547         copyright.
14548         * java/awt/geom/PathIterator.java: Updated copyright.
14549         * java/awt/geom/Point2D.java: Updated copyright.
14550         * java/awt/geom/Rectangle2D.java: Updated copyright.
14551         * java/awt/geom/RectangularShape.java: Updated copyright.
14552         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14553         * java/awt/Toolkit.java: Updated import for file moves.
14554         * java/awt/Rectangle.java: Updated copyright; added javadoc from
14555         Classpath.
14556         (hashCode): New method from Classpath.
14557         * java/awt/Graphics2D.java: Updated copyright.
14558         * java/awt/Transparency.java: Updated copyright.
14559         * java/awt/Paint.java: Updated copyright.
14560         * java/awt/Graphics.java: New version from Classpath.
14561         * java/awt/EventDispatchThread.java: Updated copyright.
14562         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14563         children.
14564         (gotoComponent): Wrap around on next/previous.
14565         * gnu/gcj/awt/BitMaskExtent.java: Removed.
14566         * gnu/gcj/awt/Buffers.java: Removed.
14567         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
14568         * gnu/gcj/awt/GLightweightPeer.java: Removed.
14569         * gnu/java/awt/BitMaskExtent.java: Added.
14570         * gnu/java/awt/Buffers.java: Added.
14571         * gnu/java/awt/ComponentDataBlitOp.java: Added.
14572         * gnu/java/awt/GLightweightPeer.java: Added.
14573         * java/awt/geom/Line2D.java (clone): Ignore
14574         CloneNotSupportedException.
14575         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
14576         * java/awt/Frame.java: Merged with Classpath.
14577         * java/awt/RenderingHints.java: Copyright update.
14578         * java/awt/Paint.java: Copyright update.
14579         * java/awt/image/DirectColorModel.java: Merged with Classpath.
14580         * java/awt/image/ColorModel.java: Merged with Classpath.
14581         * java/awt/Window.java (show): New Implementation from Classpath.
14582         (isShowing): Use super.isShowing().
14583         * java/awt/EventQueue.java: Merged with Classpath.
14584         * java/awt/AWTEventMulticaster.java (save): Throw
14585         RuntimeException.
14586         (saveInternal): Likewise.
14587         * java/awt/AWTEvent.java: Now implements Serializable.
14588         * java/awt/Event.java: Copyright update.
14589         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
14590         * java/awt/image/BufferedImage.java: Copyright update.
14591         * java/awt/GraphicsConfiguration.java: Copyright update.
14592         * java/awt/Component.java: (addNotify): Don't call
14593         addNotifyContainerChildren().
14594         (addNotifyContainerChildren): Removed.
14595         (setPeer): New method from Classpath.
14596         (setTreeLock): Likewise.
14597         (setVisible): Rewrote.
14598         (show): Use it.
14599         (hide): Likewise.
14600         (validate): Set `valid'.
14601         (checkImage(Image,ImageObserver)): Implementation from Classpath.
14602         (createImage(ImageProducer)): Likewise.
14603         (prepareImage): Likewise.
14604         * java/awt/Container.java (addImpl): Handle case where constraint
14605         is not a String.  Post event via system event queue.
14606         (remove): Post event via system event queue.
14607         (validateTree): Only validate child if it is invalid.
14608         (getAlignmentX): Call super method as default.
14609         (getAlignmentY): Likewise.
14610         (addContainerListener): Now synchronized.
14611         (removeContainerListener): Likewise.
14612         (addNotifyContainerChildren): Now private.
14613         * java/awt/ComponentOrientation.java: Updated copyright.  Added
14614         @author.
14615         * java/awt/FlowLayout.java (serialVersionUID): New field.
14616         (setAlignment): Better exception message.
14617         (layoutContainer): Don't compute component's preferred size unless
14618         we're going to use it.
14619         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
14620         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
14621         (firstLine, lastLine, firstItem, lastItem): New fields.
14622         (addLayoutComponent): Handle case where constraints is null.
14623         Also, handle relative locations.
14624         (removeLayoutComponent): Handle relative locations.
14625         (MIN, MAX, PREF): New constants.
14626         (calcCompSize): New method.
14627         (calcSize): New method.
14628         (minimumLayoutSize): Use it.
14629         (preferredLayoutSize): Likewise.
14630         (maximumLayoutSize): Likewise.
14631         (toString): Include more information.
14632         (setBounds): New method.
14633         (layoutContainer): Use libgcj implementation; extended to handle
14634         relative locations.
14635
14636 2002-01-15  Tom Tromey  <tromey@redhat.com>
14637
14638         * java/lang/Float.java (equals): Preserve old code.
14639         * java/lang/Double.java (equals): Preserve old code.
14640
14641 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
14642
14643         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
14644         * java/lang/Float.java (equals, compare): Ditto.
14645
14646 2002-01-13  Mark Wielaard  <mark@klomp.org>
14647
14648         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
14649         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
14650         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
14651         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
14652
14653 2002-01-11  Mark Wielaard  <mark@klomp.org>
14654
14655         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
14656         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
14657         InetAddress.
14658         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
14659         * java/net/Socket.java: Merge with Classpath.
14660         * java/net/ServerSocket.java: Likewise.
14661
14662 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
14663
14664         * interpret.cc (NULLARRAYCHECK): New macro.
14665         (SAVE_PC): Just store `pc'.
14666         (find_exception): Subtract one from `pc' here.
14667         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14668         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14669         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14670         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
14671         don't call SAVE_PC.
14672         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
14673         call SAVE_PC.
14674
14675 2002-01-11  Tom Tromey  <tromey@redhat.com>
14676
14677         * java/lang/natSystem.cc (init_properties): Only look for default
14678         locale if LC_MESSAGES is defined.
14679         * aclocal.m4, configure, include/config.h.in: Rebuilt.
14680         * configure.in: Call AM_LC_MESSAGES.
14681         * acinclude.m4 (AM_LC_MESSAGES): New macro.
14682
14683 2002-01-10  Tom Tromey  <tromey@redhat.com>
14684
14685         For PR libgcj/5303:
14686         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
14687         --version.  Recognize GNU-style long options.  Print GNU-style
14688         error messages.
14689         (usage): Print GNU-style help.  Exit with status 0.
14690         (error): New method.
14691         (run): Print error message if no class names found.
14692         (main): Don't print usage on error.
14693
14694 2002-01-09  Tom Tromey  <tromey@redhat.com>
14695
14696         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
14697         property.
14698         (help, version): Use println(), not println("").
14699
14700         For PR libgcj/5303:
14701         * gnu/gcj/convert/Convert.java (error): Program is called
14702         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
14703         -1.
14704         (main): Handle --help and --version.
14705         (help): New method.
14706         (version): Likewise.
14707
14708 2002-01-08  Tom Tromey  <tromey@redhat.com>
14709
14710         * Makefile.in: Rebuilt.
14711         * Makefile.am (ordinary_java_source_files): Added new files.
14712         * gnu/java/locale/LocaleInformation.java: Extend
14713         LocaleInformation_en.
14714         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
14715         and time/date formats.
14716         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
14717         generated.
14718         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
14719         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
14720         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
14721         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
14722         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
14723         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
14724         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
14725         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
14726         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
14727         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
14728         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
14729         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
14730         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
14731         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
14732         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
14733         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
14734         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
14735         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
14736         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
14737         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
14738         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
14739         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
14740         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
14741         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
14742         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
14743         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
14744         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
14745         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
14746         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
14747         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
14748         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
14749         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
14750         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
14751         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
14752         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
14753         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
14754         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
14755         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
14756         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
14757         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
14758         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
14759         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
14760         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
14761         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
14762         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
14763         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
14764         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
14765         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
14766         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
14767         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
14768         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
14769         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
14770         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
14771         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
14772         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
14773         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
14774         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
14775         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
14776         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
14777         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
14778         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
14779         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
14780         * gnu/java/locale/LocaleInformation_es_US.java: New file.
14781         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
14782         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
14783         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
14784         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
14785         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
14786         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
14787         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
14788         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
14789         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
14790         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
14791         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
14792         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
14793         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
14794         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
14795         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
14796         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
14797         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
14798         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
14799         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
14800         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
14801         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
14802         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
14803         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
14804         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
14805         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
14806         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
14807         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
14808         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
14809         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
14810         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
14811         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
14812         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
14813         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
14814         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
14815         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
14816         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
14817         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
14818         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
14819         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
14820         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
14821         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
14822         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
14823         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
14824         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
14825         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
14826         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
14827         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
14828         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
14829         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
14830         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
14831         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
14832         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
14833         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
14834         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
14835         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
14836         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
14837         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
14838         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
14839         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
14840         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
14841         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
14842         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
14843         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
14844         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
14845         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
14846         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
14847         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
14848
14849         For PR libgcj/5031:
14850         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
14851         choose default locale.
14852
14853         * Makefile.in: Rebuilt.
14854         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
14855
14856 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
14857
14858         * java/net/natPlainSocketImpl.cc: Added timeout handling for
14859         sockets.
14860         (close): New function closes the socket.
14861         (write): New functions for output to socket.
14862         (read): New functions for reading from socket.
14863         * java/net/PlainSocketImpl.java: Glue for new timeout
14864         implementation.
14865         (write): Call the native impl.
14866         (read): Likewise.
14867         (getInputStream): Get a stream to read from the socket.
14868         (getOutputStream): Get a stream to write to the socket.
14869
14870 2002-01-08  Tom Tromey  <tromey@redhat.com>
14871
14872         * resolve.cc (_Jv_PrepareClass): Enable verifier.
14873
14874 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
14875
14876         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
14877         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
14878
14879 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
14880
14881         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
14882         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14883         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14884         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14885         insn_bastore, insn_castore, insn_sastore]: Use it.
14886         (continue1) [insn_arraylength]: Check for null array.
14887
14888 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
14889
14890         * configure, include/config.h.in: Rebuilt.
14891         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
14892         * configure.in: Call AC_STRUCT_TIMEZONE.
14893
14894 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
14895
14896         * configure.host: Disable the interpreter for Darwin.
14897
14898 2002-01-04  Tom Tromey  <tromey@redhat.com>
14899
14900         * java/lang/Thread.java (stop): No longer synchronized.
14901         (start): Likewise.
14902
14903 2002-01-02  Tom Tromey  <tromey@redhat.com>
14904
14905         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
14906         patch.
14907
14908 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
14909
14910         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
14911         PPC Darwin, not for all of Darwin.